/* =========================================================
   FONTS
   ========================================================= */
@font-face {
    font-family: Kalameh;
    src: url("./fonts/Kalameh-Regular.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: Kalameh;
    src: url("./fonts/Kalameh-SemiBold.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: Kalameh;
    src: url("./fonts/Kalameh-Bold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: Kalameh;
    src: url("./fonts/Kalameh-Black.ttf") format("truetype");
    font-weight: 700;
}

/* =========================================================
   BASE STYLES & VARIABLES
   ========================================================= */
:root {
    --sn-green: #7A8B72;
    --sn-green-dark: #263a32;
    --sn-gold: #b58b52;
    --sn-red: #e6435a;
    --sn-cream: #f7f2eb;
    --sn-ink: #1c1c1c;
    --sn-purple: #cdc6ea;
    --sn-pink: #f2cbdb;
    --sn-teal: #1f3b40;
    --sn-navy: #12283f;
}

* {
    box-sizing: border-box;
    
}

body {
    font-family: Kalameh, Vazirmatn, sans-serif;
    background: #fff;
    color: var(--sn-ink);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* =========================================================
   POPUP HAMBURGER MENU (self-contained, vanilla JS)
   ========================================================= */
body.menu-open {
    overflow: hidden;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,20,20,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 2000;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.menu-popup {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 340px;
    max-width: 85vw;
    background: #fff;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    overflow-y: auto;
}

    .menu-popup.active {
        transform: translateX(0);
    }

.menu-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
/*    test*/
position: fixed;
top: 0;
left: 0;
height: 100vh;
z-index: 9999;
}

.menu-popup-close {
    border: none;
    background: #f3f1ea;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--sn-ink);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .menu-popup-close:hover {
        background: var(--sn-green-dark);
        color: #fff;
    }

.menu-popup-nav {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .menu-popup-nav > li {
        border-bottom: 1px solid #f6f6f6;
    }

        .menu-popup-nav > li > a {
            display: block;
            padding: 16px 20px;
            color: var(--sn-ink);
            text-decoration: none;
            font-size: 15px;
            text-align: right;
        }

            .menu-popup-nav > li > a:hover {
                background: #f7f6f2;
                color: var(--sn-green-dark);
            }

    .menu-popup-nav .sub-toggle {
        width: 100%;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        font-size: 15px;
        font-family: inherit;
        color: var(--sn-ink);
        text-align: right;
        cursor: pointer;
    }

        .menu-popup-nav .sub-toggle i {
            font-size: 12px;
            transition: transform .25s ease;
        }

    .menu-popup-nav li.has-sub.open .sub-toggle i {
        transform: rotate(180deg);
    }

    .menu-popup-nav li.has-sub.open .sub-toggle {
        color: var(--sn-green-dark);
    }

    .menu-popup-nav .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background: #faf9f6;
        transition: max-height .3s ease;
    }

    .menu-popup-nav li.has-sub.open .sub-menu {
        max-height: 300px;
    }

    .menu-popup-nav .sub-menu li a {
        display: block;
        padding: 12px 34px;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        text-align: right;
    }

        .menu-popup-nav .sub-menu li a:hover {
            color: var(--sn-green-dark);
        }

.menu-popup-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 22px 20px;
}

    .menu-popup-icons > i {
        font-size: 18px;
        color: var(--sn-ink);
        cursor: pointer;
    }

    .menu-popup-icons .icon-wrapper {
        position: relative;
    }

    .menu-popup-icons .search-box,
    .menu-popup-icons .cart-dropdown {
        right: auto;
        left: 50%;
    }

/* =========================================================
   NAVBAR & HEADER
   ========================================================= */
.navbar {
    padding: 20px;
    color: #252320;
    transition: .3s;
    background-color: #7A8B72;
    font-weight: 300;
}

.container img {
    width: 70px;
    height: 66px;
    margin: 0px;
    margin-bottom: 16px;
}

.navbar-brand h2 {
    transform: scaleX(1.1);
    margin: 0;
    font-weight: 700;
}

.navbar-brand small {
    letter-spacing: normal;
    font-weight: 800;
}

.icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .icons > i {
        font-size: 18px;
        cursor: pointer;
        color: #252320;
    }

.nav-dropdown {
    position: relative;
}

    .nav-dropdown .nav-link {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-dropdown .dropdown-arrow {
        font-size: 11px;
        transition: transform .3s;
    }

    .nav-dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #252320;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

    .nav-dropdown-menu a:hover {
        background: #f2f2f2;
        color: #7A8B72;
    }

.icon-wrapper {
    position: relative;
}

.search-box {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: 280px;
    max-width: 90vw;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    padding: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 1000;
}

    .search-box.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .search-box input {
        flex: 1;
        border: 1px solid #e2e2e2;
        border-radius: 8px;
        padding: 8px 12px;
        font-family: Kalameh;
        outline: none;
        width: 100%;
    }

    .search-box button {
        border: none;
        background: #7A8B72;
        color: #fff;
        border-radius: 8px;
        width: 40px;
        cursor: pointer;
    }

.cart-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: 250px;
    max-width: 90vw;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    padding: 25px 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 1000;
}

    .cart-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .cart-dropdown .empty-cart-text {
        margin: 0;
        color: #888;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

        .cart-dropdown .empty-cart-text i {
            font-size: 28px;
            color: #ccc;
        }

@media (max-width: 768px) {
    /* تنظیم کلی نوبار */
    .navbar.sn-navbar {
        padding: 8px 10px !important;
    }

        .navbar.sn-navbar .navbar-inner {
            display: flex !important;
            flex-direction: row !important; /* حفظ ترتیب پیش‌فرض راست به چپ */
            justify-content: space-between !important;
            align-items: center !important; /* هم‌راستایی عمودی کلیه اجزا در وسط */
            width: 100% !important;
            padding: 0 !important;
        }

        /* گروه سمت راست (منو، سبد خرید، جستجو) */
        .navbar.sn-navbar .d-flex.align-items-center.gap-3 {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important; /* وسط‌چین کردن عمودی عناصر این بخش */
            gap: 6px !important;
        }

        /* اصلاح تراز دکمه منو و سبد خرید */
        .navbar.sn-navbar .sn-hamburger,
        .navbar.sn-navbar .d-flex.align-items-center > div {
            display: flex !important;
            align-items: center !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .navbar.sn-navbar .sn-hamburger {
            font-size: 1.1rem !important;
        }

        /* اصلاح فرم جستجو برای رفع مشکل بالا بودن */
        .navbar.sn-navbar .search-form {
            display: flex !important;
            align-items: center !important; /* تراز عمودی دقیق اینپوت و دکمه جستجو */
            max-width: 125px !important;
            margin: 0 !important;
        }

        .navbar.sn-navbar .search-input {
            height: 36px !important;
            font-size: 0.60rem !important;
            padding: 0 6px !important;
            margin: 0 !important;
            line-height: normal !important;
            box-sizing: border-box !important;
            
        }

        .navbar.sn-navbar .search-btn {
            height: 32px !important;
            padding: 0 8px !important;
            font-size: 0.75rem !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin: 0 !important;
            box-sizing: border-box !important;
        }

        /* تنظیم لوگو در سمت دیگر */
        .navbar.sn-navbar .sn-brand {
            display: flex !important;
            align-items: center !important;
            gap: 4px !important;
            margin: 0 !important;
        }

        .navbar.sn-navbar .logo-mark {
            font-size: 0.95rem !important;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .navbar.sn-navbar .logo-text {
            font-size: 0.85rem !important;
            white-space: nowrap !important;
        }
}
/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    margin-bottom: 20px;
    position: relative;
}

.carousel-item {
    position: relative;
}

.hero img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}
@media (max-width: 600px) {
    .hero img {
        height: 50%;
    }
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 8%;
}
@media(max-width: 600px) {
    .hero-content h1 {
        font-size: 30px;
    }
}

.hero-text {
    width: 45%;
    text-align: right;
    color: #fff;
}

    .hero-text h1 {
        font-size: 65px;
        font-weight: 900;
        margin-bottom: 25px;
    }

    .hero-text p {
        font-size: 22px;
        line-height: 2;
        margin-bottom: 35px;
    }

    .hero-text .btn {
        padding: 15px 40px;
        border-radius: 20px;
        color: #fff;
        background-color: #7a8b72;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: color 0.3s;
        display: inline-block;
        text-decoration: none;
    }

@media(max-width: 600px) {
    .hero-text .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}


        .hero-text .btn:before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            width: 0;
            height: 100%;
            background: #263a32;
            transform: translate(-50%);
            transition: width 0.4s ease;
            z-index: -1;
        }

        .hero-text .btn:hover:before {
            width: 100%;
        }

        .hero-text .btn:hover {
            color: #C8B6A6;
        }

.section-title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 50px;
}
/* =========================================================
   BEST SELLER SLIDER
   ========================================================= */
/* تنظیمات پایه برای حالت دسکتاپ (۳ تایی کنار هم بدون به هم ریختگی) */
.bestseller-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    
}

.bestseller-slider-track {
    display: flex;
    flex-wrap: wrap; /* در دسکتاپ آیتم‌ها در صورت نیاز گرید می‌سازند */
    margin-right: -12px;
    margin-left: -12px;
    padding: clamp(15px, 5vw, 30px)
}

.bestseller-item {
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
    margin-bottom: 30px;
    
}

/* حالت نمایشی در دسکتاپ و تبلت‌های بزرگ (نمایش ۳ تایی در یک سطر) */
@media (min-width: 992px) {
    .bestseller-item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bestseller-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* تنظیمات اختصاصی موبایل (اسلایدر افقی با قابلیت ورق زدن و نمایش دقیقاً ۲ آیتم) */
@media (max-width: 600px) {
    .bestseller-slider-wrapper {
        overflow-x: auto; /* فعال‌سازی اسکرول افقی / ورق زدن */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }

        /* مخفی کردن اسکرول‌بار ظاهر مرورگر */
        .bestseller-slider-wrapper::-webkit-scrollbar {
            display: none;
        }

    .bestseller-slider-wrapper {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .bestseller-slider-track {
        display: flex;
        flex-wrap: nowrap; /* جلوگیری از شکستن خطوط و قرارگیری در یک خط افقی */
        gap: 10px;
        margin: 0;
        
    }

    /* هر کارت دقیقاً نصف عرض صفحه منهای فاصله را می‌گیرد تا ۲ آیتم در صفحه دیده شود */
    .bestseller-item {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        padding: 0;
        scroll-snap-align: start;
    }

        /* کوچک‌سازی اجزای داخلی کارت برای خوانایی کامل در موبایل */
        .bestseller-item .product-card .ph {
            height: 140px !important; /* کاهش ارتفاع کادر تصویر */
        }

            .bestseller-item .product-card .ph img {
                max-height: 100%;
                object-fit: contain;
            }

            /* اصلاح جای‌گذاری آیکون گوشه تصویر */
            .bestseller-item .product-card .ph i[style*="margin-right"] {
                margin-right: 0 !important;
                position: absolute;
                top: 8px;
                right: 8px;
                font-size: 10px
            }

        .bestseller-item .product-card .p-3 {
            padding: 8px !important;
        }

        .bestseller-item .product-card h5 {
            font-size: 0.85rem !important; /* سایز کوچک‌تر و خوانای عنوان */
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }

        .bestseller-item .product-card .price-new {
            font-size: 0.7rem !important; /* سایز مناسب توضیحات */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 6px;
        }

        .bestseller-item .product-card button.btn {
            font-size: 0.7rem !important;
            padding: 4px 6px !important;
            width: calc(100% - 30px) !important;
            
            display: block !important;
            margin: 0 auto;
        }
        
    .card-icon-stack i {
        width: 24px !important;
        height: 24px !important;
        font-size: 10px;
    }
}
/* =========================================================
   CATEGORY SLIDER
   ========================================================= */
.category-slider {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    direction: ltr;
}

.slider {
    display: flex;
    gap: 30px;
    transition: 0.5s;
}

.category-card {
    min-width: calc(25% - 30px);
    background: white;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    direction: rtl;
    color: #263a32;
    flex-shrink: 0;
}

    .category-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.card-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
}

    .card-actions i {
        cursor: pointer;
        font-size: 20px;
        color: #263a32;
    }

        .card-actions i:hover {
            color: #b58b52;
        }

.prev, .next {
    border: none;
    background: #7a8b72;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

    .prev:hover, .next:hover {
        background: #263a32;
        color: #f6f3ee;
    }

/* =========================================================
   PRODUCT CARD GLOW & LOVE ICON
   ========================================================= */
.product-card-wrap {
    position: relative;
    border-radius: 25px;
}

.product-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 30px #0002;
    transition: .3s;
}

.product-card-wrap::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from var(--a), #9dff6f, #ffab2d, #9dff6f, #ffab2d);
    filter: blur(18px);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card-wrap:hover::after {
    opacity: .6;
    animation: spin 3s linear infinite;
}

.product-card-wrap:hover .product-card::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

@property --a {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin {
    to {
        --a: 360deg;
    }
}

.product-card i {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #ba935b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transform-origin: center center;
    transition: transform 0.25s cubic-bezier(0.2, 1.5, 0.4, 1);
}

    .product-card i:hover {
        transform: scale(1.30);
        color: #e6435a;
    }

@keyframes burst {
    to {
        transform: translate(var(--x),var(--y)) scale(0);
        opacity: 0;
    }
}

.product-card img {
    width: 70%;
    height: 320px;
    object-fit: cover;
}

.product-card button {
    background-color: #263a32;
    color: #f6f3ee;
}

    .product-card button:hover {
        background-color: #7A8B72;
        color: #f6f3ee;
    }

.category_btn a {
    background-color: #263a32;
    color: #f6f3ee;
}

    .category_btn a:hover {
        background-color: #7A8B72;
        color: #f6f3ee;
    }

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #b58b52;
    padding: 8px;
}

.wishlist {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 20px;
}

.brand-story {
    background: #f7f2eb;
    padding: 100px 0;
}

/* =========================================================
   INSTAGRAM SECTION
   ========================================================= */
.instagram-section {
    background: #fff;
}

.instagram-id {
    font-size: 20px;
    color: #8b6a43;
    font-weight: 600;
}

    .instagram-id i {
        margin-left: 8px;
        font-size: 25px;
    }

.instagram-item {
    height: 280px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .instagram-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}

    .instagram-overlay i {
        font-size: 45px;
        color: white;
    }

.instagram-item:hover img {
    transform: scale(1.12);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #111;
    color: white;
    padding: 80px 0 30px;
}

.footer-logo {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer p {
    color: #bbb;
    line-height: 2;
}

.footer h4 {
    font-size: 22px;
    margin-bottom: 25px;
}

.footer ul {
    padding: 0;
    list-style: none;
}

    .footer ul li {
        margin-bottom: 15px;
    }

    .footer ul a {
        color: #bbb;
        text-decoration: none;
        transition: .3s;
    }

        .footer ul a:hover {
            color: #c8a96a;
        }

.socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

    .socials a {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #222;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        transition: .3s;
    }

        .socials a:hover {
            background: #b58b52;
            transform: translateY(-5px);
        }

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
}

    .footer-bottom p {
        font-size: 14px;
        margin: 0;
    }

/* =========================================================
   STATIONERO REDESIGN — ADDITIONS
   ========================================================= */
.ph {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg,#e9e4d8,#d3ccb8);
    color: #9c8f74;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

    .ph i {
        font-size: 26px;
        opacity: .7;
    }

    .ph.ph-dark {
        background: linear-gradient(135deg,#f0f0f0,#E7D2B6);
        color: #755e3e;
    }

    .ph.ph-warm {
        background: linear-gradient(135deg,#f1e2d0,#e2c9a8);
        color: #263A32;
    }

    .ph.ph-cool {
        background: linear-gradient(135deg,#dfe8db,#c3d3bc);
        color: #263A32;
    }

    .ph.ph-rose {
        background: linear-gradient(135deg,#F6F3EE,#C8B6A6);
        color: #2b2b2b;
    }

/* Navbar v2 */
.navbar.sn-navbar {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.sn-navbar .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sn-hamburger {
    border: none;
    background: transparent;
    font-size: 22px;
    color: var(--sn-ink);
    line-height: 1;
    cursor: pointer;
}

.sn-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    direction: ltr;
}

    .sn-brand .logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: var(--sn-red);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 19px;
        font-family: 'Trebuchet MS',sans-serif;
    }


    .sn-brand .logo-text {
        font-size: 23px;
        font-weight: 700;
        color: var(--sn-ink);
        letter-spacing: .3px;
    }

/* Hero v2 */
.hero .hero-img-ph {
    width: 100%;
    height: 650px;
}

.hero-text .eyebrow {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.25;
}

/* Features row */
.features-row {
    padding: 55px 0 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

    .feature-item .feature-text {
        text-align: center;
    }

        .feature-item .feature-text h4 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .feature-item .feature-text p {
            font-size: 13px;
            color: #8a8a8a;
            margin: 0;
        }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f3f1ea;
    color: var(--sn-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
@media(max-width: 600px) {

    .features-row {
        padding: 5px 0 35px;
    }

    .features-row .row {
        display: flex;
        flex-wrap: wrap;
    }

    .features-row .col-md-6 {
        width: 50%; /* هر بخش نصف صفحه را بگیرد تا کنار هم قرار گیرند */
        flex: 0 0 50%;
        padding: 0 5px; /* فاصله کم بین ستون‌ها */
    }

   
    .feature-item {
        display: flex;
        flex-direction: column; /* قرار گرفتن آیکون در بالا و متن در پایین (یا برعکس طبق سلیقه شما) */
        align-items: center;
        text-align: center;
        padding: 10px 5px;
        background: #fff;
        border-radius: 10px;
        margin-bottom: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    }

    /* تنظیم اندازه آیکون و متن در حالت دو ستونی */
    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .feature-text h4 {
        font-size: 0.85rem !important;
        font-weight: bold !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }

    .feature-text p {
        font-size: 0.7rem !important;
        color: #666;
        margin: 0;
        
    }
    .feature-text {
        text-align: center !important;
    }
        .feature-text p, .feature-text h4 {
            text-align: center !important;
        }
}


/* Dual promo banners */
.promo-banner {
    border-radius: 24px;
    padding: 20px;
    min-height: 45px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end !important;
    justify-content: space-between;
    background-color: #8baf7bd1;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
}

    .image-wrapper::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: linear-gradient(135deg, #e5cdb8);
        filter: blur(60px);
        opacity: 0.8;
        z-index: -1;
    }

    .image-wrapper img {
        display: block;
        width: 150px;
        height: 150px;
        object-fit: contain;
    }

.promo-banner .promo-text {
    position: relative;
    z-index: 2;
    text-align: right;
    max-width: 80%;
    margin-right: 20px;
}

.promo-banner .promo-eyebrow {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--sn-ink);
}

.promo-banner .promo-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--sn-ink);
}

.promo-banner .promo-sub {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4a4a4a;
}

.promo-banner .promo-img-ph {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .55;
}

.promo-banner .btn-pill {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: #fff;
    color: var(--sn-ink);
    border-radius: 30px;
    padding: 10px 26px;
    font-size: 14px;
    text-decoration: none;
    transition: .25s;
}


    .promo-banner .btn-pill:hover {
        background: rgb(255, 81, 81);
        color: #fff;
    }

@media (max-width: 600px) {
    /* اجبار به قرار گرفتن ستون‌ها در یک ردیف کنار هم */
    .container.py-4 .row {
        display: flex !important;
        flex-wrap: nowrap; /* جلوگیری از شکستن خط و رفتن به زیر هم */
        overflow-x: auto; /* در صورت کمبود جا، امکان اسکرول افقی نرم فراهم باشد */
        gap: 10px; /* فاصله بین دو بنر */
        padding-bottom: 10px;
    }

    /* تنظیم عرض هر بنر روی نصف صفحه یا اندازه ثابت برای اسکرول */
    .container.py-4 .col-md-6 {
        flex: 0 0 48%; /* هر کدام حدود نیمی از صفحه را بگیرند */
        max-width: 48%;
        padding: 0;
    }

    /* کوچک‌سازی المان‌های داخل بنر برای فضای کوچک موبایل */
    .promo-banner {
        padding: 12px 8px !important;
        text-align: center;
    }

        .promo-banner .promo-title {
            font-size: 0.85rem !important; /* کوچک کردن سایز عنوان */
            font-weight: bold;
        }

        .promo-banner .promo-eyebrow,
        .promo-banner .promo-sub {
            font-size: 0.65rem !important; /* کوچک کردن متن بالا و پایین عنوان */
        }

        .promo-banner .image-wrapper img {
            max-width: 70px !important; /* کوچک کردن اندازه عکس داخل بنر */
            height: auto;
            
        }

        .promo-banner .btn-pill {
            padding: 4px 10px !important;
            font-size: 0.7rem !important; /* کوچک کردن دکمه خرید */
            
        }
    .image-wrapper::before{
        width: 70px;
    }
}


/* Countdown */
.countdown-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 10px;
}

.countdown-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

    .countdown-unit .dots {
        color: var(--sn-red);
        font-weight: 700;
    }

    .countdown-unit .num {
        font-weight: 700;
        color: var(--sn-ink);
    }

/* Product cards: stacked action icons */
.product-card .card-icon-stack {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .product-card .card-icon-stack i {
        position: static;
        background: #fff;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,.12);
        font-size: 14px;
    }

        .product-card .card-icon-stack i:hover {
            background: red;
            color: #fff;
        }

.product-card .price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 13px;
    margin-left: 8px;
}

.product-card .price-new {
    font-weight: 700;
    color: var(--sn-ink);
}

.product-card button.outline-btn {
    background: #fff;
    border: 1px solid #263a32;
    color: #263a32;
}

    .product-card button.outline-btn:hover {
        background: #263a32;
        color: #fff;
    }

/* Section heading row (title + tabs) */
.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: row-reverse;
}

    .section-heading-row h2 {
        font-weight: 800;
        margin: 0;
    }

.sn-tabs {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sn-tabs a {
        text-decoration: none;
        color: #7A8B72;
        font-weight: 700;
    }

        .sn-tabs a:hover {
            color: #E6435A;
        }

    .sn-tabs li {
        font-size: 16px;
        color: #8a8a8a;
        cursor: pointer;
        padding-bottom: 6px;
        position: relative;
    }

        .sn-tabs li.active {
            color: var(--sn-red);
            font-weight: 700;
            border-bottom: 2px solid var(--sn-red);
        }

/* Category info grid + promo */
.category-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.cat-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

    .cat-info-card .cat-info-ph {
        width: 90px;
        height: 90px;
        border-radius: 16px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .cat-info-card .cat-info-text {
        text-align: right;
        flex: 1;
    }

        .cat-info-card .cat-info-text h4 {
            font-weight: 800;
            margin-bottom: 12px;
        }

        .cat-info-card .cat-info-text ul {
            list-style: none;
            padding: 0;
            margin: 0 0 12px;
            color: #777;
            font-size: 13px;
            line-height: 2;
        }

        .cat-info-card .cat-info-text a {
            color: var(--sn-green-dark);
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
        }

    .cat-info-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .cat-info-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .cat-info-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .cat-info-card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

.promo-notebook {
    grid-column: 3;
    grid-row: 1 / span 2;
    background: #C8B6A6;
    border-radius: 20px;
    padding: 35px;
    color: #263A32;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .promo-notebook .promo-eyebrow {
        font-size: 13px;
        opacity: .75;
        margin-bottom: 10px;
    }

    .promo-notebook h3 {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.4;
        margin-bottom: 22px;
    }

    .promo-notebook .btn-pill {
        background: transparent;
        background-color: #fff;
        color: #263A32;
        border-radius: 30px;
        padding: 9px 22px;
        font-size: 13px;
        display: inline-block;
        width: fit-content;
        text-decoration: none;
        margin-bottom: 25px;
        transition: .25s;
    }

        .promo-notebook .btn-pill:hover {
            background: #e6435a;
            color: #FFF;
        }

    .promo-notebook .notebook-imgs {
        margin-top: auto;
        display: flex;
        gap: 12px;
        height: 150px;
    }

        .promo-notebook .notebook-imgs .ph {
            border-radius: 10px;
        }


@media (max-width: 768px) {
    /* والد اصلی بخش برای کنترل کامل ابعاد و جلوگیری از به‌هم‌ریختگی */
    .container.py-4 .category-info-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
        /* کارت ویژه (نوت‌بوک/بنر بزرگ بالای لیست) */
        .container.py-4 .category-info-grid .promo-notebook {
            width: 100% !important;
            background: #f9f4f9;
            border-radius: 16px;
            padding: 20px !important;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        }
        /* استایل کارت‌های اطلاعاتی دسته‌بندی در موبایل */
        .container.py-4 .category-info-grid .cat-info-card {
            display: flex !important;
            flex-direction: column !important; /* قرارگیری آیکون در بالا و متن در پایین برای خوانایی بهتر */
            align-items: center !important;
            text-align: center !important;
            background: #ffffff !important;
            border: 1px solid #eee !important;
            border-radius: 16px !important;
            padding: 20px 15px !important;
            width: 100% !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
            box-sizing: border-box !important;
        }
        /* تنظیم ظاهر باکس آیکون */
        .container.py-4 .category-info-grid .cat-info-ph {
            width: 60px !important;
            height: 60px !important;
            min-width: 60px !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin-bottom: 12px !important;
            font-size: 1.4rem !important;
        }
        /* بخش متن و لیست موارد داخل کارت */
        .container.py-4 .category-info-grid .cat-info-text {
            width: 100% !important;
            text-align: center !important;
        }

            .container.py-4 .category-info-grid .cat-info-text h4 {
                font-size: 1.1rem !important;
                font-weight: bold !important;
                color: #333 !important;
                margin-bottom: 8px !important;
            }
            /* تبدیل لیست گلوله‌ای به یک حالت خطی یا مرتب‌شده در موبایل */
            .container.py-4 .category-info-grid .cat-info-text ul {
                list-style: none !important;
                padding: 0 !important;
                margin: 0 0 12px 0 !important;
                display: flex !important;
                flex-wrap: wrap !important;
                justify-content: center !important;
                gap: 6px !important;
            }

                .container.py-4 .category-info-grid .cat-info-text ul li {
                    background: #f7f7f7 !important;
                    padding: 4px 10px !important;
                    border-radius: 6px !important;
                    font-size: 0.8rem !important;
                    color: #555 !important;
                }
            /* دکمه "مشاهده بیشتر" */
            .container.py-4 .category-info-grid .cat-info-text a {
                display: inline-block !important;
                background: #E6435A !important; /* رنگ بنفش هماهنگ با سایت */
                color: #fff !important;
                padding: 6px 16px !important;
                border-radius: 20px !important;
                font-size: 0.85rem !important;
                text-decoration: none !important;
                font-weight: 500 !important;
            }
}

/* Gradient discount banner */
.discount-banner {
    background: linear-gradient(120deg,#b5d5a7,#ffdcb0);
    border-radius: 24px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

    .discount-banner .db-left {
        display: flex;
        align-items: center;
        gap: 22px;
    }

        .discount-banner .db-left .divider {
            width: 1px;
            height: 45px;
            background: rgba(0,0,0,.15);
        }

        .discount-banner .db-left .price-label {
            font-size: 13px;
            color: #555;
            margin-bottom: 4px;
        }

        .discount-banner .db-left .price-value {
            font-size: 20px;
            font-weight: 800;
            color: var(--sn-ink);
        }

    .discount-banner .db-right {
        text-align: right;
    }

        .discount-banner .db-right h3 {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .discount-banner .db-right p {
            margin: 0;
            color: #555;
            font-size: 14px;
        }

/* Testimonial */
.testimonial-card {
    background: #f7f6f2;
    border-radius: 28px;
    padding: 70px 20px;
    text-align: center;
}

.testimonial-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #cfe3c8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background: #eef3ea;
    color: var(--sn-green);
    font-size: 26px;
}

.testimonial-card p.quote {
    font-size: 19px;
    line-height: 2.1;
    max-width: 750px;
    margin: 0 auto 25px;
    color: #333;
}

.testimonial-card .t-name {
    font-weight: 800;
    margin-bottom: 2px;
}

.testimonial-card .t-role {
    color: #999;
    font-size: 13px;
    margin-bottom: 22px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

    .testimonial-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        display: inline-block;
    }

        .testimonial-dots span.active {
            width: 22px;
            border-radius: 5px;
            background: var(--sn-red);
        }

/* Blog */
.blog-card .blog-img-ph {
    width: 1600px;
    height: 600px;
}

    .blog-card .blog-img-ph img {
        width: 80%;
        height: 90%;
        border-radius: 24px;
        overflow: hidden;
        margin-bottom: 20px;
    }

.blog-card .blog-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.blog-card h4 {
    font-weight: 800;
    margin-bottom: 14px;
}

.blog-card a.read-more {
    color: var(--sn-green-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* Newsletter */
.newsletter-band {
    background: var(--sn-navy);
    color: #fff;
    padding: 70px 0;
}

    .newsletter-band .nl-inner {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 25px;
        text-align: right;
    }

    .newsletter-band h3 {
        font-size: 26px;
        font-weight: 700;
        line-height: 1.9;
        margin: 0;
        max-width: 640px;
    }

    .newsletter-band .nl-icon {
        font-size: 34px;
        color: #fff;
        opacity: .9;
        transform: scaleX(-1);
    }

    .newsletter-band .nl-form {
        max-width: 900px;
        margin: 35px auto 0;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,.35);
        padding-bottom: 10px;
    }

        .newsletter-band .nl-form input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-family: Kalameh, Vazirmatn, sans-serif;
            font-size: 14px;
            text-align: right;
        }

            .newsletter-band .nl-form input::placeholder {
                color: rgba(255,255,255,.5);
            }

        .newsletter-band .nl-form button {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 20px;
            transform: scaleX(-1);
            cursor: pointer;
        }

@media (max-width: 768px) {
    /* ۱. تنظیم فاصله‌های کلی بخش‌ها در موبایل */
    section.container.pb-5 {
        padding-bottom: 1.5rem !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* ۲. بنر تخفیف (فروش انواع کلاسور) */
    .discount-banner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 15px !important;
        border-radius: 16px !important;
        gap: 15px !important;
        background: linear-gradient(135deg, #b5d5a7 0%, #fef3c7 100%) !important;
    }

        .discount-banner .db-right h3 {
            font-size: 1.2rem !important;
            font-weight: bold !important;
            color: #1e293b !important;
            margin: 0 !important;
        }

        .discount-banner .db-left {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 12px !important;
            width: 100% !important;
        }

            .discount-banner .db-left .divider {
                display: none !important; /* حذف خط جداکننده افقی در موبایل */
            }

        .discount-banner .price-label {
            font-size: 0.75rem !important;
            color: #64748b !important;
        }

        .discount-banner .price-value {
            font-size: 1.1rem !important;
            font-weight: bold !important;
            color: #0f172a !important;
        }

        .discount-banner .db-left .btn {
            width: 100% !important;
            max-width: 260px !important;
            padding: 10px 16px !important;
            border-radius: 25px !important;
            font-size: 0.85rem !important;
            font-weight: bold !important;
            box-shadow: 0 4px 10px rgba(230, 67, 90, 0.25) !important;
        }
    /* ۳. کارت نظر مشتریان (Testimonial) */
    .testimonial-card {
        padding: 25px 15px !important;
        border-radius: 18px !important;
        background: #fdfbf7 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    }

    .testimonial-badge {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        background: #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        color: #475569 !important;
        margin-bottom: 15px !important;
    }

    .testimonial-card .quote {
        font-size: 0.85rem !important;
        line-height: 1.8 !important;
        color: #334155 !important;
        margin-bottom: 15px !important;
        padding: 0 5px !important;
    }

    .testimonial-card .t-name {
        font-size: 0.95rem !important;
        font-weight: bold !important;
        color: #0f172a !important;
    }

    .testimonial-card .t-role {
        font-size: 0.75rem !important;
        color: #64748b !important;
        margin-bottom: 15px !important;
    }

    .testimonial-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
    }

        .testimonial-dots span {
            width: 8px !important;
            height: 8px !important;
            border-radius: 50% !important;
            background: #cbd5e1 !important;
        }

            .testimonial-dots span.active {
                width: 20px !important;
                border-radius: 10px !important;
                background: #e6435a !important;
            }
    /* ۴. بخش عکس "محصولات ما در یک نگاه" */
    .blog-card .section-title {
        font-size: 1.1rem !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    .blog-img-ph {
        width: 100% !important;
        height: 20% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

        .blog-img-ph img {
            width: 100% !important;
            height: auto !important;
            display: block !important;
            object-fit: cover !important;
        }
    /* ۵. نوار خبرنامه (Newsletter) */
    .newsletter-band {
        padding: 25px 15px !important;
        background: #0f172a !important;
        border-radius: 0 !important;
    }

        .newsletter-band .container {
            display: flex !important;
            flex-direction: column !important;
            gap: 15px !important;
            align-items: center !important;
            text-align: center !important;
        }

        .newsletter-band h3 {
            font-size: 0.95rem !important;
            color: #fff !important;
            line-height: 1.6 !important;
            margin: 0 !important;
        }

        .newsletter-band .nl-form {
            display: flex !important;
            width: 100% !important;
            max-width: 320px !important;
            position: relative !important;
        }

            .newsletter-band .nl-form input {
                width: 100% !important;
                height: 42px !important;
                border-radius: 25px !important;
                border: none !important;
                padding: 0 45px 0 15px !important;
                font-size: 0.8rem !important;
                background: #fff !important;
                outline: none !important;
            }

            .newsletter-band .nl-form button {
                position: absolute !important;
                left: 4px !important;
                top: 3px !important;
                height: 36px !important;
                width: 36px !important;
                border-radius: 50% !important;
                background: #e6435a !important;
                color: #fff !important;
                border: none !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 0.85rem !important;
            }
}

/* Footer contact block */
.footer .footer-help h4 {
    margin-top: 35px;
}

.footer .footer-phone {
    color: var(--sn-red);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.footer .footer-hours {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bbb;
    font-size: 14px;
    margin-bottom: 14px;
}

    .footer .footer-hours i {
        margin-top: 4px;
        color: #888;
    }

.footer .footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bbb;
    font-size: 14px;
    text-decoration: none;
}

@media (max-width: 768px) {
    /* تنظیم کلی فوتر در موبایل */
    footer.footer {
        padding: 30px 15px 20px 15px !important;
        text-align: center !important;
    }

        footer.footer .container {
            padding: 0 !important;
        }
        /* ستون‌ها و فاصله‌ها */
        footer.footer .row.gy-5 {
            display: flex !important;
            flex-direction: column !important;
            gap: 25px !important;
        }

        footer.footer .col-lg-4 {
            width: 100% !important;
            padding: 0 !important;
        }
        /* لوگو */
        footer.footer .footer-logo {
            font-size: 1.8rem !important;
            margin-bottom: 12px !important;
            text-align: center !important;
        }
        /* متن درباره ما / آدرس */
        footer.footer p {
            font-size: 0.85rem !important;
            line-height: 1.6 !important;
            color: #bbb !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }
        /* شبکه‌های اجتماعی (مرتب‌سازی در یک خط افقی وسط‌چین) */
        footer.footer .socials {
            display: flex !important;
            justify-content: center !important;
            gap: 12px !important;
            margin-bottom: 25px !important;
        }

            footer.footer .socials a {
                width: 36px !important;
                height: 36px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                background: rgba(255, 255, 255, 0.08) !important;
                border-radius: 50% !important;
                color: #fff !important;
                font-size: 0.95rem !important;
                text-decoration: none !important;
            }
        /* بخش راهنما و اطلاعات تماس */
        footer.footer .footer-help {
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.06) !important;
            border-radius: 12px !important;
            padding: 15px !important;
            margin-top: 15px !important;
            text-align: center !important;
        }

            footer.footer .footer-help h4,
            footer.footer .col-lg-4 h4 {
                font-size: 1.05rem !important;
                font-weight: bold !important;
                color: #fff !important;
                margin-bottom: 12px !important;
                text-align: center !important;
            }

        footer.footer .footer-phone {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            font-size: 1rem !important;
            color: #e6435a !important;
            font-weight: bold !important;
            margin-bottom: 10px !important;
            direction: ltr; /* برای نمایش صحیح شماره تماس */
        }

        footer.footer .footer-hours {
            display: flex !important;
            justify-content: center !important;
            align-items: flex-start !important;
            gap: 8px !important;
            font-size: 0.8rem !important;
            color: #aaa !important;
            margin-bottom: 10px !important;
            text-align: right !important;
        }

        footer.footer .footer-email {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            font-size: 0.85rem !important;
            color: #ddd !important;
            text-decoration: none !important;
        }
        /* لیست لینک‌های مفید و فروشگاه */
        footer.footer ul {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
            align-items: center !important;
        }

            footer.footer ul li a {
                font-size: 0.85rem !important;
                color: #bbb !important;
                text-decoration: none !important;
                transition: color 0.2s;
            }

                footer.footer ul li a:hover {
                    color: #e6435a !important;
                }
        /* بخش پایانی فوتر (کپی‌رایت) */
        footer.footer .footer-bottom {
            margin-top: 30px !important;
            padding-top: 15px !important;
            border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
            text-align: center !important;
        }

            footer.footer .footer-bottom h4 {
                font-size: 0.9rem !important;
                color: #fff !important;
                margin-bottom: 5px !important;
            }

            footer.footer .footer-bottom p {
                font-size: 0.75rem !important;
                color: #888 !important;
                margin: 0 !important;
            }
}
/* Floating action buttons */
.fab-stack {
    position: fixed;
    bottom: 30px;
    left: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 1500;
}

    .fab-stack .fab {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 16px rgba(0,0,0,.18);
        color: #fff;
        font-size: 16px;
        text-decoration: none;
        position: relative;
    }

        .fab-stack .fab.fab-top {
            background: var(--sn-red);
        }

        .fab-stack .fab.fab-cart {
            background: var(--sn-ink);
        }

        .fab-stack .fab .fab-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--sn-red);
            color: #fff;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* =========================================================
   DETAIL PRODUCT PAGE (جزییات محصول)
   ========================================================= */
.product-details-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-gallery img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    max-height: 460px;
}

.product-title {
    font-weight: 700;
    margin-bottom: 0.5rem !important;
    font-family: Kalameh;
}

.sku-code {
    color: #666;
    font-size: 0.9rem;
}

.product-rating-summary .stars {
    font-size: 1.2rem;
}

.rating-number {
    color: #333;
}

.specs-list {
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.spec-key {
    color: #555;
    font-weight: 600;
}

.spec-val {
    color: #222;
}

.buy-box {
    background: #fafafa;
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
}

    .current-price .currency {
        font-size: 0.85rem;
        font-weight: 400;
        color: #555;
    }

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

    .quantity-wrapper input {
        width: 70px;
        text-align: center;
    }

.add-to-cart-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    background: #C8B6A6;
    color: #000;
    transition: background 0.2s ease;
    cursor: pointer;
}

    .add-to-cart-btn:hover {
        background: #7A8B72;
        color: #F6F3EE;
    }

.single_remove_to_list_button,
.single_add_to_list_button {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.9rem;
    margin-left: 8px;
    transition: 0.2s ease;
    cursor: pointer;
}

    .single_add_to_list_button:hover {
        border-color: #fb3e63;
        color: #fb3e63;
    }

    .single_remove_to_list_button:hover {
        border-color: #dc3545;
        color: #dc3545;
    }

.feature-box {
    flex: 1;
    font-size: 0.85rem;
    color: #444;
}

    .feature-box i {
        display: block;
        margin-bottom: 6px;
    }

/* =========================================================
   ACCOUNT / PROFILE VIEW
   ========================================================= */
.auth-wrap {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
    background: #f7f2eb;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,.07);
    text-align: center;
}

    .auth-card .logo-mark {
        width: 46px;
        height: 46px;
        font-size: 22px;
        margin: 0 auto 18px;
    }

    .auth-card h2 {
        font-weight: 800;
        margin-bottom: 8px;
    }

    .auth-card p.sub {
        color: #888;
        font-size: 13.5px;
        margin-bottom: 30px;
    }

.auth-field {
    text-align: right;
    margin-bottom: 18px;
}

    .auth-field label {
        display: block;
        font-size: 13px;
        color: #555;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .auth-field .input-wrap {
        position: relative;
    }

    .auth-field input {
        width: 100%;
        border: 1px solid #e6e6e6;
        border-radius: 12px;
        padding: 13px 42px 13px 14px;
        font-family: inherit;
        font-size: 14px;
        text-align: right;
        direction: ltr;
        background-color: #C8B6A6;
    }

        .auth-field input:focus {
            outline: none;
            border-width: 2px;
            border-color: #7A8B72;
        }

    .auth-field i {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        color: #bbb;
        font-size: 14px;
    }

/*  اطلاعات حساب استایل  */
.info-field {
    text-align: right;
    margin-bottom: 18px;
}

    .info-field label {
        display: block;
        font-size: 13px;
        color: #555;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .info-field .input-wrap {
        position: relative;
    }

    .info-field input {
        width: 50%;
        border: 1px solid #e6e6e6;
        border-radius: 12px;
        padding: 13px 42px 13px 14px;
        font-family: inherit;
        font-size: 14px;
        text-align: right;
        direction: ltr;
        background-color: #CFDCC9;
    }

        .info-field input:focus {
            border-width: 1px;
            border-color: #7A8B72;
        }

    .info-field i {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        color: #bbb;
        font-size: 14px;
    }

.auth-card button.btn-submit {
    width: 100%;
    background: var(--sn-ink);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 14.5px;
    font-family: inherit;
    margin-top: 8px;
    cursor: pointer;
}

    .auth-card button.btn-submit:hover {
        background: var(--sn-green-dark);
    }

.auth-card .auth-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 20px;
    line-height: 1.9;
}

/* Dashboard */
.dash-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
    padding: 45px 0 70px;
}

.dash-profile-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 26px 20px;
    text-align: center;
    margin-bottom: 20px;
}

    .dash-profile-card .avatar {
        width: 66px;
        height: 66px;
        border-radius: 50%;
        background: var(--sn-green);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        font-weight: 800;
        margin: 0 auto 14px;
    }

    .dash-profile-card h5 {
        font-weight: 800;
        margin-bottom: 4px;
    }

    .dash-profile-card p {
        color: #999;
        font-size: 12.5px;
        margin: 0;
        direction: ltr;
    }

.dash-nav {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 8px;
}

    .dash-nav button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border: none;
        background: transparent;
        padding: 13px 14px;
        font-family: inherit;
        font-size: 13.5px;
        color: #555;
        border-radius: 12px;
        text-align: right;
        cursor: pointer;
    }

        .dash-nav button i {
            font-size: 15px;
            color: #aaa;
        }

        .dash-nav button:hover {
            background: #f7f6f2;
            color: var(--sn-ink);
        }

        .dash-nav button.active {
            background: var(--sn-ink);
            color: #fff;
        }

            .dash-nav button.active i {
                color: #fff;
            }

        .dash-nav button.logout {
            color: #e6435a;
        }

            .dash-nav button.logout i {
                color: #e6435a;
            }

.dash-panel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 30px;
    display: none;
}

    .dash-panel.active {
        display: block;
    }

    .dash-panel h3 {
        font-weight: 800;
        margin-bottom: 26px;
    }

/* Orders */
.order-card {
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

    .order-card .order-info {
        text-align: right;
    }

    .order-card .order-id {
        font-weight: 800;
        margin-bottom: 4px;
    }

    .order-card .order-date {
        color: #999;
        font-size: 12.5px;
    }

    .order-card .order-status {
        font-size: 12px;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 700;
    }

.order-status.delivered {
    background: #e6f4ea;
    color: #2c8a4a;
}

.order-status.pending {
    background: #fff3e0;
    color: #b5720a;
}

.order-status.cancelled {
    background: #fdeaec;
    color: #c62839;
}

.order-card .order-total {
    font-weight: 800;
}

.order-card a.order-detail {
    font-size: 12.5px;
    color: var(--sn-green-dark);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--sn-green-dark);
    border-radius: 20px;
    padding: 8px 16px;
}

    .order-card a.order-detail:hover {
        background: var(--sn-green-dark);
        color: #fff;
    }

/* Cart */
.cart-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f2f2f2;
}

    .cart-row:last-of-type {
        border-bottom: none;
    }

    .cart-row .cart-thumb {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .cart-row .cart-info {
        flex: 1;
        text-align: right;
    }

        .cart-row .cart-info h6 {
            font-weight: 700;
            margin-bottom: 4px;
        }

        .cart-row .cart-info .unit-price {
            color: #999;
            font-size: 12.5px;
        }

    .cart-row .qty-stepper {
        display: flex;
        align-items: center;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
    }

        .cart-row .qty-stepper button {
            width: 30px;
            height: 30px;
            border: none;
            background: #fafafa;
            font-size: 14px;
            cursor: pointer;
        }

        .cart-row .qty-stepper span {
            width: 32px;
            text-align: center;
            font-size: 13.5px;
        }

    .cart-row .line-total {
        font-weight: 800;
        min-width: 90px;
        text-align: left;
    }

    .cart-row .remove-btn {
        border: none;
        background: transparent;
        color: #ccc;
        font-size: 15px;
        cursor: pointer;
    }

        .cart-row .remove-btn:hover {
            color: #e6435a;
        }

.cart-summary {
    background: #f7f6f2;
    border-radius: 14px;
    padding: 22px;
    margin-top: 20px;
}

    .cart-summary .row-line {
        display: flex;
        justify-content: space-between;
        font-size: 13.5px;
        color: #666;
        margin-bottom: 12px;
    }

        .cart-summary .row-line.total {
            color: var(--sn-ink);
            font-weight: 800;
            font-size: 16px;
            border-top: 1px solid #e2ddd0;
            padding-top: 14px;
            margin-top: 6px;
        }

    .cart-summary button.checkout-btn {
        width: 100%;
        background: var(--sn-ink);
        color: #fff;
        border: none;
        border-radius: 12px;
        padding: 14px;
        font-family: inherit;
        font-size: 14.5px;
        margin-top: 10px;
        cursor: pointer;
    }

        .cart-summary button.checkout-btn:hover {
            background: var(--sn-green-dark);
        }

/* Account info form */
.account-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.account-form label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 700;
}

.account-form input {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13.5px;
    text-align: right;
}

    .account-form input:focus {
        outline: none;
        border-color: var(--sn-green);
    }

.account-form button.save-btn {
    background: var(--sn-ink);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

    .account-form button.save-btn:hover {
        background: var(--sn-green-dark);
    }

/* =========================================================
   ABOUT US VIEW
   ========================================================= */
.about-display {
    font-family: 'Lalezar', Kalameh, Vazirmatn, sans-serif;
    font-weight: 400;
}

.about-hero {
    padding: 90px 0 70px;
    text-align: center;
    background: #f7f2eb;
}

    .about-hero .eyebrow {
        display: inline-block;
        font-size: 14px;
        letter-spacing: .5px;
        color: var(--sn-green-dark);
        background: #fff;
        padding: 7px 20px;
        border-radius: 30px;
        margin-bottom: 22px;
    }

    .about-hero h1 {
        font-size: 58px;
        line-height: 1.35;
        max-width: 820px;
        margin: 0 auto 22px;
    }

    .about-hero p {
        max-width: 600px;
        margin: 0 auto;
        color: #666;
        font-size: 16px;
        line-height: 2;
    }

.story-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

    .story-row.reverse {
        flex-direction: row-reverse;
    }

    .story-row .story-media {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

        .story-row .story-media .ph {
            border-radius: 20px;
        }

        .story-row .story-media .tall {
            grid-row: span 2;
            height: 100%;
            min-height: 340px;
            overflow: hidden;
        }

            .story-row .story-media .tall img {
                width: 100%;
                height: 200%;
                object-fit: cover;
                display: block;
            }

        .story-row .story-media .short {
            height: 162px;
            overflow: hidden;
        }

            .story-row .story-media .short img {
                width: 100%;
                height: 150%;
                object-fit: cover;
                display: block;
            }


    .story-row .story-text {
        flex: 1;
        text-align: right;
    }

        .story-row .story-text .story-number {
            font-family: 'Lalezar', sans-serif;
            font-size: 70px;
            color: #ece6d8;
            line-height: 1;
            margin-bottom: 10px;
        }

        .story-row .story-text h2 {
            font-family: 'Lalezar', Kalameh, sans-serif;
            font-weight: 400;
            font-size: 34px;
            margin-bottom: 18px;
        }

        .story-row .story-text p {
            color: #666;
            line-height: 2.1;
            font-size: 15.5px;
            margin-bottom: 0;
        }

.about-stats {
    background: #263A32;
    color: #fff;
    padding: 60px 0;
}

    .about-stats .stat-item {
        text-align: center;
    }

        .about-stats .stat-item .num {
            font-family: 'Lalezar', sans-serif;
            font-size: 46px;
            display: block;
            margin-bottom: 6px;
            color: #fff;
        }

        .about-stats .stat-item .label {
            font-size: 13.5px;
            opacity: .75;
        }

.about-values {
    padding: 80px 0;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
}

    .value-card .value-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #f3f1ea;
        color: var(--sn-green);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin: 0 auto 20px;
    }

    .value-card h4 {
        font-weight: 800;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .value-card p {
        color: #888;
        font-size: 13.5px;
        line-height: 1.9;
        margin: 0;
    }

.about-quote {
    background: #f7f2eb;
    padding: 80px 0;
    text-align: center;
}

    .about-quote .quote-mark {
        font-family: 'Lalezar', sans-serif;
        font-size: 60px;
        color: #d8cdb0;
        line-height: .5;
        margin-bottom: 20px;
        display: block;
    }

    .about-quote blockquote {
        font-family: 'Lalezar', Kalameh, sans-serif;
        font-weight: 400;
        font-size: 26px;
        line-height: 1.9;
        max-width: 780px;
        margin: 0 auto 26px;
        color: var(--sn-ink);
    }

    .about-quote .founder-name {
        font-weight: 800;
    }

    .about-quote .founder-role {
        color: #999;
        font-size: 13px;
    }

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 160px 160px;
    gap: 16px;
    padding: 70px 0;
}

    .about-gallery .ph {
        border-radius: 18px;
    }

    .about-gallery .g1 {
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
    }

    .about-gallery .g2 {
        grid-column: 3;
        grid-row: 1;
    }

    .about-gallery .g3 {
        grid-column: 4;
        grid-row: 1;
    }

    .about-gallery .g4 {
        grid-column: 3 / span 2;
        grid-row: 2;
    }

.about-cta {
    background: var(--sn-ink);
    color: #fff;
    text-align: center;
    padding: 70px 0;
    border-radius: 28px;
    margin: 0 auto 70px;
}

    .about-cta h3 {
        font-family: 'Lalezar', Kalameh, sans-serif;
        font-weight: 400;
        font-size: 32px;
        margin-bottom: 22px;
    }

    .about-cta a.btn-pill {
        background: var(--sn-green);
        color: #fff;
    }

        .about-cta a.btn-pill:hover {
            background: #fff;
            color: var(--sn-ink);
        }

/* =========================================================
   SHOP / CATEGORY LISTING VIEW
   ========================================================= */
.shop-hero {
    background: #E7D2B6;
    padding: 35px 0;
    margin-bottom: 40px;
}

    .shop-hero .breadcrumb-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #8a8a8a;
        margin-bottom: 12px;
    }

        .shop-hero .breadcrumb-row a {
            color: #8a8a8a;
            text-decoration: none;
        }

            .shop-hero .breadcrumb-row a:hover {
                color: var(--sn-green-dark);
            }

    .shop-hero h1 {
        font-weight: 800;
        margin: 0;
    }

.shop-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 34px;
    align-items: start;
}

.shop-sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 6px;
    position: sticky;
    top: 20px;
}

.filter-group {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 14px;
}

    .filter-group:last-child {
        border-bottom: none;
    }

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    color: var(--sn-ink);
}

    .filter-title i {
        font-size: 11px;
        color: #999;
        transition: transform .25s ease;
    }

.filter-group.collapsed .filter-title i {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-list {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin-top: 14px;
    max-height: 400px;
    opacity: 1;
    overflow: hidden;
    transition: max-height .3s ease, opacity .25s ease;
}

    .filter-list li {
        margin-bottom: 11px;
    }

    .filter-list label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13.5px;
        color: #555;
        cursor: pointer;
        gap: 8px;
    }

        .filter-list label:hover {
            color: var(--sn-green-dark);
        }

    .filter-list input[type="checkbox"] {
        accent-color: var(--sn-green);
        width: 15px;
        height: 15px;
        margin-left: 6px;
    }

    .filter-list .count {
        color: #bbb;
        font-size: 12px;
    }

    .filter-list.active-cat label {
        color: var(--sn-green-dark);
        font-weight: 700;
    }

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

    .price-range-inputs input {
        width: 100%;
        border: 1px solid #e6e6e6;
        border-radius: 8px;
        padding: 7px 8px;
        font-size: 12.5px;
        font-family: inherit;
        text-align: center;
    }

        .price-range-inputs input:focus {
            outline: 1.5px solid var(--sn-green);
        }

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

    .color-swatches span {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 0 0 1px #e2e2e2;
        cursor: pointer;
        display: inline-block;
    }

        .color-swatches span.selected {
            box-shadow: 0 0 0 2px var(--sn-green-dark);
        }

.filter-clear-btn {
    display: block;
    width: calc(100% - 28px);
    margin: 16px 14px 14px;
    text-align: center;
    background: #f3f1ea;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
    color: var(--sn-ink);
    font-family: inherit;
    cursor: pointer;
}

    .filter-clear-btn:hover {
        background: var(--sn-green-dark);
        color: #fff;
    }

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

    .shop-toolbar .result-count {
        font-size: 13.5px;
        color: #888;
    }

    .shop-toolbar .sort-select {
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        padding: 9px 14px;
        font-size: 13px;
        font-family: inherit;
        color: var(--sn-ink);
        background: #fff;
    }

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.shop-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.shop-card-media {
    position: relative;
    overflow: hidden;
}

    .shop-card-media .shop-card-action {
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease-in-out;
        z-index: 10;
        color: white;
        background-color: rgba(122, 139, 114, 0.85);
        backdrop-filter: blur(4px);
        border-radius: 7px;
    }

    .shop-card-media:hover .shop-card-action {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        color: #F6F3EE;
    }

.shop-card:hover {
    border-color: #7A8B72;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.shop-card .shop-card-media {
    position: relative;
    height: 260px;
    overflow: hidden;
}

    .shop-card .shop-card-media .ph {
        transition: transform .5s ease;
    }

.shop-card:hover .shop-card-media .ph {
    transform: scale(1.06);
}

.shop-card .shop-card-quick {
    position: absolute;
    inset-inline-start: 14px;
    top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: .3s ease;
}

.shop-card:hover .shop-card-quick {
    opacity: 1;
    transform: translateX(0);
}

.shop-card .shop-card-quick i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--sn-ink);
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    cursor: pointer;
}

    .shop-card .shop-card-quick i:hover {
        background: #E6435A;
        color: #fff;
    }

.shop-card .shop-card-add {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sn-green-dark);
    color: #fff;
    text-align: center;
    padding: 11px;
    font-size: 13px;
    border: none;
    width: 100%;
    transform: translateY(100%);
    transition: transform .3s ease;
    cursor: pointer;
}

.shop-card:hover .shop-card-add {
    transform: translateY(0);
}

.shop-card .shop-card-add:hover {
    background: #7A8B72;
}

.shop-card .shop-card-body {
    padding: 16px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card .shop-card-cat {
    font-size: 11.5px;
    color: #aaa;
    margin-bottom: 4px;
}

.shop-card .shop-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sn-ink);
    margin-bottom: 8px;
    text-decoration: none;
}

    .shop-card .shop-card-title:hover {
        color: var(--sn-green-dark);
    }

.shop-card .shop-card-price {
    margin-top: auto;
    font-weight: 800;
    font-size: 14.5px;
    color: var(--sn-ink);
}

    .shop-card .shop-card-price .old {
        text-decoration: line-through;
        color: #bbb;
        font-weight: 400;
        font-size: 12.5px;
        margin-left: 6px;
    }

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 45px;
}

    .shop-pagination a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--sn-ink);
        text-decoration: none;
        font-size: 13px;
    }

        .shop-pagination a.active {
            background: var(--sn-green-dark);
            border-color: var(--sn-green-dark);
            color: #fff;
        }

            .shop-pagination a.active:hover {
                background: var(--sn-green);
                border-color: #F6F3EE;
            }

        .shop-pagination a:hover:not(.active) {
            border-color: var(--sn-green-dark);
        }

/* =========================================================
   PARTIAL / MINI CART
   ========================================================= */
.mini-cart-wrap {
    position: relative;
    display: inline-block;
}

.mini-cart-icon {
    position: relative;
    font-size: 20px;
    color: inherit;
}

.mini-cart-badge {
    position: absolute;
    top: -6px;
    left: -8px;
    background: #e6435a;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 10px;
    width: 280px;
    max-width: 90vw;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 12px;
    z-index: 1000;
}

.mini-cart-wrap:hover .mini-cart-dropdown {
    display: block;
}

.mini-cart-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.mini-cart-thumb {
    width: 40px;
    height: 40px;
    background: #f2f2f2;
    border-radius: 6px;
    flex-shrink: 0;
}

.mini-cart-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    text-align: right;
}

.mini-cart-title {
    font-weight: 600;
}

.mini-cart-qty {
    color: #777;
    font-size: 12px;
}

.mini-cart-view-all {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    color: var(--sn-green-dark);
}

.mini-cart-empty {
    text-align: center;
    color: #777;
    font-size: 13px;
    padding: 10px 0;
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================= */

/* Desktop & Laptop Small (max-width: 1199px) */
@media (max-width: 1199px) {
    .category-info-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .promo-notebook {
        grid-column: 1 / span 2;
        grid-row: 3;
    }

    .about-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

        .about-gallery .g1, .about-gallery .g2, .about-gallery .g3, .about-gallery .g4 {
            grid-column: auto;
            grid-row: auto;
            height: 180px;
        }
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .hero-text {
        width: 80%;
    }

        .hero-text h1 {
            font-size: 38px;
        }

    .discount-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-card {
        min-width: calc(50% - 20px);
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-wrap {
        grid-template-columns: 1fr;
    }

    .order-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-row {
        flex-wrap: wrap;
    }

    .account-form .form-row {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 38px;
    }

    .story-row, .story-row.reverse {
        flex-direction: column;
        gap: 35px;
    }

   
}

/* Mobile Devices (max-width: 767px) */


/* =========================================================
   FIXED-WIDTH DESKTOP LAYOUT MODE
   با تغییر متا تگ viewport به width=1280، این‌ها اضافه‌شدن
   ========================================================= */

/* فضای امن انتهای صفحه، تا آیکون‌های شناور روی خط آخر فوتر ننشینن */
.footer {
    padding-bottom: 130px;
}


/* =========================================================
   FIX: Product Details Features Row (ارسال سریع / ضمانت اصالت / پشتیبانی)
   جلوگیری از تداخل با کلاس هم‌نام .features-row در صفحه اصلی
   ========================================================= */
.product-details-wrapper .features-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.product-details-wrapper .feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    font-size: 0.85rem;
    color: #444;
}

    .product-details-wrapper .feature-box i {
        display: block;
        margin-bottom: 6px;
    }


