/* ==========================================================================
   فونت‌ها
   ========================================================================== */
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/webfonts/Vazir-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   متغیرهای سیستم و تم‌ها (تجمیع شده)
   ========================================================================== */
/* مقادیر پیش‌فرض و تم تاریک */
:root, [data-theme="dark"], .dark, .dark-mode {
    /* پالت رنگی مشکی مطلق */
    --accent-gold: #ffffff; /* تغییر به سفید برای مینیمالیسم یا کد دلخواه */
    --accent-gold-hover: #cccccc;

    --bg-main: #000000; /* مشکی خالص */
    --text-main: #ffffff;
    --text-muted: #888888;

    /* شیشه مات (حس عمق در مشکی) */
    --header-glass: rgba(10, 10, 10, 0.9);
    --border-glass: rgba(255, 255, 255, 0.08);
    --card-glass: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --inner-bg: rgba(255, 255, 255, 0.05);

    /* حذف هاله‌های نوری رنگی برای حفظ ظاهر مینیمال */
    --orb-1: rgba(255, 255, 255, 0.03);
    --orb-2: rgba(255, 255, 255, 0.01);

    --bg-glass: rgba(255, 255, 255, 0.02);
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --divider-base: rgba(255, 255, 255, 0.1);

    /* سایه کارت‌ها (سیاه‌تر) */
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.8);
}

/* تم روشن (حفظ اصالت تم لایت) */
body.light-theme, [data-theme="light"], .light, .light-mode {
    --bg-main: #ffffff;
    --text-main: #000000;
    --text-muted: #666666;
    --header-glass: rgba(255, 255, 255, 0.9);
    --card-glass: #f9f9f9;
    --card-border: rgba(0, 0, 0, 0.08);
    --inner-bg: #f0f0f0;
    --orb-1: rgba(0, 0, 0, 0.02);
    --orb-2: rgba(0, 0, 0, 0.01);

    --bg-glass: rgba(0, 0, 0, 0.02);
    --bg-card: #ffffff;
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #000000;
    --text-secondary: #555555;
    --divider-base: rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* تم روشن - اصلاح شده برای تضاد نرم */
body.light-theme, [data-theme="light"], .light, .light-mode {
    --bg-main: #fcfcfc; /* سفید کاملاً خنثی */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --header-glass: rgba(255, 255, 255, 0.9);
    --card-glass: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --inner-bg: #f8fafc;
    --orb-1: rgba(197, 160, 89, 0.05);
    --orb-2: rgba(203, 213, 225, 0.3);

    --bg-glass: rgba(241, 245, 249, 0.5);
    --bg-card: #ffffff;
    --border-glass: rgba(0, 0, 0, 0.05);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --divider-base: rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not(.light):not(.light-mode) {
        --bg-glass: rgba(255, 255, 255, 0.04);
        --bg-card: rgba(255, 255, 255, 0.05);
        --border-glass: rgba(255, 255, 255, 0.1);
        --text-primary: #ffffff;
        --text-secondary: #dddddd;
        --divider-base: rgba(255, 255, 255, 0.08);
        --shadow-hover: rgba(0, 0, 0, 0.4);
    }
}

/* ==========================================================================
   تنظیمات پایه و عمومی
   ========================================================================== */
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* لوگو تم */
.main-logo { filter: invert(1) brightness(1.8); transition: filter 0.4s ease; }
.logo-light-mode { display: none; }
.logo-dark-mode { display: inline-block; }

/* ==========================================================================
   اختصاصی تم روشن (تجمیع شده)
   ========================================================================== */
body.light-theme .text-white,
body.light-theme .brand-logo,
body.light-theme .nav-link-glass,
body.light-theme .title-glass,
body.light-theme .footer-title,
body.light-theme .menu-title { color: #0f172a !important; }

body.light-theme .text-white-50 { color: #334155 !important; }
body.light-theme .text-muted,
body.light-theme .footer-links a,
body.light-theme .close-menu-btn { color: #475569 !important; }

body.light-theme .bg-black { background-color: rgba(0, 0, 0, 0.05) !important; }
body.light-theme .border-secondary { border-color: rgba(0, 0, 0, 0.1) !important; }
body.light-theme .brand-icon { background: #0f172a; }
body.light-theme .main-logo { filter: invert(0) brightness(1); }
body.light-theme .logo-light-mode { display: inline-block; }
body.light-theme .logo-dark-mode { display: none; }

body.light-theme .btn-eye-glass { background: rgba(0,0,0,0.05); color: #0f172a; border-color: rgba(0,0,0,0.1); }
body.light-theme .btn-eye-glass:hover { background: #0f172a; color: #fff; }
body.light-theme .badge-cat-glass { background: rgba(255,255,255,0.9); color: #b3922e; }
body.light-theme .search-input-glass::placeholder,
body.light-theme .nl-input-glass::placeholder { color: #64748b !important; }

body.light-theme .footer-glass { background: linear-gradient(to bottom, #e2e8f0, #cbd5e1); border-top-color: rgba(212, 175, 55, 0.5); color: #334155; }
body.light-theme .footer-links a:hover { color: var(--accent-gold); }
body.light-theme .nl-input-glass { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); color: #0f172a; }
body.light-theme .trust-box { background: rgba(255, 255, 255, 0.5); border-color: rgba(0, 0, 0, 0.06); }
body.light-theme .footer-bottom-glass { background: #cbd5e1; border-top-color: rgba(0, 0, 0, 0.08); }
body.light-theme .social-glass a { background: rgba(0, 0, 0, 0.05); color: #0f172a; border-color: rgba(0, 0, 0, 0.1); }
body.light-theme .social-glass a:hover { background: var(--accent-gold); color: #000; }

body.light-theme .hamburger-menu-btn { color: #0f172a; border-color: rgba(15, 23, 42, 0.15); }
body.light-theme .mobile-menu-sidebar-glass { background: rgba(255, 255, 255, 0.94) !important; border-left: 1px solid rgba(15, 23, 42, 0.08) !important; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.06); }
body.light-theme .mobile-nav-link { color: #1e293b; }
body.light-theme .mobile-nav-link i { color: #475569; }
body.light-theme .mobile-menu-header { border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
body.light-theme .mobile-nav-link:hover { background: rgba(15, 23, 42, 0.04); color: #0f172a; }
body.light-theme .mobile-nav-link:hover i { color: #0f172a; }

/* ==========================================================================
   کامپوننت‌ها (هدر، جستجو، دکمه‌ها و ...)
   ========================================================================== */
.top-bar-glass { background-color: var(--inner-bg); color: var(--text-muted); font-size: 0.8rem; padding: 8px 0; border-bottom: 1px solid var(--border-glass); }
.top-bar-glass i { color: var(--accent-gold); }

.main-header-glass {
    background: var(--header-glass); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass); position: sticky; top: 0; z-index: 1000; padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: background 0.4s;
}

.brand-logo { color: var(--text-main); text-decoration: none; font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.brand-icon {
    background: rgb(232, 232, 232); color: var(--accent-gold); width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid rgba(212, 175, 55, 0.3);
}

.search-glass { position: relative; max-width: 500px; width: 100%; }
.search-input-glass {
    background: var(--inner-bg); border: 1px solid var(--border-glass); color: var(--text-main);
    border-radius: 30px; padding: 10px 20px 10px 50px; width: 100%; transition: 0.3s;
}
.search-input-glass:focus { outline: none; background: var(--card-glass); border-color: var(--accent-gold); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
.search-input-glass::placeholder { color: rgba(255, 255, 255, 0.4); }

.search-btn-glass {
    position: absolute; left: 5px; top: 50%; transform: translateY(-50%); background: var(--accent-gold);
    color: #000; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; transition: 0.3s;
}
.search-btn-glass:hover { background: var(--accent-gold-hover); box-shadow: 0 0 10px var(--accent-gold); }

.action-btn-glass {
    background: var(--inner-bg); border: 1px solid var(--border-glass); color: var(--text-main);
    width: 45px; height: 45px; border-radius: 12px; display: inline-flex; align-items: center;
    justify-content: center; position: relative; text-decoration: none; transition: 0.3s; font-size: 1.2rem;
}
.action-btn-glass:hover { background: var(--accent-gold); color: #000; border-color: var(--accent-gold); }

.badge-gold { position: absolute; top: -6px; right: -6px; background: #ff3d00; color: #fff; font-size: 0.7rem; font-weight: bold; padding: 3px 6px; border-radius: 10px; border: 2px solid var(--bg-main); }
.badge-gold-dynamic { position: absolute; top: -5px; left: -5px; background-color: var(--accent-gold, #ffc107); color: #000; font-size: 11px; font-weight: bold; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }

.btn-login-glass { border: 1px solid var(--accent-gold); color: var(--accent-gold); border-radius: 30px; padding: 8px 20px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-login-glass:hover { background: var(--accent-gold); color: #000; box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }

.nav-glass { background: var(--inner-bg); border-bottom: 1px solid var(--border-glass); }
.nav-link-glass { color: var(--text-main) !important; font-weight: 500; font-size: 0.9rem; padding: 12px 20px !important; transition: 0.3s; }
.nav-link-glass:hover { color: var(--accent-gold) !important; }
.nav-link-glass i { color: var(--accent-gold); margin-left: 5px; }

/* افکت‌های نوری (Orbs) */
.ambient-light { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); transition: background 0.5s; }
.orb-1 { width: 400px; height: 400px; background: var(--orb-1); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--orb-2); bottom: -150px; right: -100px; }

/* Divider Smart */
.divider-smart { position: relative; height: 1px; border-radius: 10px; background: linear-gradient(90deg, transparent, var(--divider-base), transparent); }
.divider-smart::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100px; height: 2px; border-radius: 10px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); opacity: 0.6; }

/* ==========================================================================
   ویجت‌ها، کارت‌ها و اسلایدرها
   ========================================================================== */
.top-info-bar { padding: 10px 15px; border-radius: 16px; background: var(--bg-glass); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); }
.top-info-inner { display: flex; justify-content: space-around; align-items: center; }
.info-item { display: flex; align-items: center; gap: 6px; color: #959494; font-size: 0.8rem; transition: 0.3s; }
.info-item i { color: var(--accent-gold); font-size: 1rem; }
.info-item:hover { color: var(--text-primary); transform: translateY(-2px); }

.glass-panel { background: var(--card-glass); border: 1px solid var(--card-border); border-radius: 24px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: background 0.4s, border 0.4s; }
.main-img-box { background: var(--inner-bg); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; height: 400px; display: flex; align-items: center; justify-content: center; }
.main-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

.thumb-img { border: 2px solid transparent; border-radius: 10px; cursor: pointer; overflow: hidden; background: var(--inner-bg); opacity: 0.6; transition: 0.3s; height: 80px; }
.thumb-img.active, .thumb-img:hover { border-color: var(--accent-gold); opacity: 1; }

.product-meta { font-size: 0.85rem; color: var(--text-muted); }
.product-meta strong { color: var(--text-main); }

.btn-gold-action { background: linear-gradient(135deg, var(--accent-gold), #b3922e); color: #000; font-weight: bold; border: none; padding: 14px 30px; border-radius: 14px; transition: all 0.3s; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2); }
.btn-gold-action:hover { background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold)); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); color: #000; transform: translateY(-2px); }

.star-rating-form { direction: ltr; display: inline-flex; gap: 5px; }
.star-rating-form i { font-size: 1.5rem; color: var(--border-glass); cursor: pointer; transition: 0.2s; }
.star-rating-form i:hover, .star-rating-form i.active { color: var(--accent-gold); text-shadow: 0 0 8px rgba(212, 175, 55, 0.5); }

.review-box { background: var(--inner-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; }

/* Product Cards */
.product-card-glass { background: var(--card-glass); border: 1px solid var(--card-border); border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; }
.product-card-glass:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.05); }

.img-box-glass { position: relative; height: 220px; overflow: hidden; background: rgba(0,0,0,0.2); }
.img-box-glass img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card-glass:hover .img-box-glass img { transform: scale(1.08); }

.badge-discount-glass { position: absolute; top: 10px; right: 10px; background: #ff3d00; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; z-index: 2; box-shadow: 0 4px 10px rgba(255, 61, 0, 0.3); }
.badge-cat-glass { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.6); border: 1px solid var(--accent-gold); color: var(--accent-gold); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; z-index: 2; backdrop-filter: blur(4px); }

.info-glass { padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.title-glass { font-size: 0.95rem; font-weight: bold; color: #fff; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; min-height: 42px; transition: color 0.3s; }
.title-glass:hover { color: var(--accent-gold); }

.btn-gold-glass { background: var(--accent-gold); color: #000; border: none; border-radius: 12px; font-weight: bold; padding: 8px 0; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 5px; }
.btn-gold-glass:hover:not([disabled]) { background: var(--accent-gold-hover); box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); color: #000; }
.btn-eye-glass { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; width: 42px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.btn-eye-glass:hover { background: #fff; color: #000; }
.is-out-of-stock { opacity: 0.6; filter: grayscale(80%); }
.is-out-of-stock:hover { transform: none; box-shadow: none; border-color: var(--card-border); }

/* Hero Slider */
.hero-clean-slide { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.hero-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-clean-overlay { position: absolute; inset: 0;  z-index: 1; }
.hero-clean-content { position: absolute; bottom: 16px; right: 16px; left: 16px; color: #fff; z-index: 2; }
.hero-clean-content h2 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.hero-clean-content p  { font-size: 0.75rem; color: #ddd; margin: 0; }
.hero-clean-slider .swiper-pagination-bullet { background: rgba(255,255,255,0.5); }
.hero-clean-slider .swiper-pagination-bullet-active { background: var(--accent-gold); }

/* Discount Cards */
.discount-card-link { text-decoration: none; color: inherit; display: block; }
.discount-card { border-radius: 14px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-glass); transition: all 0.3s ease; position: relative; }
.discount-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--shadow-hover); }
.discount-badge { position: absolute; top: 8px; right: 8px; background: #ff3d3d; color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 50px; z-index: 2; font-weight: 700; }
.discount-img { width: 100%; height: 140px; object-fit: cover; }
.discount-body { padding: 10px; }
.discount-title { font-size: 13px; font-weight: 600; height: 38px; overflow: hidden; line-height: 1.5; margin-bottom: 6px; color: var(--text-primary); }
.discount-price del { font-size: 11px; color: #999; display: block; }
.discount-price .new { font-size: 14px; font-weight: bold; color: #cc6903; }
.view-btn { margin-top: 8px; background: linear-gradient(135deg, #d4af37, #f9e27d); color: #000; text-align: center; padding: 7px; border-radius: 8px; font-size: 12px; font-weight: 600; }

/* Category Nav */
.cat-nav-wrapper { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 18px; padding: 14px 16px; backdrop-filter: blur(10px); }
.cat-nav-scroll { display: flex; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
.cat-nav-scroll::-webkit-scrollbar { display: none; }
.cat-pill { display: inline-flex; align-items: center; white-space: nowrap; gap: 5px; padding: 7px 15px; border-radius: 50px; font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border-glass); text-decoration: none; transition: all 0.25s ease; flex-shrink: 0; cursor: pointer; }
.cat-pill:hover { border-color: var(--accent-gold); color: var(--accent-gold); transform: translateY(-1px); }
.cat-pill.active, .cat-pill.parent-active { background: linear-gradient(135deg, #d4af37, #f1d77a); color: #111 !important; border-color: transparent; font-weight: 700; box-shadow: 0 4px 14px rgba(212,175,55,0.35); }
.cat-pill .cat-arrow { font-size: 0.65rem; transition: transform 0.3s; }
.cat-pill.active .cat-arrow, .cat-pill.parent-active .cat-arrow { transform: rotate(180deg); }
.cat-pill-img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.cat-sub-row { display: none; gap: 7px; overflow-x: auto; flex-wrap: nowrap; padding-top: 12px; margin-top: 10px; border-top: 1px solid var(--border-glass); scrollbar-width: none; animation: fadeSlide 0.25s ease; }
.cat-sub-row::-webkit-scrollbar { display: none; }
.cat-sub-row.visible { display: flex; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.cat-sub-pill { display: inline-flex; align-items: center; white-space: nowrap; padding: 5px 13px; border-radius: 50px; font-size: 0.78rem; color: var(--text-secondary); background: var(--bg-glass); border: 1px solid var(--border-glass); text-decoration: none; transition: all 0.2s ease; flex-shrink: 0; }
.cat-sub-pill:hover { color: var(--accent-gold); border-color: rgba(212,175,55,0.4); }
.cat-sub-pill.active { background: rgba(212,175,55,0.15); color: var(--accent-gold); border-color: rgba(212,175,55,0.5); font-weight: 600; }

.btn-view-product { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #fff, #f9fafb); border: 1px solid var(--border-glass); color: orange; font-size: 13px; font-weight: 600; transition: all 0.2s ease; }
.btn-view-product:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); color: red; }
.btn-view-product i { font-size: 15px; color: #ff6200; }
.btn-view-product.disabled { pointer-events: none; opacity: 0.5; background: #f3f4f6; color: #aaa; }

/* Exclusive Slider Section */
.exclusive-slider-section { margin-top: 2.5rem; margin-bottom: 2.5rem; padding: 2rem 0; background: linear-gradient(135deg, rgba(212,175,55,0.04) 0%, rgba(150,150,150,0.02) 100%); backdrop-filter: blur(20px); border-top: 1px solid rgba(212,175,55,0.05); border-bottom: 1px solid rgba(212,175,55,0.05); border-radius: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.exclusive-slider-section .swiper { padding-left: 16px; padding-right: 16px; }
.exclusive-title-wrapper { text-align: center; margin-bottom: 2rem; position: relative; z-index: 2; }
.exclusive-title { font-size: 1.3rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 8px; text-shadow: 0 2px 8px rgba(212,175,55,0.15); }
.exclusive-title-line { width: 45px; height: 2px; background: var(--accent-gold); margin: 0 auto; border-radius: 10px; }
.exclusive-card { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); backdrop-filter: blur(12px); border-radius: 16px; border: 1px solid rgba(212,175,55,0.12); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all 0.3s ease; }
.exclusive-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.4); box-shadow: 0 10px 25px rgba(212,175,55,0.12); }
.exclusive-img-box { position: relative; width: 100%; height: 190px; padding: 12px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 80%); }
.exclusive-img-box img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.exclusive-card:hover .exclusive-img-box img { transform: scale(1.05); }
.exclusive-badge-discount { position: absolute; top: 10px; right: 10px; background: #e63946; color: #fff; padding: 3px 9px; border-radius: 50px; font-weight: 700; font-size: 0.72rem; }
.exclusive-badge-cat { position: absolute; top: 10px; left: 10px; background: rgba(120,120,120,0.18); backdrop-filter: blur(6px); color: var(--accent-gold); padding: 3px 8px; border-radius: 6px; font-size: 0.68rem; border: 1px solid rgba(212,175,55,0.25); }
.exclusive-info { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.exclusive-title-link { font-size: 0.9rem; font-weight: 600; color: inherit; text-decoration: none; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.25s; }
.exclusive-title-link:hover { color: var(--accent-gold); }
.exclusive-price-box { background: rgba(150,150,150,0.05); border: 1px dashed rgba(150,150,150,0.2); border-radius: 10px; padding: 8px; text-align: center; margin-top: auto; margin-bottom: 10px; }
.exclusive-btn { display: block; width: 100%; text-align: center; background: var(--accent-gold); color: #000; font-weight: 700; padding: 9px; border-radius: 10px; text-decoration: none; font-size: 0.85rem; transition: all 0.25s ease; }
.exclusive-btn:hover { background: #e3bb3c; box-shadow: 0 0 15px rgba(212,175,55,0.35); }
.exclusive-btn.disabled { background: rgba(150,150,150,0.2); opacity: 0.5; pointer-events: none; }

.club-box { border-radius: 20px; background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-glass); padding: 18px; transition: 0.3s; }
.banner-center-box { position: relative; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.banner-center-box:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.banner-center-img { width: 100%; height: auto; object-fit: cover; display: block; }

/* ==========================================================================
   فوتر (Footer)
   ========================================================================== */
.footer-glass { background: linear-gradient(to bottom, #0b1121, #060a14); border-top: 2px solid rgba(212, 175, 55, 0.3); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; position: relative; overflow: hidden; margin-top: 80px; transition: background 0.4s, color 0.4s; }
.footer-top { padding: 70px 0 40px; position: relative; z-index: 2; }
.footer-title { color: #fff; font-size: 1.15rem; font-weight: bold; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; }
.footer-title::before { content: ''; display: inline-block; width: 12px; height: 12px; background: var(--accent-gold); border-radius: 3px; transform: rotate(45deg); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; }
.footer-links a::before { content: '\F284'; font-family: 'bootstrap-icons'; font-size: 0.7rem; margin-left: 8px; color: var(--accent-gold); opacity: 0; transform: translateX(10px); transition: 0.3s; }
.footer-links a:hover { color: var(--accent-gold); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-newsletter { position: relative; }
.nl-input-glass { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; color: #fff; height: 50px; padding: 10px 130px 10px 20px; width: 100%; transition: 0.3s; }
.nl-input-glass:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--accent-gold); outline: none; }
.nl-btn-glass { position: absolute; left: 5px; top: 5px; bottom: 5px; background: var(--accent-gold); color: #000; border: none; border-radius: 25px; padding: 0 25px; font-weight: bold; transition: 0.3s; }
.nl-btn-glass:hover { background: var(--accent-gold-hover); box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
.trust-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 15px; display: flex; justify-content: center; gap: 15px; backdrop-filter: blur(5px); }
.trust-box img { height: 70px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); transition: 0.3s; cursor: pointer; }
.trust-box img:hover { transform: scale(1.05); }
.footer-bottom-glass { background: #03050a; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2; }
.social-glass a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.05); color: #fff; border-radius: 50%; margin: 0 5px; text-decoration: none; transition: 0.3s; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-glass a:hover { background: var(--accent-gold); color: #000; border-color: var(--accent-gold); transform: translateY(-3px); }

/* Theme Switcher */
.theme-switcher-btn { position: fixed; bottom: 30px; left: 30px; z-index: 9999; width: 55px; height: 55px; background: var(--card-glass); border: 2px solid var(--accent-gold); color: var(--accent-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.4s ease; }
.theme-switcher-btn:hover { transform: scale(1.1) rotate(30deg); background: var(--accent-gold); color: #000; box-shadow: 0 0 20px var(--accent-gold); }

/* ==========================================================================
   جستجوی هوشمند و منوی موبایل
   ========================================================================== */
.search-results-dropdown { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09); z-index: 999; max-height: 460px; overflow-y: auto; margin-top: 8px; padding: 4px 0; }
.search-result-item { padding: 12px 18px; color: #3a3a3a; transition: all 0.2s ease-in-out; border-bottom: 1px solid rgba(0, 0, 0, 0.015); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(0, 98, 255, 0.03); padding-right: 22px; }
.search-product-img-wrapper { width: 50px; height: 50px; min-width: 50px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, 0.04); }
.search-product-img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.product-title-text { font-size: 0.88rem; font-weight: 500; color: #333; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-price-wrapper { min-width: 110px; }
.main-price-search { font-size: 0.92rem; font-weight: 700; color: #000; margin-top: 2px; }
.currency-text { font-size: 0.7rem; font-weight: 400; color: #777; margin-right: 2px; }
.old-price-search { font-size: 0.78rem; color: #bbb; }

.font-11 { font-size: 11px !important; padding: 3px 6px !important; }
.font-12 { font-size: 12px; }
.font-md-1 { font-size: 1rem !important; }
.search-item-loading, .search-item-empty, .search-item-error { padding: 20px; color: #6c757d; font-size: 0.85rem; text-align: center; }
.search-cart-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; }

.hamburger-menu-btn { height: 42px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.5rem; padding: 0 12px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.hamburger-menu-btn:hover { background: rgba(255, 255, 255, 0.15); }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); z-index: 1040; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu-sidebar-glass { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(20px); border-left: 1px solid rgba(255, 255, 255, 0.06); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3); z-index: 1050; display: flex; flex-direction: column; padding: 20px; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-menu-sidebar-glass.active { right: 0; }
.mobile-menu-header { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 15px; margin-bottom: 20px; }
.menu-title { font-size: 1rem; font-weight: 700; color: #fff; }
.close-menu-btn { background: none; border: none; font-size: 1.2rem; color: #aaa; cursor: pointer; transition: color 0.2s; }
.close-menu-btn:hover { color: #e63946; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #ddd; font-size: 0.92rem; font-weight: 500; text-decoration: none; border-radius: 10px; transition: all 0.2s ease; }
.mobile-nav-link i { font-size: 1.15rem; color: #aaa; }
.mobile-nav-link:hover { background: rgba(212, 175, 55, 0.08); color: var(--accent-gold); padding-right: 22px; }
.mobile-nav-link:hover i { color: var(--accent-gold); }

/* ==========================================================================
   طراحی ریسپانسیو (مدیا کوئری‌های تجمیع شده)
   ========================================================================== */
@media (min-width: 768px) {
    .hero-clean-slide { aspect-ratio: 16 / 5; height: auto; border-radius: 20px; }
    .hero-clean-content { bottom: 24px; right: 24px; left: 24px; }
    .hero-clean-content h2 { font-size: 1.5rem; }
    .hero-clean-content p  { font-size: 0.9rem; }
    .banner-center-box { border-radius: 20px; }
}

@media (max-width: 768px) {
    .font-md-1 { font-size: 0.82rem !important; padding: 8px 12px !important; }
    .search-cart-icon { width: 40px !important; height: 40px !important; }
    .badge-gold-dynamic { top: -4px; left: -4px; width: 16px; height: 16px; font-size: 10px; }
    .hamburger-menu-btn { height: 38px; padding: 0 10px; }

    .exclusive-slider-section { padding: 1.2rem 0; border-radius: 14px; }
    .exclusive-title { font-size: 1.05rem; }
    .exclusive-title-wrapper { margin-bottom: 1.2rem; }
    .exclusive-img-box { height: 130px; padding: 8px; }
    .exclusive-info { padding: 9px; }
    .exclusive-title-link { font-size: 0.82rem; margin-bottom: 6px; }
    .exclusive-price-box { padding: 5px; margin-bottom: 7px; font-size: 0.82rem; }
    .exclusive-btn { padding: 7px; font-size: 0.78rem; border-radius: 8px; }
}

@media(max-width: 576px) {
    .top-info-inner { gap: 10px; justify-content: space-between; }
    .info-item span { font-size: 0.7rem; }
    .discount-img { height: 110px; }
}

/* باکس خبرنامه مدرن و مینیمال برای تم مشکی */
.newsletter-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* شفافیت بسیار کمتر */
    border-radius: 50px;
    padding: 6px; /* کمی فضای بیشتر */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05); /* حاشیه بسیار محو */
    overflow: hidden;
    transition: all 0.4s ease;
}

.newsletter-box:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-box input {
    background: transparent; /* حذف پس‌زمینه ورودی برای یکپارچگی */
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 16px;
    width: 100%;
    font-family: inherit;
}

.newsletter-box input::placeholder {
    color: rgba(255, 255, 255, 0.3); /* محوتر کردن جای‌نگهدار */
}

.newsletter-box button {
    background: #ffffff; /* دکمه سفید روی پس‌زمینه مشکی برای کنتراست لوکس */
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-box button:hover {
    transform: scale(1.05);
    background: #dddddd; /* رنگ دکمه در هاور */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* باکس نمادها (Trust Box) - هماهنگ با تم مشکی */
.trust-box {
    background: transparent;
    padding: 10px 0;
    display: flex;
    gap: 15px;
}

.trust-box img {
    width: 50px;
    background: rgba(255, 255, 255, 0.05); /* پس‌زمینه ملایم برای نمادها */
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    filter: grayscale(1) brightness(0.8); /* نمادها را سیاه و سفید کردم که در تم مشکی بسیار شیک‌تر است */
}

.trust-box img:hover {
    filter: grayscale(0) brightness(1); /* رنگی شدن در هنگام هاور */
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}



.stories-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px;
    background: var(--story-bg);
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    text-align: center;
    text-decoration: none;
    color: var(--story-text);
    width: 80px;
    flex-shrink: 0;
}

.story-avatar {
    display: inline-block;
    padding: 3px;
    border-radius: 50%;
    background: var(--story-gradient);
}

.story-avatar img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: block;
    border: 2px solid var(--story-border-inner);
    object-fit: cover;
}

.story-label {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
