﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0F2747;
    --navy-deep: #091a35;
    --white: #FFFFFF;
    --teal: #2CB7C9;
    --teal-dark: #1d9aab;
    --gold: #C8A96A;
    --gold-light: #d9bc82;
    --charcoal: #2B2B2B;
    --gray-bg: #F5F7FA;
    --gray-mid: #e8ecf2;
    --gray-text: #6b7b9a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 26, 53, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44,183,201,0.12);
    padding: 0 5%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    transition: background 0.3s;
}

    header.scrolled {
        background: rgba(9, 26, 53, 0.97);
        border-bottom-color: rgba(44,183,201,0.2);
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 80px;
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-en {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-fa {
    font-size: 11px;
    font-weight: 400;
    color: var(--teal);
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

    nav a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.2s;
        position: relative;
    }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--teal);
            transition: width 0.25s;
        }

        nav a:hover {
            color: var(--white);
        }

            nav a:hover::after {
                width: 100%;
            }

.header-cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s !important;
}

    .header-cta:hover {
        background: var(--teal-dark) !important;
    }

    .header-cta::after {
        display: none !important;
    }

/* ─── HERO ─── */
/* ─── HERO SLIDER BACKGROUND ─── */

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08) translateX(0);
    filter: brightness(0.9);
    transition: opacity 1.4s cubic-bezier(.45,0,.2,1), visibility 1.4s, transform 7s cubic-bezier(.19,1,.22,1), filter 1.4s ease;
    z-index: 1;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateX(0);
        filter: brightness(1);
        z-index: 2;
    }

    /* اسلاید قبلی موقع خروج کمی به عقب و تار بره تا کراس‌فید نرم‌تر شه */
    .hero-slide.leaving {
        transition: opacity 1.1s ease, filter 1.1s ease;
        filter: brightness(0.7) blur(1px);
        z-index: 1;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transform: scale(1);
    }

/* نوار پیشرفت زیر اسلایدر */
.hero-slider-progress {
    position: absolute;
    bottom: 22px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-progress-dot {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.25);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

    .hero-progress-dot i {
        position: absolute;
        inset: 0;
        background: var(--teal);
        width: 0%;
        border-radius: 4px;
        transition: width 0.15s linear;
    }

    .hero-progress-dot.done i {
        width: 100%;
        transition: none;
    }

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hero-slide.active img {
    transform: scale(1);
}


/* لایه تاریک روی بنر */
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 20, 38, 0.96) 0%, rgba(5, 20, 38, 0.88) 35%, rgba(5, 20, 38, 0.60) 65%, rgba(5, 20, 38, 0.78) 100% );
    z-index: 2;
}
/* ─── HERO ─── */
#hero {
    min-height: 50vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(5, 20, 38, 0.92) 0%, rgba(15, 39, 71, 0.75) 100% );
    clip-path: polygon( 0 0, 85% 0, 100% 100%, 0 100% );
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44,183,201,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-gold-accent {
    position: absolute;
    top: 0;
    right: 42%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: right;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44,183,201,0.15);
    border: 1px solid rgba(44,183,201,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 28px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 600;
}

    .hero-eyebrow span {
        width: 6px;
        height: 6px;
        background: var(--teal);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
}

    .hero-title em {
        font-style: normal;
        color: var(--gold);
        position: relative;
    }

        .hero-title em::after {
            content: '';
            position: absolute;
            bottom: 2px;
            right: 0;
            width: 100%;
            height: 3px;
            background: var(--gold);
            opacity: 0.35;
        }

.hero-desc {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #1da8b8 100%);
    color: var(--white);
    border: none;
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 8px 28px rgba(44,183,201,0.4), 0 0 0 0 rgba(44,183,201,0.3);
    position: relative;
    overflow: hidden;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.5s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(44,183,201,0.5);
    }

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

    .btn-ghost:hover {
        border-color: rgba(200,169,106,0.5);
        color: var(--gold);
        background: rgba(200,169,106,0.08);
        transform: translateY(-2px);
    }

.hero-stats {
    display: flex;
    gap: 0;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 16px;
    position: relative;
}

    .stat-item + .stat-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: rgba(255,255,255,0.1);
    }

.stat-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--teal);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

/* ─── HERO VISUAL (right side) ─── */
.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* big glowing ring */
.hero-circle-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44,183,201,0.07) 0%, transparent 70%);
    border: 1px solid rgba(44,183,201,0.12);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.7;
    }
}

.hero-circle-inner {
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 1px dashed rgba(200,169,106,0.25);
    animation: spin 25s linear infinite;
}

    .hero-circle-inner::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        width: 10px;
        height: 10px;
        background: var(--gold);
        border-radius: 50%;
        margin-left: -5px;
        box-shadow: 0 0 12px var(--gold);
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-products-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
}

.hero-product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(.2,.9,.3,1.1);
    cursor: pointer;
}

    .hero-product-card:hover {
        background: rgba(255,255,255,0.09);
        border-color: rgba(44,183,201,0.35);
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .hero-product-card.featured {
        grid-column: span 2;
        background: linear-gradient(135deg, rgba(44,183,201,0.18) 0%, rgba(200,169,106,0.08) 50%, rgba(15,39,71,0.7) 100%);
        border-color: rgba(44,183,201,0.3);
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: right;
        padding: 22px 24px;
    }

        .hero-product-card.featured .product-emoji {
            font-size: 48px;
            margin: 0;
            flex-shrink: 0;
        }

.product-emoji {
    font-size: 38px;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

    .product-emoji svg {
        width: 36px;
        height: 36px;
    }

.hero-product-card.featured .product-emoji svg {
    width: 44px;
    height: 44px;
}

.product-name-card {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 5px;
}

.product-price-card {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
}

/* trust items inside hero — match reference */
.hero-trust-bar {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.hero-trust-icon {
    width: 28px;
    height: 28px;
    background: rgba(44,183,201,0.15);
    border: 1px solid rgba(44,183,201,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: var(--white);
    padding: 22px 5%;
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.trust-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
}

.trust-item-text {
    display: flex;
    flex-direction: column;
}

.trust-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.trust-item-sub {
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 400;
}

.trust-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(44,183,201,0.1), rgba(15,39,71,0.08));
    border: 1.5px solid rgba(44,183,201,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s;
}

    .trust-icon svg {
        width: 20px;
        height: 20px;
        stroke: var(--navy);
        transition: all 0.3s;
    }

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, var(--teal), var(--gold));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44,183,201,0.3);
}

    .trust-item:hover .trust-icon svg {
        stroke: #fff;
    }

/* ─── SECTION COMMONS ─── */
section {
    padding: 90px 5%;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-desc {
    font-size: 15px;
    color: var(--gray-text);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── CATEGORIES ─── */
#categories {
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-card {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

    .cat-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--teal), var(--gold));
        transform: scaleX(0);
        transition: transform 0.3s;
    }

    .cat-card:hover {
        background: var(--white);
        border-color: var(--teal);
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(44,183,201,0.12);
    }

        .cat-card:hover::before {
            transform: scaleX(1);
        }

.cat-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.cat-icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200,169,106,0.14), rgba(44,183,201,0.08));
    border: 1.5px solid rgba(200,169,106,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(.2,.9,.3,1.1);
}

    .cat-icon-wrap svg {
        width: 30px;
        height: 30px;
        stroke: var(--gold);
        transition: all 0.3s;
    }

.cat-card:hover .cat-icon-wrap {
    background: linear-gradient(135deg, var(--gold), var(--teal));
    border-color: var(--gold);
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 26px rgba(200,169,106,0.4);
}

    .cat-card:hover .cat-icon-wrap svg {
        stroke: #fff;
    }

.cat-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.cat-count {
    font-size: 13px;
    color: var(--gray-text);
}

/* ─── PRODUCTS ─── */
#products {
    background: var(--gray-bg);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--gray-mid);
    background: var(--white);
    color: var(--gray-text);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

    .filter-btn.active, .filter-btn:hover {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    }

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.badge-new {
    background: var(--teal);
    color: var(--white);
}

.badge-sale {
    background: var(--gold);
    color: var(--white);
}

.badge-hot {
    background: #e74c3c;
    color: var(--white);
}

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    background: linear-gradient(135deg, var(--gray-bg) 0%, #e8f4f6 100%);
    position: relative;
    overflow: hidden;
}

    .product-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, rgba(245,247,250,0.8), transparent);
    }

.product-body {
    padding: 18px;
}

.product-cat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.4;
}

.product-desc-small {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-main {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
}

.price-old {
    font-size: 12px;
    color: var(--gray-text);
    text-decoration: line-through;
}

.add-to-cart {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--teal);
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .add-to-cart:hover {
        background: linear-gradient(135deg, var(--teal), var(--gold));
        transform: scale(1.12) rotate(90deg);
        box-shadow: 0 8px 20px rgba(44,183,201,0.4);
    }

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.star {
    color: var(--gold);
    font-size: 13px;
}

/* ─── TESTIMONIALS ─── */
#testimonials {
    background: var(--navy);
}

    #testimonials .section-title {
        color: var(--white);
    }

    #testimonials .section-desc {
        color: rgba(255,255,255,0.55);
    }

    #testimonials .section-eyebrow {
        color: var(--gold);
    }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
}

    .testimonial-card:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(44,183,201,0.3);
        transform: translateY(-4px);
    }

.quote-icon {
    font-size: 48px;
    color: rgba(200,169,106,0.3);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.author-role {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* ─── ABOUT ─── */
#about {
    background: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 460px;
}

.about-main-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 80%;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.about-accent-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42%;
    height: 55%;
    background: var(--teal);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 24px;
}

.about-accent-number {
    font-size: 36px;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about-accent-label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

.about-gold-dot {
    position: absolute;
    top: 50%;
    left: 35%;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(200,169,106,0.2);
}

.about-content .section-header {
    text-align: right;
    margin-bottom: 28px;
}

.about-desc {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.9;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(44,183,201,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--gray-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
}

    .contact-info .section-header {
        text-align: right;
        margin-bottom: 32px;
    }

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 12px;
    color: var(--gray-text);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    direction: ltr;
    text-align: right;
}

.contact-form {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 28px;
    text-align: right;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
    text-align: right;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-mid);
    border-radius: 10px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    background: var(--gray-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    text-align: right;
    direction: rtl;
}

    .form-input:focus, .form-textarea:focus {
        border-color: var(--teal);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(44,183,201,0.1);
    }

.form-textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 8px;
}

    .btn-submit:hover {
        background: var(--teal);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(44,183,201,0.3);
    }

/* ─── FOOTER ─── */
footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.6);
    padding: 50px 5% 24px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 16px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

    .social-btn:hover {
        border-color: var(--teal);
        background: rgba(44,183,201,0.15);
    }

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links li a {
        color: rgba(255,255,255,0.5);
        text-decoration: none;
        font-size: 13px;
        transition: color 0.2s;
    }

        .footer-links li a:hover {
            color: var(--teal);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

    .footer-bottom a {
        color: var(--teal);
        text-decoration: none;
    }

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── HAMBURGER BUTTON ─── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1201;
}

    .hamburger-btn span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--white);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.25s, width 0.3s;
    }

        .hamburger-btn span:nth-child(2) {
            width: 16px;
        }

    .hamburger-btn.active span {
        width: 22px;
    }

        .hamburger-btn.active span:nth-child(1) {
            transform: translateY(7px) rotate(-45deg);
            background: var(--gold);
        }

        .hamburger-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-btn.active span:nth-child(3) {
            transform: translateY(-7px) rotate(45deg);
            background: var(--gold);
        }

/* ─── MOBILE NAV DASHBOARD (off-canvas drawer) ─── */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9,26,53,0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

    .mobile-nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

.nav-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    nav#mainNav {
        position: fixed;
        top: 0;
        right: 0; /* ← همیشه 0 باشه */
        left: 0; /* ← اضافه کن */
        width: 100%;
        height: 100dvh;
        margin: 0;
        background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 26px 32px;
        z-index: 1200;
        overflow-y: auto;
        /* ← اینا رو عوض کن */
        transform: translateY(-100%); /* پشت header قایم */
        transition: transform 0.45s cubic-bezier(.2,.9,.3,1.05);
    }

        nav#mainNav.open {
            transform: translateY(0); /* ← به جای right: 0 */
        }

        nav#mainNav a {
            width: 100%;
            padding: 16px 4px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            font-size: 15px;
            color: rgba(255,255,255,0.85);
        }

            nav#mainNav a::after {
                display: none;
            }

            nav#mainNav a:hover {
                color: var(--gold);
            }

    .nav-mobile-only {
        display: block;
        color: var(--gold) !important;
        font-weight: 700;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 22px 26px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .mobile-nav-brand {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

        .mobile-nav-brand .logo-fa {
            color: var(--teal);
        }

    .mobile-nav-close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.06);
        color: var(--white);
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s;
    }

        .mobile-nav-close:hover {
            background: var(--gold);
            border-color: var(--gold);
            transform: rotate(90deg);
        }
}

.mobile-nav-head {
    display: none;
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: 260px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    section {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
     HEADER ACTIONS: SEARCH + AUTH
     ═══════════════════════════════════════════ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 40px;
    height: 40px;
    padding: 0 38px 0 0px;
    border-radius: 100px;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    outline: none;
    transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.25s, border-color 0.25s;
    cursor: pointer;
}

    .search-input::placeholder {
        color: rgba(255,255,255,0.4);
    }

    .search-input:focus,
    .search-input.expanded {
        width: 230px;
        background: rgba(255,255,255,0.1);
        border-color: var(--teal);
        cursor: text;
    }

.search-icon-btn {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
    flex-shrink: 0;
}

    .search-icon-btn:hover {
        background: var(--teal-dark);
    }

.search-results-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 320px;
    max-height: 380px;
    overflow-y: auto;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(9,26,53,0.35);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s;
    z-index: 1200;
}

    .search-results-panel.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

    .search-result-item:hover {
        background: var(--gray-bg);
    }

.search-result-emoji {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.search-result-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.search-result-price {
    font-size: 12px;
    color: var(--teal-dark);
    font-weight: 600;
}

.search-no-result {
    padding: 24px 10px;
    text-align: center;
    color: var(--gray-text);
    font-size: 13px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s;
    flex-shrink: 0;
    position: relative;
}

    .icon-btn:hover {
        background: var(--teal);
        border-color: var(--teal);
        transform: translateY(-2px);
    }

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 100px;
    border: none;
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy-deep);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(200,169,106,0.3);
}

    .auth-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(200,169,106,0.45);
    }

.user-chip {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.14);
    cursor: pointer;
}

.user-chip-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 13px;
}

.user-chip-name {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
     MODAL SYSTEM (AUTH + PRODUCT)
     ═══════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9,26,53,0.72);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .modal-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.modal-box {
    background: var(--white);
    border-radius: 22px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(.2,.9,.3,1.1);
    position: relative;
}

.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-bg);
    border: none;
    color: var(--charcoal);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
}

    .modal-close:hover {
        background: #e74c3c;
        color: var(--white);
        transform: rotate(90deg);
    }

/* ─── AUTH MODAL ─── */
.auth-modal {
    width: 420px;
    max-width: 100%;
    padding: 40px 36px 36px;
}

.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo-icon {
    font-size: 34px;
    margin-bottom: 10px;
    display: block;
}

.auth-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--gray-text);
}

.auth-tabs {
    display: flex;
    background: var(--gray-bg);
    border-radius: 100px;
    padding: 4px;
    margin-bottom: 26px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    background: transparent;
    font-family: 'Vazirmatn', sans-serif;
}

    .auth-tab.active {
        background: var(--navy);
        color: var(--white);
        box-shadow: 0 6px 16px rgba(15,39,71,0.25);
    }

.auth-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
}

    .auth-panel.active {
        display: flex;
    }

    .auth-panel .form-group {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 14px;
    top: 38px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-text);
    font-size: 14px;
}

.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-text);
}

    .auth-checkbox input {
        accent-color: var(--teal);
    }

.forgot-link, .auth-switch-link, .back-link {
    background: none;
    border: none;
    color: var(--teal-dark);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

    .forgot-link:hover, .auth-switch-link:hover, .back-link:hover {
        text-decoration: underline;
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0;
    color: var(--gray-text);
    font-size: 12px;
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--gray-mid);
    }

.social-auth-row {
    display: flex;
    gap: 10px;
}

.social-auth-btn {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-mid);
    background: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

    .social-auth-btn:hover {
        border-color: var(--teal);
        background: var(--gray-bg);
    }

.auth-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--gray-text);
    margin-top: 4px;
}

.forgot-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(44,183,201,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.otp-row {
    display: flex;
    gap: 8px;
    direction: ltr;
    justify-content: center;
}

.otp-box {
    width: 46px;
    height: 54px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    border-radius: 10px;
    border: 1.5px solid var(--gray-mid);
    font-family: 'Vazirmatn', sans-serif;
    color: var(--navy);
}

    .otp-box:focus {
        border-color: var(--teal);
        outline: none;
    }

/* ─── PRODUCT MODAL ─── */
.product-modal {
    width: 940px;
    max-width: 100%;
}

.pmodal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pmodal-gallery {
    background: var(--gray-bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pmodal-main-img {
    height: 300px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--white) 0%, #e8f4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    transition: opacity 0.2s;
}

.pmodal-thumbs {
    display: flex;
    gap: 10px;
}

.pmodal-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

    .pmodal-thumb:hover {
        border-color: rgba(44,183,201,0.4);
    }

    .pmodal-thumb.active {
        border-color: var(--teal);
        background: rgba(44,183,201,0.08);
    }

.pmodal-info {
    padding: 40px 36px 36px 20px;
    display: flex;
    flex-direction: column;
}

.pmodal-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pmodal-title {
    font-size: 23px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 10px;
}

.pmodal-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

    .pmodal-rating-row .stars {
        margin-bottom: 0;
    }

.pmodal-rating-count {
    font-size: 12px;
    color: var(--gray-text);
}

.pmodal-desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
    margin-bottom: 22px;
}

.pmodal-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.pmodal-price-main {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
}

.pmodal-price-old {
    font-size: 15px;
    color: var(--gray-text);
    text-decoration: line-through;
}

.pmodal-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.pmodal-buy-btn {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: var(--teal);
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(44,183,201,0.3);
}

    .pmodal-buy-btn:hover {
        background: var(--teal-dark);
        transform: translateY(-2px);
    }

.like-btn, .share-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-mid);
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    position: relative;
    color: var(--charcoal);
}

    .like-btn:hover, .share-btn:hover {
        border-color: var(--teal);
        background: var(--gray-bg);
    }

    .like-btn.liked {
        color: #e74c3c;
        border-color: #e74c3c;
        background: rgba(231,76,60,0.06);
    }

        .like-btn.liked span.like-heart {
            animation: heartPop 0.4s ease;
        }

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.like-count {
    font-size: 12px;
    color: var(--gray-text);
    margin-top: 10px;
}

    .like-count b {
        color: var(--charcoal);
    }

/* ─── PRODUCT TABS: DESCRIPTION / REVIEWS ─── */
.pmodal-tabs-wrap {
    border-top: 1px solid var(--gray-mid);
}

.pmodal-tabs {
    display: flex;
    gap: 30px;
    padding: 0 36px;
    border-bottom: 1px solid var(--gray-mid);
}

.pmodal-tab {
    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-text);
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Vazirmatn', sans-serif;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

    .pmodal-tab.active {
        color: var(--navy);
        border-bottom-color: var(--teal);
    }

.pmodal-tab-content {
    display: none;
    padding: 28px 36px 36px;
}

    .pmodal-tab-content.active {
        display: block;
    }

.full-desc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .full-desc-list li {
        font-size: 13px;
        color: var(--gray-text);
        display: flex;
        align-items: flex-start;
        gap: 8px;
        line-height: 1.7;
    }

        .full-desc-list li::before {
            content: '✓';
            color: var(--teal);
            font-weight: 800;
            flex-shrink: 0;
        }

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: var(--gray-bg);
    border-radius: 14px;
    margin-bottom: 24px;
}

.reviews-avg-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
}

.reviews-avg-stars {
    margin: 6px 0 4px;
}

.reviews-avg-count {
    font-size: 12px;
    color: var(--gray-text);
}

.review-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-mid);
}

    .review-item:last-child {
        border-bottom: none;
    }

.review-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.review-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.review-date {
    font-size: 11px;
    color: var(--gray-text);
    margin-right: auto;
}

.review-text {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.8;
    padding-right: 50px;
}

.review-item-head .stars {
    margin-bottom: 0;
    margin-right: 4px;
}

.review-form-box {
    margin-top: 26px;
    padding: 22px;
    background: var(--gray-bg);
    border-radius: 16px;
}

.review-form-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.rating-input {
    display: flex;
    gap: 4px;
    direction: ltr;
    justify-content: flex-end;
    margin-bottom: 14px;
}

    .rating-input span {
        font-size: 26px;
        color: #ddd;
        cursor: pointer;
        transition: color 0.15s, transform 0.15s;
    }

        .rating-input span:hover, .rating-input span.rated {
            transform: scale(1.1);
        }

    .rating-input.selected-1 span:nth-child(-n+1),
    .rating-input.selected-2 span:nth-child(-n+2),
    .rating-input.selected-3 span:nth-child(-n+3),
    .rating-input.selected-4 span:nth-child(-n+4),
    .rating-input.selected-5 span:nth-child(-n+5) {
        color: var(--gold);
    }

.review-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.review-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-mid);
    border-radius: 10px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    resize: vertical;
    min-height: 70px;
    margin-bottom: 12px;
    background: var(--white);
}

    .review-textarea:focus, .review-input-row input:focus {
        outline: none;
        border-color: var(--teal);
    }

.review-input-row input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-mid);
    border-radius: 10px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    background: var(--white);
}

.review-submit-btn {
    padding: 11px 26px;
    border-radius: 10px;
    border: none;
    background: var(--navy);
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

    .review-submit-btn:hover {
        background: var(--teal);
    }

/* ─── SHARE POPOVER ─── */
.share-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    padding: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    z-index: 10;
}

    .share-popover.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.share-opt {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gray-bg);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    white-space: nowrap;
}

    .share-opt:hover {
        background: var(--teal);
        transform: translateY(-2px);
    }

/* ─── TOAST ─── */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.toast {
    background: var(--navy-deep);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.35s cubic-bezier(.2,.9,.3,1.1);
    white-space: nowrap;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .toast .toast-check {
        color: var(--teal);
        font-weight: 900;
    }

.product-card {
    cursor: pointer;
}
/* =========================================================
   ✦ SPECIAL OFFERS
   Navy / Teal / Gold
   RTL Persian Design
========================================================= */
.special-offers {
    width: 100%;
    direction: rtl;
    margin: 30px 0;
    position: relative;
}

.special-offers-inner {
    width: 100%;
    min-height: 390px;
    display: flex;
    flex-direction: row;
    background: radial-gradient( circle at 15% 20%, rgba(44, 183, 201, 0.13), transparent 30% ), radial-gradient( circle at 85% 80%, rgba(200, 169, 106, 0.12), transparent 30% ), #091934;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(9, 25, 52, 0.18);
    position: relative;
}


/* =========================================================
   BRAND PANEL
========================================================= */

.offers-brand {
    width: 235px;
    min-width: 235px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient( 145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) );
}


.offers-brand-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 18px;
}


/* =========================================================
   LOGO
========================================================= */

.offers-logo-box {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.035) );
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 12px 35px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: transform .35s ease, box-shadow .35s ease;
}


.offers-brand:hover .offers-logo-box {
    transform: translateY(-4px) rotate(-2deg);
    box-shadow: 0 18px 40px rgba(0,0,0,0.3), 0 0 35px rgba(200,169,106,0.15);
}


.offers-logo {
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   MINI BADGE
========================================================= */

.offers-mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    border-radius: 50px;
    background: linear-gradient( 135deg, var(--gold, #c8a96a), var(--gold-light, #dfc58f) );
    color: var(--navy-deep, #091a35);
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 9px;
    box-shadow: 0 6px 18px rgba(200,169,106,.22);
}


/* =========================================================
   TITLE
========================================================= */

.offers-title {
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: -.5px;
}


    .offers-title strong {
        display: block;
        color: var(--gold-light, #dfc58f);
        font-size: 23px;
        font-weight: 900;
    }


.offers-subtitle {
    margin: 7px 0 14px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   TIMER
========================================================= */

.offers-timer {
    display: flex;
    direction: ltr;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 17px;
}


.timer-item {
    width: 37px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
}


.timer-number {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}


.timer-label {
    color: rgba(255,255,255,.45);
    font-size: 7px;
    margin-top: 4px;
}


.timer-separator {
    color: var(--gold, #c8a96a);
    font-size: 16px;
    font-weight: 900;
    margin-top: -8px;
}


/* =========================================================
   VIEW ALL
========================================================= */

.offers-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 125px;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    transition: all .25s ease;
}


    .offers-view-all span {
        font-size: 15px;
        transition: transform .25s ease;
    }


    .offers-view-all:hover {
        color: var(--navy-deep, #091a35);
        background: var(--gold, #c8a96a);
        border-color: var(--gold, #c8a96a);
        transform: translateY(-2px);
    }


        .offers-view-all:hover span {
            transform: translateX(-4px);
        }


/* =========================================================
   DECORATIVE %
========================================================= */

.offers-percent {
    position: absolute;
    left: -20px;
    bottom: -40px;
    font-size: 180px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255,255,255,.018);
    transform: rotate(10deg);
    pointer-events: none;
}


.offers-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}


.offers-glow-1 {
    top: -55px;
    right: -50px;
    background: rgba(44,183,201,.13);
}


.offers-glow-2 {
    bottom: -70px;
    left: -50px;
    background: rgba(200,169,106,.12);
}


/* =========================================================
   PRODUCTS AREA
========================================================= */

.offers-products {
    flex: 1;
    min-width: 0;
    padding: 18px 18px 15px;
}


/* =========================================================
   PRODUCTS HEADER
========================================================= */

.offers-products-header {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}


.offers-header-text {
    color: rgba(255,255,255,.70);
    font-size: 11px;
    font-weight: 700;
}


.offers-line {
    display: inline-block;
    width: 4px;
    height: 18px;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 20px;
    background: linear-gradient( to bottom, var(--gold, #c8a96a), var(--teal, #2cb7c9) );
}


/* =========================================================
   NAVIGATION
========================================================= */

.offers-navigation {
    display: flex;
    gap: 6px;
    direction: ltr;
}


.offers-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}


    .offers-nav-btn:hover {
        background: var(--gold, #c8a96a);
        color: var(--navy-deep, #091a35);
        transform: translateY(-2px);
    }


    .offers-nav-btn:disabled {
        opacity: .25;
        cursor: default;
        transform: none;
    }


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.product-slider-wrapper {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}


    .product-slider-wrapper.is-dragging {
        cursor: grabbing;
    }


/* =========================================================
   TRACK
========================================================= */

.product-slider-track {
    display: flex;
    direction: rtl;
    gap: 14px;
    width: max-content;
    padding: 7px 3px 17px;
    transition: transform .45s cubic-bezier(.3,.9,.35,1);
    will-change: transform;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card-Discounts {
    flex: 0 0 268px;
    width: 190px;
    background: var(--white, #fff);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 7px 25px rgba(0,0,0,.16);
    transition: transform .3s cubic-bezier(.2,.9,.3,1.1), box-shadow .3s ease, border-color .3s ease;
    user-select: none;
}


    .product-card-Discounts:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(0,0,0,.27);
        border-color: rgba(44,183,201,.55);
    }


    /* Top Gold Line */

    .product-card-Discounts::before {
        content: '';
        position: absolute;
        top: 0;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient( 90deg, transparent, var(--gold, #c8a96a), transparent );
        opacity: 0;
        transition: opacity .3s;
        z-index: 5;
    }


    .product-card-Discounts:hover::before {
        opacity: 1;
    }


/* =========================================================
   DISCOUNT BADGE
========================================================= */

.product-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 900;
    background: linear-gradient( 135deg, var(--gold, #c8a96a), var(--gold-light, #dfc58f) );
    color: #091a35;
    box-shadow: 0 4px 12px rgba(0,0,0,.16);
}


    .product-badge span {
        font-size: 11px;
    }


/* =========================================================
   IMAGE
========================================================= */

.product-img {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #f5f7fa 0%, rgba(44,183,201,.08) 55%, rgba(200,169,106,.08) 100% );
    overflow: hidden;
    position: relative;
}


    .product-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 42px;
        background: linear-gradient( to top, rgba(255,255,255,.75), transparent );
        pointer-events: none;
    }


    .product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .45s cubic-bezier(.2,.9,.3,1.1);
    }


.product-card-Discounts:hover .product-img img {
    transform: scale(1.07);
}


/* =========================================================
   BODY
========================================================= */

.product-body {
    padding: 11px 11px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* Category */

.product-cat-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--teal, #2cb7c9);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Stars */

.stars {
    display: flex;
    direction: ltr;
    gap: 1px;
    height: 12px;
    align-items: center;
}


.star {
    font-size: 10px;
    color: #dfe3e8;
    line-height: 1;
}


    .star.active {
        color: var(--gold, #c8a96a);
    }


/* Title */

.product-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--navy, #0f2747);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}


.product-desc-small {
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
    padding-top: 8px;
    border-top: 1px solid #edf0f4;
}


.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    direction: rtl;
}


.price-main {
    font-size: 12px;
    font-weight: 900;
    color: var(--navy, #0f2747) !important;
    background: none !important;
    -webkit-text-fill-color: var(--navy, #0f2747) !important;
    line-height: 1;
}


.price-old {
    font-size: 9px;
    color: #8793a6;
    text-decoration: line-through;
    line-height: 1;
}


/* =========================================================
   ADD TO CART
========================================================= */

.add-to-cart {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient( 135deg, var(--gold, #c8a96a), var(--gold-light, #dfc58f) );
    border: none;
    color: #091a35;
    font-size: 19px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s cubic-bezier(.2,.9,.3,1.1);
    flex-shrink: 0;
    box-shadow: 0 4px 13px rgba(200,169,106,.28);
    line-height: 1;
}


    .add-to-cart:hover {
        transform: scale(1.12) rotate(4deg);
        box-shadow: 0 7px 20px rgba(200,169,106,.42);
    }


    .add-to-cart:active {
        transform: scale(.92);
    }
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .offers-brand {
        width: 205px;
        min-width: 205px;
    }

    .product-card {
        flex-basis: 180px;
        width: 180px;
    }

    .product-img {
        height: 150px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .special-offers {
        margin: 20px 0;
    }


    .special-offers-inner {
        flex-direction: column;
        border-radius: 18px;
    }


    .offers-brand {
        width: 100%;
        min-width: 100%;
        min-height: 210px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }


    .offers-brand-content {
        padding: 18px 15px;
    }


    .offers-logo-box {
        width: 62px;
        height: 62px;
        border-radius: 17px;
        margin-bottom: 8px;
    }


    .offers-logo {
        max-width: 48px;
        max-height: 48px;
    }


    .offers-mini-badge {
        font-size: 8px;
        padding: 4px 10px;
        margin-bottom: 5px;
    }


    .offers-title {
        font-size: 18px;
    }


        .offers-title strong {
            display: inline;
            font-size: 19px;
            margin-right: 3px;
        }


    .offers-subtitle {
        display: none;
    }


    .offers-timer {
        margin-bottom: 10px;
    }


    .timer-item {
        width: 32px;
        height: 32px;
    }


    .timer-number {
        font-size: 11px;
    }


    .timer-label {
        font-size: 6px;
    }


    .offers-view-all {
        display: none;
    }


    .offers-percent {
        font-size: 130px;
        left: 10px;
        bottom: -30px;
    }


    .offers-products {
        padding: 13px 10px 10px;
    }


    .offers-products-header {
        margin-bottom: 3px;
    }


    .offers-header-text {
        font-size: 10px;
    }


    .product-slider-track {
        gap: 10px;
        padding: 6px 2px 13px;
    }


    .product-card {
        flex-basis: 165px;
        width: auto;
        border-radius: 14px;
    }


    .product-img {
        height: 400px;
    }


    .product-body {
        padding: 9px;
    }


    .product-title {
        font-size: 10px;
    }


    .price-main {
        font-size: 11px;
    }


    .offers-navigation {
        display: none;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .product-card {
        flex-basis: 150px;
        width: 150px;
    }


    .product-img {
        height: 125px;
    }
}


/* ═══════════════════════════════════════════════════════════
     ✦ هویت بصری جدید — سهاطب لوکس
     سیگنیچر طراحی: خطوط گیاهی طلایی ظریف + سایه‌های نرم و ارگانیک
     + متن‌های طلاکوب + درخشش ملایم روی دکمه‌ها
     تمام کلاس‌ها و آی‌دی‌های قبلی دست‌نخورده باقی مانده‌اند
     تا جاوااسکریپت سایت (سبد خرید، ورود، جستجو، نظرات) سالم بماند.
     ═══════════════════════════════════════════════════════════ */
:root {
    --pearl: #FFFDF9;
    --gold-mist: rgba(200,169,106,0.14);
    --teal-mist: rgba(44,183,201,0.12);
    --ink-shadow: 0 24px 60px rgba(15,39,71,0.10);
    --gold-shadow: 0 14px 34px rgba(200,169,106,0.28);
    --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4c8 4 12 12 8 24-8 2-16-4-16-14 0-5 3-8 8-10z' fill='none' stroke='%23C8A96A' stroke-width='1.1' opacity='.55'/%3E%3Cpath d='M20 6v26' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='.4'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background: var(--gold);
    color: #fff;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold), var(--teal));
    border-radius: 10px;
}

body {
    background: radial-gradient(700px 500px at 92% -6%, rgba(44,183,201,0.05), transparent 60%), radial-gradient(800px 600px at -6% 20%, rgba(200,169,106,0.06), transparent 55%), var(--white);
}

/* ── gold-foil text utility (used on emphasis words) ── */
.hero-title em,
.stat-number,
.about-accent-number,
.pmodal-price-main,
.price-main {
    background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 45%, #a5834f 75%, var(--gold-light) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold);
}

.price-main, .pmodal-price-main {
    background-image: linear-gradient(100deg, var(--navy) 0%, #1a3a6b 45%, var(--navy) 100%);
}

/* ── header refinement ── */
header {
    background: linear-gradient(180deg, rgba(9,26,53,0.92), rgba(9,26,53,0.86));
    box-shadow: 0 4px 40px rgba(0,0,0,0.25), inset 0 -1px 0 rgba(200,169,106,0.18);
}

.logo-fa {
    position: relative;
    padding-left: 12px;
}

    .logo-fa::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 8px;
        height: 8px;
        margin-top: -4px;
        border: 1px solid var(--gold);
        border-radius: 50%;
    }

nav a:hover {
    color: var(--gold-light) !important;
}

nav a::after {
    background: linear-gradient(90deg, var(--teal), var(--gold));
}


.pdp-wrap {
    background: var(--gray-bg, #F5F7FA);
    padding-bottom: 40px;
}

/* ── Breadcrumb ── */
.pdp-breadcrumb {
    background: var(--navy-deep, #091a35);
    padding: 16px 0;
    margin-bottom: 28px;
}

    .pdp-breadcrumb .breadcrumb__wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .pdp-breadcrumb .breadcrumb__title_product {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        margin: 0;
    }

    .pdp-breadcrumb .breadcrumb__list_product {
        display: flex;
        align-items: center;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .pdp-breadcrumb .breadcrumb__item {
        font-size: 12.5px;
        color: rgba(255,255,255,0.5);
    }

        .pdp-breadcrumb .breadcrumb__item a {
            color: var(--teal, #2CB7C9);
            text-decoration: none;
            transition: color .2s;
        }

            .pdp-breadcrumb .breadcrumb__item a:hover {
                color: var(--gold, #C8A96A);
            }

        .pdp-breadcrumb .breadcrumb__item i {
            font-size: 10px;
            color: rgba(255,255,255,0.25);
        }

    .pdp-breadcrumb .breadcrumb__item-text {
        color: rgba(255,255,255,0.85);
        font-weight: 500;
    }

/* ── Toast (kept bootstrap classes, restyled) ── */
#toast .toast {
    border-radius: 12px !important;
    background: linear-gradient(120deg, var(--navy-deep, #091a35), var(--navy, #0F2747)) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
    font-family: 'Vazirmatn', sans-serif;
}

/* ── Gallery ── */
.pdp-gallery-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 30px rgba(15,39,71,0.06);
    border: 1px solid var(--gray-mid, #e8ecf2);
}

.details-main {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-bg, #f5f7fa) 0%, #eaf6f8 100%);
    aspect-ratio: 1 / 1;
    position: relative;
}

    .details-main .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .details-main .swiper-button-next,
    .details-main .swiper-button-prev {
        width: 34px;
        height: 34px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(15,39,71,0.15);
        color: var(--navy, #0F2747);
    }

        .details-main .swiper-button-next::after,
        .details-main .swiper-button-prev::after {
            font-size: 13px;
            font-weight: 900;
        }

.details-list {
    margin-top: 14px;
}

    .details-list .swiper-slide {
        width: 68px !important;
        height: 68px;
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid var(--gray-mid, #e8ecf2);
        cursor: pointer;
        opacity: .7;
        transition: border-color .2s, opacity .2s;
    }

        .details-list .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .details-list .swiper-slide-thumb-active,
        .details-list .swiper-slide:hover {
            border-color: var(--teal, #2CB7C9);
            opacity: 1;
        }

/* ── Info column ── */
.pdp-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 8px 30px rgba(15,39,71,0.06);
    border: 1px solid var(--gray-mid, #e8ecf2);
    height: 100%;
}

.pdp-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal-dark, #1d9aab);
    background: rgba(44,183,201,0.08);
    border: 1px solid rgba(44,183,201,0.2);
    padding: 6px 14px;
    border-radius: 100px;
}

.pdp-like-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-mid, #e8ecf2);
    background: var(--gray-bg, #F5F7FA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all .2s;
    color: var(--charcoal, #2B2B2B);
}

    .pdp-like-btn:hover {
        border-color: #e74c3c;
        background: rgba(231,76,60,0.06);
    }

    .pdp-like-btn.text-danger {
        border-color: #e74c3c;
        background: rgba(231,76,60,0.08);
    }

.pdp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.pdp-meta-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-text, #6b7b9a);
    background: var(--gray-bg, #F5F7FA);
    border: 1px solid var(--gray-mid, #e8ecf2);
    padding: 8px 14px;
    border-radius: 100px;
}

    .pdp-meta-chip i {
        color: var(--teal, #2CB7C9);
        font-size: 13px;
    }

    .pdp-meta-chip.pdp-share-chip {
        cursor: pointer;
        transition: all .2s;
    }

        .pdp-meta-chip.pdp-share-chip:hover {
            border-color: var(--gold, #C8A96A);
            color: var(--navy, #0F2747);
            background: rgba(200,169,106,0.08);
        }

.pdp-divider {
    border: none;
    border-top: 1px solid var(--gray-mid, #e8ecf2);
    margin: 20px 0;
}

.pdp-block-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy, #0F2747);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pdp-block-title::before {
        content: '';
        width: 3px;
        height: 14px;
        background: var(--teal, #2CB7C9);
        border-radius: 2px;
        display: inline-block;
    }

#CaptionPtoduct {
    font-size: 13px;
    line-height: 1.9;
    color: var(--gray-text, #6b7b9a);
}

.pdp-rating-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-bg, #F5F7FA);
    border-radius: 12px;
    padding: 12px 16px;
    width: fit-content;
}

#StarShape {
    color: var(--gold, #C8A96A);
    font-size: 15px;
    display: flex;
    gap: 2px;
    direction: ltr;
}

#NumberProductStar {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy, #0F2747);
}

/* ── Buy / properties box ── */
.pdp-buybox {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 34px rgba(15,39,71,0.08);
    border: 1px solid var(--gray-mid, #e8ecf2);
    position: relative;
    overflow: hidden;
}

    .pdp-buybox::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--gold, #C8A96A), var(--teal, #2CB7C9), var(--gold, #C8A96A));
    }

.pdp-buybox-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy, #0F2747);
    margin-bottom: 16px;
}

#PropertiesItem {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    #PropertiesItem > div {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        font-size: 12.5px;
        padding: 10px 0;
        border-bottom: 1px dashed var(--gray-mid, #e8ecf2);
        color: var(--charcoal, #2B2B2B);
    }

        #PropertiesItem > div:last-child {
            border-bottom: none;
        }

        #PropertiesItem > div strong {
            color: var(--gray-text, #6b7b9a);
            font-weight: 600;
        }

/* ── Video card ── */
.pdp-video-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15,39,71,0.06);
    border: 1px solid var(--gray-mid, #e8ecf2);
    margin-top: 24px;
}

    .pdp-video-card video {
        width: 100%;
        max-height: 480px;
        display: block;
        background: #000;
    }

/* ── Tabs ── */
.pdp-tabs-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px 26px 30px;
    box-shadow: 0 8px 30px rgba(15,39,71,0.06);
    border: 1px solid var(--gray-mid, #e8ecf2);
    margin-top: 30px;
}

#pills-tab {
    border-bottom: 1px solid var(--gray-mid, #e8ecf2);
    gap: 8px;
    padding-top: 6px;
}

    #pills-tab .nav-link {
        border: none;
        border-radius: 0;
        background: none;
        color: var(--gray-text, #6b7b9a);
        font-size: 13.5px;
        font-weight: 700;
        padding: 16px 6px;
        margin-left: 22px;
        border-bottom: 2px solid transparent;
        transition: color .2s, border-color .2s;
    }

        #pills-tab .nav-link.active {
            color: var(--navy, #0F2747);
            background: none;
            border-bottom-color: var(--teal, #2CB7C9);
        }

        #pills-tab .nav-link:hover {
            color: var(--teal-dark, #1d9aab);
        }

.tab-content {
    padding-top: 24px;
}

#PropertiesMenuPrc > div {
    display: flex;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 13px;
    border-bottom: 1px solid var(--gray-bg, #F5F7FA);
    color: var(--charcoal, #2B2B2B);
}

    #PropertiesMenuPrc > div strong {
        color: var(--gray-text, #6b7b9a);
        font-weight: 600;
    }

#CaptionMenu {
    font-size: 13.5px;
    line-height: 2;
    color: var(--gray-text, #6b7b9a);
}

/* ── Review / rating widget ── */
.vvn-rating-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--gray-bg, #F5F7FA);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
    width: fit-content;
}

#vvnVoteStars {
    display: flex;
    gap: 6px;
    direction: ltr;
}

.vvn-star {
    font-size: 22px;
    color: var(--gold, #C8A96A);
    cursor: pointer;
    transition: transform .15s;
}

    .vvn-star:hover {
        transform: scale(1.15);
    }

#vvnVoteNumber {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy, #0F2747);
}

#titleMsg {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-mid, #e8ecf2);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    margin-bottom: 6px;
    background: var(--gray-bg, #F5F7FA);
    outline: none;
    transition: border-color .2s;
}

    #titleMsg:focus {
        border-color: var(--teal, #2CB7C9);
        background: #fff;
    }

#TextMessage {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-mid, #e8ecf2);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    margin-bottom: 6px;
    background: var(--gray-bg, #F5F7FA);
    outline: none;
    resize: vertical;
    transition: border-color .2s;
}

    #TextMessage:focus {
        border-color: var(--teal, #2CB7C9);
        background: #fff;
    }

#TitleError, #DesError {
    font-size: 11.5px;
    color: #e74c3c;
    min-height: 16px;
    margin-bottom: 8px;
}

.pdp-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--navy, #0F2747), var(--navy-deep, #091a35));
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin: 4px 0 6px;
    transition: all .25s;
    width: fit-content;
}

    .pdp-send-btn:hover {
        background: linear-gradient(120deg, var(--gold, #C8A96A), var(--teal, #2CB7C9));
        color: var(--navy-deep, #091a35) !important;
        transform: translateY(-2px);
    }

#notifMessage {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--teal-dark, #1d9aab);
    min-height: 18px;
}

#MessageProduct {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.comment-item {
    background: var(--gray-bg, #F5F7FA);
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid var(--gray-mid, #e8ecf2);
}

    .comment-item > div:first-child p {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--navy, #0F2747);
        margin-bottom: 6px;
    }

    .comment-item img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 8px;
    }

    .comment-item p {
        font-size: 12.5px;
        color: var(--gray-text, #6b7b9a);
        line-height: 1.8;
        margin: 0 0 6px;
    }

    .comment-item .fa-star,
    .comment-item .fa-star-half-alt {
        color: var(--gold, #C8A96A);
        font-size: 12px;
    }

    .comment-item .fa-regular.fa-star {
        color: #dfe3e8;
        font-size: 12px;
    }

/* ── Section header for offer rows ── */
.pdp-section {
    margin-top: 36px;
}

.pdp-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .pdp-section-head h3 {
        font-size: 18px;
        font-weight: 800;
        color: var(--navy, #0F2747);
        margin: 0;
    }

    .pdp-section-head::before {
        content: '';
        width: 4px;
        height: 20px;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--gold, #C8A96A), var(--teal, #2CB7C9));
    }

@@media (max-width: 991px) {
    .pdp-buybox {
        margin-top: 20px;
    }
}

@@media (max-width: 768px) {
    .pdp-info-card, .pdp-buybox, .pdp-gallery-card {
        border-radius: 16px;
    }

    .pdp-tabs-card {
        padding: 6px 16px 22px;
    }

    #pills-tab .nav-link {
        margin-left: 10px;
        font-size: 12.5px;
        padding: 12px 4px;
    }
}

/* ── hero: soften the hard geometry ── */
#hero {
    background: radial-gradient(900px 700px at 88% 8%, rgba(44,183,201,0.16), transparent 60%), radial-gradient(700px 600px at 8% 95%, rgba(200,169,106,0.12), transparent 60%), var(--navy);
}

.hero-bg-shape {
    clip-path: none;
    border-radius: 42% 58% 65% 35% / 55% 40% 60% 45%;
    right: -6%;
    width: 52%;
    filter: blur(1px);
    opacity: 0.9;
}

.hero-gold-accent {
    opacity: 0.5;
    filter: blur(2px);
}

.hero-eyebrow {
    background: linear-gradient(120deg, rgba(200,169,106,0.14), rgba(44,183,201,0.1));
    border-color: rgba(200,169,106,0.45);
    color: var(--gold-light);
}

    .hero-eyebrow span {
        background: var(--gold);
        box-shadow: 0 0 10px var(--gold);
    }

.hero-title {
    letter-spacing: -0.3px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

    .hero-title em::after {
        height: 6px;
        bottom: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
        opacity: 0.65;
        filter: blur(0.5px);
    }

.hero-desc {
    border-right-color: transparent;
    position: relative;
    padding-right: 20px;
}

    .hero-desc::before {
        content: '';
        position: absolute;
        right: 0;
        top: 2px;
        bottom: 2px;
        width: 3px;
        background: linear-gradient(180deg, var(--gold), var(--teal));
        border-radius: 3px;
    }

.btn-primary {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 130%);
    box-shadow: 0 10px 30px rgba(44,183,201,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

    .btn-primary:hover {
        box-shadow: 0 18px 42px rgba(44,183,201,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    }

.btn-ghost {
    border-radius: 14px;
}

    .btn-ghost:hover {
        border-color: var(--gold);
    }

.hero-circle-bg {
    border-color: rgba(200,169,106,0.18);
    background: radial-gradient(circle, rgba(200,169,106,0.06) 0%, transparent 70%);
}

.hero-circle-inner {
    border-style: solid;
    border-color: rgba(200,169,106,0.3);
}

    .hero-circle-inner::before {
        box-shadow: 0 0 16px var(--gold), 0 0 30px rgba(200,169,106,0.4);
    }

.hero-product-card {
    border-radius: 20px;
    position: relative;
}

    .hero-product-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 16%;
        left: 16%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .hero-product-card:hover::before {
        opacity: 1;
    }

    .hero-product-card.featured {
        background: linear-gradient(135deg, rgba(200,169,106,0.16) 0%, rgba(44,183,201,0.12) 55%, rgba(15,39,71,0.7) 100%);
    }

/* ── trust bar ── */
.trust-bar {
    position: relative;
}

    .trust-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
    }

.trust-icon {
    border-radius: 14px;
}

/* ── section headers: recurring signature ── */
.section-eyebrow {
    position: relative;
    padding: 0 26px;
    letter-spacing: 4px;
}

    .section-eyebrow::before, .section-eyebrow::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 18px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold));
    }

    .section-eyebrow::before {
        right: 0;
    }

    .section-eyebrow::after {
        left: 0;
        background: linear-gradient(90deg, var(--gold), transparent);
    }

.section-title {
    position: relative;
}

#testimonials .section-eyebrow::before, #testimonials .section-eyebrow::after {
    background: linear-gradient(90deg, transparent, var(--teal));
}

/* ── categories ── */
.cat-card {
    border-radius: 24px;
    box-shadow: var(--ink-shadow);
}

    .cat-card::before {
        height: 3px;
        border-radius: 0 0 3px 3px;
    }

    .cat-card:hover {
        box-shadow: 0 22px 50px rgba(200,169,106,0.22);
    }

.cat-icon-wrap {
    border-radius: 40% 60% 55% 45% / 50%;
    box-shadow: 0 8px 20px rgba(200,169,106,0.15);
}

.cat-cta {
    color: var(--gold);
    font-weight: 600;
    transition: transform 0.25s;
    display: inline-block;
}

.cat-card:hover .cat-cta {
    transform: translateX(-4px);
}

/* ── products ── */
.filter-btn {
    border-radius: 100px;
}

    .filter-btn.active, .filter-btn:hover {
        background: linear-gradient(120deg, var(--navy), var(--navy-deep));
        border-color: var(--navy);
    }

.product-card {
    border-radius: 22px;
    box-shadow: 0 10px 34px rgba(15,39,71,0.06);
}

    .product-card:hover {
        box-shadow: 0 26px 60px rgba(15,39,71,0.14);
    }

.product-img {
    background: linear-gradient(135deg, var(--gray-bg) 0%, var(--teal-mist) 55%, var(--gold-mist) 100%);
}

.product-badge {
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.badge-sale {
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
}

.add-to-cart {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--navy));
}

    .add-to-cart:hover {
        background: linear-gradient(135deg, var(--gold), var(--teal));
        box-shadow: 0 10px 26px rgba(200,169,106,0.45);
    }

/* ── testimonials ── */
.testimonial-card {
    border-radius: 22px;
    border-top: 2px solid rgba(200,169,106,0.35);
}

    .testimonial-card:hover {
        border-color: rgba(200,169,106,0.6);
        box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    }

.quote-icon {
    color: rgba(200,169,106,0.45);
}

.author-avatar {
    box-shadow: 0 0 0 3px rgba(200,169,106,0.25);
}

/* ── about ── */
.about-main-block {
    border-radius: 46% 54% 62% 38% / 55% 42% 58% 45%;
    box-shadow: var(--ink-shadow);
}

.about-accent-block {
    border-radius: 40% 60% 55% 45% / 50%;
    box-shadow: 0 16px 40px rgba(44,183,201,0.25);
    border: 2px solid rgba(255,255,255,0.25);
}

.about-gold-dot {
    animation: pulse 2.4s infinite;
}

.feature-icon-wrap {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal-mist), var(--gold-mist));
}

/* ── contact ── */
.contact-form {
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15,39,71,0.1);
    position: relative;
    overflow: hidden;
}

    .contact-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
    }

.form-input, .form-textarea {
    border-radius: 14px;
}

    .form-input:focus, .form-textarea:focus {
        box-shadow: 0 0 0 4px rgba(200,169,106,0.14);
        border-color: var(--gold);
    }

.contact-icon {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.btn-submit {
    border-radius: 14px;
    background: linear-gradient(120deg, var(--navy), var(--teal-dark));
}

    .btn-submit:hover {
        background: linear-gradient(120deg, var(--teal), var(--gold));
    }

/* ── footer ── */
footer {
    position: relative;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
    }

.footer-col-title {
    position: relative;
    padding-right: 14px;
}

    .footer-col-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 6px;
        height: 6px;
        margin-top: -3px;
        background: var(--gold);
        border-radius: 2px;
        transform: rotate(45deg);
    }

.social-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--teal));
    border-color: transparent;
    transform: translateY(-2px);
}

/* ── modals ── */
.modal-box {
    border-radius: 26px;
    overflow: hidden;
}

    .modal-box::before {
        content: '';
        display: block;
        height: 4px;
        background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
    }

.auth-tab.active {
    background: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.otp-box:focus, .pmodal-thumb:hover {
    border-color: var(--gold);
}

.pmodal-thumb.active {
    border-color: var(--teal);
}

.pmodal-main-img {
    border-radius: 22px;
}

.pmodal-buy-btn {
    border-radius: 14px;
    background: linear-gradient(120deg, var(--teal), var(--navy));
}

    .pmodal-buy-btn:hover {
        background: linear-gradient(120deg, var(--gold), var(--teal));
    }

.like-btn, .share-btn {
    border-radius: 12px;
}

.review-avatar {
    box-shadow: 0 0 0 2px rgba(200,169,106,0.25);
}

/* ── toast ── */
.toast {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(200,169,106,0.2);
}

/* ═══════════════════════════════════════════════════════════
     ✦ رنگ‌آرایی جدید — جابه‌جایی نقش رنگ‌ها (همون ۶ رنگ اصلی)
     ذغالی  → پس‌زمینه بخش‌های تیره (هیرو / فوتر / نظرات)
     سرمه‌ای → دکمه‌های خرید و اکشن اصلی
     فیروزه‌ای → نشان‌های ویژه، تخفیف و لیبل‌ها
     طلایی  → رنگ لوکس غالب سایت: آیکون‌ها، خطوط، درخشش‌ها
     ═══════════════════════════════════════════════════════════ */
:root {
    --charcoal-deep: #181818;
}

/* dark sections: navy → ذغالی */
#hero {
    background: radial-gradient(900px 700px at 88% 8%, rgba(200,169,106,0.20), transparent 60%), radial-gradient(700px 600px at 8% 95%, rgba(44,183,201,0.12), transparent 60%), linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
}

.hero-bg-shape {
    background: linear-gradient(160deg, #3d3d3d 0%, var(--charcoal-deep) 100%);
}

.hero-gold-accent {
    border-right-color: rgba(200,169,106,0.22);
}

.hero-glow {
    background: radial-gradient(circle, rgba(200,169,106,0.12) 0%, transparent 65%);
}

footer {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
}

#testimonials {
    background: var(--charcoal);
}

.modal-overlay {
    background: rgba(24,24,24,0.78);
}

.mobile-nav-backdrop {
    background: rgba(24,24,24,0.6);
}

.toast {
    background: linear-gradient(120deg, var(--charcoal-deep), var(--charcoal));
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(200,169,106,0.25);
}

@media (max-width: 768px) {
    nav#mainNav {
        background: linear-gradient(175deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
    }
}

/* اکشن‌ها و دکمه‌های خرید: فیروزه‌ای → سرمه‌ای */
.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal-deep) 130%);
    box-shadow: 0 10px 30px rgba(15,39,71,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

    .btn-primary:hover {
        box-shadow: 0 18px 42px rgba(15,39,71,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
    }

.header-cta {
    background: var(--navy) !important;
}

    .header-cta:hover {
        background: var(--navy-deep) !important;
    }

.add-to-cart {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

    .add-to-cart:hover {
        background: linear-gradient(135deg, var(--gold), var(--navy));
        box-shadow: 0 10px 26px rgba(200,169,106,0.45);
    }

.pmodal-buy-btn {
    background: linear-gradient(120deg, var(--navy), var(--navy-deep));
    box-shadow: 0 8px 24px rgba(15,39,71,0.35);
}

    .pmodal-buy-btn:hover {
        background: linear-gradient(120deg, var(--gold), var(--navy));
    }

.btn-submit {
    background: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

    .btn-submit:hover {
        background: linear-gradient(120deg, var(--gold), var(--navy));
    }

.search-icon-btn {
    background: none;
}

    .search-icon-btn:hover {
        background: var(--navy-deep);
    }

.icon-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.review-submit-btn {
    background: var(--navy);
}

    .review-submit-btn:hover {
        background: var(--charcoal);
    }

/* نشان‌های ویژه/تخفیف و برچسب‌ها: طلایی → فیروزه‌ای */
.badge-sale {
    background: linear-gradient(120deg, var(--teal), var(--teal-dark));
}

.auth-btn {
    background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(44,183,201,0.35);
}

    .auth-btn:hover {
        box-shadow: 0 10px 26px rgba(44,183,201,0.5);
    }

/* طلایی به‌عنوان رنگ لوکس غالب — آیکون‌ها، حاشیه‌ها، درخشش‌ها */
.cat-card:hover {
    border-color: var(--gold);
}

.trust-icon svg {
    stroke: var(--gold);
}

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, var(--gold), var(--navy));
}

.cat-card:hover .cat-icon-wrap {
    background: linear-gradient(135deg, var(--gold), var(--navy));
    box-shadow: 0 10px 26px rgba(200,169,106,0.4);
}

.otp-box:focus, .search-input:focus, .search-input.expanded {
    border-color: var(--gold);
}

.social-auth-btn:hover {
    border-color: var(--gold);
}

.pmodal-thumb.active {
    border-color: var(--gold);
    background: rgba(200,169,106,0.1);
}

.user-chip-avatar {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--charcoal);
}

/* ═══════════════════════════════════════════════════════════
     ✦ رنگ‌آرایی جدید (نسخه دوم) — چیدمان دیگری از همون رنگ‌ها
     سرمه‌ای → پس‌زمینه بخش‌های تیره (کلاسیک و شیک، مثل نسخه اصلی)
     طلایی  → دکمه‌های خرید و اکشن اصلی (رنگ طلایی = وسوسه‌انگیز برای خرید)
     سرمه‌ای تیره → نشان‌های ویژه/تخفیف
     فیروزه‌ای → رنگ لوکس غالب: آیکون‌ها، خطوط، درخشش‌ها، متن طلاکوب می‌شه فیروزه‌کوب
     ═══════════════════════════════════════════════════════════ */

/* پس‌زمینه بخش‌های تیره: ذغالی → سرمه‌ای (برگشت به حس کلاسیک) */
#hero {
    background: radial-gradient(900px 700px at 88% 8%, rgba(44,183,201,0.18), transparent 60%), radial-gradient(700px 600px at 8% 95%, rgba(200,169,106,0.10), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.hero-bg-shape {
    background: linear-gradient(160deg, #1a3a6b 0%, var(--navy-deep) 100%);
}

.hero-glow {
    background: radial-gradient(circle, rgba(44,183,201,0.12) 0%, transparent 65%);
}

footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

#testimonials {
    background: var(--navy);
}

.modal-overlay {
    background: rgba(9,26,53,0.78);
}

.mobile-nav-backdrop {
    background: rgba(9,26,53,0.6);
}

.toast {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy));
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(44,183,201,0.2);
}

@media (max-width: 768px) {
    nav#mainNav {
        background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
    }
}

/* دکمه‌های خرید و اکشن اصلی: سرمه‌ای → طلایی (متن تیره برای خوانایی روی طلایی) */
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--charcoal);
    box-shadow: 0 10px 30px rgba(200,169,106,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--navy), var(--navy-deep));
        color: var(--white);
        box-shadow: 0 18px 42px rgba(15,39,71,0.4);
    }

.header-cta {
    background: linear-gradient(120deg, var(--gold), var(--gold-light)) !important;
    color: var(--charcoal) !important;
}

    .header-cta:hover {
        background: var(--navy) !important;
        color: var(--white) !important;
    }

.add-to-cart {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--charcoal);
}

    .add-to-cart:hover {
        background: linear-gradient(135deg, var(--navy), var(--navy-deep));
        color: var(--white);
        box-shadow: 0 10px 26px rgba(15,39,71,0.4);
    }

.pmodal-buy-btn {
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    color: var(--charcoal);
    box-shadow: 0 8px 24px rgba(200,169,106,0.35);
}

    .pmodal-buy-btn:hover {
        background: linear-gradient(120deg, var(--navy), var(--navy-deep));
        color: var(--white);
    }

.btn-submit {
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    color: var(--charcoal);
}

    .btn-submit:hover {
        background: linear-gradient(120deg, var(--navy), var(--navy-deep));
        color: var(--white);
    }

.search-icon-btn {
    color: var(--charcoal);
}

    .search-icon-btn:hover {
        color: var(--white);
    }

.icon-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

.review-submit-btn {
    background: var(--gold);
    color: var(--charcoal);
}

    .review-submit-btn:hover {
        background: var(--navy);
        color: var(--white);
    }

/* نشان‌های ویژه/تخفیف: فیروزه‌ای → سرمه‌ای تیره */
.badge-sale {
    background: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.auth-btn {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(15,39,71,0.35);
}

    .auth-btn:hover {
        box-shadow: 0 10px 26px rgba(15,39,71,0.5);
    }

/* رنگ لوکس غالب: طلایی → فیروزه‌ای */
.hero-title em, .stat-number, .about-accent-number, .pmodal-price-main, .price-main {
    background: linear-gradient(100deg, #6fd6e3 0%, var(--teal) 45%, var(--teal-dark) 75%, #6fd6e3 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--teal);
}

.price-main, .pmodal-price-main {
    background-image: linear-gradient(100deg, var(--navy) 0%, #1a3a6b 45%, var(--navy) 100%);
}

.section-eyebrow::before, .section-eyebrow::after {
    background: linear-gradient(90deg, transparent, var(--teal));
}

#testimonials .section-eyebrow::before, #testimonials .section-eyebrow::after {
    background: linear-gradient(90deg, transparent, var(--teal));
}

.hero-eyebrow {
    background: linear-gradient(120deg, rgba(44,183,201,0.16), rgba(200,169,106,0.06));
    border-color: rgba(44,183,201,0.5);
    color: var(--teal);
}

    .hero-eyebrow span {
        background: var(--teal);
        box-shadow: 0 0 10px var(--teal);
    }

.hero-desc::before {
    background: linear-gradient(180deg, var(--teal), var(--navy));
}

.hero-title em::after {
    background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
}

.quote-icon {
    color: rgba(44,183,201,0.5);
}

.testimonial-card {
    border-top-color: rgba(44,183,201,0.4);
}

    .testimonial-card:hover {
        border-color: rgba(44,183,201,0.65);
    }

.author-avatar {
    box-shadow: 0 0 0 3px rgba(44,183,201,0.3);
}

.about-gold-dot {
    background: var(--teal);
    box-shadow: 0 0 0 6px rgba(44,183,201,0.2);
}

.cat-card:hover {
    border-color: var(--teal);
}

.trust-icon svg {
    stroke: var(--teal);
}

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, var(--teal), var(--navy));
}

.cat-card:hover .cat-icon-wrap {
    background: linear-gradient(135deg, var(--teal), var(--navy));
    box-shadow: 0 10px 26px rgba(44,183,201,0.4);
}

.otp-box:focus, .search-input:focus, .search-input.expanded {
    border-color: var(--teal);
}

.social-auth-btn:hover {
    border-color: var(--teal);
}

.pmodal-thumb.active {
    border-color: var(--teal);
    background: rgba(44,183,201,0.1);
}

.user-chip-avatar {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
}

.contact-form::before, .modal-box::before, footer::before {
    background: linear-gradient(90deg, var(--teal), var(--navy), var(--teal));
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(44,183,201,0.14);
}

/* ─── RESPONSIVE: NEW COMPONENTS ─── */
@media (max-width: 768px) {
    .header-actions {
        gap: 8px;
        justify-content: left;
    }

    .search-input, .search-input.expanded, .search-input:focus {
        width: 40px;
    }

        .search-input:focus, .search-input.expanded {
            width: 160px;
        }

    .auth-btn span.auth-btn-text {
        display: none;
    }

    .auth-btn {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .pmodal-grid {
        grid-template-columns: 1fr;
    }

    .pmodal-gallery {
        padding: 24px;
    }

    .pmodal-main-img {
        height: 220px;
        font-size: 80px;
    }

    .pmodal-info {
        padding: 28px 24px;
    }

    .pmodal-tabs {
        padding: 0 20px;
        gap: 20px;
        overflow-x: auto;
    }

    .pmodal-tab-content {
        padding: 22px 20px 28px;
    }

    .review-text {
        padding-right: 0;
    }

    .search-results-panel {
        width: 260px;
    }

    .auth-modal {
        padding: 32px 22px 26px;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
/* ── Mega Menu Wrapper ── */
.nav-mega-wrap {
    position: relative;
}

/* دکمه trigger */
.mega-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 0;
    transition: color 0.2s;
}

    .mega-trigger:hover {
        color: var(--white);
    }

.mega-chevron {
    transition: transform 0.25s;
}

.mega-trigger.open .mega-chevron {
    transform: rotate(180deg);
}

/* پنل اصلی */
.mega-panel {
    position: fixed;
    top: 68px; /* ارتفاع header */
    right: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 2px solid var(--teal);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 220px 1fr;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow: hidden;
}

    .mega-panel.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* ── Sidebar ── */
.mega-sidebar {
    background: var(--gray-bg);
    border-left: 1px solid var(--gray-mid);
    padding: 10px 0;
    overflow-y: auto;
    display: block !important;
    max-height: calc(100vh - 68px);
}

.mega-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    cursor: pointer;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    position: relative;
    border-right: 3px solid transparent;
}

    .mega-cat-item:hover,
    .mega-cat-item.active {
        background: var(--white);
        color: var(--navy);
        border-right-color: var(--teal);
    }

    .mega-cat-item.active {
        font-weight: 700;
    }

.mega-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(44,183,201,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

    .mega-cat-icon img {
        height: 100%;
        object-fit: contain;
    }

.mega-cat-item.active .mega-cat-icon {
    background: linear-gradient(135deg, var(--teal), var(--navy));
}


.mega-cat-arrow {
    margin-right: auto;
    font-size: 13px;
    color: var(--gray-text);
    opacity: 0;
    transition: opacity 0.15s;
}

.mega-cat-item:hover .mega-cat-arrow,
.mega-cat-item.active .mega-cat-arrow {
    opacity: 1;
}

.user-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgb(18, 40, 69);
    border: 1px solid rgb(112, 100, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    direction: rtl;
    background: rgba(12, 10, 30, 0.95);
    border: 1px solid rgba(130, 80, 255, 0.3);
    border-radius: 14px;
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 999;
    &.open

{
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

}
/* ── Content Panel ── */
.mega-content {
    padding: 24px 28px;
    overflow-y: auto;
    max-height: calc(100vh - 68px);
}

.mega-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-mid);
}

.mega-content-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-view-all {
    font-size: 12px;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

    .mega-view-all:hover {
        color: var(--navy);
    }

/* گرید زیردسته‌ها */
.mega-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mega-sub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 14px;
    cursor: pointer;
    border: 1.5px solid var(--gray-mid);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
}

    .mega-sub-card:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 20px rgba(44,183,201,0.12);
        transform: translateY(-3px);
    }

.mega-sub-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44,183,201,0.1), rgba(200,169,106,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .mega-sub-card-icon img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

.mega-sub-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

.mega-sub-count {
    font-size: 11px;
    color: var(--gray-text);
}

/* Backdrop */
.mega-backdrop {
    position: fixed;
    inset: 0;
    top: 68px;
    background: rgba(9,26,53,0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

    .mega-backdrop.open {
        opacity: 1;
        visibility: visible;
    }
/* =============================================
   صفحه محصولات — استایل دیجیکالا/خانومی
   رنگ‌بندی سایت: Navy / Teal / Gold
   ============================================= */

/* ── Breadcrumb ── */
section.breadcrumb {
    background: var(--navy-deep, #091a35);
    padding: 14px 0;
    border-bottom: 1px solid rgba(44, 183, 201, 0.15);
    border-radius: 0;
}

.breadcrumb__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.breadcrumb__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

    .breadcrumb__item a {
        color: #2CB7C9;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb__item a:hover {
            color: #C8A96A;
        }

    .breadcrumb__item i {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.25);
    }

.breadcrumb__item-text {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ── Section Background ── */
.prompts-section {
    background: #F5F7FA;
    padding-top: 32px !important;
    padding-bottom: 60px !important;
}

/* ── Search Box ── */
.filter-box form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e8ecf2;
    border-radius: 10px;
    overflow: hidden;
    max-width: 520px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .filter-box form:focus-within {
        border-color: #2CB7C9;
        box-shadow: 0 0 0 3px rgba(44, 183, 201, 0.12);
    }

    .filter-box form input {
        flex: 1;
        border: none;
        outline: none;
        padding: 12px 16px;
        font-size: 14px;
        font-family: 'Vazirmatn', sans-serif;
        background: transparent;
        color: #2B2B2B;
        direction: rtl;
    }

        .filter-box form input::placeholder {
            color: #6b7b9a;
        }

    .filter-box form button {
        background: #2CB7C9;
        border: none;
        padding: 0 18px;
        height: 46px;
        color: #fff;
        font-size: 15px;
        cursor: default;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

/* ── Sidebar ── */
.filter-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Sort Card */
.sort-by {
    background: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #e8ecf2;
    font-size: 13px;
    color: #2B2B2B;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(15, 39, 71, 0.05);
}

.country__select_button {
    background: #0F2747 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-weight: 600 !important;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.2s;
}

    .country__select_button:hover,
    .country__select_button:focus {
        background: #1d9aab !important;
        box-shadow: none !important;
    }

    .country__select_button::after {
        border-top-color: rgba(255, 255, 255, 0.7) !important;
    }

.dropdown-menu {
    border-radius: 10px !important;
    border: 1px solid #e8ecf2 !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1) !important;
    padding: 6px !important;
    min-width: 160px !important;
    direction: rtl;
}

.dropdown-item {
    border-radius: 7px !important;
    font-size: 13px !important;
    font-family: 'Vazirmatn', sans-serif !important;
    padding: 9px 14px !important;
    color: #2B2B2B !important;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
    text-align: right;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: #F5F7FA !important;
        color: #0F2747 !important;
    }

/* Price Filter Card */
#filter-box1 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf2;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(15, 39, 71, 0.05);
}

    #filter-box1 h6 {
        font-size: 13px;
        font-weight: 700;
        color: #0F2747;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        #filter-box1 h6::before {
            content: '';
            display: inline-block;
            width: 3px;
            height: 14px;
            background: #2CB7C9;
            border-radius: 2px;
            flex-shrink: 0;
        }

/* Price Range Sliders */
.range_container {
    padding: 4px 0;
}

.sliders_control {
    position: relative;
    height: 34px;
    margin-bottom: 16px;
}

    .sliders_control input[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        position: absolute;
        width: 100%;
        height: 4px;
        border-radius: 4px;
        background: transparent;
        pointer-events: none;
        top: 50%;
        transform: translateY(-50%);
        outline: none;
        border: none;
    }

    .sliders_control .fromSlider {
        z-index: 1;
    }

    .sliders_control .toSlider {
        background: linear-gradient(to left, #e8ecf2 0%, #2CB7C9 0%);
        z-index: 2;
    }

    .sliders_control input[type="range"]::-webkit-slider-runnable-track {
        height: 4px;
        border-radius: 4px;
        background: transparent;
    }

    .sliders_control input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        border: 2.5px solid #2CB7C9;
        box-shadow: 0 2px 8px rgba(44, 183, 201, 0.35);
        cursor: pointer;
        pointer-events: all;
        transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
        margin-top: -7px;
    }

        .sliders_control input[type="range"]::-webkit-slider-thumb:hover {
            border-color: #0F2747;
            transform: scale(1.15);
            box-shadow: 0 4px 12px rgba(15, 39, 71, 0.25);
        }

    .sliders_control input[type="range"]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        border: 2.5px solid #2CB7C9;
        box-shadow: 0 2px 8px rgba(44, 183, 201, 0.35);
        cursor: pointer;
        pointer-events: all;
    }

.form_control {
    font-size: 12px;
    color: #6b7b9a;
    text-align: center;
    direction: rtl;
    background: #F5F7FA;
    border-radius: 8px;
    padding: 9px 14px;
    border: 1px solid #e8ecf2;
    line-height: 1.7;
}

    .form_control > span {
        font-weight: 500;
        color: #0F2747;
    }

.toInput,
.fromInput {
    font-weight: 700;
    color: #2CB7C9;
}

/* ── Product Cards ── */
.explore-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf2;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .explore-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 40px rgba(15, 39, 71, 0.1);
        border-color: #2CB7C9;
    }

/* Card Header */
.explore-item-header {
    padding: 10px 12px 8px;
    border-bottom: 1px solid #F5F7FA;
}

    .explore-item-header .explore-title {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .explore-item-header .explore-title img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            border-radius: 6px;
            background: #F5F7FA;
            padding: 3px;
        }

        .explore-item-header .explore-title p {
            margin: 0;
            font-size: 11px;
            color: #6b7b9a;
        }

.star-list {
    font-size: 12px;
    color: #C8A96A;
    display: flex;
    align-items: center;
    gap: 1px;
    direction: ltr;
}

/* Image Area */
.explore-img {
    position: relative;
    background: linear-gradient(135deg, #F5F7FA 0%, #e8f4f6 100%);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .explore-img .image-effect {
        margin: 0;
        overflow: hidden;
        display: block;
        height: 400px;
    }

        .explore-img .image-effect img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            display: block;
            transition: transform 0.35s ease;
            height: 100%;
        }

.explore-item:hover .explore-img .image-effect img {
    transform: scale(1.05);
}

/* Price Badge */
.featured-price {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: linear-gradient(120deg, #2CB7C9, #1d9aab);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(44, 183, 201, 0.35);
    direction: rtl;
    white-space: nowrap;
}

/* Heart / Like */
.heart-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    color: #6b7b9a;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid #e8ecf2;
    transition: background 0.2s, border-color 0.2s;
    z-index: 3;
    user-select: none;
}

    .heart-content:hover {
        background: #fff5f5;
        border-color: #ffb3c1;
    }

    .heart-content .fa-heart {
        font-size: 13px;
        transition: color 0.2s;
    }

.imge-company {
    width: 100%;
    margin-top: 280px;
}
/* Product Title */
.featured-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F2747;
    padding: 10px 12px 6px;
    margin: 0;
    line-height: 1.6;
    direction: rtl;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

/* Card Footer */
.explore-item-footer {
    padding: 10px 12px;
    border-top: 1px solid #F5F7FA;
    margin-top: auto;
}

    .explore-item-footer .explore-title {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #6b7b9a;
        cursor: pointer;
        transition: color 0.2s;
        user-select: none;
    }

        .explore-item-footer .explore-title:hover {
            color: #2CB7C9;
        }

.view-list {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7b9a;
}

/* Add to Cart */
.add-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0F2747, #091a35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    border: none;
}

    .add-cart-btn:hover {
        background: linear-gradient(135deg, #2CB7C9, #0F2747);
        transform: scale(1.1);
    }

/* ── Pagination ── */
.pagination {
    gap: 4px;
    flex-wrap: wrap;
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px;
    height: 36px;
    padding: 0 10px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e8ecf2 !important;
    background: #fff !important;
    color: #2B2B2B !important;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    box-shadow: none !important;
}

    .page-link:hover {
        border-color: #2CB7C9 !important;
        color: #2CB7C9 !important;
        background: rgba(44, 183, 201, 0.05) !important;
    }

    .page-link.active {
        background: #0F2747 !important;
        border-color: #0F2747 !important;
        color: #fff !important;
        box-shadow: 0 4px 12px rgba(15, 39, 71, 0.28) !important;
    }

/* ── Loading ── */
.custom-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.loading-ring {
    width: 44px;
    height: 44px;
    border: 3px solid #e8ecf2;
    border-top-color: #2CB7C9;
    border-radius: 50%;
    animation: productSpinner 0.75s linear infinite;
    margin-bottom: 16px;
}

@keyframes productSpinner {
    to {
        transform: rotate(360deg);
    }
}

.custom-loading h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0F2747;
    margin: 0 0 6px;
}

.custom-loading p {
    font-size: 12px;
    color: #6b7b9a;
    margin: 0;
}

/* spinner-border override */
.spinner-border.text-success {
    color: #2CB7C9 !important;
    border-color: #e8ecf2;
    border-top-color: #2CB7C9;
}

/* ── Toast ── */
#toast {
    z-index: 9999 !important;
}

    #toast .toast {
        border-radius: 10px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
        font-family: 'Vazirmatn', sans-serif;
    }

/* ── Empty / Error States ── */
.text-light {
    color: #0F2747 !important;
    font-size: 15px;
    font-weight: 700;
}

.text-muted {
    color: #6b7b9a !important;
    font-size: 13px;
}

.text-danger {
    color: #e74c3c !important;
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 8px;
    }
}

@media (max-width: 575px) {
    .explore-item-header {
        padding: 8px 10px 6px;
    }

    .featured-title {
        font-size: 12px;
        padding: 8px 10px 4px;
        min-height: 46px;
    }

    .explore-item-footer {
        padding: 8px 10px;
    }

    .featured-price {
        font-size: 10px;
        padding: 3px 8px;
    }

    .add-cart-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
/* ── Cat Cards — Organic Blob ── */
.cat-card {
    background: var(--gray-bg);
    border-radius: 46% 54% 62% 38% / 55% 42% 58% 45%;
    border: 1.5px solid transparent;
    padding: 38px 20px 30px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--ink-shadow);
    position: relative;
    transition: border-radius 0.55s cubic-bezier(.2,.9,.3,1.05), transform 0.4s cubic-bezier(.2,.9,.3,1.15), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

    .cat-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(44,183,201,0.1), rgba(200,169,106,0.12));
        opacity: 0;
        border-radius: inherit;
        transition: opacity 0.35s;
    }

    .cat-card:hover {
        border-radius: 38% 62% 45% 55% / 42% 58% 38% 62%;
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 28px 60px rgba(200,169,106,0.22), 0 0 0 2px rgba(44,183,201,0.4);
        border-color: rgba(44,183,201,0.55);
        background: var(--white);
    }

        .cat-card:hover::before {
            opacity: 1;
        }

    /* نقطه طلایی دکوراتیو */
    .cat-card .gold-dot {
        position: absolute;
        top: 18px;
        left: 18px;
        width: 10px;
        height: 10px;
        background: var(--gold);
        border-radius: 50%;
        box-shadow: 0 0 0 5px rgba(200,169,106,0.18);
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .cat-card:hover .gold-dot {
        opacity: 1;
    }

/* آیکون */
.cat-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 40% 60% 55% 45% / 50%;
    background: linear-gradient(135deg, rgba(200,169,106,0.14), rgba(44,183,201,0.08));
    border: 1.5px solid rgba(200,169,106,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(.2,.9,.3,1.2), border-radius 0.55s cubic-bezier(.2,.9,.3,1.05), box-shadow 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}

    .cat-icon-wrap img {
        width: 100%;
        height: 100%;
        display: block;
        transition: transform 0.45s cubic-bezier(.2,.9,.3,1.2);
    }

.cat-card:hover .cat-icon-wrap {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    border-color: var(--gold);
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 12px 30px rgba(200,169,106,0.42);
}

    .cat-card:hover .cat-icon-wrap img {
        transform: scale(1.08) rotate(6deg);
    }

/* متون */
.cat-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.cat-tagline {
    font-size: 11.5px;
    color: var(--gray-text);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cat-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.28s ease, color 0.25s;
}

.cat-card:hover .cat-cta {
    transform: translateX(-5px);
    color: var(--teal-dark);
}
/* ════════════════════════════════════════════
   BANNERS SECTION
   ════════════════════════════════════════════ */
.banners-section {
    padding: 28px 5% 36px;
    background: var(--gray-bg, #F5F7FA);
    direction: rtl;
}

.banners-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── ردیف چهار بنر ── */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    height: 500px;
}

/* ── کارت مشترک ── */
.banner-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 28px rgba(15, 39, 71, 0.10);
    border: 1.5px solid rgba(200, 169, 106, 0.18);
    transition: transform 0.32s cubic-bezier(.2,.9,.3,1.1), box-shadow 0.32s ease, border-color 0.25s ease;
    background: var(--navy, #0F2747);
}

    .banner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(15, 39, 71, 0.18), 0 0 0 2px rgba(44, 183, 201, 0.35);
        border-color: rgba(44, 183, 201, 0.55);
    }

/* بنر تکه */
.banner-item--full {
    border-radius: 18px;
}

/* ── figure / img ── */
.banner-fig {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.banner-item--quarter .banner-fig {
    aspect-ratio: 4 / 3;
    height: 500px;
}

.banner-item--full .banner-fig {
    aspect-ratio: 21 / 5; /* بنر عریض */
}

.banner-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(.2,.9,.3,1.1);
}

.banner-item:hover .banner-fig img {
    transform: scale(1.055);
}

/* ── درخشش شاین روی هاور ── */
.banner-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0) 70% );
    background-size: 220% 100%;
    background-position: 200% 0;
    transition: background-position 0.65s ease;
    pointer-events: none;
    z-index: 2;
}

.banner-item:hover .banner-shine {
    background-position: -40% 0;
}

/* ── خط گرادیان طلایی-فیروزه‌ای پایین بنر ── */
.banner-overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold, #C8A96A), var(--teal, #2CB7C9), var(--gold, #C8A96A));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.banner-item:hover .banner-overlay-bar {
    opacity: 1;
}

/* ── لینک ── */
.banner-link {
    display: block;
    text-decoration: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-item--quarter .banner-fig {
        aspect-ratio: 3 / 2;
    }

    .banner-item--full .banner-fig {
        aspect-ratio: 16 / 5;
    }
}

@media (max-width: 640px) {
    .banners-section {
        padding: 16px 4% 24px;
    }

    .banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .banners-inner {
        gap: 10px;
    }

    .banner-item {
        border-radius: 12px;
    }

    .banner-item--full {
        border-radius: 12px;
    }

        .banner-item--full .banner-fig {
            aspect-ratio: 16 / 6;
        }
}
/* ── Nav Dropdown ── */
.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    padding: 6px 0;
    font-family: 'Vazirmatn', sans-serif;
}

    .nav-dropdown-trigger:hover {
        color: var(--white);
    }

    .nav-dropdown-trigger .mega-chevron {
        transition: transform 0.25s;
    }

.nav-dropdown-wrap:hover .mega-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--gray-mid);
    box-shadow: 0 16px 48px rgba(9,26,53,0.18);
    padding: 6px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    overflow: hidden;
}

    .nav-dropdown::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--teal), var(--gold));
    }

    .nav-dropdown.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s, padding-right 0.15s;
}

    .nav-dropdown-item:hover {
        background: var(--gray-bg);
        color: var(--navy);
        padding-right: 18px;
    }

.nav-dropdown-arrow {
    font-size: 12px;
    color: var(--gray-text);
    opacity: 0.6;
    transition: opacity 0.15s;
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
    opacity: 1;
    color: var(--teal);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-mid);
    margin: 4px 0;
}

.nav-dropdown-all {
    color: var(--teal-dark);
    font-weight: 700;
}

    .nav-dropdown-all:hover {
        background: rgba(44,183,201,0.08);
        color: var(--teal-dark);
    }

.nav-simple-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s;
}

    .nav-simple-link:hover {
        color: var(--white);
    }

/* موبایل */
@media (max-width: 768px) {
    .nav-dropdown-wrap {
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
        padding: 16px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 15px;
        color: rgba(255,255,255,0.85);
        justify-content: space-between;
    }

        .nav-dropdown-trigger:hover {
            color: var(--gold);
        }

    .nav-dropdown {
        position: static;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        margin: 4px 0 8px;
        padding: 4px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

        .nav-dropdown::before {
            display: none;
        }

        .nav-dropdown.open {
            display: block;
        }

    .nav-dropdown-item {
        color: rgba(255,255,255,0.75);
        font-size: 13px;
    }

        .nav-dropdown-item:hover {
            background: rgba(255,255,255,0.07);
            color: var(--white);
            padding-right: 18px;
        }

    .nav-dropdown-divider {
        background: rgba(255,255,255,0.1);
    }

    .nav-dropdown-all {
        color: var(--teal);
    }

        .nav-dropdown-all:hover {
            background: rgba(44,183,201,0.12);
            color: var(--teal);
        }

    .nav-simple-link {
        width: 100%;
        padding: 16px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 15px;
        color: rgba(255,255,255,0.85);
    }
}
/* ── Show More Products Button ── */
.show-more-products {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    margin: 16px auto 0;
    width: fit-content;
    text-decoration: none;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .show-more-products::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, var(--navy), var(--navy-deep));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.35s cubic-bezier(.4,0,.2,1);
        z-index: 0;
    }

    .show-more-products:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }

    .show-more-products:hover {
        color: var(--white);
        border-color: var(--navy-deep);
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(15, 39, 71, 0.25);
    }

    .show-more-products::after {
        content: '←';
        font-size: 16px;
        position: relative;
        z-index: 1;
        transition: transform 0.25s ease;
    }

    .show-more-products span,
    .show-more-products {
        position: relative;
        z-index: 1;
    }

        .show-more-products:active {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(15, 39, 71, 0.2);
        }

/* ── Responsive ── */
@media (max-width: 768px) {
    .show-more-products {
        padding: 14px 36px;
        font-size: 13px;
        width: calc(100% - 32px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .show-more-products {
        padding: 13px 24px;
        font-size: 13px;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .banners-grid {
        grid-template-columns: 1fr;
    }

    .banner-item--quarter .banner-fig {
        aspect-ratio: 16 / 7;
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .mega-sub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* mega panel دیگه fixed نیست، داخل nav باز میشه */
    .mega-panel {
        position: static; /* ← مهم‌ترین تغییر */
        display: none; /* به جای opacity/visibility */
        grid-template-columns: 1fr;
        border-top: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        margin: 8px 0;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
    }

        .mega-panel.open {
            display: grid; /* ← وقتی open شد نمایش بده */
        }

    .mega-sidebar {
        display: flex;
        overflow-x: auto;
        padding: 10px 12px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        gap: 6px;
        max-height: unset;
        background: transparent;
    }

        .mega-sidebar::-webkit-scrollbar {
            display: none;
        }

    .mega-cat-item {
        border-radius: 20px;
        padding: 7px 14px;
        white-space: nowrap;
        flex-shrink: 0;
        border-right: none;
        border: 1.5px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.75);
        background: transparent;
    }

        .mega-cat-item.active {
            background: var(--teal);
            color: var(--white);
            border-color: var(--teal);
        }

    .mega-cat-icon {
        display: none; /* تو موبایل آیکون نشون نده */
    }

    .mega-cat-arrow {
        display: none;
    }

    .mega-content {
        padding: 12px;
        max-height: 260px;
        overflow-y: auto;
        background: transparent;
    }

    .mega-content-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .mega-content-title {
        color: rgba(255,255,255,0.9);
    }

    .mega-view-all {
        color: var(--teal);
    }

    .mega-sub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mega-sub-card {
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.85);
    }

        .mega-sub-card:hover {
            border-color: var(--teal);
            background: rgba(44,183,201,0.15);
        }

    .mega-sub-name {
        color: rgba(255,255,255,0.9);
    }

    /* backdrop فقط desktop */
    .mega-backdrop {
        display: none;
    }

    /* trigger داخل منوی موبایل */
    .mega-trigger {
        width: 100%;
        padding: 16px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.85);
        font-size: 15px;
        justify-content: flex-start;
    }
}

.nav-user {
    height: 40px;
    width: 15%;
}

.user-info {
    padding: 10px 12px 12px;
    border-bottom: 1px solid rgba(130,80,255,0.15);
    margin-bottom: 6px;
    .name

{
    font-size: 14px;
    font-weight: 600;
    color: #e0d0ff;
}

.role {
    font-size: 11px;
    color: rgba(179,136,255,0.6);
    margin-top: 2px;
}

}


.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    color: #c9b8f0;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.15s;
    &:hover

{
    background: rgba(130,80,255,0.15);
    color: #e8d8ff;
}

svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}


&.admin {
    color: #ffb74d;
    &:hover

{
    background: rgba(255,183,77,0.1);
}

}
}

.divider {
    height: 1px;
    background: rgba(130,80,255,0.15);
    margin: 6px 0;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #ff6b8a;
    font-size: 13px;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.15s;
    &:hover

{
    background: rgba(255,107,138,0.12);
}

svg {
    width: 16px;
    height: 16px;
    stroke: #ff6b8a;
}
