﻿@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --ink: #242424;
    --muted: #77736e;
    --line: #e9e6e2;
    --paper: #fff;
    --soft: #f6f4f1;
    --accent: #a14d3d;
    --accent-dark: #7f3529;
    --serif: Georgia,'Times New Roman',serif;
    --radius: 3px;
    --shadow: 0 16px 40px rgba(28,24,20,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'Vazirmatn',Tahoma,sans-serif;
    font-size: 14px;
    line-height: 1.8
}

    body.nav-is-open, body.filter-is-open {
        overflow: hidden
    }

a {
    color: inherit;
    text-decoration: none
}

button, input, select {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

.container-fluid {
    padding-left: clamp(16px,4.4vw,72px);
    padding-right: clamp(16px,4.4vw,72px)
}

.top-strip {
    background: #292724;
    color: #fff;
    text-align: center;
    font-size: 11px;
    letter-spacing: .1px;
    padding: 7px 12px
}

.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.header-main {
    min-height: 91px;
    display: flex;
    align-items: center;
    gap: clamp(14px,2.3vw,36px)
}

.brand-logo {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1.8px;
    white-space: nowrap;
    direction: ltr;
    display: inline-block;
    line-height: 1;
    color: #292724
}

    .brand-logo span {
        color: var(--accent);
        font-weight: 400
    }

.search-form {
    height: 44px;
    max-width: 620px;
    flex: 1;
    display: flex;
    align-items: center;
    background: #f6f5f3;
    border: 1px solid transparent;
    padding: 0 13px;
    gap: 10px
}

    .search-form:focus-within {
        border-color: #c9b6ae;
        background: #fff
    }

    .search-form > i {
        color: #76716b;
        font-size: 17px
    }

    .search-form input {
        border: 0;
        outline: 0;
        background: transparent;
        min-width: 0;
        flex: 1;
        font-size: 12px
    }

    .search-form button {
        border: 0;
        background: transparent;
        color: var(--accent);
        font-size: 12px;
        font-weight: 600
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 19px;
    margin-right: auto
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 10px;
    white-space: nowrap;
    position: relative
}

    .header-action > i {
        font-size: 21px;
        line-height: 1.3
    }

.cart-count {
    position: absolute;
    top: -6px;
    right: -9px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 500
}

.icon-button {
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    font-size: 23px;
    color: var(--ink)
}

.mobile-menu-trigger {
    display: none
}

.desktop-nav {
    border-top: 1px solid #f1efec
}

.nav-root {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: clamp(20px,3vw,44px);
    min-height: 47px
}

    .nav-root > li {
        display: flex;
        align-items: center
    }

        .nav-root > li > a {
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            height: 100%;
            position: relative
        }

            .nav-root > li > a:after {
                content: "";
                position: absolute;
                bottom: 0;
                right: 0;
                left: 0;
                height: 2px;
                background: var(--accent);
                transform: scaleX(0);
                transition: transform .2s;
                transform-origin: right
            }

            .nav-root > li > a:hover:after, .nav-root > li:focus-within > a:after {
                transform: scaleX(1)
            }

    .nav-root .nav-sale {
        color: var(--accent);
        font-weight: 700
    }

.nav-item {
    position: static
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    padding: 28px clamp(24px,6vw,100px);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(3,minmax(130px,1fr)) minmax(190px,1.1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity .18s,transform .18s,visibility .18s;
    z-index: 25
}

.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.mega-menu > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
}

.mega-menu strong {
    font-size: 13px;
    margin-bottom: 6px
}

.mega-menu > div a {
    font-size: 12px;
    color: #706c67
}

    .mega-menu > div a:hover {
        color: var(--accent)
    }

.mega-feature {
    position: relative;
    overflow: hidden;
    min-height: 175px
}

    .mega-feature img {
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        object-fit: cover
    }

    .mega-feature span {
        position: absolute;
        bottom: 12px;
        right: 12px;
        color: white;
        font-size: 13px;
        font-weight: 700;
        text-shadow: 0 1px 5px #000
    }

.hero-wrap {
    padding-top: 18px
}

.hero-swiper {
    overflow: hidden;
    position: relative
}

.hero-slide {
    height: clamp(330px,39vw,570px);
    display: block;
    position: relative;
    overflow: hidden;
    background: #a9a09a;
    color: white
}

    .hero-slide > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 7s ease
    }

.swiper-slide-active .hero-slide > img {
    transform: scale(1.035)
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg,rgba(16,14,13,.56),rgba(16,14,13,.15) 50%,rgba(16,14,13,.02))
}

.hero-copy {
    position: absolute;
    right: clamp(25px,8vw,120px);
    top: 50%;
    transform: translateY(-50%);
    max-width: 480px;
    color: #fff
}

.eyebrow, .section-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    direction: ltr;
    text-align: right
}

.hero-copy h1, .hero-copy h2 {
    font-size: clamp(32px,5.2vw,66px);
    font-weight: 600;
    line-height: 1.35;
    margin: 15px 0 10px
}

.hero-copy p {
    font-size: 14px;
    margin-bottom: 24px
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,.75);
    padding: 0 0 7px;
    font-size: 12px
}

    .hero-cta i {
        transition: transform .2s
    }

    .hero-cta:hover i {
        transform: translateX(-4px)
    }

.swiper-button-prev, .swiper-button-next {
    color: #242424;
    background: rgba(255,255,255,.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background .2s
}

    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 14px;
        font-weight: 700
    }

    .swiper-button-prev:hover, .swiper-button-next:hover {
        background: #fff
    }

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #fff;
    opacity: .65
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    opacity: 1
}

.section-space {
    padding-top: 68px;
    padding-bottom: 12px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 1px
}

.section-kicker {
    color: var(--accent);
    margin-bottom: 4px
}

.section-heading h2, .listing-heading h1 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0
}

.section-heading p, .listing-heading p {
    color: var(--muted);
    font-size: 12px;
    margin: 5px 0 0
}

.text-link {
    font-size: 12px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #c9c4be
}

    .text-link i {
        transition: transform .2s
    }

    .text-link:hover i {
        transform: translateX(-4px)
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 13px
}

.category-tile {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: #e7e2dc;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 21px
}

    .category-tile:after {
        content: "";
        position: absolute;
        inset: 30% 0 0;
        background: linear-gradient(0deg,rgba(0,0,0,.58),transparent)
    }

    .category-tile img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s
    }

    .category-tile:hover img {
        transform: scale(1.06)
    }

    .category-tile span, .category-tile small {
        position: relative;
        z-index: 1
    }

    .category-tile span {
        font-size: 22px;
        font-weight: 600
    }

    .category-tile small {
        font-size: 10px;
        opacity: .9
    }

.promo-band {
    margin-top: 70px
}

    .promo-band > a {
        height: clamp(190px,25vw,340px);
        display: block;
        position: relative;
        overflow: hidden;
        background: #d7d0c8
    }

    .promo-band img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .promo-band > a:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(270deg,rgba(15,14,13,.56),transparent 75%)
    }

.promo-content {
    position: absolute;
    right: clamp(25px,7vw,100px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px
}

    .promo-content small, .editorial-card small {
        font-size: 10px;
        letter-spacing: 2px;
        direction: ltr
    }

    .promo-content strong {
        font-size: clamp(25px,3.5vw,43px);
        font-weight: 600
    }

    .promo-content em, .editorial-card em {
        font-size: 12px;
        font-style: normal;
        margin-top: 9px;
        border-bottom: 1px solid #fff;
        padding-bottom: 6px;
        display: flex;
        gap: 10px;
        align-items: center
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px 13px
}

.product-card {
    min-width: 0;
    border:1px solid;
}

.product-card__image {
    display: block;
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f4f2ef
}

    .product-card__image > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s
    }

    .product-card__image:hover > img {
        transform: scale(1.04)
    }

.product-badge {
    position: absolute;
    background: #fff;
    color: #34302d;
    font-size: 10px;
    padding: 3px 8px;
    z-index: 2
}

.product-badge--sale {
    position:absolute;
    background: var(--accent);
    color: white;
    bottom:7px;
    left:7px;
}

.favorite-button {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    border: 0;
    background: rgba(255,255,255,.9);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px;
    transition: color .2s,background .2s;
    font-size:20px;
}

    .favorite-button.active {
        color: var(--accent)
    }

.product-card__body {
    padding: 10px 10px 0 0;
}

.product-card__brand {
    font-size: 9px;
    color: #8a827a;
    letter-spacing: 1px;
    direction: ltr;
    text-align: right;
    margin: 0 0 3px;
    font-weight: 600
}

.product-card__title {
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 7px;
    line-height: 1.7
}

    .product-card__title a:hover {
        color: var(--accent)
    }

.product-card__price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 12px;
    font-weight: 600
}

    .product-card__price del {
        font-size: 10px;
        color: #999;
        font-weight: 400
    }

.swatches {
    display: flex;
    gap: 6px;
    margin: 8px 0
}

    .swatches i, .filter-colors i {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--swatch);
        border: 1px solid rgba(0,0,0,.12)
    }

.editorial-grid {
    padding-top: 65px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 14px
}

.editorial-card {
    height: clamp(260px,32vw,430px);
    position: relative;
    overflow: hidden;
    background: #ddd;
    display: block;
    color: white
}

    .editorial-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s
    }

    .editorial-card:hover img {
        transform: scale(1.05)
    }

    .editorial-card:after {
        content: "";
        position: absolute;
        inset: 25% 0 0;
        background: linear-gradient(0deg,rgba(0,0,0,.6),transparent)
    }

    .editorial-card > span {
        position: absolute;
        z-index: 1;
        bottom: 25px;
        right: 24px;
        left: 20px;
        display: flex;
        align-items: flex-start;
        flex-direction: column
    }

    .editorial-card strong {
        font-size: clamp(20px,2.2vw,29px);
        font-weight: 600
    }

.service-strip {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 25px;
    padding-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

    .service-strip > div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px
    }

        .service-strip > div > i {
            font-size: 25px;
            color: var(--accent)
        }

    .service-strip span {
        display: flex;
        flex-direction: column
    }

    .service-strip strong {
        font-size: 12px;
        font-weight: 600
    }

    .service-strip small {
        font-size: 10px;
        color: var(--muted)
    }

.site-footer {
    margin-top: 0;
    background: #f8f7f5
}

.footer-main {
    padding-top: 55px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 35px
}

    .footer-main > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }

.footer-brand p, .newsletter p {
    font-size: 11px;
    color: var(--muted);
    max-width: 270px;
    margin: 17px 0
}

.footer-main h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 3px 0 16px
}

.footer-main > div > a:not(.brand-logo) {
    font-size: 11px;
    color: #6e6963;
    margin-bottom: 8px
}

.footer-main > div > a:hover {
    color: var(--accent)
}

.social-links {
    display: flex;
    gap: 14px;
    font-size: 18px
}

.newsletter form {
    display: flex;
    width: 100%;
    max-width: 320px;
    border-bottom: 1px solid #999
}

.newsletter input {
    min-width: 0;
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 10px 0;
    font-size: 11px
}

.newsletter button {
    border: 0;
    background: transparent;
    font-size: 17px
}

.newsletter > small {
    font-size: 9px;
    color: #888;
    margin-top: 8px
}

.footer-bottom {
    border-top: 1px solid #e8e5e1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 10px;
    color: #777
}

.mobile-nav, .mobile-nav-backdrop {
    display: none
}

.toast-message {
    position: fixed;
    z-index: 1000;
    bottom: 24px;
    right: 50%;
    transform: translate(50%,15px);
    background: #292724;
    color: white;
    padding: 12px 20px;
    max-width: min(90vw,560px);
    font-size: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: .25s
}

    .toast-message.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translate(50%,0)
    }
/* Listing */
.listing-page, .cart-page, .wishlist-page, .detail-page {
    padding-top: 22px;
    padding-bottom: 70px
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    color: #8a847e;
    margin: 0 0 25px
}

    .breadcrumbs i {
        font-size: 9px
    }

    .breadcrumbs a:hover {
        color: var(--accent)
    }

.listing-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px
}

.result-count {
    font-size: 11px;
    color: var(--muted)
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 11px
}

    .listing-toolbar select {
        border: 0;
        background: transparent;
        outline: 0;
        font-size: 11px;
        min-width: 150px
    }

.filter-open-button {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 12px;
    font-size: 11px;
    gap: 7px;
    align-items: center
}

.listing-layout {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 25px
}

.filter-sidebar {
    border: 1px solid var(--line);
    padding: 17px;
/*    height: max-content*/
}

.filter-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

    .filter-sidebar-head strong {
        font-size: 13px
    }

.filter-close {
    display: none
}

.filter-group {
    border-top: 1px solid var(--line);
    padding: 17px 0
}

    .filter-group h3 {
        font-size: 12px;
        font-weight: 700;
        margin: 0 0 12px
    }

    .filter-group > label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        margin: 10px 0;
        color: #615d58
    }

    .filter-group input[type=checkbox] {
        accent-color: var(--accent)
    }

.filter-colors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

    .filter-colors label {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 10px
    }

    .filter-colors i {
        width: 15px;
        height: 15px
    }

.price-inputs {
    display: flex;
    gap: 8px
}

    .price-inputs input {
        width: 50%;
        min-width: 0;
        border: 1px solid var(--line);
        padding: 8px;
        font-size: 10px
    }

.switch-label {
    margin-top: 13px !important
}

.apply-filters {
    width: 100%;
    border: 0;
    background: var(--ink);
    color: white;
    padding: 10px;
    font-size: 11px
}

.product-grid--listing {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1px 1px
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 45px;
    direction: ltr
}

    .pagination-wrap a, .pagination-wrap span {
        display: grid;
        place-items: center;
        min-width: 34px;
        height: 34px;
        border: 1px solid var(--line);
        font-size: 11px
    }

        .pagination-wrap a.active, .pagination-wrap a:hover {
            background: var(--ink);
            border-color: var(--ink);
            color: #fff
        }

.filter-backdrop {
    display: none
}
/* Product detail */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr);
    gap: clamp(25px,5vw,75px);
    align-items: start
}

.product-gallery {
    display: grid;
    grid-template-columns: 75px minmax(0,1fr);
    gap: 12px;
    direction: ltr
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.gallery-thumb {
    padding: 0;
    border: 1px solid transparent;
    background: #f4f2ef;
    aspect-ratio: 3/4;
    overflow: hidden
}

    .gallery-thumb.active {
        border-color: var(--accent)
    }

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.gallery-main {
    position: relative;
    aspect-ratio: 3/4;
    background: #f5f2ee;
    overflow: hidden
}

    .gallery-main > img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.product-detail-info {
    padding-top: 5px
}

    .product-detail-info > .product-card__brand {
        font-size: 11px
    }

    .product-detail-info h1 {
        font-size: 27px;
        font-weight: 600;
        margin: 4px 0 8px;
        line-height: 1.5
    }

.detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px
}

    .detail-rating span {
        color: #b78343;
        letter-spacing: 2px;
        direction: ltr
    }

    .detail-rating small {
        font-size: 10px;
        color: var(--muted)
    }

.detail-price {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    margin-bottom: 17px
}

    .detail-price strong {
        font-size: 20px
    }

    .detail-price small {
        font-size: 10px;
        color: var(--muted)
    }

.detail-description {
    font-size: 12px;
    color: #69645f;
    line-height: 2.2;
    margin-bottom: 22px
}

.detail-option {
    margin: 20px 0
}

.option-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px
}

    .option-heading strong {
        font-weight: 700
    }

    .option-heading > span {
        color: var(--muted)
    }

    .option-heading a {
        margin-right: auto;
        color: var(--accent);
        font-size: 10px;
        text-decoration: underline
    }

.color-options {
    display: flex;
    gap: 10px
}

.color-option {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--swatch);
    border: 3px solid #fff;
    outline: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1)
}

    .color-option.active {
        outline-color: var(--ink)
    }

.size-options {
    display: flex;
    gap: 8px
}

    .size-options button {
        min-width: 44px;
        height: 40px;
        border: 1px solid var(--line);
        background: #fff;
        font-size: 12px;
        direction: ltr
    }

        .size-options button.active, .size-options button:hover {
            border-color: var(--ink);
            background: var(--ink);
            color: #fff
        }

.field-hint {
    display: block;
    color: #928a83;
    font-size: 10px;
    margin-top: 8px
}

.detail-stock {
    font-size: 11px;
    color: #4d7a55;
    margin: 18px 0
}

    .detail-stock i {
        margin-left: 5px
    }

.detail-buy-row {
    display: flex;
    gap: 10px
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    height: 48px;
    direction: ltr;
    flex-shrink: 0
}

    .quantity-control button {
        width: 34px;
        height: 100%;
        border: 0;
        background: #fff;
        font-size: 18px
    }

    .quantity-control input {
        width: 35px;
        text-align: center;
        border: 0;
        outline: 0;
        font-size: 12px;
        appearance: textfield;
        -moz-appearance: textfield
    }

        .quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0
        }

.add-to-cart-button, .checkout-button {
    flex: 1;
    min-height: 48px;
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s
}

    .add-to-cart-button:hover, .checkout-button:hover {
        background: var(--accent-dark)
    }

.detail-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

    .detail-benefits span {
        font-size: 10px;
        color: #6d6862;
        display: flex;
        align-items: center;
        gap: 5px
    }

    .detail-benefits i {
        font-size: 15px
    }

.detail-accordion details {
    border-bottom: 1px solid var(--line);
    padding: 14px 0
}

.detail-accordion summary {
    font-size: 12px;
    font-weight: 600;
    cursor: pointer
}

.detail-accordion p {
    font-size: 11px;
    color: var(--muted);
    margin: 8px 0 0
}
/* Cart */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 25px;
    align-items: start
}

.cart-items {
    border-top: 1px solid var(--line)
}

.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr) auto;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: start
}

    .cart-item > img {
        width: 110px;
        aspect-ratio: 3/4;
        object-fit: cover
    }

.cart-item-info h2 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px
}

.cart-item-info > small {
    font-size: 10px;
    color: var(--muted)
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 15px
}

    .cart-item-bottom .quantity-control {
        height: 34px
    }

        .cart-item-bottom .quantity-control button {
            width: 27px
        }

        .cart-item-bottom .quantity-control input {
            width: 26px
        }

.remove-item {
    border: 0;
    background: transparent;
    color: #8b817a;
    font-size: 10px
}

    .remove-item:hover {
        color: var(--accent)
    }

.cart-item-price {
    font-size: 12px;
    white-space: nowrap
}

.cart-summary {
    border: 1px solid var(--line);
    padding: 20px;
    position: sticky;
    top: 20px
}

    .cart-summary h2 {
        font-size: 16px;
        margin: 0 0 18px
    }

    .cart-summary > div:not(.discount-input) {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 11px;
        margin: 15px 0
    }

    .cart-summary > div strong {
        font-weight: 600;
        text-align: left
    }

.cart-total {
    border-top: 1px solid var(--line);
    padding-top: 17px;
    margin-top: 18px !important;
    font-weight: 700
}

    .cart-total strong {
        font-size: 15px
    }

.discount-label {
    display: block;
    font-size: 11px;
    margin: 20px 0 7px
}

.discount-input {
    display: flex;
    border: 1px solid var(--line);
    height: 40px
}

    .discount-input input {
        min-width: 0;
        flex: 1;
        border: 0;
        outline: 0;
        padding: 0 9px;
        font-size: 10px
    }

    .discount-input button {
        border: 0;
        background: #f1efec;
        padding: 0 13px;
        font-size: 10px
    }

.checkout-button {
    width: 100%;
    margin-top: 20px
}

.secure-note {
    display: block;
    text-align: center;
    font-size: 9px;
    color: var(--muted);
    margin-top: 12px
}

    .secure-note i {
        color: #4d7a55
    }

.cart-empty {
    text-align: center;
    padding: 55px 15px
}

    .cart-empty > i {
        font-size: 42px;
        color: #b5aaa2
    }

    .cart-empty h2 {
        font-size: 18px
    }

    .cart-empty p {
        font-size: 12px;
        color: var(--muted)
    }

.primary-link-button, .outline-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 11px;
    background: var(--ink);
    color: white;
    border: 1px solid var(--ink);
    margin-top: 10px
}

.outline-link-button {
    background: white;
    color: var(--ink);
    width: 100%
}

    .outline-link-button:hover {
        background: var(--ink);
        color: white
    }

@media(min-width:1500px) {
    .product-grid {
        gap: 1px
    }

    .category-tile {
        min-height: 330px
    }
}

@media(max-width:1100px) {
    .header-main {
        gap: 20px
    }

    .header-actions {
        gap: 13px
    }

    .header-action span {
        display: none
    }

    .category-tile {
        min-height: 230px;
        padding: 14px
    }

    .listing-layout {
        grid-template-columns: 190px minmax(0,1fr);
        gap: 17px
    }

    .product-grid--listing {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .newsletter {
        grid-column: 1/-1
    }

    .product-detail-layout {
        gap: 30px
    }

    .cart-layout {
        grid-template-columns: minmax(0,1fr) 290px
    }
}

@media(max-width:760px) {
    body {
        font-size: 13px
    }

    .container-fluid {
        padding-left: 16px;
        padding-right: 16px
    }

    .top-strip {
        font-size: 10px;
        padding: 5px 8px
    }

    .header-main {
        min-height: 67px;
        gap: 11px
    }

    .mobile-menu-trigger {
        display: grid;
        flex-shrink: 0;
        width: 29px
    }

    .brand-logo {
        font-size: 23px
    }

    .header-main > .search-form {
        height: 38px;
        padding: 0 9px;
        gap: 7px
    }

    .search-form input {
        font-size: 10px
    }

    .search-form button {
        display: none
    }

    .search-form > i {
        font-size: 14px
    }

    .header-actions {
        gap: 11px
    }

    .header-action > i {
        font-size: 20px
    }

    .header-action span {
        display: none
    }

    .header-action {
        font-size: 0
    }

    .desktop-nav {
        display: none
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(22,20,18,.45);
        z-index: 80;
        opacity: 0;
        visibility: hidden;
        transition: .25s
    }

        .mobile-nav-backdrop.is-visible {
            opacity: 1;
            visibility: visible
        }

    .mobile-nav {
        display: flex;
        position: fixed;
        z-index: 81;
        top: 0;
        bottom: 0;
        right: 0;
        width: min(88vw,370px);
        background: #fff;
        flex-direction: column;
        overflow-y: auto;
        transform: translateX(105%);
        transition: transform .3s ease;
        padding: 0 18px 20px
    }

        .mobile-nav.is-open {
            transform: translateX(0)
        }

    .mobile-nav-head {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
        flex-shrink: 0
    }

        .mobile-nav-head .brand-logo {
            font-size: 23px
        }

    .mobile-search {
        display: flex;
        height: 42px;
        border: 1px solid var(--line);
        margin: 18px 0
    }

        .mobile-search input {
            min-width: 0;
            flex: 1;
            border: 0;
            outline: 0;
            padding: 0 10px;
            font-size: 11px
        }

        .mobile-search button {
            width: 40px;
            border: 0;
            background: #f4f2ef
        }

    .mobile-nav-links {
        flex: 1
    }

    .mobile-category {
        border-bottom: 1px solid var(--line)
    }

    .mobile-category-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 2px;
        background: transparent;
        border: 0;
        font-size: 13px;
        text-align: right
    }

        .mobile-category-toggle i {
            font-size: 14px;
            color: #777
        }

    .mobile-submenu {
        display: none;
        background: #f8f7f5;
        padding: 3px 14px 12px
    }

    .mobile-category.is-expanded .mobile-submenu {
        display: flex;
        flex-direction: column
    }

    .mobile-submenu a {
        font-size: 11px;
        padding: 8px 0;
        color: #68615b
    }

    .mobile-simple-link {
        display: block;
        border-bottom: 1px solid var(--line);
        padding: 14px 2px;
        font-size: 12px
    }

        .mobile-simple-link.nav-sale {
            color: var(--accent);
            font-weight: 700
        }

    .mobile-nav-bottom {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
        margin-top: 15px
    }

        .mobile-nav-bottom a {
            font-size: 11px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .mobile-nav-bottom i {
            font-size: 17px
        }

    .hero-wrap {
        padding-top: 10px
    }

    .hero-slide {
        height: clamp(360px,110vw,500px)
    }

    .hero-shade {
        background: linear-gradient(0deg,rgba(16,14,13,.55),rgba(16,14,13,.05) 85%)
    }

    .hero-copy {
        right: 23px;
        left: 20px;
        top: auto;
        bottom: 43px;
        transform: none
    }

        .hero-copy h1, .hero-copy h2 {
            font-size: 36px;
            margin: 10px 0
        }

        .hero-copy p {
            font-size: 12px;
            margin-bottom: 15px
        }

    .eyebrow {
        font-size: 9px
    }

    .swiper-button-prev, .swiper-button-next {
        width: 31px;
        height: 31px;
        top: 47%
    }

        .swiper-button-prev:after, .swiper-button-next:after {
            font-size: 11px
        }

    .section-space {
        padding-top: 43px
    }

    .section-heading {
        align-items: flex-end;
        margin-bottom: 1px
    }

        .section-heading h2, .listing-heading h1 {
            font-size: 1rem;
        }

        .section-heading p {
            font-size: 10px
        }

    .text-link {
        font-size: 10px;
        gap: 5px
    }

    .category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px
    }

    .category-tile {
        min-height: 235px;
        padding: 15px
    }

        .category-tile:last-child {
            grid-column: span 2;
            min-height: 180px
        }

        .category-tile span {
            font-size: 19px
        }

    .promo-band {
        margin-top: 42px
    }

        .promo-band > a {
            height: 245px
        }

            .promo-band > a:after {
                background: linear-gradient(0deg,rgba(15,14,13,.55),transparent)
            }

    .promo-content {
        right: 20px;
        left: 15px;
        top: auto;
        bottom: 20px;
        transform: none
    }

        .promo-content strong {
            font-size: 28px
        }

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

    .product-card__body {
        padding-top: 9px
    }

    .product-card__title {
        font-size: 11px
    }

    .product-card__price {
        font-size: 11px
    }

    .product-badge {
        font-size: 9px;
        padding: 2px 6px
    }

    .favorite-button {
        top: 6px;
        left: 6px;
        width: 29px;
        height: 29px;
    }

    .editorial-grid {
        padding-top: 43px;
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }

    .editorial-card {
        height: 250px
    }

    .editorial-card--large {
        grid-column: span 2;
        height: 300px
    }

    .editorial-card > span {
        right: 13px;
        bottom: 16px
    }

    .editorial-card strong {
        font-size: 20px
    }

    .editorial-card em {
        font-size: 10px
    }

    .service-strip {
        margin-top: 45px;
        grid-template-columns: 1fr 1fr;
        padding-top: 20px;
        padding-bottom: 20px;
        gap: 18px 8px
    }

        .service-strip > div {
            justify-content: flex-start;
            gap: 9px
        }

            .service-strip > div > i {
                font-size: 22px
            }

        .service-strip strong {
            font-size: 10px
        }

        .service-strip small {
            font-size: 9px
        }

    .footer-main {
        padding-top: 35px;
        padding-bottom: 25px;
        grid-template-columns: 1fr 1fr;
        gap: 25px 18px
    }

    .footer-brand {
        grid-column: 1/-1
    }

        .footer-brand p {
            max-width: 350px
        }

    .newsletter {
        grid-column: 1/-1
    }

    .footer-main h3 {
        font-size: 12px;
        margin-bottom: 11px
    }

    .footer-main > div > a:not(.brand-logo) {
        font-size: 10px
    }

    .footer-bottom {
        font-size: 9px;
        flex-wrap: wrap;
        gap: 5px 15px;
        padding-top: 12px;
        padding-bottom: 12px
    }

    .toast-message {
        bottom: 15px;
        font-size: 11px;
        width: max-content;
        max-width: 90vw;
        text-align: center
    }
    /* listing mobile */ .listing-page, .cart-page, .wishlist-page, .detail-page {
        padding-top: 16px;
        padding-bottom: 45px
    }

    .breadcrumbs {
        margin-bottom: 17px;
        font-size: 9px
    }

    .listing-heading {
        align-items: flex-start;
        margin-bottom: 17px
    }

        .listing-heading p {
            font-size: 10px
        }

    .result-count {
        font-size: 9px;
        max-width: 95px;
        text-align: left
    }

    .listing-toolbar {
        margin-bottom: 13px;
        gap: 7px
    }

    .filter-open-button {
        display: flex;
        padding: 7px 9px
    }

    .listing-toolbar label {
        margin-right: auto;
        font-size: 10px
    }

    .listing-toolbar select {
        min-width: 120px;
        font-size: 10px
    }

    .listing-layout {
        display: block
    }

    .filter-sidebar {
        position: fixed;
        z-index: 91;
        top: 0;
        bottom: 0;
        right: 0;
        width: min(88vw,340px);
        overflow-y: auto;
        background: white;
        transform: translateX(105%);
        transition: transform .25s;
        padding: 18px;
        margin-bottom: 50px;
    }

        .filter-sidebar.is-open {
            transform: translateX(0)
        }

    .filter-sidebar-head {
        position: sticky;
        top: -18px;
        background: #fff;
        padding: 8px 0;
        z-index: 2
    }

    .filter-close {
        display: grid
    }

    .filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(20,18,16,.4);
        opacity: 0;
        visibility: hidden;
        transition: .2s
    }

        .filter-backdrop.is-visible {
            opacity: 1;
            visibility: visible
        }

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

    .pagination-wrap {
        margin-top: 30px
    }

        .pagination-wrap a, .pagination-wrap span {
            min-width: 30px;
            height: 30px
        }
    /* detail mobile */ .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .product-gallery {
        grid-template-columns: 55px minmax(0,1fr);
        gap: 8px
    }

    .gallery-thumbs {
        gap: 7px
    }

    .product-detail-info h1 {
        font-size: 22px
    }

    .detail-price strong {
        font-size: 18px
    }

    .detail-buy-row {
        gap: 7px
    }

    .quantity-control {
        height: 46px
    }

        .quantity-control button {
            width: 29px
        }

        .quantity-control input {
            width: 28px
        }

    .add-to-cart-button {
        font-size: 11px
    }

    .detail-benefits {
        gap: 10px
    }

        .detail-benefits span {
            font-size: 9px
        }

    .detail-page .product-shelf {
        padding-top: 38px
    }
    /* cart mobile */ .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .cart-item {
        grid-template-columns: 78px minmax(0,1fr);
        gap: 12px;
        padding: 14px 0;
        position: relative
    }

        .cart-item > img {
            width: 78px
        }

    .cart-item-info h2 {
        font-size: 11px
    }

    .cart-item-info > small {
        font-size: 9px
    }

    .cart-item-price {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        font-size: 11px;
        margin-top: -3px
    }

    .cart-item-bottom {
        margin-top: 10px;
        gap: 12px
    }

        .cart-item-bottom .quantity-control {
            height: 30px
        }

    .cart-summary {
        position: static;
        padding: 17px
    }

        .cart-summary h2 {
            font-size: 14px
        }

    .wishlist-page .listing-heading {
        margin-bottom: 22px
    }
}

@media(max-width:380px) {
    .brand-logo {
        font-size: 20px
    }

    .header-main {
        gap: 7px
    }

    .header-actions {
        gap: 6px
    }

    .header-action > i {
        font-size: 18px
    }

    .hero-copy h1, .hero-copy h2 {
        font-size: 31px
    }

    .category-tile {
        min-height: 200px
    }

        .category-tile:last-child {
            min-height: 155px
        }

    .section-heading h2 {
        font-size: 1rem
    }

    .text-link {
        font-size: 9px
    }

    .product-card__price {
        font-size: 10px
    }

}


.mobile-bottom-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #eceef1;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px); 
    font-family: inherit;
}

.mobile-bottom-nav__list {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
}

.mobile-bottom-nav__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 9px;
    text-decoration: none;
    color: #8b93a1;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease;
}

.mobile-bottom-nav__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    border-radius: 999px;
    transition: background-color .25s ease, transform .15s ease;
}

    .mobile-bottom-nav__icon i {
        font-size: 1.3rem;
        line-height: 1;
    }

.mobile-bottom-nav__label {
    font-size: .72rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.mobile-bottom-nav__link.is-active {
    color: var(--bs-primary, #0d6efd);
}

    .mobile-bottom-nav__link.is-active .mobile-bottom-nav__icon {
        background: rgba(13, 110, 253, .12);
    }


.mobile-bottom-nav__link:active .mobile-bottom-nav__icon {
    transform: scale(.9);
}


.mobile-bottom-nav__badge {
    position: absolute;
    top: -3px;
    inset-inline-end: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(220, 53, 69, .4);
}


@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    }

    .header-actions {
        display: none;
    }

    .mobile-nav{
        margin-bottom:50px;
    }
}


.mobile-bottom-nav__link:focus-visible {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: -2px;
    border-radius: 8px;
}

section{
    padding-left:0px !important;
    padding-right:0px !important;
    padding-top:0px !important;
    padding-bottom:0px !important;
}

.hero-mobile {
    display: none;
}

.hero-desktop {
    display: block;
}

/* موبایل و تبلت */
@media (max-width: 767px) {
    .hero-mobile {
        display: block;
    }

    .hero-desktop {
        display: none;
    }
}

.title-header{
    margin:8px 7px 0px 0px !important;
}
.p-header {
    margin: 0px 7px 0px 0px !important;
}

.p-header {
    margin: 0px px 0px 5px !important;
}

.swatches .color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--swatch, #ccc);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    margin-inline-end: 4px;
}

    .swatches .color-swatch:hover {
        transform: scale(1.2);
    }

    .swatches .color-swatch.active {
        box-shadow: 0 0 0 2px #111;
    }

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.product-main-image {
    transition: transform .5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card:hover .product-main-image {
    transform: scale(1.06);
}

.image-slider-nav {
    position: absolute;
    inset: 0;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    pointer-events: none;
}

    .image-slider-nav.visible {
        display: flex;
    }

    .image-slider-nav button {
        pointer-events: auto;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,.92);
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        opacity: 0;
        transition: opacity .2s;
    }

.product-image-wrapper:hover .image-slider-nav button {
    opacity: 1;
}

.info-span-inventory {
    display: none;
    position: absolute;
    bottom: 7px;
    right: 7px;
    background: rgba(0,0,0,.72);
    color: #fff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 3;
}

    .info-span-inventory.visible {
        display: block;
    }

.size-trigger-wrapper {
    margin-top: 6px;
}

.size-trigger {
    background: none;
    border: none;
    padding: 0;
    color: #8a6b4d;
    font-size: 12px;
    text-decoration: underline dotted;
    cursor: pointer;
}

    .size-trigger:hover {
        color: #111;
    }

.size-popover {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 10px 14px;
    min-width: 160px;
    max-width: 220px;
    direction: rtl;
}

.size-popover__title {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.size-popover__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 12px;
    background: #fafafa;
}

.product-card__price del {
    color: #999;
    font-size: 12px;
    margin-inline-end: 6px;
}

.product-card__price span {
    color: #c0392b;
    font-weight: 700;
}

    .product-card__price span.no-discount {
        color: #111;
    }

.product-shelf .product-swiper {
    overflow: hidden;
    padding: 8px 0 16px;
}

    .product-shelf .product-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .product-shelf .product-swiper .swiper-slide {
        width: 220px;
        height: auto;
        display: flex;
    }

        .product-shelf .product-swiper .swiper-slide .product-card {
            width: 100%;
            display: flex;
            flex-direction: column;
        }

@media (min-width: 992px) {
    .product-shelf .product-swiper .swiper-slide {
        width: 250px;
    }
}

.product-shelf .product-swiper .swiper-button-prev,
.product-shelf .product-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    color: #111;
    margin-top: -18px;
}

    .product-shelf .product-swiper .swiper-button-prev::after,
    .product-shelf .product-swiper .swiper-button-next::after {
        font-size: 14px;
        font-weight: 900;
    }

.product-shelf .product-swiper .swiper-button-prev {
    right: 4px;
    left: auto;
}

.product-shelf .product-swiper .swiper-button-next {
    left: 4px;
    right: auto;
}

/* ============ دکمه‌های اسلایدر هدر ============ */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    color: #212529;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    opacity: 0;
    pointer-events: auto;
}

/* نمایش دکمه‌ها با hover روی اسلایدر */
.hero-swiper:hover .swiper-button-prev,
.hero-swiper:hover .swiper-button-next,
.hero-swiper:focus-within .swiper-button-prev,
.hero-swiper:focus-within .swiper-button-next {
    opacity: 1;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 800;
    color: inherit;
}

/* RTL: prev سمت راست، next سمت چپ */
.hero-swiper .swiper-button-prev {
    right: 16px;
    left: auto;
}

.hero-swiper .swiper-button-next {
    left: 16px;
    right: auto;
}

    .hero-swiper .swiper-button-prev:hover,
    .hero-swiper .swiper-button-next:hover {
        background: #fff;
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

/* روی موبایل کوچک‌تر و همیشه دیده بشه */
@media (max-width: 767px) {
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        opacity: 1;
    }

        .hero-swiper .swiper-button-prev::after,
        .hero-swiper .swiper-button-next::after {
            font-size: 12px;
        }

    .hero-swiper .swiper-button-prev {
        right: 8px;
    }

    .hero-swiper .swiper-button-next {
        left: 8px;
    }
}

/* ============ صفحه‌بندی (بولت‌ها) اسلایدر هدر ============ */
.hero-swiper .swiper-pagination {
    bottom: 12px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    margin: 0 4px !important;
    transition: all .25s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 40px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.brand-section {
    /*    padding-top: 24px;
    padding-bottom: 24px;*/
    margin-top: 3px;
}

.brand-swiper {
    overflow: hidden;
/*    padding: 6px 0;*/
}

    .brand-swiper .swiper-wrapper {
        transition-timing-function: linear !important;
        will-change: transform;
    }

    .brand-swiper .swiper-slide {
        width: auto;
        height: auto;
        display: flex;
        align-items: center;      
        margin-left:2px !important;
    }

    .brand-swiper .brand-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 330px;
/*        height: 84px;*/
/*        padding: 10px;*/
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,.06);
        transition: transform .25s ease, box-shadow .25s ease;
        text-decoration: none;
    }

        .brand-swiper .brand-item:hover {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 6px 16px rgba(0,0,0,.1);
        }

        .brand-swiper .brand-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: filter .25s ease;
        }

        .brand-swiper .brand-item:hover img {
            filter: grayscale(0) opacity(1);
        }

@media (max-width: 575px) {
    .brand-swiper .brand-item {
        width: 200%;
        height: 100%;

    }

    .brand-swiper .brand-item img {
        max-width: 99px;
        object-fit: contain;
        transition: filter .25s ease;
    }
}

.p-header{
    margin:2px 6px 0 0 ;
/*    color:white !important;*/
}

.section-products-index {
    padding: 20px 6px 15px 6px !important;
    background: radial-gradient( ellipse at 20% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 65% ), linear-gradient(160deg, #E5E5E5, #DCDCDC);
    color: #263248;
    margin: 4px 0 4px 0;
    /*    color: white;*/
}

.product-index{
    background-color:white;
    margin:0px !important;
}

.product-index-body{
    padding:10px;
}

.swatches .color-swatch{
    margin-right:5px;
}

.silde-product-index{
    margin-left:2px !important;
}

@media (min-width: 761px) {
    .listing-layout {
        align-items: start; /* بدون این grid-item ها stretch می‌شن و sticky کار نمی‌کنه */
    }

    .filter-sidebar {
        position: sticky;
        top: 16px;
        align-self: start;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }
}