/**
 * Blanton — پالت برند + کاتالوگ مدرن دسته‌بندی/فروشگاه
 * Primary #00a984 · Deep #039172 · Ink #1d1d1b · Muted #707180
 */

:root,
.hamta-shop,
.hamta-cart,
.hamta-checkout,
.hamta-wc-native-catalog-wrap,
.hamta-ba-root,
.hamta-sa-root {
    --hamta-primary: #00a984;
    --hamta-primary-dark: #039172;
    --hamta-secondary: #707180;
    --hamta-dark: #1d1d1b;
    --hamta-text: #212121;
    --hamta-text-light: #707180;
    --hpb-theme-accent: #00a984;
    --hpb-theme-brand: #039172;
    --hpb-theme-brand-deep: #039172;
    --hpb-theme-text: #212121;
    --hpb-theme-text-muted: #707180;
    --hpb-theme-menu-link-hover: #00a984;
    --hpb-theme-menu-link-active: #039172;
    --hpb-archive-accent: #00a984;
    --brand-primary: #00a984;
    --brand-primary-light: #00c49a;
    --brand-primary-dark: #039172;
    --brand-accent: #00a984;
    --blanton-surface: #f3f5f2;
    --blanton-card: #ffffff;
    --blanton-line: rgba(29, 29, 27, 0.08);
    --blanton-ink: #1d1d1b;
}

/* مخفی کردن Page Title وودمارت (نوار مشکی) — جای آن هدینگ خود صفحه */
body:not(.home) .page-title,
body:not(.home) .wd-page-title,
.page-title.page-title-default,
.title-blog.page-title {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* ——— کاتالوگ: فضای صفحه ——— */
body.hamta-wc-native-product-category,
body.hamta-wc-native-shop,
body.tax-product_cat,
body.tax-product_tag,
body.post-type-archive-product {
    background:
        radial-gradient(1200px 480px at 100% -10%, rgba(0, 169, 132, 0.14), transparent 55%),
        radial-gradient(900px 420px at 0% 20%, rgba(3, 145, 114, 0.08), transparent 50%),
        var(--blanton-surface);
}

.hamta-wc-native-catalog-wrap {
    padding-top: 0 !important;
}

.hamta-wc-native-catalog-wrap > .hamta-shop {
    margin-top: 0;
    padding-inline: clamp(12px, 2.2vw, 28px);
    padding-bottom: 48px;
}

/* ——— هیرو دسته / فروشگاه ——— */
@keyframes blanton-hero-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blanton-glow-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-6%, 8%) scale(1.08);
    }
}

.hamta-shop-toolbar--merged {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 22px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.hamta-shop .hamta-shop-toolbar-heading.hamta-shop-hero,
.hamta-wc-native-catalog-wrap .hamta-shop-toolbar-heading.hamta-shop-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    width: 100%;
    flex: none !important;
    min-width: 0;
    margin: 0 0 4px;
    padding: 6px 0 16px;
    border: 0;
    border-bottom: 1px solid rgba(29, 29, 27, 0.08);
    border-radius: 0;
    color: #1d1d1b;
    background: transparent;
    box-shadow: none;
    animation: none;
}

.hamta-shop-hero__glow,
.hamta-shop-hero__brand {
    display: none;
}

.hamta-shop-hero > *:not(.hamta-shop-hero__glow):not(.hamta-shop-hero__brand) {
    position: relative;
    z-index: 1;
}

.hamta-shop-hero .hamta-shop-breadcrumb-wrap {
    margin: 0 0 10px !important;
    width: 100%;
}

.hamta-shop-hero .hamta-breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    line-height: 1;
}

.hamta-shop-hero .hamta-breadcrumb a,
.hamta-shop-hero .hamta-breadcrumb span {
    color: #9a9a94 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-decoration: none;
}

.hamta-shop-hero .hamta-breadcrumb a:hover {
    color: #141413 !important;
}

.hamta-shop-hero .hamta-breadcrumb .separator {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 8px !important;
    padding: 0;
    border-radius: 50%;
    background: #d4d4ce;
    font-size: 0 !important;
    line-height: 0;
    color: transparent !important;
    overflow: hidden;
    flex: 0 0 auto;
}

.hamta-shop-hero .hamta-breadcrumb .current {
    color: #3f3f3b !important;
    font-weight: 500 !important;
}

.hamta-shop-hero__kicker,
.hamta-shop .hamta-shop-title-badge,
.hamta-wc-native-catalog-wrap .hamta-shop-title-badge {
    display: none !important;
}

.hamta-shop-hero .hamta-shop-toolbar-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    width: 100%;
}

.hamta-shop-hero .hamta-shop-title,
.hamta-wc-native-catalog-wrap .hamta-shop-hero .hamta-shop-title {
    margin: 0 !important;
    color: #141413 !important;
    font-family: var(--blanton-font, "Yekan", sans-serif);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
}

/* نوار ابزار زیر هیرو */
.hamta-shop-toolbar--merged .hamta-shop-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--blanton-line);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(29, 29, 27, 0.04);
}

.hamta-shop .hamta-toolbar-search-box--inline,
.hamta-wc-native-catalog-wrap .hamta-toolbar-search-box--inline {
    min-width: 240px;
    max-width: 320px;
    border: 1px solid var(--blanton-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.hamta-shop .hamta-toolbar-search-box--inline input {
    border: none !important;
    background: transparent !important;
}

.hamta-shop .hamta-toolbar-search-box--inline:focus-within {
    border-color: #00a984;
    box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.15);
}

.hamta-shop .hamta-orderby,
.hamta-shop .hamta-orderby-top,
.hamta-wc-native-catalog-wrap .hamta-orderby {
    border: 1px solid var(--blanton-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    min-height: 42px;
    padding-inline: 12px;
}

.hamta-shop .hamta-grid-btn,
.hamta-wc-native-catalog-wrap .hamta-grid-btn {
    border-radius: 10px !important;
    border-color: var(--blanton-line) !important;
}

.hamta-shop .hamta-grid-btn.active,
.hamta-wc-native-catalog-wrap .hamta-grid-btn.active {
    background: #00a984 !important;
    border-color: #00a984 !important;
    color: #fff !important;
}

/* ——— سایدبار / فیلترها: بدون ته‌رنگ آبی ——— */
.hamta-shop-panel,
.hamta-sidebar-section,
.hamta-shop-panel--filters,
.hamta-shop-panel--category,
.hamta-sidebar-section--category,
.hamta-shop-panel--search {
    background: var(--blanton-card) !important;
    border: 1px solid var(--blanton-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.hamta-shop-panel__title,
.hamta-sidebar-section__title {
    color: var(--blanton-ink) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hamta-shop-panel__title i,
.hamta-filter-chip i,
.hamta-active-filters__clear {
    color: #00a984 !important;
}

.hamta-shop-aside .hamta-category-item > a,
.hamta-shop-aside .hamta-category-item .category-header > a {
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.hamta-shop-aside .hamta-category-item > a:hover,
.hamta-shop-aside .hamta-category-item .category-header > a:hover {
    background: rgba(0, 169, 132, 0.08);
    color: #039172;
}

.hamta-shop-aside .hamta-category-item.is-active,
.hamta-shop-aside .hamta-category-item.is-active > a {
    color: #039172 !important;
    border-inline-start-color: #00a984 !important;
}

.hamta-shop-aside .hamta-category-item.is-active {
    background: rgba(0, 169, 132, 0.1) !important;
}

.hamta-sidebar-search {
    border-color: var(--blanton-line) !important;
    border-radius: 12px !important;
}

.hamta-filter-group__head,
.hamta-filter-chip {
    border-radius: 10px;
}

.hamta-filter-chip.is-active,
.hamta-filter-option input:checked + span,
.hamta-shop .hamta-sort-pill.is-active {
    background: #00a984 !important;
    border-color: #00a984 !important;
    color: #fff !important;
}

/* ——— کارت محصول ——— */
@keyframes blanton-card-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamta-shop .hamta-product-card,
.hamta-wc-native-catalog-wrap .hamta-product-card {
    background: var(--blanton-card) !important;
    border: 1px solid var(--blanton-line) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    animation: blanton-card-in 0.45s ease both;
}

.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(1) { animation-delay: 0.03s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(2) { animation-delay: 0.06s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(3) { animation-delay: 0.09s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(4) { animation-delay: 0.12s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(5) { animation-delay: 0.15s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(6) { animation-delay: 0.18s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(7) { animation-delay: 0.21s; }
.hamta-shop .hamta-products-grid .hamta-product-card:nth-child(8) { animation-delay: 0.24s; }

.hamta-shop .hamta-product-card:hover,
.hamta-wc-native-catalog-wrap .hamta-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 169, 132, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 169, 132, 0.12) !important;
}

.hamta-shop .hamta-product-card .product-image {
    background:
        linear-gradient(180deg, #fafbf9 0%, #eef3ef 100%);
}

.hamta-shop .hamta-product-card .product-info {
    padding: 14px 16px 16px !important;
}

.hamta-shop .hamta-product-card .product-title a {
    color: var(--blanton-ink) !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.hamta-shop .hamta-product-card:hover .product-title a {
    color: #039172 !important;
}

.hamta-shop .hamta-product-card__price,
.hamta-shop .hamta-product-card .product-price,
.hamta-wc-native-catalog-wrap .hamta-product-card__price,
.hamta-wc-native-catalog-wrap .hamta-product-card .product-price {
    color: #039172 !important;
    font-weight: 800;
}

/* بلانتون کاتالوگ: بدون «تماس بگیرید» و دکمه چشم روی کارت */
.hamta-shop .hamta-product-card .hamta-view-product,
.hamta-wc-native-catalog-wrap .hamta-product-card .hamta-view-product,
.hamta-shop .hamta-product-card .product-actions:not(:has(.hamta-add-to-cart)),
.hamta-wc-native-catalog-wrap .hamta-product-card .product-actions:not(:has(.hamta-add-to-cart)) {
    display: none !important;
}

body.hamta-wc-native-product-category .hamta-product-card .product-price,
body.hamta-wc-native-shop .hamta-product-card .product-price,
body.tax-product_cat .hamta-product-card .product-price,
body.tax-product_tag .hamta-product-card .product-price,
body.post-type-archive-product .hamta-product-card .product-price {
    display: none !important;
}

.hamta-shop .hamta-product-card .product-actions a,
.hamta-shop .hamta-product-card .product-actions button {
    border-radius: 999px !important;
    border-color: var(--blanton-line) !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hamta-shop .hamta-product-card .product-actions a:hover,
.hamta-shop .hamta-product-card .product-actions button:hover {
    background: #00a984 !important;
    border-color: #00a984 !important;
    color: #fff !important;
}

.hamta-shop .hamta-btn-primary,
.hamta-wc-native-catalog-wrap .hamta-btn-primary {
    background: #00a984;
}

.hamta-shop .hamta-btn-primary:hover,
.hamta-wc-native-catalog-wrap .hamta-btn-primary:hover {
    background: #039172;
}

.hamta-shop .hamta-pagination .page-numbers.current,
.hamta-wc-native-catalog-wrap .hamta-pagination .page-numbers.current {
    background: #00a984;
    border-color: #00a984;
}

.hamta-shop .hamta-pagination .page-numbers {
    border-radius: 10px;
}

/* توضیح کوتاه بالای صفحه دسته */
.hamta-shop-hero__lead {
    margin: 8px 0 0;
    max-width: 40rem;
    font-size: 13px;
    line-height: 1.7;
    color: #6b6b66;
    position: relative;
    z-index: 1;
}

/* توضیحات تکمیلی پایین صفحه دسته */
.hamta-shop .hamta-category-description,
.hamta-wc-native-catalog-wrap .term-description,
.hamta-shop-category-desc {
    margin-top: 28px;
    padding: 22px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--blanton-line);
    font-size: 14px;
    line-height: 1.85;
    color: #1d1d1b;
}

.hamta-shop-category-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
}

.hamta-shop-category-desc p {
    margin: 0 0 0.85em;
}

/* ——— موبایل ——— */
@media (max-width: 999px) {
    .hamta-shop-toolbar--merged {
        position: relative;
        gap: 0 !important;
        margin-bottom: 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .hamta-shop .hamta-shop-toolbar-heading.hamta-shop-hero {
        border-radius: 0;
        padding: 4px 0 12px;
        animation: none;
    }

    .hamta-shop-hero .hamta-shop-title {
        font-size: 1.25rem !important;
    }

    .hamta-shop .hamta-shop-title-badge {
        display: none !important;
    }

    .hamta-shop-hero .hamta-shop-meta--mobile {
        display: block;
    }

    .hamta-shop-hero .hamta-shop-meta--mobile .product-count {
        color: #8a8a84 !important;
        font-size: 12px;
        font-weight: 500;
    }

    .hamta-shop-toolbar--merged .hamta-shop-toolbar-actions {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 3;
        padding: 0;
        margin: 0;
        width: auto;
        flex: 0 0 auto;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .hamta-shop-toolbar--merged .hamta-mobile-search-toggle {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid rgba(29, 29, 27, 0.1);
        color: #1d1d1b !important;
    }

    .hamta-shop-toolbar--merged .hamta-mobile-search-toggle i {
        color: #1d1d1b !important;
    }

    .hamta-shop-toolbar-heading.has-active-filter .hamta-shop-breadcrumb-wrap {
        display: block !important;
    }

    .hamta-mobile-filter-bar {
        border-radius: 12px;
        border-color: var(--blanton-line) !important;
        background: #fff !important;
    }

    .hamta-shop .hamta-product-card {
        animation: none;
        border-radius: 12px !important;
    }

    .hamta-shop .hamta-product-card:hover {
        transform: none;
    }
}

.hamta-mobile-filter-toggle,
.hamta-mobile-search-toggle {
    color: #212121;
}

.hamta-mobile-filter-toggle i,
.hamta-mobile-search-toggle i {
    color: #00a984;
}

/* محصولات مرتبط تک‌محصول — بدون قیمت */
.hamta-related-products .product-price,
.hamta-related-products .related-product-card .product-price {
    display: none !important;
}

/* ——— سایدبار: دسته‌بندی + فیلترهای مدرن ——— */
.hamta-wc-native-catalog-wrap .hamta-sidebar-stack,
.hamta-shop .hamta-sidebar-stack {
    gap: 16px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel,
.hamta-shop .hamta-shop-panel,
.hamta-wc-native-catalog-wrap .hamta-sidebar-section,
.hamta-shop .hamta-sidebar-section {
    background: #fff !important;
    border: 1px solid var(--blanton-line) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel__title,
.hamta-shop .hamta-shop-panel__title,
.hamta-wc-native-catalog-wrap .hamta-sidebar-section__title,
.hamta-shop .hamta-sidebar-section__title {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--blanton-line);
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--blanton-ink) !important;
    background: linear-gradient(180deg, #fafbf9 0%, #fff 100%);
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel__title i,
.hamta-shop .hamta-shop-panel__title i {
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(0, 169, 132, 0.12);
    color: #00a984 !important;
    font-size: 13px !important;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--category .hamta-category-list,
.hamta-shop .hamta-shop-panel--category .hamta-category-list {
    padding: 10px 12px 14px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters.hamta-shop-filter,
.hamta-shop .hamta-shop-panel--filters.hamta-shop-filter {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters .hamta-shop-filter__head,
.hamta-shop .hamta-shop-panel--filters .hamta-shop-filter__head {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--blanton-line);
    background: linear-gradient(180deg, #fafbf9 0%, #fff 100%);
}

.hamta-wc-native-catalog-wrap .hamta-shop-filter__title,
.hamta-shop .hamta-shop-filter__title {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--blanton-ink) !important;
    gap: 8px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-filter__title i,
.hamta-shop .hamta-shop-filter__title i {
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(0, 169, 132, 0.12);
    color: #00a984 !important;
    font-size: 13px !important;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters .hamta-shop-facets,
.hamta-shop .hamta-shop-panel--filters .hamta-shop-facets,
.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters > .hamta-filter-block,
.hamta-shop .hamta-shop-panel--filters > .hamta-filter-block {
    margin-inline: 12px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters .hamta-shop-facets,
.hamta-shop .hamta-shop-panel--filters .hamta-shop-facets {
    padding: 12px 0 14px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters > .hamta-filter-block,
.hamta-shop .hamta-shop-panel--filters > .hamta-filter-block {
    margin-top: 12px;
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters > .hamta-filter-submit-mobile,
.hamta-shop .hamta-shop-panel--filters > .hamta-filter-submit-mobile {
    margin: 0 12px 14px;
}

/* Facet checkbox groups — spacing under panel padding:0 */
.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters > .hamta-facet-group,
.hamta-shop .hamta-shop-panel--filters > .hamta-facet-group {
    padding: 14px 12px 10px !important;
    margin: 0 !important;
    border-top: 1px solid var(--blanton-line);
}

.hamta-wc-native-catalog-wrap .hamta-shop-panel--filters > .hamta-facet-group:first-of-type,
.hamta-shop .hamta-shop-panel--filters > .hamta-facet-group:first-of-type {
    border-top: 0;
    padding-top: 10px !important;
}

.hamta-wc-native-catalog-wrap .hamta-facet-group__title,
.hamta-shop .hamta-facet-group__title {
    margin: 0 8px 10px !important;
    padding: 0 !important;
}

.hamta-wc-native-catalog-wrap .hamta-facet-options,
.hamta-shop .hamta-facet-options {
    padding: 0 !important;
    gap: 2px;
}

.hamta-wc-native-catalog-wrap .hamta-facet-option,
.hamta-shop .hamta-facet-option {
    padding: 8px 8px !important;
    margin: 0 !important;
    border-radius: 12px !important;
}

.hamta-wc-native-catalog-wrap .hamta-shop-filter__clear,
.hamta-shop .hamta-shop-filter__clear {
    font-size: 11px;
    font-weight: 700;
    color: #c2410c !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(194, 65, 12, 0.08);
    transition: background 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-shop-filter__clear:hover,
.hamta-shop .hamta-shop-filter__clear:hover {
    background: rgba(194, 65, 12, 0.16);
    text-decoration: none !important;
}

/* آکاردئون فیلتر */
.hamta-wc-native-catalog-wrap .hamta-shop-facets,
.hamta-shop .hamta-shop-facets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block,
.hamta-shop .hamta-filter-block {
    border: 1px solid var(--blanton-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block.is-open,
.hamta-shop .hamta-filter-block.is-open {
    border-color: rgba(0, 169, 132, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.08) !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__toggle,
.hamta-shop .hamta-filter-block__toggle {
    padding: 12px 14px !important;
    background: transparent !important;
    transition: background 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__toggle:hover,
.hamta-shop .hamta-filter-block__toggle:hover {
    background: rgba(0, 169, 132, 0.04) !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__toggle span,
.hamta-shop .hamta-filter-block__toggle span {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--blanton-ink) !important;
    gap: 10px !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__toggle span i,
.hamta-shop .hamta-filter-block__toggle span i {
    width: 26px;
    height: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 169, 132, 0.1);
    color: #00a984 !important;
    font-size: 12px !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__chev,
.hamta-shop .hamta-filter-block__chev {
    width: 24px;
    height: 24px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f5f2;
    color: #707180 !important;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block.is-open .hamta-filter-block__chev,
.hamta-shop .hamta-filter-block.is-open .hamta-filter-block__chev {
    background: rgba(0, 169, 132, 0.14);
    color: #039172 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-block__body,
.hamta-shop .hamta-filter-block__body {
    padding: 0 12px 14px !important;
}

/* چیپ‌های فیلتر */
.hamta-wc-native-catalog-wrap .hamta-filter-chips,
.hamta-shop .hamta-filter-chips {
    gap: 8px;
}

.hamta-wc-native-catalog-wrap .hamta-filter-chip,
.hamta-shop .hamta-filter-chip {
    padding: 8px 12px !important;
    border-radius: 999px !important;
    border: 1px solid var(--blanton-line) !important;
    background: #fafbf9 !important;
    color: var(--blanton-ink) !important;
    font-size: 12px !important;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-chip:hover,
.hamta-shop .hamta-filter-chip:hover {
    border-color: rgba(0, 169, 132, 0.4) !important;
    background: rgba(0, 169, 132, 0.06) !important;
    transform: translateY(-1px);
}

.hamta-wc-native-catalog-wrap .hamta-filter-chip:has(input:checked),
.hamta-shop .hamta-filter-chip:has(input:checked),
.hamta-wc-native-catalog-wrap .hamta-filter-chip.is-active,
.hamta-shop .hamta-filter-chip.is-active {
    border-color: #00a984 !important;
    background: #00a984 !important;
    color: #fff !important;
    font-weight: 700;
}

.hamta-wc-native-catalog-wrap .hamta-filter-chip:has(input:checked) em,
.hamta-shop .hamta-filter-chip:has(input:checked) em {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-chip--any,
.hamta-shop .hamta-filter-chip--any {
    border-style: dashed !important;
    background: transparent !important;
}

/* ناوبری دسته */
.hamta-wc-native-catalog-wrap .hamta-filter-pill,
.hamta-wc-native-catalog-wrap .hamta-nav-pill,
.hamta-shop .hamta-filter-pill,
.hamta-shop .hamta-nav-pill {
    background: #fafbf9 !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    color: var(--blanton-ink) !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-pill:hover,
.hamta-wc-native-catalog-wrap .hamta-nav-pill:hover,
.hamta-shop .hamta-filter-pill:hover,
.hamta-shop .hamta-nav-pill:hover {
    background: rgba(0, 169, 132, 0.08) !important;
    border-color: rgba(0, 169, 132, 0.2) !important;
    color: #039172 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-pill.active,
.hamta-wc-native-catalog-wrap .hamta-nav-pill.active,
.hamta-shop .hamta-filter-pill.active,
.hamta-shop .hamta-nav-pill.active {
    background: rgba(0, 169, 132, 0.12) !important;
    border-color: rgba(0, 169, 132, 0.35) !important;
    color: #039172 !important;
    font-weight: 800;
    box-shadow: inset 3px 0 0 #00a984 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-pill .count,
.hamta-wc-native-catalog-wrap .hamta-nav-pill .count,
.hamta-shop .hamta-filter-pill .count,
.hamta-shop .hamta-nav-pill .count {
    background: rgba(0, 169, 132, 0.12) !important;
    color: #039172 !important;
    font-weight: 700;
    opacity: 1 !important;
}

.hamta-wc-native-catalog-wrap .hamta-nav-pill.active .count,
.hamta-shop .hamta-nav-pill.active .count {
    background: #00a984 !important;
    color: #fff !important;
}

/* اسکرول‌بار سایدبار */
.hamta-wc-native-catalog-wrap .hamta-category-list--nav,
.hamta-wc-native-catalog-wrap .hamta-category-list--filter,
.hamta-shop .hamta-category-list--nav,
.hamta-shop .hamta-category-list--filter {
    max-height: 340px;
    scrollbar-width: thin;
    scrollbar-color: #00a984 transparent;
    padding-inline-end: 2px;
}

.hamta-wc-native-catalog-wrap .hamta-category-list--nav::-webkit-scrollbar,
.hamta-shop .hamta-category-list--nav::-webkit-scrollbar {
    width: 4px;
}

.hamta-wc-native-catalog-wrap .hamta-category-list--nav::-webkit-scrollbar-thumb,
.hamta-shop .hamta-category-list--nav::-webkit-scrollbar-thumb {
    background: #00a984;
    border-radius: 999px;
}

/* سوئیچ فیلتر سریع */
.hamta-wc-native-catalog-wrap .hamta-filter-toggle__ui,
.hamta-shop .hamta-filter-toggle__ui {
    background: #d7ddd8 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-toggle input:checked + .hamta-filter-toggle__ui,
.hamta-shop .hamta-filter-toggle input:checked + .hamta-filter-toggle__ui {
    background: #00a984 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-toggle__label,
.hamta-shop .hamta-filter-toggle__label {
    font-weight: 600;
    color: var(--blanton-ink);
}

/* محدوده قیمت */
.hamta-wc-native-catalog-wrap .hamta-price-range__track::before,
.hamta-shop .hamta-price-range__track::before {
    background: #e6ebe7 !important;
    height: 5px !important;
}

.hamta-wc-native-catalog-wrap .hamta-price-range__fill,
.hamta-shop .hamta-price-range__fill {
    background: linear-gradient(90deg, #00a984, #039172) !important;
    height: 5px !important;
}

.hamta-wc-native-catalog-wrap .hamta-price-range__input::-webkit-slider-thumb,
.hamta-shop .hamta-price-range__input::-webkit-slider-thumb,
.hamta-wc-native-catalog-wrap .hamta-price-range__input::-moz-range-thumb,
.hamta-shop .hamta-price-range__input::-moz-range-thumb {
    background: #00a984 !important;
    box-shadow: 0 2px 8px rgba(0, 169, 132, 0.35) !important;
    width: 20px !important;
    height: 20px !important;
}

.hamta-wc-native-catalog-wrap .hamta-price-range__number,
.hamta-shop .hamta-price-range__number {
    border: 1px solid var(--blanton-line) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    background: #fafbf9 !important;
    font-weight: 600;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-price-range__number:focus,
.hamta-shop .hamta-price-range__number:focus {
    outline: none;
    border-color: #00a984 !important;
    box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.14);
    background: #fff !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-apply-btn,
.hamta-wc-native-catalog-wrap .hamta-filter-submit-mobile,
.hamta-shop .hamta-filter-apply-btn,
.hamta-shop .hamta-filter-submit-mobile {
    border-radius: 12px !important;
    padding: 11px 14px !important;
    background: linear-gradient(135deg, #00a984 0%, #039172 100%) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 18px rgba(0, 169, 132, 0.22);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hamta-wc-native-catalog-wrap .hamta-filter-apply-btn:hover,
.hamta-shop .hamta-filter-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 169, 132, 0.28);
    background: linear-gradient(135deg, #00b48d 0%, #039172 100%) !important;
}

/* فیلترهای فعال */
.hamta-wc-native-catalog-wrap .hamta-active-filters,
.hamta-shop .hamta-active-filters {
    border: 1px solid rgba(0, 169, 132, 0.2) !important;
    background: linear-gradient(180deg, #f3fbf8 0%, #fff 100%) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
}

.hamta-wc-native-catalog-wrap .hamta-active-filters__chip,
.hamta-shop .hamta-active-filters__chip {
    border-radius: 999px !important;
    border-color: rgba(0, 169, 132, 0.25) !important;
    background: #fff !important;
    color: #039172 !important;
    font-weight: 700;
}

.hamta-wc-native-catalog-wrap .hamta-active-filters__clear,
.hamta-shop .hamta-active-filters__clear {
    color: #00a984 !important;
}

/* راهنما / نکته */
.hamta-wc-native-catalog-wrap .hamta-filter-hint,
.hamta-shop .hamta-filter-hint {
    border-radius: 12px !important;
    background: rgba(0, 169, 132, 0.06) !important;
    border: 1px solid rgba(0, 169, 132, 0.18) !important;
    color: #3d4a44 !important;
}

.hamta-wc-native-catalog-wrap .hamta-filter-hint i,
.hamta-shop .hamta-filter-hint i {
    color: #00a984 !important;
}

.hamta-wc-native-catalog-wrap .hamta-mobile-filter-bar,
.hamta-shop .hamta-mobile-filter-bar {
    border: 1px solid var(--blanton-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.hamta-wc-native-catalog-wrap .hamta-mobile-filter-toggle,
.hamta-shop .hamta-mobile-filter-toggle {
    font-weight: 700;
}

/* ——— بلاگ / آرشیو مقالات / تک‌مقاله ——— */
.hamta-ba-root .blog-header {
    background: linear-gradient(135deg, #00a984 0%, #039172 100%);
}

.hamta-ba-root .search-box button:hover,
.hamta-ba-root .category-item a:hover,
.hamta-ba-root .category-item a.active,
.hamta-ba-root .tag-item:hover,
.hamta-ba-root .blog-pagination .page-numbers.current,
.hamta-ba-root .blog-pagination .current {
    background: #00a984;
}

.hamta-ba-root .search-box input:focus {
    border-color: #00a984;
}

.hamta-ba-root .post-category,
.hamta-ba-root .post-card .post-category,
.hamta-ba-root .category-badge {
    background: #00a984 !important;
}

.hamta-sa-root .reading-progress-bar .progress {
    background: linear-gradient(135deg, #00a984 0%, #039172 100%);
}

.hamta-sa-root .article-content blockquote {
    background: linear-gradient(135deg, rgba(0, 169, 132, 0.12) 0%, rgba(3, 145, 114, 0.12) 100%);
    border-right-color: #00a984;
}

.hamta-sa-root .tag-link:hover {
    background: #00a984;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hamta-shop-hero,
    .hamta-shop-hero__glow,
    .hamta-shop .hamta-product-card {
        animation: none !important;
    }

    .hamta-shop .hamta-product-card:hover {
        transform: none;
    }
}
