@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 {
    /* متغیرهای ثابت */
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;

    /* متغیرهای تم دارک (پیش‌فرض سایت) */
    --bg-main: #0f172a;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --header-glass: rgba(15, 23, 42, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --card-glass: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --inner-bg: rgba(0, 0, 0, 0.2);
    --orb-1: rgba(212, 175, 55, 0.15);
    --orb-2: rgba(15, 43, 92, 0.4);
}

/* متغیرهای تم روشن (اصلاح شده با کنتراست و خوانایی فوق‌العاده بالا) */
body.light-theme {
    --bg-main: #f8fafc;
    --text-main: #0f172a;       /* کاملاً تیره و خوانا */
    --text-muted: #475569;      /* خاکستری تیره برای متون فرعی */
    --header-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(15, 23, 42, 0.12);
    --card-glass: rgba(255, 255, 255, 0.9);
    --card-border: rgba(15, 23, 42, 0.1);
    --inner-bg: rgba(15, 23, 42, 0.06);
    --orb-1: rgba(212, 175, 55, 0.12);
    --orb-2: rgba(148, 163, 184, 0.2);
}

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;
}

/* هوشمندسازی کدهای متنی و کلاس‌های خاص در تم روشن */
body.light-theme .text-white,
body.light-theme .brand-logo,
body.light-theme .nav-link-glass,
body.light-theme .title-glass { color: #0f172a !important; }

body.light-theme .text-white-50 { color: #334155 !important; }
body.light-theme .text-muted { 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 .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 { 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-title { color: #0f172a; }
body.light-theme .footer-links a { color: #475569; }
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 .nl-input-glass::placeholder { color: #64748b; }
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; }

/* ==========================================================================
   بخش اول: هدر، منو و ناوبری شیشه‌ای
   ========================================================================== */

.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);
}

.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; }

/* ==========================================================================
   بخش دوم: افکت‌ها، هاله‌های نوری و پنل اصلی صفحه محصول
   ========================================================================== */

.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; }

.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-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); }

/* ==========================================================================
   بخش چهارم: استایل‌های اختصاصی فوتر سایت
   ========================================================================== */

.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-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); }

.main-logo { filter: invert(1) brightness(1.8); transition: filter 0.4s ease; }
body.light-theme .main-logo { filter: invert(0) brightness(1); }

.logo-light-mode { display: none; }
.logo-dark-mode { display: inline-block; }
body.light-theme .logo-light-mode { display: inline-block; }
body.light-theme .logo-dark-mode { display: none; }

/* ==========================================================================
   بخش ششم: کامپوننت‌های منوی موبایل و سرچ هوشمند
   ========================================================================== */

.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;
}

.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;
}

.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); }
body.light-theme .hamburger-menu-btn { color: #0f172a; border-color: rgba(15, 23, 42, 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); }

/* اصلاح اختصاصی منوی موبایل وقتی سایت روی تم روشن (Light Theme) می‌رود */
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 .menu-title { color: #0f172a; }
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 .close-menu-btn { color: #475569; }
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; }

/* ==========================================================================
   بخش هفتم: مدیا کوئری‌ها (طراحی ریسپانسیو - تجمیع شده)
   ========================================================================== */

@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;
    }
}
