.market-page { padding: 1.75rem 0 3rem; }

.market-container {
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
}

.market-header { margin-bottom: 1.25rem; }
.market-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

.market-layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.market-sidebar { flex: 0 0 300px; width: 300px; min-width: 0; }
.market-content { flex: 1 1 auto; min-width: 0; }

@media (min-width: 992px) {
    .market-sidebar {
        border-right: 1px solid var(--b2c-line, #e6e8ec);
        padding-right: 1.75rem;
    }
}

@media (min-width: 768px) {
    .market-layout { align-items: stretch; }
    .market-sidebar .filter-card { z-index: 5; }
    .market-sidebar .filter-card.sticky-top {
        max-height: calc(100vh - var(--pd-sticky-top, 90px) - 16px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--b2c-line, #d5d9df) transparent;
    }
    .market-sidebar .filter-card.sticky-top::-webkit-scrollbar { width: 6px; }
    .market-sidebar .filter-card.sticky-top::-webkit-scrollbar-thumb { background: var(--b2c-line, #d5d9df); border-radius: 6px; }
}

.filter-card {
    background: var(--b2c-surface, #fff);
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: 10px;
    padding: 1.35rem;
}

.filter-card-head {
    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--b2c-ink, #171a1f);
    padding-bottom: 1rem;
    margin: 0 0 1.1rem;
    border-bottom: 1px solid var(--b2c-line, #e6e8ec);
}

.filter-group { margin-bottom: 1.35rem; }
.filter-group:last-of-type { margin-bottom: 0; }

.filter-group-label {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--b2c-steel, #6b7280);
    margin-bottom: .6rem;
}

.filter-group-search .input-group .form-control { border-right: none; }

.filter-group-search .input-group .btn {
    border-top-right-radius: var(--b2c-radius-sm, 8px) !important;
    border-bottom-right-radius: var(--b2c-radius-sm, 8px) !important;
    min-height: 44px;
}

.filter-square-btn {
    width: 44px;
    min-width: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--b2c-ink, #171a1f);
    color: #fff;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-top-right-radius: var(--b2c-radius-sm, 8px);
    border-bottom-right-radius: var(--b2c-radius-sm, 8px);
    font-size: 1rem;
}
.filter-square-btn:active { opacity: .85; }

.filter-toggle-btn {
    width: 100%;
    min-height: 44px;
    margin-top: .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--b2c-surface-muted, #f6f7f9);
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: var(--b2c-radius-sm, 8px);
    padding: 0 .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--b2c-ink-soft, #4b5160);
}

.filter-chevron { transition: transform 0.2s ease; }
#filterToggleBtn[aria-expanded="true"] .filter-chevron { transform: rotate(180deg); }

.filter-toggle-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: 0 .7rem;
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: var(--b2c-radius-sm, 8px);
    margin-bottom: .5rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--b2c-ink-soft, #4b5160);
    cursor: pointer;
    background: var(--b2c-surface, #fff);
}
.filter-toggle-chip:last-child { margin-bottom: 0; }
.filter-toggle-chip:has(input:checked) {
    border-color: var(--b2c-primary, #1d4ed8);
    background: var(--b2c-primary-soft, #e8eefd);
    color: var(--b2c-primary-dark, #1739ab);
    font-weight: 700;
}
.filter-toggle-chip input { accent-color: var(--b2c-primary, #1d4ed8); }
.filter-toggle-chip.is-disabled { opacity: .5; cursor: not-allowed; }

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--b2c-line, #e6e8ec);
}
.filter-actions .btn { width: 100%; min-height: 44px; font-weight: 700; }

.form-select, .filter-group-search .form-control { min-height: 44px; }

.market-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--b2c-line, #e6e8ec);
}

.market-count {
    font-size: .88rem;
    color: var(--b2c-steel, #6b7280);
}
.market-count strong { color: var(--b2c-ink, #171a1f); font-weight: 800; }

.listing-seo-text {
    max-width: 80ch;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--b2c-line, #e6e8ec);
    font-size: .9rem;
    line-height: 1.7;
    color: var(--b2c-ink-soft, #4b5160);
}
.listing-seo-text p:last-child { margin-bottom: 0; }

.market-toolbar-controls {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.sort-select {
    height: 42px;
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: var(--b2c-radius-sm, 8px);
    background: var(--b2c-surface, #fff);
    padding: 0 1.75rem 0 .85rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--b2c-ink-soft, #4b5160);
}

.view-toggle {
    display: flex;
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: var(--b2c-radius-sm, 8px);
    overflow: hidden;
    flex-shrink: 0;
}
.view-toggle button {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--b2c-surface, #fff);
    color: var(--b2c-steel, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}
.view-toggle button:first-child { border-right: 1px solid var(--b2c-line, #e6e8ec); }
.view-toggle button.active {
    background: var(--b2c-primary, #1d4ed8);
    color: #fff;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: -.35rem 0 1.1rem;
}
.af-label { font-size: .78rem; font-weight: 700; color: var(--b2c-steel, #6b7280); }
.af-chip {
    background: var(--b2c-surface, #fff);
    border: 1px solid var(--b2c-line, #e6e8ec);
    border-radius: 6px;
    padding: .28rem .8rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--b2c-ink-soft, #4b5160);
}
.af-chip--removable {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, gap .15s ease;
}
.af-chip-x {
    position: relative;
    top: 1px;
    width: 0;
    overflow: hidden;
    opacity: 0;
    font-size: .72rem;
    transition: width .15s ease, opacity .15s ease;
}
.af-chip--removable:hover,
.af-chip--removable:focus-visible {
    gap: .4rem;
    border-color: var(--b2c-danger, #c0272d);
    background: color-mix(in srgb, var(--b2c-danger, #c0272d) 8%, var(--b2c-surface, #fff));
    color: var(--b2c-danger, #c0272d);
}
.af-chip--removable:hover .af-chip-x,
.af-chip--removable:focus-visible .af-chip-x { width: .7em; opacity: 1; }
@media (hover: none) {
    .af-chip--removable { gap: .4rem; }
    .af-chip--removable .af-chip-x { width: .7em; opacity: .6; }
}
.af-clear {
    font-size: .78rem;
    font-weight: 700;
    color: var(--b2c-danger, #c0272d);
    text-decoration: underline;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 2rem;
}

.products-banner-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--b2c-radius-lg, 12px);
    background-color: var(--b2c-surface-muted, #f0f0f0);
    border: 1px solid var(--b2c-line, #e0e0e0);
}

#loadMoreContainer { margin-top: 1rem; margin-bottom: 3rem; }

#btnLoadMore {
    min-height: 48px;
    background-color: var(--load-more-btn-color, #212529);
    color: #ffffff;
    border: 1px solid var(--load-more-btn-color, #212529);
    border-radius: var(--b2c-radius-sm, 8px);
    padding: 0 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

#btnLoadMore:hover:not(:disabled) {
    background-color: color-mix(in srgb, var(--load-more-btn-color, #212529), black 15%);
    border-color: color-mix(in srgb, var(--load-more-btn-color, #212529), black 15%);
}

#btnLoadMore:disabled {
    background-color: var(--b2c-steel, #6c757d);
    border-color: var(--b2c-steel, #6c757d);
    opacity: 0.8;
    cursor: not-allowed;
}

.end-of-products {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 40px 0 10px;
    color: var(--b2c-steel, #9ca3af);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.4px;
}
.end-of-products::before,
.end-of-products::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--b2c-line, #d1d5db), transparent);
}

.filter-input:focus { border-color: var(--b2c-primary); }

@media (max-width: 767px) {
    .market-page { padding: 1.1rem 0 2rem; }
    .market-container { width: 100%; padding: 0 1rem; }

    .market-title { font-size: 1.2rem; }

    .market-layout { flex-direction: column; gap: 1rem; }
    .market-sidebar { flex: 1 1 auto; width: 100%; }

    .market-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

    .products-banner-slider { height: 110px; }

    .filter-card { position: static !important; padding: 1.1rem; }
    .market-sidebar .filter-card-head,
    .market-sidebar .filter-group-search { display: none !important; }
    .market-sidebar .filter-card:not([data-mobile-filter="inline"]) { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; }
    .market-sidebar:has(.filter-card:not([data-mobile-filter="inline"])) { margin-bottom: -1rem; }
    .market-sidebar .filter-card[data-mobile-filter="inline"]:not(:has(#filterCollapse.show, #filterCollapse.collapsing)) { display: none; }

    .market-toolbar { gap: .6rem; }
    .market-toolbar-controls { width: 100%; justify-content: space-between; }
    .sort-select { flex-grow: 1; }

    .filter-group-search .input-group:has(.filter-square-btn) .btn.btn-primary {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .filter-card:not([data-mobile-filter="inline"]) #filterCollapse {
        padding: 0;
    }

    .filter-card:not([data-mobile-filter="inline"]) #filterCollapse.filter-popup-mounted {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        max-height: 86vh;
        margin: 0;
        z-index: 20000;
        background: var(--b2c-surface, #fff);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .28);
        transform: translateY(100%);
        transition: transform .32s cubic-bezier(.22, .8, .25, 1);
        overflow: hidden;
    }

    .filter-card:not([data-mobile-filter="inline"]) #filterCollapse.filter-popup-show {
        transform: translateY(0);
    }

    body.filter-popup-open {
        overflow: hidden !important;
    }

    body.filter-popup-open .whatsapp-fab,
    body.filter-popup-open #crisp-chatbox [role="button"][data-maximized="false"] {
        display: none !important;
    }

    body.filter-popup-instant #filterCollapse,
    body.filter-popup-instant .filter-popup-backdrop {
        transition: none !important;
    }

    .filter-popup-backdrop {
        position: fixed;
        inset: 0;
        z-index: 19950;
        background: rgba(15, 17, 21, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s ease;
    }

    body.filter-popup-open .filter-popup-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .filter-popup-head {
        flex-shrink: 0;
        padding: 10px 18px 14px;
        border-bottom: 1px solid var(--b2c-line, #e6e8ec);
    }

    .filter-popup-handle {
        display: block;
        width: 40px;
        height: 4px;
        border-radius: 4px;
        background: var(--b2c-line, #e6e8ec);
        margin: 0 auto 12px;
    }

    .filter-popup-head-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .filter-popup-head-row strong {
        font-size: .95rem;
        font-weight: 800;
        color: var(--b2c-ink, #171a1f);
    }

    .filter-popup-close {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        border: none;
        border-radius: 50%;
        background: var(--b2c-surface-muted, #f6f7f9);
        color: var(--b2c-ink-soft, #4b5160);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .85rem;
    }

    .filter-card:not([data-mobile-filter="inline"]) .filter-popup-body {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 16px 18px 4px;
    }

    .filter-card:not([data-mobile-filter="inline"]) .filter-actions {
        flex-shrink: 0;
        flex-direction: row;
        margin-top: 0;
        padding: 12px 18px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--b2c-line, #e6e8ec);
        background: var(--b2c-surface, #fff);
    }

    .filter-card:not([data-mobile-filter="inline"]) .filter-actions .btn {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    #btnLoadMore { width: 100%; }
}

.market-sidebar .filter-popup-body .filter-group {
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--b2c-line-soft, #eef0f3);
}
.market-sidebar .filter-popup-body .filter-group:first-child { border-top: 0; padding-top: .25rem; }
.market-sidebar .filter-group-label {
    font-size: .68rem;
    letter-spacing: .1em;
    margin-bottom: .55rem;
}

.market-sidebar .filter-popup-body .form-select {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: var(--b2c-surface-muted, #f6f7f9);
    font-size: .88rem;
    font-weight: 500;
    color: var(--b2c-ink, #171a1f);
    box-shadow: none;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.market-sidebar .filter-popup-body .form-select:hover { border-color: var(--b2c-line, #e6e8ec); }
.market-sidebar .filter-popup-body .form-select:focus {
    background-color: var(--b2c-surface, #fff);
    border-color: var(--b2c-primary, #1d4ed8);
}

.market-sidebar .filter-toggle-chip {
    flex-direction: row-reverse;
    justify-content: space-between;
    min-height: 40px;
    margin: 0;
    padding: 0 .1rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: .88rem;
    color: var(--b2c-ink, #171a1f);
}
.market-sidebar .filter-toggle-chip:has(input:checked) {
    background: transparent;
    color: var(--b2c-ink, #171a1f);
    font-weight: 700;
}
.market-sidebar .filter-toggle-chip span i { width: 1.1rem; text-align: center; }
.market-sidebar .filter-toggle-chip input,
.market-sidebar .filter-rating-row input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    position: relative;
    margin: 0;
    cursor: pointer;
}
.market-sidebar .filter-toggle-chip input {
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: var(--b2c-line, #dfe2e7);
    transition: background-color .15s ease;
}
.market-sidebar .filter-toggle-chip input::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 18, 15, .25);
    transition: transform .15s ease;
}
.market-sidebar .filter-toggle-chip input:checked { background: var(--b2c-primary, #1d4ed8); }
.market-sidebar .filter-toggle-chip input:checked::before { transform: translateX(16px); }
.market-sidebar .filter-toggle-chip input:focus-visible,
.market-sidebar .filter-rating-row input:focus-visible { outline: 2px solid var(--b2c-primary, #1d4ed8); outline-offset: 2px; }
.market-sidebar .filter-toggle-chip.is-disabled input { cursor: not-allowed; }

.filter-rating-list { display: flex; flex-direction: column; }
.market-sidebar .filter-rating-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 38px;
    font-size: .86rem;
    color: var(--b2c-ink, #171a1f);
    cursor: pointer;
}
.market-sidebar .filter-rating-row input {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--b2c-line, #c9ced6);
    border-radius: 50%;
    background: var(--b2c-surface, #fff);
}
.market-sidebar .filter-rating-row input:checked {
    border: 5px solid var(--b2c-primary, #1d4ed8);
}
.market-sidebar .filter-rating-row:has(input:checked) { font-weight: 700; }
.market-sidebar .filter-rating-row .pd-stars { font-size: .78rem; }

.filter-star-line { display: flex; align-items: center; gap: .5rem; }
.filter-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}
.filter-star-rating input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.filter-star-rating label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 32px;
    font-size: 1.15rem;
    color: #d5d9df;
    cursor: pointer;
    transition: color .12s ease, transform .12s ease;
}
.filter-star-rating input:checked ~ label,
.filter-star-rating label:hover,
.filter-star-rating label:hover ~ label { color: #f5a623; }
.filter-star-rating:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: #d5d9df; }
.filter-star-rating label:hover { transform: scale(1.12); }
.filter-star-rating input:focus-visible + label { outline: 2px solid var(--b2c-primary, #1d4ed8); outline-offset: 1px; border-radius: 6px; }
.filter-star-caption { font-size: .8rem; color: var(--b2c-steel, #6b7280); white-space: nowrap; }
.filter-star-rating:has(input:checked) + .filter-star-caption { color: var(--b2c-ink, #171a1f); font-weight: 700; }

.filter-price-range { display: flex; align-items: center; gap: .4rem; }
.filter-price-field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 .55rem;
    gap: .25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--b2c-surface-muted, #f6f7f9);
    transition: border-color .15s ease, background-color .15s ease;
}
.filter-price-field:focus-within { background: var(--b2c-surface, #fff); border-color: var(--b2c-primary, #1d4ed8); }
.filter-price-field input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .88rem;
    color: var(--b2c-ink, #171a1f);
    -moz-appearance: textfield;
}
.filter-price-field input::-webkit-outer-spin-button,
.filter-price-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-price-cur { flex-shrink: 0; font-size: .8rem; color: var(--b2c-steel, #6b7280); }
.filter-price-sep { color: var(--b2c-steel, #9aa1ab); }
.filter-price-go {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--b2c-primary, #1d4ed8);
    color: #fff;
    font-size: .85rem;
    transition: background-color .15s ease;
}
.filter-price-go:hover { background: color-mix(in srgb, var(--b2c-primary, #1d4ed8), black 20%); }

@media (min-width: 768px) {
    .market-sidebar .filter-card {
        padding: 1.25rem 1.25rem 1.4rem;
        border-color: var(--b2c-line-soft, #eef0f3);
        border-radius: 14px;
        box-shadow: 0 1px 2px rgba(15, 18, 15, .04), 0 8px 24px -16px rgba(15, 18, 15, .12);
    }

    .market-sidebar .filter-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: 0 0 .9rem;
        margin: 0 0 1rem;
        text-transform: none;
        letter-spacing: 0;
        border-bottom: 1px solid var(--b2c-line-soft, #eef0f3);
    }
    .market-sidebar .filter-card-head h2 {
        display: flex;
        align-items: center;
        gap: .55rem;
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        color: var(--b2c-ink, #171a1f);
    }
    .market-sidebar .filter-card-head h2 i {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: var(--b2c-primary-soft, #e8eefd);
        color: var(--b2c-primary, #1d4ed8);
        font-size: .85rem;
    }
    .market-sidebar .filter-clear-link {
        font-size: .8rem;
        font-weight: 600;
        color: var(--b2c-danger, #c0272d);
        text-decoration: none;
    }
    .market-sidebar .filter-clear-link:hover { text-decoration: underline; }

    .market-sidebar .filter-group-search { margin-bottom: .4rem; }
    .market-sidebar .filter-group-search .input-group {
        flex-wrap: nowrap;
        align-items: center;
        background: var(--b2c-surface-muted, #f6f7f9);
        border: 1px solid transparent;
        border-radius: 10px;
        transition: border-color .15s ease, background-color .15s ease;
    }
    .market-sidebar .filter-group-search .input-group:focus-within {
        background: var(--b2c-surface, #fff);
        border-color: var(--b2c-primary, #1d4ed8);
    }
    .market-sidebar .filter-group-search .input-group .form-control {
        min-height: 42px;
        border: 0;
        background: transparent;
        box-shadow: none;
        padding-left: .2rem;
        font-size: .86rem;
    }
    .market-sidebar .filter-group-search .input-group .btn {
        order: -1;
        min-height: 42px;
        padding: 0 .55rem 0 .85rem;
        border: 0;
        border-radius: 10px 0 0 10px !important;
        background: transparent;
        color: var(--b2c-steel, #6b7280);
    }
    .market-sidebar .filter-group-search .input-group .btn:hover { color: var(--b2c-primary, #1d4ed8); }

    .market-sidebar .filter-popup-body .filter-group:first-child { border-top: 1px solid var(--b2c-line-soft, #eef0f3); padding-top: 1rem; }

    .market-sidebar .filter-actions { display: none; }
}

@media (max-width: 767px) {
    .filter-popup-head-row strong { font-size: 1.05rem; }
    .market-sidebar .filter-card:not([data-mobile-filter="inline"]) .filter-actions .btn-primary {
        background: var(--cart-btn-color, var(--b2c-ink, #171a1f));
        border-color: var(--cart-btn-color, var(--b2c-ink, #171a1f));
        border-radius: 12px;
        min-height: 48px;
    }
    .market-sidebar .filter-card:not([data-mobile-filter="inline"]) .filter-actions .btn-outline-secondary {
        flex: 0 0 auto;
        border: 0;
        background: transparent;
        color: var(--b2c-steel, #6b7280);
        font-weight: 600;
    }
    .market-sidebar .filter-card[data-mobile-filter="inline"] .filter-actions .btn-primary {
        background: var(--cart-btn-color, var(--b2c-ink, #171a1f));
        border-color: var(--cart-btn-color, var(--b2c-ink, #171a1f));
        border-radius: 12px;
    }
}
