/* ===== RESTYLE SHOP TOOLKIT FRONTEND ===== */

.rst-shop-layout,
.rst-shop-stack,
.rst-filterbar,
.rst-products-wrap,
.rst-sidebar,
.rst-search-form {
    font-family: 'Poppins', sans-serif;
    color: #231a15;
}

.rst-shop-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.rst-shop-stack {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== SIDEBAR ===== */

.rst-sidebar {
    width: 100%;
    padding: 24px 22px;
    border-radius: 22px;
    background: #fffaf3;
    border: 1px solid rgba(144, 115, 91, 0.16);
    box-shadow: 0 12px 30px rgba(80, 55, 35, 0.06);
}

.rst-sidebar-title {
    margin: 0 0 16px;
    color: #231a15;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rst-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rst-category-item {
    margin: 0;
    padding: 0;
}

.rst-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.rst-category-row a {
    display: inline-flex;
    padding: 4px 0;
    color: #5f4a3c;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rst-category-row a:hover,
.rst-category-item.is-current > .rst-category-row a,
.rst-category-item.is-ancestor > .rst-category-row a {
    color: #231a15;
}

.rst-category-toggle {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #231a15;
    cursor: pointer;
}

.rst-category-toggle::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 7px auto 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.rst-category-item.is-open > .rst-category-row .rst-category-toggle::before {
    transform: rotate(225deg) translate(-2px, -2px);
}

.rst-category-level-1,
.rst-category-level-2,
.rst-category-level-3 {
    display: none;
    margin: 6px 0 12px 18px;
    padding-left: 14px;
    border-left: 1px solid rgba(144, 115, 91, 0.18);
}

.rst-category-item.is-open > .rst-category-list {
    display: block;
}

.rst-category-level-1 .rst-category-row a,
.rst-category-level-2 .rst-category-row a,
.rst-category-level-3 .rst-category-row a {
    font-size: 13px;
    font-weight: 700;
}


.rst-category-row .rst-category-label {
    display: inline-flex;
    padding: 4px 0;
    color: #5f4a3c;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.rst-sidebar-mode-manual .rst-category-level-0 > .rst-category-item > .rst-category-row a,
.rst-sidebar-mode-manual .rst-category-level-0 > .rst-category-item > .rst-category-row .rst-category-label {
    font-size: 15px;
    font-weight: 900;
}

.rst-sidebar-mode-manual .rst-category-list {
    list-style: none;
}

/* ===== FILTER BAR ===== */

.rst-filterbar {
    width: 100%;
    margin: 0 0 30px;
    padding: 18px;
    border-radius: 24px;
    background: #fffaf3;
    border: 1px solid rgba(144, 115, 91, 0.18);
    box-shadow: 0 14px 34px rgba(80, 55, 35, 0.07);
}

.rst-filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.rst-filter-control {
    position: relative;
    flex: 1 1 155px;
    min-width: 140px;
}

.rst-filter-control-search {
    flex-basis: 210px;
}

.rst-filter-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex-basis: 210px;
}

.rst-filter-control select,
.rst-filter-control input[type="search"],
.rst-filter-control input[type="number"],
.rst-search-form input[type="search"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(144, 115, 91, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: #231a15;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
}

.rst-filter-control select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.rst-filter-control:not(.rst-filter-control-search):not(.rst-filter-price)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #231a15;
    border-bottom: 2px solid #231a15;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.rst-filter-control.is-active select,
.rst-filter-control input:focus,
.rst-filter-control select:focus,
.rst-search-form input:focus {
    border-color: #90735b;
    box-shadow: 0 0 0 4px rgba(245, 226, 199, 0.72);
}

.rst-filter-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
}

.rst-filter-submit,
.rst-filter-reset,
.rst-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid #90735b;
    border-radius: 999px;
    background: linear-gradient(180deg, #a78669 0%, #90735b 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(80, 55, 35, 0.16);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rst-filter-submit:hover,
.rst-search-form button:hover {
    background: linear-gradient(180deg, #96775f 0%, #7f644f 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

.rst-filter-reset {
    border-color: rgba(144, 115, 91, 0.28);
    background: #ffffff;
    color: #5f4a3c;
    box-shadow: 0 8px 18px rgba(80, 55, 35, 0.05);
}

.rst-filter-reset:hover {
    background: #F5E2C7;
    color: #231a15;
}

.rst-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.rst-active-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4a3c;
    border: 1px solid rgba(144, 115, 91, 0.18);
    font-size: 12px;
    font-weight: 700;
}

/* ===== PRODUCTS ===== */

.rst-products-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.rst-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 24px;
}

.rst-result-count {
    margin: 0;
    color: #5f4a3c;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.rst-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--rst-columns, 3), minmax(0, 1fr));
    gap: 34px 28px;
    width: 100%;
}

.rst-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border-radius: 24px;
    background: #fffaf3;
    border: 1px solid rgba(144, 115, 91, 0.14);
    box-shadow: 0 12px 28px rgba(80, 55, 35, 0.06);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rst-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(144, 115, 91, 0.28);
    box-shadow: 0 16px 36px rgba(80, 55, 35, 0.10);
}

.rst-product-image-box {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 0 16px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
}

.rst-product-image-box img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.28s ease;
}

.rst-product-main-image {
    opacity: 1;
    z-index: 1;
}

.rst-product-hover-image {
    opacity: 0;
    z-index: 2;
}

.rst-product-card.has-hover-image:hover .rst-product-main-image {
    opacity: 0;
}

.rst-product-card.has-hover-image:hover .rst-product-hover-image {
    opacity: 1;
}

.rst-product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.rst-product-title {
    display: block;
    min-height: 44px;
    margin: 0 0 8px;
    color: #231a15;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.rst-product-title:hover {
    color: #90735b;
}

.rst-product-price {
    display: block;
    margin: 0 0 16px;
    color: #5f4a3c;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.rst-product-price .amount,
.rst-product-price bdi {
    color: #5f4a3c;
    font-weight: 800;
}

.rst-product-price del {
    margin-right: 8px;
    opacity: 0.45;
}

.rst-product-price ins {
    text-decoration: none;
}

.rst-product-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.rst-product-details-button,
.rst-product-cart-button,
.rst-product-actions .button.rst-product-cart-button,
.rst-product-actions .add_to_cart_button.rst-product-cart-button,
.rst-product-actions .ajax_add_to_cart.rst-product-cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    margin: 0;
    padding: 0 13px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.rst-product-details-button::after,
.rst-product-cart-button::after,
.rst-product-actions .button.rst-product-cart-button::after,
.rst-product-actions .add_to_cart_button.rst-product-cart-button::after,
.rst-product-actions .ajax_add_to_cart.rst-product-cart-button::after {
    display: none;
    content: none;
}

.rst-product-details-button,
.rst-product-details-button:visited {
    border: 1px solid rgba(144, 115, 91, 0.30);
    background: #ffffff;
    color: #5f4a3c;
    box-shadow: 0 8px 18px rgba(80, 55, 35, 0.05);
}

.rst-product-details-button:hover,
.rst-product-details-button:focus-visible {
    border-color: rgba(144, 115, 91, 0.48);
    background: #F5E2C7;
    color: #231a15;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(80, 55, 35, 0.10);
}

.rst-product-cart-button,
.rst-product-actions .button.rst-product-cart-button,
.rst-product-actions .add_to_cart_button.rst-product-cart-button,
.rst-product-actions .ajax_add_to_cart.rst-product-cart-button,
.rst-product-cart-button:visited {
    border: 1px solid #90735b;
    background: linear-gradient(180deg, #a78669 0%, #90735b 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(80, 55, 35, 0.16);
}

.rst-product-cart-button:hover,
.rst-product-actions .button.rst-product-cart-button:hover,
.rst-product-actions .add_to_cart_button.rst-product-cart-button:hover,
.rst-product-actions .ajax_add_to_cart.rst-product-cart-button:hover,
.rst-product-cart-button:focus-visible {
    border-color: #7f644f;
    background: linear-gradient(180deg, #96775f 0%, #7f644f 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(80, 55, 35, 0.22);
}

.rst-product-cart-button.loading {
    opacity: 0.72;
    pointer-events: none;
}

.rst-product-cart-button.added {
    border-color: #231a15;
    background: #231a15;
    color: #ffffff;
}

.rst-product-actions .added_to_cart {
    display: none;
}

/* ===== BADGES ===== */

.rst-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 24px);
}

.rst-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(35, 26, 21, 0.92);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.rst-badge-sale {
    background: #a84636;
}

.rst-badge-new,
.rst-badge-featured,
.rst-badge-condition {
    background: #90735b;
}

/* ===== PAGINATION / EMPTY ===== */

.rst-pagination {
    margin: 52px 0 0;
    text-align: center;
}

.rst-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.rst-pagination li {
    margin: 0;
    padding: 0;
    border: 0;
}

.rst-pagination a,
.rst-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(144, 115, 91, 0.18);
    background: #fffaf3;
    color: #5f4a3c;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.rst-pagination .current,
.rst-pagination a:hover {
    background: #90735b;
    color: #ffffff;
    border-color: #90735b;
}

.rst-empty-state {
    padding: 28px;
    border-radius: 22px;
    background: #fffaf3;
    border: 1px solid rgba(144, 115, 91, 0.18);
    box-shadow: 0 12px 28px rgba(80, 55, 35, 0.06);
}

.rst-empty-state strong {
    display: block;
    margin-bottom: 6px;
    color: #231a15;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.rst-empty-state p {
    margin: 0;
    color: #5f4a3c;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== SEARCH ===== */

.rst-search-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.rst-search-form input[type="search"] {
    flex: 1 1 auto;
}

.rst-search-form button {
    flex: 0 0 auto;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
    .rst-shop-layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 24px;
    }

    .rst-product-grid {
        gap: 28px 22px;
    }
}

@media (max-width: 980px) {
    .rst-shop-layout {
        grid-template-columns: 1fr;
    }

    .rst-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }
}

@media (max-width: 760px) {
    .rst-filterbar {
        padding: 16px;
        border-radius: 22px;
    }

    .rst-filter-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rst-filter-control,
    .rst-filter-control-search,
    .rst-filter-price,
    .rst-filter-actions {
        min-width: 0;
        width: 100%;
        flex-basis: auto;
    }

    .rst-filter-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rst-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .rst-product-card {
        padding: 10px;
        border-radius: 20px;
    }

    .rst-product-image-box {
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .rst-product-title {
        min-height: 38px;
        font-size: 13px;
    }

    .rst-product-price {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .rst-product-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rst-product-details-button,
    .rst-product-cart-button,
    .rst-product-actions .button.rst-product-cart-button,
    .rst-product-actions .add_to_cart_button.rst-product-cart-button,
    .rst-product-actions .ajax_add_to_cart.rst-product-cart-button {
        min-height: 41px;
        padding: 0 12px;
        font-size: 12px;
        white-space: normal;
    }
}

@media (max-width: 430px) {
    .rst-filter-controls,
    .rst-filter-actions {
        grid-template-columns: 1fr;
    }

    .rst-product-grid {
        gap: 20px 12px;
    }
}


/* v0.2.1 - manuális oldalsáv: nem feloldható elemek biztonságos megjelenítése */
.rst-sidebar .rst-category-item.is-unlinked > .rst-category-row .rst-category-label {
    display: inline-flex;
    color: #5f4a3c;
    font-weight: 800;
    cursor: default;
}

.rst-sidebar .rst-category-item.is-unlinked > .rst-category-row .rst-category-label::after {
    content: "";
}

/* ===== MÁRKÁS DARABOK OLDAL ===== */

.rst-brand-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    color: #231a15;
}

.rst-brand-showcase-head {
    max-width: 760px;
    margin: 0 0 28px;
}

.rst-brand-showcase-head h2 {
    margin: 0 0 10px;
    color: #231a15;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.rst-brand-showcase-head p {
    margin: 0;
    color: #5f4a3c;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
}

.rst-brand-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 0 34px;
    padding: 18px;
    border-radius: 28px;
    background: #fffaf3;
    border: 1px solid rgba(144, 115, 91, 0.16);
    box-shadow: 0 14px 34px rgba(80, 55, 35, 0.06);
    box-sizing: border-box;
}

.rst-brand-picker-empty {
    display: block;
}

.rst-brand-picker-empty p {
    margin: 0;
    color: #5f4a3c;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.rst-brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(144, 115, 91, 0.18);
    color: #5f4a3c;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(80, 55, 35, 0.04);
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.rst-brand-card:hover,
.rst-brand-card:focus-visible,
.rst-brand-card.is-active {
    background: #F5E2C7;
    border-color: rgba(144, 115, 91, 0.34);
    color: #231a15;
    box-shadow: 0 12px 26px rgba(80, 55, 35, 0.09);
    transform: translateY(-1px);
}

.rst-brand-card-name {
    display: block;
    min-width: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: nowrap;
}

.rst-brand-card-all .rst-brand-card-name {
    color: inherit;
}

.rst-brand-products-wrap {
    max-width: none;
}

.rst-brand-products-toolbar {
    margin-bottom: 24px;
}

@media (max-width: 760px) {
    .rst-brand-picker {
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
    }

    .rst-brand-card {
        min-height: 40px;
        padding: 0 14px;
    }

    .rst-brand-card-name {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .rst-brand-picker {
        align-items: stretch;
    }

    .rst-brand-card {
        flex: 1 1 calc(50% - 8px);
    }
}


/* ===== MÁRKÁS DARABOK - MOBIL KOMPAKT MÁRKAVÁLASZTÓ ===== */
/* Mobilon a márkák nem törnek több hosszú sorba, hanem vízszintesen lapozható gombsorként jelennek meg. */

@media (max-width: 760px) {
    .rst-brand-showcase-head {
        margin: 0 0 16px;
    }

    .rst-brand-showcase-head h2 {
        margin-bottom: 8px;
        font-size: clamp(28px, 8vw, 42px);
        line-height: 1.04;
    }

    .rst-brand-showcase-head p {
        font-size: 14px;
        line-height: 1.5;
    }

    .rst-brand-picker {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        width: calc(100% + 28px);
        max-width: none;
        margin: 0 -14px 20px;
        padding: 10px 14px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        box-shadow: none;
    }

    .rst-brand-picker::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .rst-brand-card {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0 13px;
        border-radius: 999px;
        scroll-snap-align: start;
        box-shadow: 0 6px 14px rgba(80, 55, 35, 0.04);
    }

    .rst-brand-card-name {
        font-size: 12px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .rst-brand-products-toolbar {
        margin-bottom: 16px;
    }
}

@media (max-width: 430px) {
    .rst-brand-picker {
        align-items: center;
    }

    .rst-brand-card {
        flex: 0 0 auto;
    }
}

/* ===== v0.4.6 - MOBIL MÁRKASÁV GÖRGETÉSI JELZÉS ===== */

.rst-brand-picker-shell {
    position: relative;
    width: 100%;
    margin: 0 0 34px;
}

.rst-brand-picker-shell .rst-brand-picker {
    margin-bottom: 0;
}

.rst-brand-scroll-arrow,
.rst-brand-scroll-hint {
    display: none;
}

@media (max-width: 760px) {
    .rst-brand-picker-shell {
        margin: 0 0 20px;
        padding-bottom: 18px;
    }

    .rst-brand-picker-shell .rst-brand-picker {
        margin-bottom: 0;
    }

    .rst-brand-scroll-arrow {
        position: absolute;
        top: 50%;
        z-index: 4;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: rgba(35, 26, 21, 0.78);
        color: #ffffff;
        font-size: 24px;
        line-height: 1;
        font-weight: 800;
        pointer-events: none;
        transform: translateY(-72%);
        box-shadow: 0 10px 22px rgba(80, 55, 35, 0.16);
    }

    .rst-brand-scroll-arrow-left {
        left: 4px;
    }

    .rst-brand-scroll-arrow-right {
        right: 4px;
    }

    .rst-brand-scroll-hint {
        position: absolute;
        left: 14px;
        bottom: 0;
        display: inline-flex;
        align-items: center;
        min-height: 16px;
        color: rgba(95, 74, 60, 0.78);
        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.01em;
        pointer-events: none;
    }

    .rst-brand-picker-shell::before,
    .rst-brand-picker-shell::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 18px;
        z-index: 3;
        width: 48px;
        pointer-events: none;
    }

    .rst-brand-picker-shell::before {
        left: -14px;
        background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
    }

    .rst-brand-picker-shell::after {
        right: -14px;
        background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
    }
}

/* ===== v0.4.6 - MOBIL SZŰRŐ POPUP / KOMPAKT SZŰRŐ ===== */

.rst-mobile-filter-toggle,
.rst-filter-panel-head {
    display: none;
}

@media (max-width: 760px) {
    .rst-filterbar {
        position: relative;
        margin: 0 0 18px;
        padding: 12px;
        border-radius: 20px;
    }

    .rst-mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 50px;
        margin: 0;
        padding: 0 16px;
        border: 1px solid rgba(144, 115, 91, 0.22);
        border-radius: 999px;
        background: #ffffff;
        color: #231a15;
        font-family: 'Poppins', sans-serif;
        text-align: left;
        box-shadow: 0 8px 18px rgba(80, 55, 35, 0.05);
        cursor: pointer;
    }

    .rst-mobile-filter-toggle span {
        display: inline-flex;
        align-items: center;
        color: #231a15;
        font-size: 14px;
        line-height: 1.1;
        font-weight: 900;
    }

    .rst-mobile-filter-toggle span::before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 8px;
        border: 2px solid #90735b;
        border-radius: 999px;
        box-shadow: inset 0 0 0 4px #ffffff;
        background: #90735b;
    }

    .rst-mobile-filter-toggle em {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        padding: 0 9px;
        border-radius: 999px;
        background: #f5e2c7;
        color: #5f4a3c;
        font-size: 11px;
        line-height: 1;
        font-weight: 900;
        font-style: normal;
        white-space: nowrap;
    }

    .rst-filter-panel {
        display: none;
    }

    .rst-filterbar.is-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 60000;
        background: rgba(35, 26, 21, 0.42);
        backdrop-filter: blur(3px);
    }

    .rst-filterbar.is-open .rst-filter-panel {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 60001;
        display: block;
        max-height: 82vh;
        padding: 18px;
        border-radius: 26px;
        background: #fffaf3;
        border: 1px solid rgba(144, 115, 91, 0.20);
        box-shadow: 0 26px 70px rgba(35, 26, 21, 0.28);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .rst-filter-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 0 0 14px;
        padding: 0 0 14px;
        border-bottom: 1px solid rgba(144, 115, 91, 0.14);
    }

    .rst-filter-panel-head strong {
        color: #231a15;
        font-size: 18px;
        line-height: 1.15;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .rst-mobile-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(144, 115, 91, 0.18);
        border-radius: 999px;
        background: #ffffff;
        color: #231a15;
        font-size: 24px;
        line-height: 1;
        font-weight: 700;
        cursor: pointer;
    }

    .rst-filterbar .rst-filter-controls {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rst-filterbar .rst-filter-control,
    .rst-filterbar .rst-filter-control-search,
    .rst-filterbar .rst-filter-price,
    .rst-filterbar .rst-filter-actions {
        min-width: 0;
        width: 100%;
        flex-basis: auto;
    }

    .rst-filterbar .rst-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 4px;
    }

    .rst-filter-submit,
    .rst-filter-reset {
        width: 100%;
    }

    .rst-active-filters {
        margin-top: 10px;
        gap: 7px;
    }

    .rst-active-filter-chip {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }
}
