/* ============================================================ */
/*   EIVIRA - تمام استایل‌های پروژه با ساختار کاملاً ریسپانسیو */
/*   Dark Mode: مشکی/خاکستری تیره + طلایی                       */
/*   Light Mode: سفید گرم + طلایی                               */
/*   Logo: سبز + طلایی                                          */
/* ============================================================ */

/* ====== Authentic Persian Vazirmatn Webfonts (Self-Hosted + CDN Fallback) ====== */
@font-face {
    font-family: 'Vazirmatn';
    src: local('Vazirmatn Regular'), local('Vazirmatn-Regular'), local('Vazirmatn'),
         url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: local('Vazirmatn Medium'), local('Vazirmatn-Medium'),
         url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: local('Vazirmatn SemiBold'), local('Vazirmatn-SemiBold'),
         url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: local('Vazirmatn Bold'), local('Vazirmatn-Bold'),
         url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: local('Vazirmatn ExtraBold'), local('Vazirmatn-ExtraBold'), local('Vazirmatn Black'),
         url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    /* ===== Luxury Dark Obsidian & Royal Gold Palette (طراحی اختصاصی ایویرا) ===== */
    --bg-primary: #090a0f;
    --bg-secondary: #0f121a;
    --bg-card: rgba(16, 19, 28, 0.78);
    --bg-card-hover: rgba(22, 27, 39, 0.88);
    --bg-glass: rgba(10, 12, 18, 0.85);
    
    /* Luxury Text Hierarchy (WCAG AAA High-Contrast & Soft Clarity) */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-gold: #ffd700;
    
    /* Elegant Metallic Gold & Subtle Borders */
    --border-color: rgba(212, 175, 55, 0.16);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(212, 175, 55, 0.45);
    --border-focus: rgba(212, 175, 55, 0.7);
    
    /* Imperial Metallic Golds & Emeralds */
    --gold-bright: #ffe072;
    --gold-primary: #d4af37;
    --gold-deep: #b38b1e;
    --gold-gradient: linear-gradient(135deg, #ffe58f 0%, #d4af37 45%, #b38b1e 100%);
    --gold-gradient-hover: linear-gradient(135deg, #fff0b3 0%, #e0be47 50%, #c49925 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
    
    --emerald-primary: #10b981;
    --emerald-deep: #059669;
    --emerald-glow: rgba(16, 185, 129, 0.18);
    
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #d4af37 100%);
    --gradient-hero: linear-gradient(160deg, rgba(20, 24, 36, 0.88) 0%, rgba(11, 13, 19, 0.94) 100%);
    --shadow-card: 0 10px 35px rgba(0, 0, 0, 0.45), 0 0 1px rgba(212, 175, 55, 0.2);
    --shadow-card-hover: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2);
    
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 16px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-primary: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --lh-tight: 1.35;
    --lh-snug: 1.5;
    --lh-normal: 1.85;
    --lh-loose: 2.0;
    --max-width: 700px;
    --padding-mobile: 12px;
    --header-top: 16px;
    --modal-max-width: 580px;
    --accent: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --accent-hover: #e6c554;
    
    /* Brand Colors */
    --region-primary: #d4af37;
    --region-secondary: #a08020;
    --region-bg-glow: rgba(212, 175, 55, 0.1);
    
    /* Logo Colors */
    --logo-green: #10b981;
    --logo-gold: #d4af37;
    --logo-green-light: #34d399;
    
    /* Ambient Glow Orbs */
    --orb-1: rgba(212, 175, 55, 0.14);
    --orb-2: rgba(16, 185, 129, 0.08);
    --orb-3: rgba(212, 175, 55, 0.08);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--lh-normal, 1.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv01", "ss01";
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    transition: background 0.6s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-feature-settings: "cv01", "ss01";
    letter-spacing: normal;
}

input, select, textarea, button {
    font-family: var(--font-primary);
    font-feature-settings: "cv01", "ss01";
}

/* ===== Canvas Background ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 20% 50%, var(--region-bg-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    transition: background 0.6s ease;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    animation: floatOrb 20s ease-in-out infinite alternate;
    transition: background 0.6s ease;
}
.glow-orb-1 { width: 400px; height: 400px; background: var(--orb-1); top: -100px; right: -100px; }
.glow-orb-2 { width: 350px; height: 350px; background: var(--orb-2); bottom: -80px; left: -80px; animation-delay: -7s; }
.glow-orb-3 { width: 300px; height: 300px; background: var(--orb-3); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -14s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
    75% { transform: translate(40px, 20px) scale(1.05); }
    100% { transform: translate(-30px, -30px) scale(0.95); }
}

/* ===== Scroll Top Button ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.scroll-top-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.1);
}
.scroll-top-btn.visible { display: flex; }

/* ===== Site Wrapper ===== */
.site-wrapper {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 var(--padding-mobile);
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.header-spacer { height: 76px; width: 100%; display: block; }

/* ============================================================ */
/* ===== HEADER & LOGO با افکت درخشش ===== */
/* ============================================================ */

header {
    position: fixed;
    top: max(var(--header-top, 14px), calc(env(safe-area-inset-top, 0px) + 8px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: min(1320px, calc(100% - 24px));
    padding: 0;
    transition: var(--transition-smooth);
}

.glass-nav {
    background: rgba(12, 14, 22, 0.8);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 6px 18px;
    width: 100%;
    box-sizing: border-box;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(212, 175, 55, 0.08);
}
.glass-nav:hover { 
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 25px rgba(212, 175, 55, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap !important;
}

/* ===== Logo Container & Adaptive Brand Styling ===== */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.04);
}

.site-logo {
    height: clamp(38px, 5.5vw, 50px);
    width: auto;
    max-height: 52px;
    object-fit: contain;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

/* Dark Mode Logo (Gleaming 24K Royal Gold) */
.logo-dark-theme {
    display: block;
    filter: drop-shadow(0 0 1.5px rgba(255, 241, 194, 0.95))
            drop-shadow(0 0 10px rgba(212, 175, 55, 0.65))
            drop-shadow(0 0 24px rgba(212, 175, 55, 0.3));
}

.logo-dark-theme:hover {
    filter: drop-shadow(0 0 2.5px rgba(255, 255, 255, 1))
            drop-shadow(0 0 16px rgba(212, 175, 55, 0.85))
            drop-shadow(0 0 32px rgba(212, 175, 55, 0.5));
}

/* Light Mode Logo (Crisp Obsidian Carbon & Bronze Gold) */
.logo-light-theme {
    display: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18))
            drop-shadow(0 0 12px rgba(184, 134, 11, 0.25));
}

.logo-light-theme:hover {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25))
            drop-shadow(0 0 16px rgba(184, 134, 11, 0.4));
}

/* When in Light Mode, swap automatically */
html.light .logo-dark-theme,
body.light .logo-dark-theme {
    display: none;
}

html.light .logo-light-theme,
body.light .logo-light-theme {
    display: block;
}

/* Subtle luxury halo behind logo in dark mode */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 241, 194, 0.12) 0%,
        rgba(212, 175, 55, 0.09) 40%,
        transparent 75%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: logoGlowPulse 4s ease-in-out infinite;
}

body.light .logo-container::before {
    background: radial-gradient(
        ellipse at center,
        rgba(212, 175, 55, 0.08) 0%,
        rgba(0, 0, 0, 0.03) 50%,
        transparent 75%
    );
}

@keyframes logoGlowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.95;
    }
}

/* Fallback logo text */
.logo-text {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    background: var(--pwa-gold-gradient, linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

body.light .logo-text {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ===== پایان بخش لوگو ===== */

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap !important;
    margin: 0;
    padding: 0;
}
.nav-links li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    transition: var(--transition-smooth);
    padding: 6px 12px;
    border-radius: 20px;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.nav-links a svg.lucide {
    width: 16px;
    height: 16px;
    color: var(--eivira-gold, #c5a880);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    stroke-width: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--logo-gold), var(--logo-green));
    transition: var(--transition-smooth);
    transform: translateX(50%);
}
.nav-links a:hover::after { width: 70%; }
.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-links a:hover svg.lucide {
    color: #ffd700;
    transform: translateY(-1px) scale(1.12);
}
.nav-links a.active {
    color: #ffd700;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.15);
}
.nav-links a.active::after {
    width: 70%;
    background: #ffd700;
}
.nav-links a.active svg.lucide {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

/* Dedicated Tracker Link in Navbar */
.nav-links a.nav-tracker-link {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5d77f;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}
.nav-links a.nav-tracker-link svg.lucide {
    color: #ffd700;
    width: 18px;
    height: 18px;
}
.nav-links a.nav-tracker-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #ffd700;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-badge-lux {
    background: rgba(212, 175, 55, 0.18);
    color: #996515;
    border: 1px solid rgba(212, 175, 55, 0.4);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-right: 3px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

body:not(.light) 
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-right: auto;
}

.nav-badge-lux {
    background: rgba(212, 175, 55, 0.22);
    color: #f5d77f;
}


.glass-nav.scrolled {
    background: rgba(12, 13, 16, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* ===== Unified Synchronized Header Action Buttons (Notification & Theme) ===== */
.header-action-btn,
.theme-btn,
.pwa-notif-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--eivira-gold, #c5a880);
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.header-action-btn svg.lucide,
.theme-btn svg.lucide,
.pwa-notif-btn svg.lucide {
    width: 18px;
    height: 18px;
    color: var(--eivira-gold, #c5a880);
    stroke-width: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.header-action-btn:hover,
.theme-btn:hover,
.pwa-notif-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.header-action-btn:hover svg.lucide,
.theme-btn:hover svg.lucide,
.pwa-notif-btn:hover svg.lucide {
    color: #ffd700;
    transform: scale(1.12);
}

.header-action-btn:active,
.theme-btn:active,
.pwa-notif-btn:active {
    transform: translateY(0) scale(0.96);
}

.pwa-notif-btn.is-active {
    background: rgba(212, 175, 55, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

.pwa-notif-btn.is-active svg.lucide {
    color: #ffd700;
}

.pwa-notif-badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    display: none;
}

.pwa-notif-btn.is-active .pwa-notif-badge-dot {
    display: block;
}

/* ===== Welcome Section (Ultra-Luxury Hero) ===== */
.welcome-section {
    background: linear-gradient(160deg, rgba(20, 24, 38, 0.92) 0%, rgba(10, 12, 18, 0.97) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: clamp(34px, 5vw, 52px) clamp(20px, 4vw, 38px);
    margin: 20px 0 34px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 45px rgba(212, 175, 55, 0.1);
}
.welcome-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, #ffe58f, #ffd700, transparent);
    opacity: 0.85;
}
.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
.hero-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.welcome-section .badge.hero-badge,
.welcome-section .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(18, 22, 32, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 40px;
    padding: 8px 24px;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 18px rgba(212, 175, 55, 0.25);
    transition: all 0.4s ease;
}
.welcome-section .badge.hero-badge:hover,
.welcome-section .badge:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}
.welcome-section .badge .badge-sparkle {
    color: #ffd700;
    font-size: 1.1rem;
    display: inline-block;
    animation: sparklePulse 2.5s infinite ease-in-out;
}
@keyframes sparklePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

.welcome-section h1.hero-main-title,
.welcome-section h1 {
    font-size: clamp(1.45rem, 4vw, 2.6rem);
    font-weight: 850;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.45;
    letter-spacing: normal;
    text-shadow: 0 4px 25px rgba(0,0,0,0.35);
    text-wrap: balance;
}
.welcome-section h1 span {
    background: linear-gradient(135deg, #FFF0C2 0%, #FFD700 35%, #D4AF37 70%, #9E7915 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 850;
    text-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    color: #e2e2ec;
    margin-top: 8px;
    margin-bottom: 16px;
    line-height: 1.6;
    letter-spacing: normal;
}

.hero-callout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 30px;
    padding: 10px 24px;
    margin: 6px auto 20px;
    max-width: 95%;
    box-shadow: 0 6px 25px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}
.hero-callout:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.22);
    transform: translateY(-2px);
}
.hero-callout-sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #ffd700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.hero-callout-text {
    font-size: clamp(0.9rem, 1.4vw, 1.08rem);
    color: #d6d6e6;
    font-weight: 500;
    line-height: 1.85;
    letter-spacing: normal;
}

.welcome-section p {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    color: var(--text-secondary);
    line-height: 1.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.welcome-section .highlight { 
    color: var(--region-primary); 
    font-weight: 600;
    transition: color 0.6s ease;
}

.tech-stack-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 14px 0 0;
}
.tech-stack-badge span {
    background: rgba(16, 20, 30, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: clamp(0.74rem, 1.1vw, 0.86rem);
    font-weight: 550;
    color: #e2e8f0;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tech-stack-badge span svg.lucide {
    width: 1.15em;
    height: 1.15em;
    color: #ffd700;
    stroke-width: 2.2;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}
.tech-stack-badge span:hover {
    border-color: #ffd700;
    background: rgba(22, 28, 42, 0.95);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}
.tech-stack-badge span:hover svg.lucide {
    transform: scale(1.15);
}

/* ===== Section Title ===== */
.section-title {
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    font-weight: 800;
    margin: 36px 0 18px 0;
    letter-spacing: normal;
    display: inline-block;
    position: relative;
    padding-right: 18px;
    text-align: right;         
    width: 100%;
    line-height: 1.45;
    color: #ffffff;
}
.section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: linear-gradient(to bottom, #ffd700, var(--region-primary));
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    transition: background 0.6s ease;
}
body.light .section-title {
    color: #1a140e;
}


/* ===== Price Words (نمایش قیمت به حروف) ===== */
.price-words {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-primary);
    direction: rtl;
    text-align: center;
    min-height: 32px;
}
.price-words .range-sep {
    color: var(--text-muted);
    font-size: 0.6rem;
}
.price-words span {
    direction: rtl;
}
.price-words #minPriceWords,
.price-words #maxPriceWords {
    color: var(--region-primary);
    font-weight: 500;
    font-size: 0.7rem;
}

body.light .price-words {
    background: rgba(212, 175, 55, 0.04);
    border-color: rgba(212, 175, 55, 0.1);
}
body.light .price-words #minPriceWords,
body.light .price-words #maxPriceWords {
    color: var(--logo-gold);
}


/* ===== Horizontal Scroll Sections ===== */
.scroll-section {
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 0 20px 0;
    margin: 0 -8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
}
.scroll-section::-webkit-scrollbar {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.scroll-section::-webkit-scrollbar-thumb {
    background: var(--region-primary);
    border-radius: 10px;
}
.scroll-section .scroll-item {
    flex: 0 0 auto;
    width: clamp(160px, 35vw, 240px);
    scroll-snap-align: start;
    transition: var(--transition-smooth);
}


/* ===== Villa Gallery (Luxury Obsidian & Gold) ===== */
.gallery-section {
    margin: 30px 0 45px;
    position: relative;
    direction: rtl;
    padding: 0 16px;
}

.gallery-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-title-group {
    text-align: right;
}

.gallery-section .section-title {
    margin-bottom: 4px;
    text-align: right;
}

.gallery-section-sub {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

/* Distinct elevated styling for Gallery Section on Homepage */
.gallery-section-distinct {
    background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.08) 0%, rgba(14, 18, 28, 0.6) 80%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 28px;
    padding: 36px 20px 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
}

html.light .gallery-section-distinct,
body.light .gallery-section-distinct,
body[data-theme="light"] .gallery-section-distinct {
    background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(212, 175, 55, 0.08) !important;
}

html.light .gallery-section-distinct .section-title,
body.light .gallery-section-distinct .section-title,
body[data-theme="light"] .gallery-section-distinct .section-title {
    color: #0f172a !important;
}

html.light .gallery-section-distinct .gallery-section-sub,
body.light .gallery-section-distinct .gallery-section-sub,
body[data-theme="light"] .gallery-section-distinct .gallery-section-sub {
    color: #334155 !important;
    font-weight: 500 !important;
}

.gallery-dedicated-top-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(170, 130, 10, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #f7e7b4;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.gallery-dedicated-top-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0b0f17;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(212, 175, 55, 0.4);
}

.gallery-home-view-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
}

.home-view-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.home-view-btn.active {
    background: rgba(212, 175, 55, 0.25);
    color: #d4af37;
    font-weight: 800;
}

.gallery-slider-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-ctrl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e2e8f0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-ctrl-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

/* Grid layout mode for homepage gallery track */
.gallery-track.homepage-grid-mode {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    transform: none !important;
}

.gallery-track.homepage-grid-mode .gallery-item {
    flex: 1 1 auto;
    width: 100%;
}

/* Bottom CTA in homepage gallery */
.gallery-section-bottom-cta {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(14, 18, 28, 0.85) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.gallery-bottom-cta-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gallery-bottom-cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.18);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-bottom-cta-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.gallery-bottom-cta-info p {
    color: #94a3b8;
    font-size: 0.82rem;
    margin: 0;
}

.gallery-bottom-cta-btn {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0b0f17;
    font-weight: 800;
    font-size: 0.86rem;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.gallery-bottom-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* Modal thumbnails bar */
.villa-modal-thumbs-bar {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    overflow-x: auto;
    scrollbar-width: none;
}

.villa-modal-thumbs-bar::-webkit-scrollbar { display: none; }

.modal-thumb-item {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-thumb-item.active {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

.modal-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
}

.gallery-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700;
    animation: galleryDotPulse 2s infinite ease-in-out;
}

@keyframes galleryDotPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ffd700; }
}

.gallery-badge-text {
    color: #cbd5e1;
    letter-spacing: -0.2px;
}

.gallery-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gallery-filter-chips .g-chip {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.gallery-filter-chips .g-chip:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.4);
    color: #f5d77f;
}

.gallery-filter-chips .g-chip.active {
    background: var(--pwa-gold-gradient, linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%));
    color: #0b0f17 !important;
    border-color: #d4af37;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.gallery-filter-chips .g-chip-count {
    font-size: 11px;
    opacity: 0.85;
    background: rgba(0, 0, 0, 0.2);
    padding: 1px 6px;
    border-radius: 10px;
}

.gallery-filter-chips .g-chip.active .g-chip-count {
    background: rgba(0, 0, 0, 0.28);
    color: #0b0f17;
}

/* Gallery Viewport & Track */
.gallery-viewport {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    border-radius: 20px;
    padding: 10px 4px 18px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.gallery-viewport::-webkit-scrollbar {
    display: none;
}

.gallery-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.gallery-track {
    display: flex;
    gap: 18px;
    width: max-content;
    will-change: transform;
    direction: rtl;
}

/* Gallery Card */
.gallery-item {
    flex: 0 0 300px;
    width: 300px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
    background: #0d0f17;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    user-select: none;
}

@media (max-width: 640px) {
    .gallery-item {
        flex: 0 0 260px;
        width: 260px;
        height: 195px;
    }
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #d4af37;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.25);
    z-index: 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Region pill inside card */
.gallery-item-region {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(13, 15, 23, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f5d77f;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

/* Price tag inside card (top-left) */
.gallery-item-price-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #ffd700;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.gallery-item-price-tag svg.lucide,
.gallery-item-price-tag i {
    width: 11px;
    height: 11px;
    color: #d4af37;
}

.gallery-item-price-tag.vip {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(9, 10, 15, 0.95) 100%);
    border-color: #ffd700;
    color: #ffffff;
}

/* Verified badge in card title */
.gallery-item-verified {
    font-size: 10px;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 2px 7px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    flex-shrink: 0;
}

.gallery-item-verified svg.lucide,
.gallery-item-verified i {
    width: 10px;
    height: 10px;
    color: #34d399;
}

/* Quick view hover button */
.gallery-item-hover-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    background: rgba(13, 15, 23, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #d4af37;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover .gallery-item-hover-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Bottom Label with Specs */
.gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px 14px 12px;
    background: linear-gradient(to top, rgba(9, 10, 15, 0.96) 0%, rgba(9, 10, 15, 0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    direction: rtl;
    text-align: right;
    z-index: 2;
}

.gallery-label-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-item-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-label-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #cbd5e1;
}

.gallery-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
}

.gallery-meta-item i {
    width: 12px;
    height: 12px;
    color: #d4af37;
}

/* Empty State Card */
.gallery-empty-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: rtl;
}

.gallery-empty-card i {
    width: 42px;
    height: 42px;
    color: #d4af37;
}

.gallery-empty-card h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0;
    font-weight: 700;
}

.gallery-empty-card p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    max-width: 420px;
    line-height: 1.6;
}

.gallery-empty-btn {
    background: var(--pwa-gold-gradient, linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%));
    color: #0a0a0f;
    font-weight: 800;
    font-size: 12.5px;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: all 0.2s ease;
}

.gallery-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* Gallery Minimal Golden Progress Bar */
.gallery-progress-wrap {
    width: 140px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin: 16px auto 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    display: block;
}

.gallery-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--pwa-gold-gradient, linear-gradient(90deg, #d4af37, #ffd700));
    border-radius: 10px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}

/* ===== Villa Detail Lightbox Modal ===== */
.villa-detail-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: pwaFadeIn 0.3s ease;
    direction: rtl;
    font-family: inherit;
}

.villa-detail-modal-card {
    background: #0d0f17;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 26px;
    max-width: 580px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.18);
    position: relative;
    animation: pwaModalSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.villa-detail-img-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #000;
}

@media (max-width: 640px) {
    .villa-detail-img-wrap {
        height: 200px;
    }
}

.villa-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.villa-detail-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.villa-detail-close-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
    transform: rotate(90deg);
}

.villa-detail-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(13, 15, 23, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #d4af37;
    color: #f5d77f;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
}

.villa-detail-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 15, 23, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.villa-detail-nav-btn:hover {
    background: rgba(212, 175, 55, 0.35);
    border-color: #d4af37;
    color: #f5d77f;
}

.villa-detail-nav-btn.prev {
    right: 12px;
}

.villa-detail-nav-btn.next {
    left: 12px;
}

.villa-detail-body {
    padding: 22px 24px;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.villa-detail-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.villa-detail-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.villa-detail-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5d77f;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.villa-detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .villa-detail-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.villa-detail-spec-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.villa-detail-spec-box .spec-label {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.villa-detail-spec-box .spec-label i {
    width: 14px;
    height: 14px;
    color: #d4af37;
}

.villa-detail-spec-box .spec-val {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}

.villa-detail-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.villa-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.villa-detail-btn-order {
    flex: 1;
    background: var(--pwa-gold-gradient, linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%));
    color: #0a0a0f;
    font-weight: 800;
    font-size: 13.5px;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    transition: all 0.2s ease;
}

.villa-detail-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
    filter: brightness(1.08);
}

.villa-detail-btn-call {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.villa-detail-btn-call:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
    color: #d4af37;
}

/* ===== Light Mode Gallery Adjustments ===== */
body.light .gallery-section-sub {
    color: #64748b;
}

body.light .gallery-header-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
    color: #1e293b;
}

body.light .gallery-badge-text {
    color: #475569;
}

body.light .gallery-progress-wrap {
    background: rgba(0, 0, 0, 0.08);
}

body.light .gallery-filter-chips .g-chip {
    background: rgba(0, 0, 0, 0.04);
    color: #475569;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .gallery-item {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

body.light .villa-detail-modal-card {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

body.light .villa-detail-title {
    color: #0f172a;
}

body.light .villa-detail-desc {
    color: #475569;
}

body.light .villa-detail-spec-box {
    background: #f8fafc;
    border-color: rgba(212, 175, 55, 0.2);
}

body.light .villa-detail-spec-box .spec-val {
    color: #0f172a;
}

body.light .villa-detail-btn-call {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* ===== HOMEPAGE BASIC SAMPLE SCROLL (ELEGANT & UNCLUTTERED) ===== */
.sample-gallery-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 0 20px;
}

.sample-gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 16px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.sample-gallery-track::-webkit-scrollbar {
    height: 6px;
}

.sample-gallery-track::-webkit-scrollbar-track {
    background: transparent;
}

.sample-gallery-track::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

.sample-property-card {
    flex: 0 0 310px;
    width: 310px;
    min-height: 385px;
    background: var(--bg-card, rgba(16, 19, 28, 0.85));
    border: 1px solid var(--border-color, rgba(212, 175, 55, 0.2));
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card, 0 10px 30px rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    user-select: none;
}

body.light .sample-property-card {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 8px 25px rgba(180, 140, 40, 0.08);
}

.sample-property-card:hover {
    transform: translateY(-6px);
    border-color: var(--eivira-gold, #d4af37);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.18);
}

/* Core Web Vitals: Skip layout & paint for offscreen sample property cards below initial viewport */
.sample-property-card:nth-child(n+4) {
    content-visibility: auto;
    contain-intrinsic-size: auto 385px;
}

.sample-card-thumb {
    position: relative;
    width: 100%;
    height: 190px;
    min-height: 190px;
    max-height: 190px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1ede4;
}

body:not(.light) .sample-card-thumb {
    background: #0d0f17;
}

.sample-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sample-property-card:hover .sample-card-thumb img {
    transform: scale(1.06);
}

.sample-badge-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(14, 18, 28, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f5d77f;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
}

body.light .sample-badge-type {
    background: rgba(255, 255, 255, 0.92);
    color: #996515;
    border-color: rgba(212, 175, 55, 0.5);
}

.sample-badge-region {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.light .sample-badge-region {
    background: rgba(255, 255, 255, 0.92);
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sample-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.sample-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light .sample-card-name {
    color: #18181b;
}

.sample-card-specs {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted, #94a3b8);
}

body.light .sample-card-specs {
    color: #475569;
}

.sample-card-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

body.light .sample-card-specs span {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.05);
    color: #334155;
}

.sample-card-specs i,
.sample-card-specs svg {
    width: 14px;
    height: 14px;
    color: var(--eivira-gold, #d4af37);
}

.sample-card-price-row {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.light .sample-card-price-row {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.sample-price-text {
    font-size: 1rem;
    font-weight: 900;
    color: var(--eivira-gold, #ffd700);
}

body.light .sample-price-text {
    color: #996515;
}

.sample-view-btn {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light, #f5d77f);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

body.light .sample-view-btn {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: #996515;
}

.sample-view-btn:hover {
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0b0f17;
    border-color: #d4af37;
}

.sample-scroll-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 18, 28, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

body.light .sample-scroll-btn {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    color: #996515;
    box-shadow: 0 4px 15px rgba(180, 140, 40, 0.15);
}

.sample-scroll-btn:hover {
    background: #d4af37;
    color: #0b0f17;
    transform: translateY(-50%) scale(1.08);
}

.sample-scroll-btn.prev {
    right: -12px;
}

.sample-scroll-btn.next {
    left: -12px;
}

@media (max-width: 768px) {
    .sample-scroll-btn {
        display: none;
    }
    .sample-property-card {
        flex: 0 0 280px;
    }
}

/* دکمه ورود به گالری کامل */
.sample-gallery-cta {
    text-align: center;
    margin-top: 26px;
}

.btn-goto-full-gallery {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #aa820a 100%);
    color: #0b0f17 !important;
    padding: 14px 34px;
    border-radius: 16px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
}

.btn-goto-full-gallery:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    color: #000 !important;
}

.btn-goto-full-gallery svg,
.btn-goto-full-gallery i {
    width: 20px;
    height: 20px;
}

.sample-gallery-cta-desc {
    color: var(--text-muted, #94a3b8);
    transition: color 0.3s ease;
}

html.light .sample-gallery-cta-desc,
body.light .sample-gallery-cta-desc,
body[data-theme="light"] .sample-gallery-cta-desc {
    color: #475569 !important;
    font-weight: 500 !important;
}

.sample-gallery-empty {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    color: var(--text-secondary, #cbd5e1);
    transition: all 0.3s ease;
}

html.light .sample-gallery-empty,
body.light .sample-gallery-empty,
body[data-theme="light"] .sample-gallery-empty {
    background: #f8fafc !important;
    border: 1.5px dashed rgba(212, 175, 55, 0.45) !important;
    color: #1e293b !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

html.light .sample-gallery-empty p,
body.light .sample-gallery-empty p,
body[data-theme="light"] .sample-gallery-empty p {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* ===== Cards ===== */
.compact-card-scroll,
.why-item-scroll {
    background: linear-gradient(165deg, rgba(20, 24, 38, 0.8) 0%, rgba(12, 14, 22, 0.9) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: clamp(20px, 2.5vw, 26px) clamp(16px, 2vw, 20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.compact-card-scroll::before,
.why-item-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    pointer-events: none;
}
.compact-card-scroll:hover,
.why-item-scroll:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(165deg, rgba(26, 31, 48, 0.9) 0%, rgba(16, 19, 28, 0.95) 100%);
    transform: translateY(-5px);
}
.compact-card-scroll > i,
.compact-card-scroll > svg.lucide,
.why-item-scroll .why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    color: #ffd700;
    font-size: 1.35rem;
}
.compact-card-scroll:hover > i,
.compact-card-scroll:hover > svg.lucide,
.why-item-scroll:hover .why-icon {
    transform: scale(1.1) rotate(-4deg);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}
.compact-card-scroll h3,
.why-item-scroll h3 {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.45;
}
.compact-card-scroll p,
.why-item-scroll p {
    font-size: clamp(0.85rem, 1.3vw, 0.96rem);
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

/* ===== About ===== */
.about-box {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: clamp(16px, 3vw, 22px) clamp(14px, 2.5vw, 20px);
    margin: 16px 0;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.about-box {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: clamp(18px, 3vw, 24px) clamp(16px, 2.5vw, 22px);
    margin: 20px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}
.about-box:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}
.about-box h3 { 
    font-size: clamp(1.05rem, 2.2vw, 1.3rem); 
    margin-bottom: 10px; 
    color: var(--text-primary); 
    font-weight: 700; 
    line-height: 1.55; 
}
.about-box p {
    font-size: clamp(0.88rem, 1.4vw, 0.98rem);
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 12px;
    font-weight: 400;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.about-features span {
    font-size: clamp(0.8rem, 1.3vw, 0.88rem);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.about-features span i,
.about-features span svg.lucide { color: var(--region-primary); }

/* ===== Trust Badges Section ===== */
.trust-section {
    margin: 25px 0 35px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}
.trust-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-card);
}
.trust-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(212, 175, 55, 0.16);
}
.trust-card .trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #ffd700;
    font-size: 1.45rem;
    transition: var(--transition-smooth);
}
.trust-card:hover .trust-icon {
    transform: scale(1.12) rotate(-5deg);
    border-color: #ffd700;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.trust-card h4 {
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}
.trust-card p {
    font-size: clamp(0.86rem, 1.2vw, 0.94rem);
    color: var(--text-secondary);
    line-height: 1.85;
    margin: 0;
}

/* ===== Order Section ===== */
/* ===== Order Section (Opulent Inquiry Center) ===== */
.order-section { margin: 36px 0; }
.order-box {
    background: linear-gradient(165deg, rgba(22, 26, 38, 0.88) 0%, rgba(12, 14, 20, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: clamp(28px, 4.5vw, 40px) clamp(20px, 3.5vw, 32px);
    transition: var(--transition-smooth);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.order-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, #ffe58f, #ffd700, transparent);
    opacity: 0.8;
}
.order-box:hover {
    background: linear-gradient(165deg, rgba(26, 31, 48, 0.95) 0%, rgba(15, 18, 26, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.order-box .order-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.82rem, 1.3vw, 0.92rem);
    color: #ffd700;
    text-align: center;
    margin: 0 auto 12px;
    letter-spacing: 0.3px;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 5px 16px;
    border-radius: 20px;
}
.order-box .order-title {
    text-align: center;
    font-size: clamp(1.4rem, 3.2vw, 2.15rem);
    font-weight: 850;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.45;
    letter-spacing: normal;
}
.order-box .order-title span {
    background: linear-gradient(135deg, #FFF0C2 0%, #FFD700 35%, #D4AF37 70%, #9E7915 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}
.order-box .order-desc {
    text-align: center;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.85;
    font-weight: 400;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes goldSheen {
    0% { transform: translateX(-120%) rotate(25deg); }
    25%, 100% { transform: translateX(160%) rotate(25deg); }
}
.order-toggle-btn {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: clamp(16px, 2.5vw, 20px) clamp(22px, 3vw, 34px);
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    border: 1px solid #FFE89E;
    border-radius: var(--radius-md);
    color: #0c0d10;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    letter-spacing: normal;
}
.order-toggle-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    transform: translateX(-120%) rotate(25deg);
    animation: goldSheen 4.5s ease-in-out infinite;
    pointer-events: none;
}
.order-toggle-btn:hover {
    background: linear-gradient(135deg, #FFF6D6 0%, #FFDC73 30%, #E2BE47 65%, #BA9122 100%);
    border-color: #ffffff;
    box-shadow: 0 14px 45px rgba(212, 175, 55, 0.65), 0 4px 15px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.02);
}
.order-toggle-btn:active {
    transform: translateY(-1px) scale(0.99);
}
.order-toggle-btn .btn-icon {
    width: clamp(40px, 4.8vw, 50px);
    height: clamp(40px, 4.8vw, 50px);
    border-radius: 50%;
    background: rgba(12, 13, 16, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c0d10;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    transition: all 0.35s ease;
    flex-shrink: 0;
    border: 1px solid rgba(12, 13, 16, 0.15);
}
.order-toggle-btn:hover .btn-icon {
    background: rgba(12, 13, 16, 0.25);
    transform: rotate(-10deg) scale(1.1);
}
.order-toggle-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.order-toggle-btn .btn-text .main {
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    font-weight: 850;
    letter-spacing: 0.2px;
    color: #0c0d10;
}
.order-toggle-btn .btn-text .sub {
    font-size: clamp(0.76rem, 1.2vw, 0.9rem);
    color: rgba(12, 13, 16, 0.88);
    font-weight: 600;
    margin-top: 2px;
}

/* ===== Stats ===== */
.fun-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 80px), 1fr));
    gap: 14px;
    margin: 16px 0;
}
.fun-stat {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: clamp(14px, 2.2vw, 18px) clamp(10px, 1.6vw, 14px);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
.fun-stat:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.15);
}
.fun-stat .stat-number {
    font-size: clamp(1.35rem, 3.2vw, 1.95rem);
    font-weight: 850;
    color: #ffd700;
    font-family: var(--font-primary);
    font-feature-settings: "ss01", "ss02";
    transition: color 0.6s ease;
}
.fun-stat .stat-label {
    font-size: clamp(0.72rem, 1.2vw, 0.84rem);
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== Lucide Icons Default Scaling ===== */
svg.lucide {
    width: 1em;
    height: 1em;
    stroke-width: 2;
    vertical-align: -0.15em;
    display: inline-block;
}

/* ===== Support Panel Container ===== */
.support-panel {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: max(20px, env(safe-area-inset-right, 20px));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.support-toggle,
.support-box {
    pointer-events: auto;
}

.support-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    border: 1px solid #FFE89E;
    color: #0c0d10;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.48), 0 2px 8px rgba(0,0,0,0.25);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.support-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.65), 0 4px 12px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #FFF6D6 0%, #FFDC73 30%, #E2BE47 65%, #BA9122 100%);
}
.support-toggle:active {
    transform: scale(0.95);
}
.support-floating-pill {
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 16, 24, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light, #fef08a);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0,0,0,0.45), 0 0 15px rgba(212, 175, 55, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: all 0.3s ease;
}
body.light .support-floating-pill {
    background: #ffffff;
    border-color: rgba(180, 131, 22, 0.35);
    color: #855d04;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
@media (max-width: 640px) {
    .support-floating-pill {
        display: none !important;
    }
}

.support-vip-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    flex-shrink: 0;
}
.support-vip-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #f1f5f9;
    background: rgba(212, 175, 55, 0.08);
}
.support-vip-quick-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--gold-light, #fef08a);
    transform: translateY(-1px);
}
.support-vip-quick-btn.phone {
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
}
.support-vip-quick-btn.phone:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.55);
    color: #6ee7b7;
}
body.light .support-vip-quick-btn {
    background: #f8fafc;
    border-color: rgba(180, 131, 22, 0.25);
    color: #1e293b;
}
body.light .support-vip-quick-btn.phone {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

.support-box {
    background: rgba(14, 16, 24, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 24px;
    width: min(420px, calc(100vw - 32px));
    height: min(640px, calc(100vh - 100px));
    height: min(640px, calc(100dvh - 100px));
    max-height: min(640px, calc(100vh - 100px));
    max-height: min(640px, calc(100dvh - 100px));
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,0.8), 0 0 40px rgba(212, 175, 55, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    margin-bottom: 12px;
    display: none;
    flex-direction: column;
    animation: slideUpSupport 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overscroll-behavior: contain;
}
.support-box.active {
    display: flex;
}
.support-box.expanded {
    width: min(580px, calc(100vw - 32px));
    height: min(720px, calc(100vh - 90px));
    height: min(720px, calc(100dvh - 90px));
    max-height: min(720px, calc(100vh - 90px));
    max-height: min(720px, calc(100dvh - 90px));
}

@keyframes slideUpSupport {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.support-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.support-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5d061, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c0d10;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.support-header-text h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}
.support-header-text span {
    font-size: 0.72rem;
    color: #2ed573;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    white-space: nowrap;
}
.support-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ed573;
    display: inline-block;
    box-shadow: 0 0 8px #2ed573;
    animation: pulse-dot 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin-icon {
    animation: spinIcon 1s linear infinite;
    display: inline-block;
}

.support-header-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}
.support-tool-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #dedee8;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.support-tool-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}
.support-tool-btn svg {
    width: 15px;
    height: 15px;
}

.support-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.support-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

/* ===== Navigation Tabs ===== */
.support-nav-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 8px;
    gap: 6px;
    flex-shrink: 0;
}
.support-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 4px;
    border-radius: 12px;
    background: transparent;
    border: none;
    color: #b0b0c4;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    white-space: nowrap;
}
.support-tab-btn svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.support-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.support-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    color: #ffd700;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.support-tab-btn.active svg {
    color: #ffd700;
}

/* ===== Tab Panes ===== */
.support-tab-pane {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
}
.support-tab-pane.active {
    display: flex;
}

/* ===== Support Tags Section (Horizontal Scrollable Pills) ===== */
.support-tags-section {
    padding: 8px 14px 6px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 100%;
}
.support-tags-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
}
.support-tags-icon {
    width: 14px;
    height: 14px;
    color: #ffd700;
    flex-shrink: 0;
}
.support-tags-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 6px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.support-tags-container::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}
.support-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e4e4f0;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    white-space: nowrap;
    user-select: none;
}
.support-chip i,
.support-chip svg {
    width: 14px;
    height: 14px;
    color: var(--gold, #ffd700);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}
.support-chip:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}
.support-chip.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15));
    border-color: #ffd700;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ===== Chat Stream ===== */
.support-chat-stream {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.support-chat-stream::-webkit-scrollbar {
    width: 4px;
}
.support-chat-stream::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 10px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 92%;
    animation: fadeIn 0.25s ease;
}
.chat-msg.ai-msg {
    align-self: flex-start;
}
.chat-msg.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.chat-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5d061, #d4af37);
    color: #0c0d10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.chat-msg-avatar svg {
    width: 16px;
    height: 16px;
}
.chat-msg.user-msg .chat-msg-avatar {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.chat-msg-body {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 4px 16px 16px;
    padding: 12px 16px;
    font-size: 0.92rem;
    line-height: 1.9;
    color: #e2e2ec;
}
.chat-msg.user-msg .chat-msg-body {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.12));
    border-color: rgba(212, 175, 55, 0.35);
    border-radius: 4px 16px 16px 16px;
    color: #ffffff;
}
.chat-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.chat-msg-header strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd700;
}
.chat-msg.user-msg .chat-msg-header strong {
    color: #ffffff;
}
.chat-msg-time {
    font-size: 0.74rem;
    color: #9898aa;
}
.chat-msg-content strong {
    color: #ffd700;
}

/* Quick Prompts inside AI Message */
.chat-quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.quick-prompt-chip {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #e0d5ba;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
}
.quick-prompt-chip svg {
    width: 13px;
    height: 13px;
    color: #ffd700;
}
.quick-prompt-chip:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #ffd700;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Chat Input Area */
.support-chat-input-area {
    padding: 10px 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(12, 15, 22, 0.98);
    flex-shrink: 0;
    z-index: 5;
}
.support-chat-input-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    padding: 5px 14px 5px 6px;
    gap: 8px;
    transition: var(--transition-smooth);
}
.support-chat-input-box:focus-within {
    border-color: rgba(212, 175, 55, 0.7);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.22);
}
.support-chat-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.92rem;
    color: #ffffff;
    font-family: var(--font-primary);
    min-width: 0;
    padding: 7px 4px;
}
.support-chat-input-box input::placeholder {
    color: #9ca3af;
    font-size: 0.86rem;
}
.support-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5d061, #d4af37);
    border: none;
    color: #0c0d10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.support-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.support-send-btn svg {
    width: 17px;
    height: 17px;
    transform: scaleX(-1);
}

/* ===== FAQ Tab Styles ===== */
#supportFaqTab {
    padding: 12px 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
#supportFaqTab::-webkit-scrollbar {
    width: 4px;
}
#supportFaqTab::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 10px;
}
.faq-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 7px 14px;
    margin-bottom: 12px;
    gap: 8px;
    flex-shrink: 0;
}
.faq-search-box svg {
    width: 15px;
    height: 15px;
    color: #888899;
}
.faq-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #ffffff;
    font-family: var(--font-primary);
}
.faq-categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.faq-categories::-webkit-scrollbar {
    display: none;
}
.faq-cat-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #a8a8ba;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}
.faq-cat-btn.active, .faq-cat-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #ffd700;
    color: #ffd700;
    font-weight: 700;
}
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-accordion-item.active {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.04);
}
.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #e6e6f4;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: right;
    cursor: pointer;
    font-family: var(--font-primary);
    gap: 10px;
}
.faq-accordion-header svg {
    width: 16px;
    height: 16px;
    color: #d4af37;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.faq-accordion-item.active .faq-accordion-header svg {
    transform: rotate(180deg);
}
.faq-accordion-content {
    display: none;
    padding: 0 14px 14px;
    font-size: 0.88rem;
    line-height: 1.9;
    color: #c4c4d6;
}
.faq-accordion-item.active .faq-accordion-content {
    display: block;
}
.faq-ask-ai-btn {
    margin-top: 10px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffd700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}
.faq-ask-ai-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #ffd700;
}

/* ===== Callback Tab Styles ===== */
#supportCallbackTab {
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.callback-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}
.callback-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(46, 213, 115, 0.12);
    border: 1px solid rgba(46, 213, 115, 0.35);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: #2ed573;
    font-weight: 600;
    margin-bottom: 12px;
}
.callback-badge svg {
    width: 13px;
    height: 13px;
}
.callback-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.45;
}
.callback-card p {
    font-size: 0.88rem;
    color: #b0b0c2;
    line-height: 1.85;
    margin: 0 0 18px;
}
.support-callback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}
.callback-field label {
    display: block;
    font-size: 0.82rem;
    color: #d4af37;
    margin-bottom: 6px;
    font-weight: 600;
}
.callback-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px 12px;
    gap: 8px;
    transition: var(--transition-smooth);
}
.callback-input-wrap:focus-within {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.08);
}
.callback-input-wrap svg {
    width: 16px;
    height: 16px;
    color: #ffd700;
    flex-shrink: 0;
}
.callback-input-wrap input,
.callback-input-wrap select {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    font-family: var(--font-primary);
    padding: 6px 0;
}
.callback-input-wrap select option {
    background: #14151e;
    color: #ffffff;
}
.callback-submit-btn {
    margin-top: 6px;
    background: linear-gradient(135deg, #f5d061, #d4af37);
    color: #0c0d10;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}
.callback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}
.callback-success {
    margin-top: 12px;
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.35);
    border-radius: 10px;
    padding: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2ed573;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Quick Contact Actions in Support ===== */
.support-actions {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(10, 12, 18, 0.98);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    flex-shrink: 0;
    z-index: 5;
}
.support-action-btn {
    flex: 1;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.support-action-btn.phone {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light, #ffd700);
}
.support-action-btn.phone:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: #ffd700;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

/* ===== AI Assistant UI Styles ===== */
.ai-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    color: #ffd700;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-left: 4px;
    letter-spacing: 0.3px;
}

.ai-typing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 12px;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    animation: fadeIn 0.2s ease;
}
.ai-typing-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #ffd700;
    font-weight: 600;
}
.ai-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ai-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd700;
    display: inline-block;
    animation: ai-dot-bounce 1.4s infinite ease-in-out both;
}
.ai-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes ai-dot-bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

.ai-response {
    animation: fadeIn 0.35s ease;
}
.ai-tag-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.ai-tag-header .ai-tag-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffd700;
}
.ai-tag-header .ai-tag-time {
    font-size: 0.76rem;
    color: var(--text-muted);
}
.ai-content {
    font-size: 0.92rem;
    line-height: 1.9;
    color: #e2e2ee;
}
.ai-content strong {
    color: #ffd700;
    font-weight: 700;
}
.ai-order-btn {
    margin-top: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5d061 0%, #d4af37 50%, #b38b1e 100%);
    color: #0c0d10;
    border: 1px solid #ffe89e;
    font-size: 0.92rem;
    font-weight: 800;
    font-family: var(--font-primary);
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    transition: var(--transition-smooth);
}
.ai-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.55);
}

/* ===== Tracker Tab Container ===== */
#supportTrackerTab {
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
#supportTrackerTab::-webkit-scrollbar {
    width: 4px;
}
#supportTrackerTab::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 10px;
}

/* ===== Support Chat Active Body Lock ===== */
body.support-open {
    overflow: hidden !important;
}

/* ==========================================================================
   SUPPORT CHAT RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */

/* ===== Tablet Mode (641px - 768px) ===== */
@media (max-width: 768px) and (min-width: 641px) {
    .support-panel {
        bottom: max(16px, env(safe-area-inset-bottom, 16px));
        right: max(16px, env(safe-area-inset-right, 16px));
    }
    .support-box {
        width: min(400px, calc(100vw - 32px));
        height: min(600px, calc(100vh - 90px));
        height: min(600px, calc(100dvh - 90px));
        max-height: min(600px, calc(100vh - 90px));
        max-height: min(600px, calc(100dvh - 90px));
        border-radius: 20px;
    }
    .support-box.expanded {
        width: min(520px, calc(100vw - 32px));
    }
}

/* ===== Full Mobile Native App Experience (<= 640px) ===== */
@media (max-width: 640px) {
    /* Support Floating Toggle Button */
    .support-panel {
        bottom: max(16px, env(safe-area-inset-bottom, 16px));
        right: max(16px, env(safe-area-inset-right, 16px));
        left: auto;
        top: auto;
        pointer-events: none;
    }
    .support-toggle {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
        box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
        pointer-events: auto;
    }
    .support-toggle .support-badge {
        width: 20px;
        height: 20px;
        font-size: 0.72rem;
    }

    /* Support Chat Window: Full-Screen Native App Drawer */
    .support-box {
        display: none;
    }
    .support-box.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100dvw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        z-index: 100000 !important;
        box-shadow: none !important;
        pointer-events: auto !important;
        animation: slideUpSupportMobile 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }

    /* Hide floating toggle button when chat is open */
    .support-panel:has(.support-box.active) .support-toggle,
    .support-box.active ~ .support-toggle,
    .support-box.active + .support-toggle {
        display: none !important;
    }

    /* Hide redundant desktop maximize button on mobile */
    #supportExpandBtn {
        display: none !important;
    }

    /* Header styling on mobile */
    .support-header {
        padding: max(10px, env(safe-area-inset-top, 10px)) 12px 10px 12px;
        gap: 8px;
    }
    .support-header-info {
        gap: 8px;
        min-width: 0;
        flex: 1;
    }
    .support-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .support-header-text {
        min-width: 0;
        flex: 1;
    }
    .support-header-text h4 {
        font-size: 0.88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .support-header-text span {
        font-size: 0.7rem;
    }
    .support-header-tools {
        gap: 6px;
        flex-shrink: 0;
    }
    .support-tool-btn,
    .support-close {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    /* Horizontal swipeable navigation tabs */
    .support-nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding: 8px 10px;
        gap: 6px;
        background: rgba(0, 0, 0, 0.4);
    }
    .support-nav-tabs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    .support-tab-btn {
        flex: 0 0 auto;
        padding: 7px 12px;
        font-size: 0.78rem;
        border-radius: 16px;
        white-space: nowrap;
    }
    .support-tab-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Quick question chips */
    .support-tags-section {
        padding: 8px 12px 6px 12px;
    }
    .support-tags-header {
        font-size: 0.74rem;
        margin-bottom: 5px;
    }
    .support-tags-container {
        padding: 2px 0 6px;
        gap: 6px;
    }
    .support-chip {
        padding: 5px 12px;
        font-size: 0.78rem;
        min-height: 30px;
    }

    /* Chat message stream */
    .support-chat-stream {
        padding: 12px 10px;
        gap: 12px;
    }
    .chat-msg {
        max-width: 96%;
        gap: 8px;
    }
    .chat-msg-avatar {
        width: 28px;
        height: 28px;
    }
    .chat-msg-avatar svg {
        width: 14px;
        height: 14px;
    }
    .chat-msg-body {
        padding: 10px 12px;
        font-size: 0.88rem;
        line-height: 1.78;
        border-radius: 14px;
    }
    .chat-msg-header strong {
        font-size: 0.82rem;
    }
    .chat-quick-prompts {
        gap: 6px;
        margin-top: 8px;
        padding-top: 6px;
    }
    .quick-prompt-chip {
        padding: 5px 10px;
        font-size: 0.78rem;
        min-height: 32px;
    }

    /* Input area with safe-area and 16px input to prevent iOS zoom */
    .support-chat-input-area {
        padding: 8px 10px;
    }
    .support-chat-input-box {
        padding: 4px 6px 4px 12px;
        border-radius: 24px;
    }
    .support-chat-input-box input {
        font-size: 16px; /* Essential: prevents iOS Safari viewport zooming */
        padding: 6px 4px;
    }
    .support-chat-input-box input::placeholder {
        font-size: 0.82rem;
    }
    .support-send-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    /* Footer contact action buttons */
    .support-actions {
        padding: 8px 10px max(10px, env(safe-area-inset-bottom, 10px)) 10px;
        gap: 8px;
    }
    .support-action-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 12px;
        min-height: 40px;
    }
    .support-action-btn svg {
        width: 15px;
        height: 15px;
    }

    /* FAQ Tab Mobile Styles */
    #supportFaqTab {
        padding: 12px 10px;
    }
    .faq-search-box {
        padding: 6px 12px;
        margin-bottom: 10px;
        border-radius: 16px;
    }
    .faq-search-box input {
        font-size: 16px; /* Prevents iOS Safari zoom */
    }
    .faq-categories {
        padding-bottom: 6px;
        margin-bottom: 10px;
        gap: 6px;
    }
    .faq-cat-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
        border-radius: 14px;
    }
    .faq-accordion-header {
        padding: 10px 12px;
        font-size: 0.86rem;
    }
    .faq-accordion-content {
        padding: 0 12px 12px;
        font-size: 0.84rem;
        line-height: 1.8;
    }

    /* Callback Tab Mobile Styles */
    #supportCallbackTab {
        padding: 12px 10px;
    }
    .callback-card {
        padding: 14px 12px;
        border-radius: 14px;
    }
    .callback-card h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }
    .callback-card p {
        font-size: 0.84rem;
        margin-bottom: 14px;
        line-height: 1.7;
    }
    .callback-input-wrap {
        padding: 7px 12px;
        border-radius: 10px;
    }
    .callback-input-wrap input,
    .callback-input-wrap select {
        font-size: 16px; /* Prevents iOS Safari zoom */
    }
    .callback-submit-btn {
        padding: 12px;
        font-size: 0.9rem;
        min-height: 46px;
    }

    /* Tracker Tab Mobile Styles */
    #supportTrackerTab {
        padding: 12px 10px;
    }
    .support-tracker-result-box {
        padding: 12px;
        margin-top: 12px;
        border-radius: 12px;
    }

    /* Light Mode Overrides for Mobile Full Screen */
    body.light .support-box.active {
        background: #ffffff !important;
        border: none !important;
        border-radius: 0 !important;
    }
}

/* ===== Very Small Screens (<= 360px) ===== */
@media (max-width: 360px) {
    .support-header-text h4 {
        font-size: 0.8rem;
    }
    .support-tab-btn {
        padding: 6px 9px;
        font-size: 0.74rem;
    }
    .support-action-btn {
        font-size: 0.76rem;
        padding: 6px 8px;
    }
}

@keyframes slideUpSupportMobile {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-content {
    background: rgba(14, 16, 24, 0.97);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    border-radius: var(--radius-lg);
    max-width: var(--modal-max-width);
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 3.5vw, 32px) clamp(22px, 3.5vw, 32px);
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow: 0 30px 90px rgba(0,0,0,0.8), 0 0 50px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}
.modal-content::-webkit-scrollbar { width: 5px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.4); border-radius: 10px; }

.modal-close {
    position: sticky;
    top: 0;
    float: left;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    width: clamp(32px, 5vw, 38px);
    height: clamp(32px, 5vw, 38px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.modal-close:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
    border-color: #ffd700;
    color: #ffd700;
}
.modal-header {
    text-align: center;
    margin-bottom: 26px;
    padding-top: 4px;
}
.modal-header .modal-icon {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffd700;
    margin: 0 auto 12px;
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.25);
}
.modal-header h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 850;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: normal;
}
.modal-header .modal-sub {
    font-size: clamp(0.84rem, 1.3vw, 0.94rem);
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.6;
}

/* ===== Form ===== */
.form-step-title {
    font-size: clamp(0.88rem, 1.4vw, 0.98rem);
    font-weight: 750;
    color: #f1f5f9;
    margin: 22px 0 14px 0;
    padding-right: 12px;
    border-right: 3.5px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.5;
}
.form-step-title svg.lucide {
    width: 1.25em;
    height: 1.25em;
    color: #ffd700;
    stroke-width: 2.2;
    flex-shrink: 0;
}
body.light .form-step-title svg.lucide {
    color: #b38b1e;
}
.form-step-title:first-of-type { margin-top: 0; }

.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    font-size: clamp(0.8rem, 1.2vw, 0.88rem);
    color: #d0d0e2;
    margin-bottom: 6px;
    font-weight: 600;
}
.form-group label .required {
    color: #ff6b6b;
    margin-right: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(22, 26, 38, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: clamp(11px, 1.5vw, 13px) clamp(14px, 2vw, 18px);
    width: 100%;
    color: #ffffff;
    font-size: clamp(0.88rem, 1.3vw, 0.96rem);
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(26, 31, 46, 0.95);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 0 20px rgba(212, 175, 55, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: clamp(0.82rem, 1.2vw, 0.88rem);
}
.form-group textarea {
    border-radius: 12px;
    resize: vertical;
    min-height: 85px;
    line-height: 1.7;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.chip {
    background: rgba(22, 26, 38, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: clamp(7px, 1vw, 9px) clamp(16px, 2vw, 20px);
    border-radius: 30px;
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    font-weight: 550;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.chip:hover {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}
.chip.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-weight: 750;
    transform: translateY(-1px);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 80px), 1fr));
    gap: 8px;
}
.amenity-card {
    background: rgba(22, 26, 38, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    padding: clamp(10px, 1.2vw, 14px) clamp(8px, 1vw, 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.amenity-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.1);
}
.amenity-card i, .amenity-card svg.lucide { font-size: 1.15rem; width: 1.15em; height: 1.15em; color: var(--text-muted); transition: var(--transition-smooth); }
.amenity-card span { font-size: 0.8rem; font-weight: 550; color: var(--text-secondary); text-align: center; }
.amenity-card.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #ffd700;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.amenity-card.active i,
.amenity-card.active svg.lucide,
.amenity-card.active span { color: #ffd700; font-weight: 750; }

.range-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}
.range-input {
    flex: 1;
    min-width: 100px;
    max-width: 160px;
    background: rgba(22, 26, 38, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: clamp(9px, 1.2vw, 11px) clamp(12px, 2vw, 16px);
    border-radius: 30px;
    font-size: clamp(0.88rem, 1.2vw, 0.98rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.range-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18), 0 0 16px rgba(212, 175, 55, 0.15);
}
.range-sep { color: var(--text-muted); font-size: 0.85rem; }

.price-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(18, 22, 32, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-sm);
    padding: 4px 0;
    display: none;
    z-index: 50;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6), 0 0 20px rgba(212, 175, 55, 0.15);
    max-height: 150px;
    overflow-y: auto;
}
.price-suggestions.show {
    display: block;
    animation: fadeIn 0.2s ease;
}
.price-suggestion-item {
    padding: 8px 16px;
    font-size: clamp(0.78rem, 1.2vw, 0.85rem);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}
.price-suggestion-item:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #ffd700;
}

.notes-char-count {
    font-size: clamp(0.72rem, 1vw, 0.78rem);
    color: var(--text-muted);
    text-align: left;
    margin-top: 6px;
}
.notes-char-count.limit { color: #ff6b6b; }

.btn-submit-modal {
    width: 100%;
    padding: clamp(14px, 2vw, 17px);
    border-radius: 16px;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    font-weight: 850;
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    color: #0c0d10;
    border: 1px solid #FFE89E;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}
.btn-submit-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 45px rgba(212, 175, 55, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #FFF6D6 0%, #FFDC73 30%, #E2BE47 65%, #BA9122 100%);
}
.btn-submit-modal i, .btn-submit-modal svg.lucide { font-size: 1.15rem; }

/* ===== Phone Input with Verification Badge ===== */
.phone-step-group {
    position: relative;
    background: rgba(22, 26, 38, 0.45);
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}
.phone-step-group.verified {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.06);
}
.phone-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.phone-input-row .phone-input-wrapper {
    flex: 1;
}
.phone-input-row .phone-input-wrapper input {
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 1.05rem;
    height: 100%;
}
.btn-send-phone-otp {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.12) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    color: #ffd700;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 0.88rem;
    font-weight: 750;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}
.btn-send-phone-otp:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-color: #ffd700;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}
.btn-send-phone-otp svg.lucide {
    width: 15px;
    height: 15px;
}
.phone-helper-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* ===== Inline OTP Card ===== */
.inline-otp-card {
    animation: fadeIn 0.3s ease;
    margin-top: 14px;
    background: rgba(14, 16, 24, 0.9);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.inline-otp-header {
    margin-bottom: 12px;
}
.inline-otp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(212, 175, 55, 0.15);
    color: #ffd700;
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.inline-otp-badge svg.lucide {
    width: 13px;
    height: 13px;
}
.inline-otp-msg {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin: 0;
}
.inline-otp-msg b {
    color: #ffd700;
}
.inline-otp-input-wrap {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 12px;
}
.inline-otp-field {
    flex: 1;
    text-align: center;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: 12px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    background: rgba(22, 26, 38, 0.95) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
    color: #ffd700 !important;
}
.inline-otp-field:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.3) !important;
}
.btn-inline-verify {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 750;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-inline-verify:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}
.btn-inline-verify svg.lucide {
    width: 16px;
    height: 16px;
}
.inline-otp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}
.inline-timer-text {
    color: var(--text-muted);
}
.btn-inline-resend {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: inherit;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}
.btn-inline-resend svg.lucide {
    width: 13px;
    height: 13px;
}
.btn-inline-resend.active,
.btn-inline-resend:not(:disabled) {
    color: #ffd700;
    cursor: pointer;
    font-weight: 650;
}
.btn-inline-resend.active:hover,
.btn-inline-resend:not(:disabled):hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== Phone Verified Status Box ===== */
.phone-verified-box {
    animation: fadeIn 0.35s ease;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.5);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}
.phone-verified-box .verified-box-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.phone-verified-box .verified-box-icon svg.lucide {
    width: 22px;
    height: 22px;
}
.verified-box-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.verified-box-title {
    font-size: 0.92rem;
    font-weight: 750;
    color: #10b981;
}
.verified-box-number {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 600;
    letter-spacing: 1px;
}
.btn-re-edit-phone {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    color: #ffd700;
    font-size: 0.78rem;
    padding: 5px 10px;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}
.btn-re-edit-phone:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
}
.btn-re-edit-phone svg.lucide {
    width: 13px;
    height: 13px;
}

/* ===== OTP Verification Panel ===== */
.otp-verification-panel {
    animation: fadeIn 0.35s ease;
    padding: 10px 4px;
}
.otp-header {
    text-align: center;
    margin-bottom: 22px;
}
.otp-icon-glow {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(212, 175, 55, 0.08) 70%);
    border: 1.5px solid rgba(16, 185, 129, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}
.otp-icon-glow svg.lucide {
    width: 32px;
    height: 32px;
}
.otp-header h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.otp-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.otp-subtitle b {
    color: #ffd700;
    letter-spacing: 1px;
}
.btn-edit-phone {
    margin-top: 8px;
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    transition: var(--transition-smooth);
}
.btn-edit-phone:hover {
    color: #fff;
}
.btn-edit-phone svg.lucide {
    width: 14px;
    height: 14px;
}

.otp-input-container {
    background: rgba(22, 26, 38, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 16px;
}
.otp-input-container label {
    display: block;
    font-size: 0.88rem;
    font-weight: 650;
    color: #e2e8f0;
    margin-bottom: 12px;
}
.otp-code-input {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: 14px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    background: rgba(14, 16, 24, 0.9) !important;
    border: 2px solid rgba(212, 175, 55, 0.4) !important;
    color: #ffd700 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 2px 4px rgba(0,0,0,0.5) !important;
}
.otp-code-input:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35), inset 0 2px 4px rgba(0,0,0,0.5) !important;
}

.otp-timer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 6px;
}
.otp-timer-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.countdown-badge {
    color: #ffd700;
    font-weight: 750;
    background: rgba(212, 175, 55, 0.12);
    padding: 2px 8px;
    border-radius: 8px;
}
.btn-resend-otp {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}
.btn-resend-otp svg.lucide {
    width: 14px;
    height: 14px;
}
.btn-resend-otp.active,
.btn-resend-otp:not(:disabled) {
    color: #ffd700;
    cursor: pointer;
    font-weight: 650;
}
.btn-resend-otp.active:hover,
.btn-resend-otp:not(:disabled):hover {
    color: #fff;
    text-decoration: underline;
}

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-verify-otp {
    width: 100%;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
    transition: var(--transition-smooth);
    font-family: inherit;
}
.btn-verify-otp:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}
.btn-cancel-otp {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
    font-family: inherit;
}
.btn-cancel-otp:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== OPTIONAL EYE-CATCHING COLORFUL NAME PANEL ===== */
.optional-name-panel {
    animation: fadeIn 0.4s ease;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.14) 0%, rgba(212, 175, 55, 0.18) 50%, rgba(16, 185, 129, 0.08) 100%);
    border: 2px solid rgba(212, 175, 55, 0.55);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.optional-name-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.name-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(16, 185, 129, 0.25) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 750;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}
.name-panel-badge svg.lucide {
    width: 15px;
    height: 15px;
    color: #ffd700;
}
.name-panel-title {
    font-size: clamp(1.05rem, 2.2vw, 1.32rem);
    font-weight: 850;
    line-height: 1.55;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.name-panel-desc {
    font-size: clamp(0.82rem, 1.3vw, 0.9rem);
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}
.name-panel-inputs {
    margin-bottom: 20px;
}
.name-panel-inputs .form-group label {
    color: #f1f5f9;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.name-panel-inputs .form-group label svg.lucide {
    width: 15px;
    height: 15px;
    color: #ffd700;
}
.name-panel-inputs input {
    background: rgba(14, 16, 24, 0.88);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    color: #fff;
    border-radius: 12px;
}
.name-panel-inputs input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.name-panel-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-name-confirm {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 1.02rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    color: #0c0d10;
    border: 1px solid #FFE89E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    font-family: inherit;
}
.btn-name-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}
.btn-name-skip {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px dashed rgba(212, 175, 55, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    font-family: inherit;
}
.btn-name-skip:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: #ffd700;
    color: #ffd700;
}

/* ===== ORDER SUCCESS PANEL ===== */
.order-success-panel {
    animation: fadeIn 0.4s ease;
    text-align: center;
    padding: 15px 8px;
}
.success-icon-wrapper {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(212, 175, 55, 0.1) 70%);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.4);
}
.success-icon-wrapper svg.lucide {
    width: 38px;
    height: 38px;
}
.order-success-panel h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 850;
    color: #ffffff;
    margin-bottom: 18px;
}
.success-details-card {
    background: rgba(22, 26, 38, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 18px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.success-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.success-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.detail-label {
    color: var(--text-muted);
}
.request-badge {
    background: rgba(212, 175, 55, 0.18);
    color: #ffd700;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 750;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
}
.verified-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.success-notes {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 22px;
}
.btn-close-success {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    color: #0c0d10;
    border: 1px solid #FFE89E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transition: var(--transition-smooth);
    font-family: inherit;
}
.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* ===== Footer (Ultra-Luxury Edition) ===== */
.legal-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(14, 16, 24, 0.96) 0%, rgba(9, 10, 15, 0.99) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    padding: clamp(38px, 5vw, 56px) 0 clamp(18px, 2.5vw, 24px);
    margin-top: 50px;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.footer-glow-bar {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 25%, #ffd700 50%, rgba(212, 175, 55, 0.35) 75%, transparent 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    pointer-events: none;
}

.legal-footer .footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-mobile);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    gap: clamp(24px, 4vw, 45px);
    align-items: start;
}

/* Brand Column */
.footer-col-brand {
    display: flex;
    flex-direction: column;
}
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.55)) drop-shadow(0 0 2px rgba(255, 241, 194, 0.7));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-logo-img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.8));
}
.footer-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.footer-logo-badge svg.lucide {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}
.footer-brand-title {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 850;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #FFF0C2 0%, #FFD700 40%, #D4AF37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
}
.footer-brand-desc {
    font-size: clamp(0.85rem, 1.2vw, 0.94rem);
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 20px;
    max-width: 400px;
}
.footer-phone-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(22, 26, 38, 0.85), rgba(16, 19, 28, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.25);
    text-decoration: none;
    width: fit-content;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.footer-phone-card:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    background: linear-gradient(135deg, rgba(26, 31, 48, 0.95), rgba(18, 22, 32, 0.98));
}
.phone-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    flex-shrink: 0;
}
.phone-card-icon svg.lucide {
    width: 18px;
    height: 18px;
}
.phone-card-content {
    display: flex;
    flex-direction: column;
}
.phone-card-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.phone-card-number {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Nav Column */
.footer-col-nav {
    display: flex;
    flex-direction: column;
}
.footer-heading {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.footer-heading svg.lucide {
    color: #ffd700;
    width: 1.2em;
    height: 1.2em;
}
.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.85rem, 1.2vw, 0.94rem);
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 10px;
    transition: var(--transition-smooth);
    width: fit-content;
}
.footer-link svg.lucide {
    width: 1.1em;
    height: 1.1em;
    color: #ffd700;
    transition: var(--transition-smooth);
}
.footer-link:hover {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(-6px);
}
.footer-link:hover svg.lucide {
    color: #ffd700;
    transform: scale(1.15);
}

/* Social Column */
.footer-col-social {
    display: flex;
    flex-direction: column;
}
.footer-social-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}
.footer-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.footer-social-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.social-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.social-pill-icon svg,
.social-pill-icon svg.lucide {
    width: 18px;
    height: 18px;
    display: block;
}
.social-pill-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.social-pill-name {
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.3;
    white-space: nowrap;
}
.social-pill-handle {
    font-size: 0.7rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-pill-arrow {
    width: 14px;
    height: 14px;
    margin-right: auto;
    opacity: 0;
    transform: translate(3px, -3px);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.footer-social-pill:hover .social-pill-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Instagram */
.footer-social-pill.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.12), rgba(131, 58, 180, 0.08));
    border: 1px solid rgba(225, 48, 108, 0.3);
    color: #ff5f9e;
}
.footer-social-pill.instagram .social-pill-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}
.footer-social-pill.instagram:hover {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.2), rgba(225, 48, 108, 0.25), rgba(188, 24, 136, 0.2));
    border-color: #ff5f9e;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.3);
    transform: translateY(-2px);
}

/* WhatsApp */
.footer-social-pill.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
}
.footer-social-pill.whatsapp .social-pill-icon {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.footer-social-pill.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

/* Telegram */
.footer-social-pill.telegram {
    background: rgba(41, 182, 246, 0.1);
    border: 1px solid rgba(41, 182, 246, 0.3);
    color: #29b6f6;
}
.footer-social-pill.telegram .social-pill-icon {
    background: #29b6f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(41, 182, 246, 0.35);
}
.footer-social-pill.telegram:hover {
    background: rgba(41, 182, 246, 0.2);
    border-color: #29b6f6;
    box-shadow: 0 8px 25px rgba(41, 182, 246, 0.3);
    transform: translateY(-2px);
}

/* Bale */
.footer-social-pill.bale {
    background: rgba(88, 204, 2, 0.1);
    border: 1px solid rgba(88, 204, 2, 0.3);
    color: #58cc02;
}
.footer-social-pill.bale .social-pill-icon {
    background: #58cc02;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(88, 204, 2, 0.35);
}
.footer-social-pill.bale:hover {
    background: rgba(88, 204, 2, 0.2);
    border-color: #58cc02;
    box-shadow: 0 8px 25px rgba(88, 204, 2, 0.3);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-mobile);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copyright {
    font-size: clamp(0.78rem, 1.1vw, 0.88rem);
    color: var(--text-secondary);
    margin: 0;
}
.footer-copyright strong {
    color: #ffd700;
    font-weight: 800;
}
.footer-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffd700;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
}
.footer-location-badge svg.lucide {
    width: 14px;
    height: 14px;
}

/* ===== Responsive Design (دسکتاپ، تبلت و موبایل - منوی همبرگری همواره در دسترس) ===== */
.mobile-menu-toggle {
    display: inline-flex !important;
}

@media (max-width: 992px) {
    .nav-links {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
    .glass-nav {
        padding: 6px 14px;
        border-radius: 36px;
    }
    .header-actions {
        gap: 6px;
    }
    .header-action-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }
}

@media (max-width: 640px) {
    .glass-nav { 
        padding: 5px 12px; 
        border-radius: 30px;
    }
    .header-actions {
        gap: 5px;
    }
    .header-action-btn { 
        width: 36px; 
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        padding: 0 !important; 
        border-radius: 10px !important;
        box-sizing: border-box;
    }
    .header-action-btn svg.lucide {
        width: 17px !important;
        height: 17px !important;
    }
    .header-spacer { 
        height: calc(66px + env(safe-area-inset-top, 0px)); 
    }
    header { 
        top: max(8px, calc(env(safe-area-inset-top, 0px) + 6px)); 
    }
    .logo-container img { 
        height: clamp(28px, 6.5vw, 36px); 
    }
}

@media (max-width: 440px) {
    .glass-nav {
        padding: 4px 8px;
        border-radius: 26px;
    }
    .header-actions {
        gap: 4px;
    }
    .header-action-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 9px !important;
    }
    .header-action-btn svg.lucide {
        width: 16px !important;
        height: 16px !important;
    }
    .header-actions .call-btn {
        display: none !important;
    }
    header {
        top: max(6px, calc(env(safe-area-inset-top, 0px) + 4px));
    }
}

/* ===== iOS Standalone PWA & iPhone 13 Notch Support ===== */
@supports (padding-top: env(safe-area-inset-top)) {
    header {
        top: calc(env(safe-area-inset-top, 0px) + 8px);
    }
    .header-spacer {
        height: calc(70px + env(safe-area-inset-top, 0px));
    }
}

@media all and (display-mode: standalone), (display-mode: fullscreen) {
    header {
        top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
    }
    .header-spacer {
        height: calc(76px + env(safe-area-inset-top, 0px)) !important;
    }
    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .support-widget {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .scroll-top-btn {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

html.is-ios-standalone header,
html.is-pwa-standalone header {
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
}
html.is-ios-standalone .header-spacer,
html.is-pwa-standalone .header-spacer {
    height: calc(76px + env(safe-area-inset-top, 0px)) !important;
}



@media (max-width: 480px) {
    .site-wrapper {
        padding: 0 10px;
    }
    .welcome-section {
        padding: 24px 14px 22px;
        border-radius: 22px;
        margin: 16px 0 24px;
    }
    .welcome-section h1.hero-main-title {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
        line-height: 1.45;
    }
    .hero-subtitle {
        font-size: clamp(0.95rem, 3.8vw, 1.12rem);
    }
    .hero-callout {
        padding: 8px 16px;
        margin: 4px auto 14px;
        border-radius: 20px;
    }
    .hero-callout-text {
        font-size: 0.84rem;
        line-height: 1.8;
    }
    .tech-stack-badge {
        gap: 6px;
    }
    .tech-stack-badge span {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
    .section-title {
        font-size: 1.25rem;
        margin: 28px 0 14px;
        padding-right: 14px;
    }
    .modal-content {
        width: 96%;
        padding: 18px 12px 16px;
        max-height: 90vh;
        border-radius: 20px;
    }
    .form-row { 
        grid-template-columns: 1fr; 
        gap: 6px; 
    }
    .range-row {
        gap: 6px;
    }
    .range-input {
        min-width: 80px;
        max-width: 125px;
        padding: 8px 8px;
        font-size: 0.82rem;
    }
    .chips {
        gap: 6px;
    }
    .chip {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 72px), 1fr));
        gap: 6px;
    }
    .amenity-card {
        padding: 8px 4px;
    }
    .amenity-card span {
        font-size: 0.72rem;
    }
    .scroll-section {
        padding: 6px 10px 16px;
        margin: 0 -10px;
    }
    .scroll-section .scroll-item { 
        width: clamp(160px, 46vw, 190px); 
    }
    .compact-card-scroll,
    .why-item-scroll {
        padding: 16px 12px;
        min-height: 150px;
    }
    .about-box {
        padding: 20px 14px;
        border-radius: 18px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .trust-card {
        padding: 18px 14px;
    }
    .order-box {
        padding: 22px 14px;
        border-radius: 22px;
    }
    .order-toggle-btn {
        padding: 14px 18px;
        gap: 12px;
    }
    .order-toggle-btn .btn-text .main {
        font-size: 1rem;
    }
    .order-toggle-btn .btn-text .sub {
        font-size: 0.78rem;
    }
    .fun-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .fun-stat {
        padding: 14px 10px;
    }
    .fun-stat .stat-number {
        font-size: 1.45rem;
    }
    .fun-stat .stat-label {
        font-size: 0.72rem;
    }
    .legal-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .site-wrapper {
        padding: 0 6px;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    .welcome-section h1.hero-main-title {
        font-size: 1.25rem;
    }
    .range-row {
        flex-direction: column;
        gap: 6px;
    }
    .range-input {
        min-width: 100%;
        max-width: 100%;
    }
    .range-sep {
        display: none;
    }
    .order-toggle-btn .btn-icon {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .scroll-section .scroll-item { width: clamp(160px, 30vw, 200px); }
    .fun-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============================================================ */
/*   LIGHT MODE                                                 */
/* ============================================================ */

html.light,
html.light body,
body.light {
    /* ===== Luxury Alabaster Pearl & Warm Antique Gold Palette (حالت روز لوکس) ===== */
    --bg-primary: #fbf9f5;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    
    /* Text Hierarchy (High Readability & Warm Contrast) */
    --text-primary: #18181b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-gold: #b38b1e;
    
    /* Subtle Warm Borders */
    --border-color: rgba(197, 160, 48, 0.2);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(197, 160, 48, 0.48);
    --border-focus: rgba(197, 160, 48, 0.75);
    
    --region-primary: #b38b1e;
    --region-secondary: #946e13;
    --region-bg-glow: rgba(197, 160, 48, 0.08);
    
    --logo-green: #059669;
    --logo-gold: #b38b1e;
    --logo-green-light: #10b981;
    
    --orb-1: rgba(212, 175, 55, 0.08);
    --orb-2: rgba(16, 185, 129, 0.06);
    --orb-3: rgba(212, 175, 55, 0.04);
    
    --shadow-card: 0 10px 30px rgba(180, 140, 40, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 16px 40px rgba(180, 140, 40, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
    
    --gradient-primary: linear-gradient(135deg, #18181b, #b38b1e);
    --gradient-hero: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 250, 244, 0.94) 100%);
}

html.light body,
body.light {
    background: var(--bg-primary);
}

body.light .bg-overlay { 
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
}

body.light .glow-orb-1 { 
    background: var(--orb-1);
    animation: floatOrbLight 20s ease-in-out infinite alternate;
}
body.light .glow-orb-2 { 
    background: var(--orb-2);
    animation: floatOrbLight 22s ease-in-out infinite alternate-reverse;
}
body.light .glow-orb-3 { 
    background: var(--orb-3);
    animation: floatOrbLight 18s ease-in-out infinite alternate;
}

@keyframes floatOrbLight {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(30px, -40px) scale(1.15); opacity: 0.6; }
    50% { transform: translate(-20px, 30px) scale(0.85); opacity: 0.3; }
    75% { transform: translate(40px, 20px) scale(1.1); opacity: 0.5; }
    100% { transform: translate(-30px, -30px) scale(0.95); opacity: 0.4; }
}

body.light .glass-nav { 
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    border-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.06);
}
body.light .glass-nav:hover { 
    border-color: var(--border-hover);
}

body.light .nav-links a { 
    color: #2b2014; 
}
body.light .nav-links a svg.lucide {
    color: #966f14;
    stroke-width: 2px;
}
body.light .nav-links a::after {
    background: linear-gradient(90deg, var(--logo-gold), var(--logo-green));
}
body.light .nav-links a:hover { 
    color: #0e0a06; 
    background: rgba(212, 175, 55, 0.14);
}
body.light .nav-links a:hover svg.lucide {
    color: #b8860b;
    transform: scale(1.12);
}
body.light .nav-links a.active {
    color: #8c6a0c;
    background: rgba(212, 175, 55, 0.2);
}
body.light .nav-links a.active svg.lucide {
    color: #8c6a0c;
}

body.light .nav-links a.nav-tracker-link {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(180, 135, 20, 0.45);
    color: #7c5807;
}
body.light .nav-links a.nav-tracker-link svg.lucide {
    color: #7c5807;
}
body.light .nav-links a.nav-tracker-link:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: #966f14;
    color: #5a3e02;
}
body.light .nav-links a.nav-tracker-link:hover svg.lucide {
    color: #5a3e02;
}

body.light .header-action-btn,
body.light .theme-btn,
body.light .pwa-notif-btn { 
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #7c5807;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
body.light .header-action-btn svg.lucide,
body.light .theme-btn svg.lucide,
body.light .pwa-notif-btn svg.lucide {
    color: #7c5807;
    stroke-width: 2px;
}
body.light .header-action-btn:hover,
body.light .theme-btn:hover,
body.light .pwa-notif-btn:hover { 
    background: rgba(212, 175, 55, 0.2);
    border-color: #966f14;
    color: #5a3e02;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.2);
}
body.light .header-action-btn:hover svg.lucide,
body.light .theme-btn:hover svg.lucide,
body.light .pwa-notif-btn:hover svg.lucide {
    color: #5a3e02;
    transform: scale(1.12);
}
body.light .header-action-btn:active,
body.light .theme-btn:active,
body.light .pwa-notif-btn:active {
    transform: translateY(0) scale(0.96);
}
body.light .pwa-notif-btn.is-active {
    background: rgba(212, 175, 55, 0.25);
    border-color: #966f14;
    color: #5a3e02;
}
body.light .pwa-notif-btn.is-active svg.lucide {
    color: #5a3e02;
}


body.light .welcome-section {
    background: var(--gradient-hero);
    border-color: var(--border-color);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.06);
}
body.light .welcome-section .badge { 
    color: #1A140E;
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}
body.light .welcome-section h1 {
    background: linear-gradient(135deg, #1A140E, #43311e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
body.light .welcome-section h1 span {
    background: linear-gradient(135deg, var(--logo-gold), #8f721a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
body.light .hero-subtitle {
    color: #2b221a;
}
body.light .hero-callout {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
body.light .hero-callout-text {
    color: #2b221a;
}
body.light .welcome-section p { 
    color: #5A4A3A; 
}
body.light .welcome-section .highlight { 
    color: var(--logo-gold); 
}

body.light .tech-stack-badge span { 
    color: #4a3826; 
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.08);
}
body.light .tech-stack-badge span svg.lucide {
    color: #996e1e;
}
body.light .tech-stack-badge span:hover {
    border-color: var(--logo-gold);
    color: var(--logo-gold);
    transform: scale(1.05);
}

body.light .section-title { 
    color: #1A140E; 
}
body.light .section-title::before {
    background: linear-gradient(to bottom, var(--logo-gold), var(--logo-green));
}

body.light .compact-card-scroll { 
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
}
body.light .compact-card-scroll:hover { 
    background: #ffffff;
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(180, 140, 40, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}
body.light .compact-card-scroll i { 
    color: var(--logo-gold); 
}
body.light .compact-card-scroll:hover i { 
    color: #946e13; 
    transform: scale(1.15) rotate(-5deg);
}
body.light .compact-card-scroll h3 { 
    color: #18181b; 
}
body.light .compact-card-scroll p { 
    color: #475569; 
}
body.light .compact-card-scroll .stars { 
    color: #d4af37; 
}

body.light .why-item-scroll { 
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
}
body.light .why-item-scroll:hover { 
    background: #ffffff;
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(180, 140, 40, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}
body.light .why-item-scroll .why-icon { 
    color: var(--logo-gold); 
}
body.light .why-item-scroll:hover .why-icon { 
    color: #946e13; 
    transform: scale(1.1);
}
body.light .why-item-scroll h3 { 
    color: #18181b; 
}
body.light .why-item-scroll p { 
    color: #475569; 
}

body.light .about-box { 
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
}
body.light .about-box:hover {
    background: #ffffff;
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(180, 140, 40, 0.14);
}
body.light .about-box h3 { 
    color: #18181b; 
}
body.light .about-box p { 
    color: #475569; 
}
body.light .about-features span { 
    color: #334155; 
}
body.light .about-features span i { 
    color: var(--logo-gold); 
}

body.light .order-box { 
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(180, 140, 40, 0.08);
}
body.light .order-box:hover {
    background: #ffffff;
    border-color: var(--border-hover);
    box-shadow: 0 16px 50px rgba(180, 140, 40, 0.18);
}
body.light .order-box .order-label { 
    color: #b38b1e; 
}
body.light .order-box .order-title { 
    color: #18181b; 
}
body.light .order-box .order-title span {
    background: linear-gradient(135deg, #b38b1e, #85610d);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
body.light .order-box .order-desc { 
    color: #475569; 
}

body.light .order-toggle-btn {
    background: linear-gradient(135deg, #f5d061 0%, #d4af37 45%, #b38b1e 100%);
    border-color: #ffe89e;
    color: #0c0d10;
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35), 0 2px 8px rgba(0,0,0,0.1);
}
body.light .order-toggle-btn:hover {
    background: linear-gradient(135deg, #ffdc73 0%, #e2be47 50%, #c49925 100%);
    border-color: #ffffff;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px) scale(1.015);
}
body.light .order-toggle-btn .btn-icon {
    background: rgba(12, 13, 16, 0.14);
    color: #0c0d10;
    border-color: rgba(12, 13, 16, 0.1);
}
body.light .order-toggle-btn:hover .btn-icon {
    background: rgba(12, 13, 16, 0.22);
    color: #0c0d10;
    transform: rotate(-10deg) scale(1.08);
}
body.light .order-toggle-btn .btn-text .main {
    color: #0c0d10;
}
body.light .order-toggle-btn .btn-text .sub { 
    color: rgba(12, 13, 16, 0.85); 
}

body.light .fun-stat { 
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-color: var(--border-color);
}
body.light .fun-stat:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}
body.light .fun-stat .stat-number { 
    color: var(--logo-gold); 
}
body.light .fun-stat .stat-label { 
    color: #5A4A3A; 
}

body.light .gallery-item { 
    border-color: var(--border-color); 
}
body.light .gallery-item:hover { 
    border-color: var(--logo-gold); 
    box-shadow: var(--shadow-card);
    transform: scale(1.03);
}

/* ===== Light Mode Support & AI Assistant ===== */
body.light .support-box {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 25px rgba(212, 175, 55, 0.12);
}
body.light .support-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
body.light .support-header-text h4 {
    color: #1a140e;
    font-weight: 800;
}
body.light .support-tool-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: #4a3c2a;
}
body.light .support-tool-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #8c6a0c;
}
body.light .support-close {
    color: #6a5a4a;
}
body.light .support-close:hover {
    color: #1a140e;
}
body.light .support-nav-tabs {
    background: #fbf8f2;
    border-bottom-color: rgba(212, 175, 55, 0.2);
}
body.light .support-tab-btn {
    color: #6b5a45;
}
body.light .support-tab-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #1a140e;
}
body.light .support-tab-btn.active {
    background: rgba(212, 175, 55, 0.18);
    color: #8c6a0c;
    border-color: rgba(212, 175, 55, 0.4);
}
body.light .support-tags-section {
    background: #fbf8f2;
    border-bottom-color: rgba(212, 175, 55, 0.2);
}
body.light .support-tags-header {
    color: #3b2d1d;
}
body.light .support-chip {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.35);
    color: #4a3826;
}
body.light .support-chip:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    color: #1a140e;
}
body.light .support-chip.active {
    background: linear-gradient(135deg, #f5d061, #d4af37);
    color: #0c0d10;
    border-color: #d4af37;
}
body.light .support-tags-hint {
    color: #7a6a5a;
}



body.light .chat-msg-body {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
    color: #18181b;
}
body.light .chat-msg.user-msg .chat-msg-body {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: rgba(197, 160, 48, 0.4);
    color: #18181b;
}
body.light .chat-msg-header strong {
    color: #b38b1e;
}
body.light .chat-quick-prompts {
    border-top-color: rgba(0, 0, 0, 0.08);
}
body.light .quick-prompt-chip {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.35);
    color: #4a3826;
}
body.light .quick-prompt-chip:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #1a140e;
}
body.light .support-chat-input-area {
    background: #fcfbf8;
    border-top-color: rgba(212, 175, 55, 0.2);
}
body.light .support-chat-input-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}
body.light .support-chat-input-box input {
    color: #1a140e;
}
body.light .support-chat-input-box input::placeholder {
    color: #8a7a6a;
}
body.light .faq-search-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}
body.light .faq-search-box input {
    color: #1a140e;
}
body.light .faq-cat-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #6b5a45;
}
body.light .faq-cat-btn.active, body.light .faq-cat-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    color: #8c6a0c;
}
body.light .faq-accordion-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light .faq-accordion-item.active {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.04);
}
body.light .faq-accordion-header {
    color: #1a140e;
}
body.light .faq-accordion-content {
    color: #4a3c2a;
}
body.light .faq-ask-ai-btn {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #8c6a0c;
}
body.light .callback-card {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.3);
}
body.light .callback-card h3 {
    color: #1a140e;
}
body.light .callback-card p {
    color: #6b5a45;
}
body.light .callback-input-wrap {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}
body.light .callback-input-wrap input,
body.light .callback-input-wrap select {
    color: #1a140e;
}
body.light .callback-input-wrap select option {
    background: #ffffff;
    color: #1a140e;
}
body.light .support-actions {
    background: #faf7f0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
body.light .support-action-btn.phone {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #8a6500;
}
body.light .support-action-btn.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #0f8a3c;
}

/* ===== Light Mode Trust Badges ===== */
body.light .trust-section {
    border-top-color: rgba(212, 175, 55, 0.2);
    border-bottom-color: rgba(212, 175, 55, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 245, 230, 0.4) 100%);
}
body.light .trust-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 0 15px rgba(212, 175, 55, 0.08);
}
body.light .trust-card:hover {
    border-color: #d4af37;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.18);
}
body.light .trust-icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #8a6500;
}
body.light .trust-card h4 {
    color: #1a140e;
}
body.light .trust-card p {
    color: #4a3b2b;
}

body.light .modal-overlay {
    background: rgba(26, 20, 14, 0.7);
    backdrop-filter: blur(20px);
}
body.light .modal-content { 
    background: #ffffff;
    border: 1px solid rgba(197, 160, 48, 0.25);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), 0 0 30px rgba(197, 160, 48, 0.08);
}
body.light .modal-close {
    background: rgba(197, 160, 48, 0.08);
    border-color: rgba(197, 160, 48, 0.2);
    color: #18181b;
}
body.light .modal-close:hover {
    background: rgba(197, 160, 48, 0.16);
    border-color: #b38b1e;
    color: #b38b1e;
    transform: rotate(90deg);
}
body.light .modal-header h2 { 
    color: #18181b; 
}
body.light .modal-header .modal-sub { 
    color: #64748b; 
}
body.light .modal-header .modal-icon {
    background: linear-gradient(135deg, #b38b1e, #059669);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

body.light .form-step-title { 
    color: #18181b; 
    border-right-color: #b38b1e;
}
body.light .form-group label { 
    color: #334155; 
}
body.light .form-group input,
body.light .form-group select,
body.light .form-group textarea {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.25);
    color: #18181b;
}
body.light .form-group input:focus,
body.light .form-group select:focus,
body.light .form-group textarea:focus {
    border-color: #b38b1e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(179, 139, 30, 0.12);
}
body.light .form-group input::placeholder,
body.light .form-group textarea::placeholder {
    color: #94a3b8;
}

body.light .chip {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.25);
    color: #475569;
}
body.light .chip.active {
    background: linear-gradient(135deg, #f5d061, #d4af37);
    border-color: #d4af37;
    color: #0c0d10;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}
body.light .chip:hover {
    border-color: #b38b1e;
    color: #18181b;
}

body.light .amenity-card {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.2);
}
body.light .amenity-card i,
body.light .amenity-card svg.lucide { 
    color: #64748b; 
}
body.light .amenity-card span { 
    color: #475569; 
}
body.light .amenity-card.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: #b38b1e;
    transform: scale(1.03);
}
body.light .amenity-card.active i,
body.light .amenity-card.active svg.lucide,
body.light .amenity-card.active span { 
    color: #b38b1e;
    font-weight: 700;
}

body.light .range-input {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.25);
    color: #18181b;
}
body.light .range-input:focus {
    border-color: #b38b1e;
    box-shadow: 0 0 0 3px rgba(179, 139, 30, 0.12);
}
body.light .range-sep { 
    color: #8A7A6A; 
}

body.light .price-suggestions {
    background: #FFFBF5;
    border-color: rgba(212, 175, 55, 0.1);
}
body.light .price-suggestion-item { 
    color: #5A4A3A; 
}
body.light .price-suggestion-item:hover {
    background: rgba(212, 175, 55, 0.06);
    color: var(--logo-gold);
}

body.light .btn-submit-modal {
    background: linear-gradient(135deg, #f5d061 0%, #d4af37 50%, #b38b1e 100%);
    color: #0c0d10;
    border: 1px solid #ffe89e;
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
}
body.light .btn-submit-modal:hover {
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffdc73 0%, #e2be47 50%, #c49925 100%);
}

/* Light mode adjustments for OTP and Name Panels */
body.light .phone-step-group {
    background: rgba(197, 160, 48, 0.06);
    border-color: rgba(197, 160, 48, 0.25);
}
body.light .btn-send-phone-otp {
    background: rgba(197, 160, 48, 0.12);
    border-color: rgba(197, 160, 48, 0.35);
    color: #b38b1e;
}
body.light .btn-send-phone-otp:hover {
    background: rgba(197, 160, 48, 0.2);
    color: #18181b;
}
body.light .inline-otp-card {
    background: #f8fafc;
    border-color: rgba(197, 160, 48, 0.3);
}
body.light .inline-otp-field {
    background: #ffffff !important;
    border-color: rgba(197, 160, 48, 0.35) !important;
    color: #b38b1e !important;
}
body.light .phone-verified-box {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
}
body.light .verified-box-number {
    color: #18181b;
}
body.light .btn-re-edit-phone {
    border-color: rgba(197, 160, 48, 0.3);
    color: #b38b1e;
}
body.light .phone-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}
body.light .otp-input-container {
    background: #f8fafc;
    border-color: rgba(197, 160, 48, 0.25);
}
body.light .otp-header h3 {
    color: #18181b;
}
body.light .otp-code-input {
    background: #ffffff !important;
    border-color: rgba(197, 160, 48, 0.4) !important;
    color: #b38b1e !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06) !important;
}
body.light .btn-cancel-otp {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}
body.light .btn-cancel-otp:hover {
    background: #e2e8f0;
    color: #1e293b;
}
body.light .optional-name-panel {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(197, 160, 48, 0.45);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06), 0 0 25px rgba(197, 160, 48, 0.12);
}
body.light .name-panel-title {
    color: #18181b;
    text-shadow: none;
}
body.light .name-panel-desc {
    color: #475569;
}
body.light .name-panel-inputs .form-group label {
    color: #334155;
}
body.light .name-panel-inputs input {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.3);
    color: #18181b;
}
body.light .btn-name-skip {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}
body.light .btn-name-skip:hover {
    background: rgba(197, 160, 48, 0.12);
    color: #b38b1e;
    border-color: #b38b1e;
}
body.light .order-success-panel h3 {
    color: #18181b;
}
body.light .success-details-card {
    background: #f8fafc;
    border-color: rgba(197, 160, 48, 0.25);
}
body.light .success-detail-row {
    border-bottom-color: #e2e8f0;
}
body.light .success-notes {
    color: #475569;
}

/* ===== Light Mode Footer (Ultra-Luxury Alabaster) ===== */
body.light .legal-footer,
html.light .legal-footer { 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 240, 0.98) 100%);
    border-top-color: rgba(197, 160, 48, 0.3);
}
body.light .footer-glow-bar {
    background: linear-gradient(90deg, transparent 0%, rgba(197, 160, 48, 0.25) 25%, #b38b1e 50%, rgba(197, 160, 48, 0.25) 75%, transparent 100%);
    box-shadow: 0 0 12px rgba(197, 160, 48, 0.3);
}
body.light .footer-logo-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-color: rgba(197, 160, 48, 0.35);
    color: #b38b1e;
}
body.light .footer-brand-title {
    background: linear-gradient(135deg, #18181b 0%, #3f3f46 45%, #b38b1e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
body.light .footer-brand-desc {
    color: #475569;
}
body.light .footer-phone-card {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.3);
    box-shadow: 0 4px 18px rgba(180, 140, 40, 0.08);
}
body.light .footer-phone-card:hover {
    background: #ffffff;
    border-color: #b38b1e;
    box-shadow: 0 8px 25px rgba(180, 140, 40, 0.16);
}
body.light .phone-card-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
    border-color: rgba(197, 160, 48, 0.4);
    color: #b38b1e;
}
body.light .phone-card-label {
    color: #64748b;
}
body.light .phone-card-number {
    color: #18181b;
}
body.light .footer-heading {
    color: #18181b;
}
body.light .footer-heading svg.lucide {
    color: #b38b1e;
}
body.light .footer-link {
    color: #475569;
}
body.light .footer-link svg.lucide {
    color: #b38b1e;
}
body.light .footer-link:hover {
    color: #18181b;
    background: rgba(197, 160, 48, 0.12);
}
body.light .footer-social-hint {
    color: #64748b;
}
body.light .footer-bottom {
    border-top-color: rgba(197, 160, 48, 0.15);
}
body.light .footer-copyright {
    color: #475569;
}
body.light .footer-copyright strong {
    color: #b38b1e;
}
body.light .footer-location-badge {
    color: #8c6a0c;
    background: rgba(197, 160, 48, 0.1);
    border-color: rgba(197, 160, 48, 0.3);
}

body.light .scroll-top-btn {
    background: rgba(255, 251, 245, 0.85);
    border-color: var(--border-color);
    color: #1A140E;
}
body.light .scroll-top-btn:hover {
    background: #FFFBF5;
    border-color: var(--logo-gold);
    color: var(--logo-gold);
    box-shadow: var(--shadow-card);
    transform: scale(1.1);
}

body.light .scroll-section::-webkit-scrollbar { 
    background: rgba(212, 175, 55, 0.06); 
}
body.light .scroll-section::-webkit-scrollbar-thumb { 
    background: var(--logo-gold); 
    border-radius: 10px;
}

/* ============================================================ */
/*   USER COMMENTS SECTION - HORIZONTAL SCROLL                  */
/* ============================================================ */

#user-comments-section {
    margin: 30px 0 40px;
}

.comment-form-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 28px);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.comment-form-box h3 {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.comment-form .form-group {
    margin-bottom: 14px;
}

.comment-form .form-group label {
    display: block;
    font-size: clamp(0.8rem, 1.2vw, 0.88rem);
    color: #cfcfe0;
    margin-bottom: 6px;
    font-weight: 600;
}

.comment-form .form-group input,
.comment-form .form-group textarea {
    width: 100%;
    padding: clamp(10px, 1.5vw, 12px) clamp(14px, 2vw, 18px);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: clamp(0.88rem, 1.3vw, 0.95rem);
    font-weight: 400;
    transition: var(--transition-smooth);
}

.comment-form .form-group input:focus,
.comment-form .form-group textarea:focus {
    outline: none;
    border-color: var(--region-primary);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.06);
}

.comment-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.rating-stars {
    display: flex;
    gap: 8px;
    direction: ltr;
    padding: 6px 0;
}

.rating-stars .star {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    user-select: none;
}

.rating-stars .star svg.lucide {
    width: 26px;
    height: 26px;
    fill: transparent;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

body.light .rating-stars .star svg.lucide {
    color: rgba(0, 0, 0, 0.2);
}

.rating-stars .star:hover {
    transform: scale(1.25);
}

.rating-stars .star.active svg.lucide {
    fill: #ffd700;
    color: #ffd700;
}

.btn-submit-comment {
    background: linear-gradient(135deg, #f5d061 0%, #d4af37 45%, #b38b1e 100%);
    color: #0c0d10;
    border: 1px solid #ffe89e;
    padding: clamp(10px, 2vw, 14px) clamp(24px, 4vw, 36px);
    border-radius: 60px;
    font-size: clamp(0.85rem, 1.5vw, 0.98rem);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
    background: linear-gradient(135deg, #ffdc73 0%, #e2be47 50%, #c49925 100%);
}

.btn-submit-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.comment-success-message {
    background: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    margin-top: 14px;
    display: none;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    animation: fadeInUp 0.5s ease;
}

.comment-success-message.show {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Horizontal Scroll Comments ===== */
.comments-scroll-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 0 -8px;
}

.comments-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 8px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.comments-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.comments-scroll-container .comment-item {
    flex: 0 0 clamp(270px, 42vw, 310px);
    scroll-snap-align: start;
    background: linear-gradient(165deg, rgba(20, 24, 38, 0.8) 0%, rgba(12, 14, 22, 0.9) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: clamp(18px, 2.2vw, 24px) clamp(16px, 2vw, 20px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.5s ease;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

.comments-scroll-container .comment-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(165deg, rgba(26, 31, 48, 0.9) 0%, rgba(16, 19, 28, 0.95) 100%);
}

.comment-item .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-item .comment-author {
    font-weight: 800;
    color: var(--text-primary);
    font-size: clamp(0.94rem, 1.5vw, 1.05rem);
    letter-spacing: normal;
}

.comment-item .comment-date {
    font-size: clamp(0.74rem, 1vw, 0.8rem);
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
}

.comment-item .comment-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.comment-item .comment-stars svg.lucide {
    width: 15px;
    height: 15px;
    fill: #ffd700;
    color: #ffd700;
}
.comment-item .comment-stars svg.lucide.inactive {
    fill: transparent;
    color: rgba(255, 255, 255, 0.2);
}
body.light .comment-item .comment-stars svg.lucide.inactive {
    color: rgba(0, 0, 0, 0.2);
}

.comment-item .comment-text {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: clamp(0.86rem, 1.3vw, 0.94rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    font-weight: 400;
}

.comments-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    width: 100%;
}

.comments-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

.comments-empty p {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

/* ===== اسکرول خودکار ===== */
.comments-scroll-container.auto-scroll {
    animation: scrollComments 25s linear infinite;
}

.comments-scroll-container.auto-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollComments {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== Light Mode Comments ===== */
body.light .comment-form-box {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 48, 0.22);
    box-shadow: 0 10px 35px rgba(180, 140, 40, 0.08);
}

body.light .comment-form-box h3 {
    color: #18181b;
}

body.light .comment-form .form-group input,
body.light .comment-form .form-group textarea {
    background: #ffffff;
    border-color: rgba(197, 160, 48, 0.25);
    color: #18181b;
}

body.light .comment-form .form-group input:focus,
body.light .comment-form .form-group textarea:focus {
    border-color: #b38b1e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(179, 139, 30, 0.12);
}

body.light .comments-scroll-container .comment-item {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 48, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

body.light .comments-scroll-container .comment-item:hover {
    border-color: #b38b1e;
    box-shadow: 0 12px 35px rgba(180, 140, 40, 0.16);
    transform: translateY(-3px);
}

body.light .comment-item .comment-author {
    color: #18181b;
}

body.light .comment-item .comment-text {
    color: #475569;
}

body.light .comment-success-message {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065f46;
}

body.light .btn-submit-comment,
html.light .btn-submit-comment {
    background: linear-gradient(135deg, #FFF0C2 0%, #F5D061 25%, #D4AF37 60%, #AA8010 100%);
    color: #0c0d10;
    font-weight: 850;
    border: 1px solid #FFE89E;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.light .btn-submit-comment:hover,
html.light .btn-submit-comment:hover {
    background: linear-gradient(135deg, #FFF6D6 0%, #FFDC73 30%, #E2BE47 65%, #BA9122 100%);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ===== Responsive Comments ===== */
@media (max-width: 480px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comments-scroll-container .comment-item {
        flex: 0 0 220px;
    }
    
    .rating-stars .star {
        font-size: 1.5rem;
    }
    
    .comment-form-box {
        padding: 16px;
    }
}

@media (max-width: 360px) {
    .comment-item .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .comments-scroll-container .comment-item {
        flex: 0 0 180px;
    }
}

/* ============================================================ */
/* ===== LAPTOP & DESKTOP RESPONSIVE SCALING (حل مشکل ریزی سایت) ===== */
/* ============================================================ */

@media (min-width: 768px) {
    :root {
        --max-width: 860px;
        --padding-mobile: 20px;
    }
    
    html {
        font-size: 16.5px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 0.88rem;
        padding: 6px 14px;
    }
    
    .order-toggle-btn {
        max-width: 520px;
        margin: 0 auto;
    }
    
    .fun-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    :root {
        --max-width: 1160px;
        --padding-mobile: 24px;
        --header-top: 20px;
    }
    
    html {
        font-size: 17px;
    }
    
    .header-spacer {
        height: 84px;
    }
    
    .glass-nav {
        padding: 8px 28px;
    }
    
    .logo-container img {
        height: 52px;
        max-height: 52px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.96rem;
        padding: 7px 16px;
    }
    
    /* هیرو در لپ‌تاپ و دسکتاپ */
    .welcome-section {
        padding: 52px 48px 44px;
        margin: 30px 0 45px;
    }
    
    /* خط اول سایت در یک خط */
    .welcome-section h1.hero-main-title {
        text-wrap: balance;
        font-size: clamp(1.5rem, 2.3vw, 2.25rem);
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-top: 6px;
        margin-bottom: 16px;
    }
    
    .hero-callout {
        padding: 10px 28px;
        margin: 10px auto 22px;
    }
    
    .hero-callout-sticker {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .hero-callout-text {
        font-size: 1.05rem;
    }
    
    .tech-stack-badge {
        gap: 10px;
        margin-top: 18px;
    }
    
    .tech-stack-badge span {
        font-size: 0.82rem;
        padding: 4px 18px;
    }
    
    /* عناوین بخش‌ها */
    .section-title {
        font-size: 1.6rem;
        margin: 45px 0 24px 0;
        padding-right: 20px;
    }
    
    .section-title::before {
        width: 4px;
    }
    
    /* کارت‌های گالری در لپ‌تاپ */
    .gallery-item {
        flex: 0 0 250px;
        height: 175px;
    }
    
    .gallery-item .gallery-label {
        font-size: 0.88rem;
        padding: 10px 14px;
    }
    
    /* کارت‌های خدمات و چرا ایویرا */
    .scroll-section .scroll-item {
        width: 250px;
    }
    
    .compact-card-scroll,
    .why-item-scroll {
        min-width: 195px;
        padding: 16px 14px;
        min-height: 140px;
    }
    
    .compact-card-scroll h3,
    .why-item-scroll h3 {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }
    
    .compact-card-scroll p,
    .why-item-scroll p {
        font-size: 0.82rem;
        line-height: 1.6;
    }
    
    /* درباره ما */
    .about-box {
        padding: 38px 45px;
        margin: 28px 0;
    }
    
    .about-box h3 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .about-box p {
        font-size: 1.05rem;
        line-height: 2.1;
        margin-bottom: 16px;
    }
    
    .about-features {
        gap: 14px;
        margin-top: 20px;
    }
    
    .about-features span {
        font-size: 0.95rem;
        padding: 7px 18px;
    }
    
    /* بخش ثبت درخواست */
    .order-box {
        padding: 42px 48px;
        margin: 38px 0;
    }
    
    .order-box .order-label {
        font-size: 0.9rem;
    }
    
    .order-box .order-title {
        font-size: 1.65rem;
        margin-bottom: 18px;
    }
    
    .order-box .order-desc {
        font-size: 1.08rem;
        margin-bottom: 28px;
    }
    
    .order-toggle-btn {
        max-width: 540px;
        margin: 0 auto;
        padding: 16px 40px;
    }
    
    .order-toggle-btn .btn-text .main {
        font-size: 1.25rem;
    }
    
    .order-toggle-btn .btn-text .sub {
        font-size: 0.9rem;
    }
    
    /* آمار */
    .fun-stats {
        gap: 22px;
        margin: 28px 0;
    }
    
    .fun-stat {
        padding: 26px 20px;
    }
    
    .fun-stat .stat-number {
        font-size: 2.3rem;
    }
    
    .fun-stat .stat-label {
        font-size: 0.98rem;
    }
    
    /* فوتر */
    .legal-footer {
        padding: 55px 0 28px;
        margin-top: 55px;
    }
    
    .legal-footer .footer-content {
        grid-template-columns: 1.4fr 1fr 1.3fr;
        gap: 45px;
    }
}

@media (min-width: 1200px) {
    :root {
        --max-width: 1200px;
    }
    
    .welcome-section h1.hero-main-title {
        font-size: 2.15rem;
    }
}

/* ============================================================ */
/* ===== EIVIRA ROYAL TRACKER MODAL (سامانه پیگیری پرونده) ===== */
/* ============================================================ */

.tracker-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: trackerFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
}

@keyframes trackerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tracker-modal-card {
    background: rgba(12, 14, 22, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px 24px;
    position: relative;
    box-sizing: border-box;
    animation: trackerSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes trackerSlideUp {
    from { opacity: 0; transform: translateY(25px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tracker-modal-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tracker-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
    transform: rotate(90deg);
}

.tracker-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-left: 40px;
}

.tracker-modal-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.tracker-modal-titles h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.tracker-modal-titles p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.tracker-modal-form {
    margin-bottom: 16px;
}

.tracker-modal-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 4px 6px 4px 14px;
    transition: all 0.25s ease;
    gap: 8px;
}

.tracker-modal-input-group:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.tracker-input-icon {
    color: var(--eivira-gold, #c5a880);
    display: flex;
    align-items: center;
}

.tracker-modal-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 4px;
    font-family: inherit;
}

.tracker-submit-btn {
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%);
    color: #0b0f17;
    font-weight: 800;
    font-size: 0.86rem;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.tracker-submit-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.tracker-quick-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.tracker-quick-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5d77f;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tracker-quick-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

.tracker-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    color: var(--eivira-gold, #c5a880);
    font-size: 0.88rem;
}

.tracker-error-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.84rem;
    margin-top: 10px;
    line-height: 1.5;
}

.tracker-result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 18px;
    padding: 20px;
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

.tracker-result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tracker-client-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.tracker-client-name i {
    color: #ffd700;
    width: 18px;
    height: 18px;
}

.tracker-client-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tracker-client-meta .sep {
    color: rgba(255, 255, 255, 0.2);
}

.tracker-status-pill {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    color: #0b0f17;
    background: #d4af37;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tracker-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.tracker-spec-item {
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tracker-spec-item .label {
    color: #94a3b8;
}

.tracker-spec-item .val {
    color: #dfc9a9;
    font-weight: 700;
}

.tracker-timeline-wrap {
    margin-bottom: 18px;
}

.tracker-timeline-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tracker-stepper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-right: 4px;
}

.tracker-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.tracker-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    transition: all 0.25s ease;
}

.tracker-step-item.is-done .tracker-step-icon {
    background: rgba(16, 185, 129, 0.18);
    border: 1.5px solid #10b981;
    color: #10b981;
}

.tracker-step-item.is-current .tracker-step-icon {
    background: rgba(212, 175, 55, 0.25);
    border: 1.5px solid #ffd700;
    color: #ffd700;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    animation: currentPulse 2s infinite ease-in-out;
}

@keyframes currentPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.4); }
}

.tracker-step-item.is-pending .tracker-step-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #64748b;
}

.tracker-step-content {
    flex: 1;
}

.tracker-step-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.tracker-step-item.is-pending .tracker-step-title {
    color: #64748b;
}

.tracker-step-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 3px;
    line-height: 1.55;
}

.tracker-step-item.is-pending .tracker-step-desc {
    color: #475569;
}

.tracker-expert-note {
    background: rgba(212, 175, 55, 0.08);
    border-right: 3px solid #d4af37;
    border-radius: 0 10px 10px 0;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.tracker-expert-note-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 4px;
}

.tracker-expert-note-content {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.tracker-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tracker-act-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tracker-act-btn.phone {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #ffd700;
}

.tracker-act-btn.phone:hover {
    background: #d4af37;
    color: #0b0f17;
    transform: translateY(-1px);
}

.tracker-act-btn.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
}

.tracker-act-btn.whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Light mode overrides for Tracker Modal */
body.light .tracker-modal-card {
    background: rgba(255, 251, 245, 0.98);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2), 0 0 35px rgba(212, 175, 55, 0.1);
}

body.light .tracker-modal-titles h3 {
    color: #1a140e;
}

body.light .tracker-modal-titles p {
    color: #5a4a3a;
}

body.light .tracker-modal-input-group {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(212, 175, 55, 0.4);
}

body.light .tracker-modal-input-group input {
    color: #1a140e;
}

body.light .tracker-result-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(212, 175, 55, 0.3);
}

body.light .tracker-client-name {
    color: #1a140e;
}

body.light .tracker-step-title {
    color: #1a140e;
}

body.light .tracker-specs-grid {
    background: rgba(212, 175, 55, 0.06);
}

body.light .tracker-spec-item .val {
    color: #7c5807;
}

@media (max-width: 540px) {
    .tracker-modal-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .tracker-modal-header {
        padding-left: 32px;
        gap: 10px;
    }
    .tracker-modal-icon-wrap {
        width: 40px;
        height: 40px;
    }
    .tracker-modal-titles h3 {
        font-size: 1.02rem;
    }
    .tracker-modal-input-group {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 10px;
        gap: 6px;
    }
    .tracker-submit-btn {
        width: 100%;
        justify-content: center;
    }
    .tracker-result-actions {
        grid-template-columns: 1fr;
    }
}

/* ===== Accessibility & Screen Reader (SEO & A11y) ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-to-content:focus {
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 999999 !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    background: linear-gradient(135deg, #c5a880 0%, #9a7d56 100%) !important;
    color: #0b0f17 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6) !important;
    outline: 2px solid #fff !important;
    text-decoration: none !important;
}


/* ============================================================ */
/* ===== EIVIRA SITE ELEVATION & COMPREHENSIVE REFINEMENTS ===== */
/* ============================================================ */

/* ===== Badge Photo Counter (Sample Cards) ===== */
.sample-badge-photos {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(14, 18, 28, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f5d77f;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    transition: all 0.25s ease;
}
.sample-badge-photos svg,
.sample-badge-photos svg.lucide {
    width: 12px;
    height: 12px;
}
body.light .sample-badge-photos,
html.light .sample-badge-photos,
[data-theme="light"] .sample-badge-photos {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(212, 175, 55, 0.5);
    color: #996515;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ===== Villa Modal Thumbnails Bar ===== */
.villa-modal-thumbs-bar {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.villa-modal-thumbs-bar::-webkit-scrollbar {
    display: none;
}
body.light .villa-modal-thumbs-bar,
html.light .villa-modal-thumbs-bar,
[data-theme="light"] .villa-modal-thumbs-bar {
    background: #f1f5f9;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== Villa Detail Gallery Action Button ===== */
.villa-detail-btn-gallery {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--eivira-gold, #d4af37);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.villa-detail-btn-gallery:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(170, 130, 10, 0.3));
    border-color: #d4af37;
    color: #ffd700;
    transform: translateY(-2px);
}
body.light .villa-detail-btn-gallery,
html.light .villa-detail-btn-gallery,
[data-theme="light"] .villa-detail-btn-gallery {
    background: #fdf8eb;
    border-color: rgba(212, 175, 55, 0.45);
    color: #996515;
}
body.light .villa-detail-btn-gallery:hover,
html.light .villa-detail-btn-gallery:hover,
[data-theme="light"] .villa-detail-btn-gallery:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    color: #0b0f17;
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Inspection PDF Button */
.villa-detail-btn-pdf {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.villa-detail-btn-pdf:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    color: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}
body.light .villa-detail-btn-pdf,
html.light .villa-detail-btn-pdf,
[data-theme="light"] .villa-detail-btn-pdf {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.45);
    color: #047857;
}
body.light .villa-detail-btn-pdf:hover,
html.light .villa-detail-btn-pdf:hover,
[data-theme="light"] .villa-detail-btn-pdf:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Brochure PDF Button */
.villa-detail-btn-brochure {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--eivira-gold, #d4af37);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.villa-detail-btn-brochure:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}
body.light .villa-detail-btn-brochure,
html.light .villa-detail-btn-brochure,
[data-theme="light"] .villa-detail-btn-brochure {
    background: #fefce8;
    border-color: rgba(212, 175, 55, 0.45);
    color: #854d0e;
}
body.light .villa-detail-btn-brochure:hover,
html.light .villa-detail-btn-brochure:hover,
[data-theme="light"] .villa-detail-btn-brochure:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    color: #0b0f17;
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ===== Live Support Tracker Result Card ===== */
.support-tracker-result-box {
    margin-top: 16px;
    background: rgba(11, 15, 23, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.3s ease;
}
body.light .support-tracker-result-box,
html.light .support-tracker-result-box,
[data-theme="light"] .support-tracker-result-box {
    background: #ffffff;
    border-color: rgba(197, 168, 128, 0.38);
    box-shadow: 0 6px 20px rgba(180, 140, 40, 0.08);
}

/* ===== Luxury Light Mode Footer Social Pills ===== */
body.light .footer-social-pill,
html.light .footer-social-pill,
[data-theme="light"] .footer-social-pill {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
body.light .footer-social-pill .social-pill-name,
html.light .footer-social-pill .social-pill-name,
[data-theme="light"] .footer-social-pill .social-pill-name {
    color: #18181b;
    font-weight: 750;
}
body.light .footer-social-pill .social-pill-handle,
html.light .footer-social-pill .social-pill-handle,
[data-theme="light"] .footer-social-pill .social-pill-handle {
    color: #64748b;
}
body.light .footer-social-pill.instagram,
html.light .footer-social-pill.instagram,
[data-theme="light"] .footer-social-pill.instagram {
    border: 1px solid rgba(225, 48, 108, 0.25);
}
body.light .footer-social-pill.instagram:hover,
html.light .footer-social-pill.instagram:hover,
[data-theme="light"] .footer-social-pill.instagram:hover {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.08), rgba(225, 48, 108, 0.1), rgba(188, 24, 136, 0.06));
    border-color: #e1306c;
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.18);
}
body.light .footer-social-pill.whatsapp,
html.light .footer-social-pill.whatsapp,
[data-theme="light"] .footer-social-pill.whatsapp {
    border: 1px solid rgba(37, 211, 102, 0.28);
}
body.light .footer-social-pill.whatsapp:hover,
html.light .footer-social-pill.whatsapp:hover,
[data-theme="light"] .footer-social-pill.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.18);
}
body.light .footer-social-pill.telegram,
html.light .footer-social-pill.telegram,
[data-theme="light"] .footer-social-pill.telegram {
    border: 1px solid rgba(41, 182, 246, 0.28);
}
body.light .footer-social-pill.telegram:hover,
html.light .footer-social-pill.telegram:hover,
[data-theme="light"] .footer-social-pill.telegram:hover {
    background: rgba(41, 182, 246, 0.1);
    border-color: #29b6f6;
    box-shadow: 0 6px 18px rgba(41, 182, 246, 0.18);
}
body.light .footer-social-pill.bale,
html.light .footer-social-pill.bale,
[data-theme="light"] .footer-social-pill.bale {
    border: 1px solid rgba(88, 204, 2, 0.28);
}
body.light .footer-social-pill.bale:hover,
html.light .footer-social-pill.bale:hover,
[data-theme="light"] .footer-social-pill.bale:hover {
    background: rgba(88, 204, 2, 0.1);
    border-color: #58cc02;
    box-shadow: 0 6px 18px rgba(88, 204, 2, 0.18);
}

/* ===== 100% Responsiveness Enhancements ===== */
@media (max-width: 860px) {
    .legal-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 680px) {
    .villa-detail-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    .villa-detail-modal-card {
        max-width: 100% !important;
        max-height: 88vh !important;
        border-radius: 26px 26px 0 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
    }
    .villa-detail-img-wrap {
        height: 200px !important;
    }
    .villa-detail-body {
        padding: 14px 16px !important;
        gap: 12px !important;
    }
    .villa-detail-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .villa-detail-actions {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .villa-detail-btn-order,
    .villa-detail-btn-gallery,
    .villa-detail-btn-pdf,
    .villa-detail-btn-brochure,
    .villa-detail-btn-call {
        width: 100% !important;
        justify-content: center !important;
        padding: 11px 14px !important;
    }
    .villa-detail-nav-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .sample-property-card {
        flex: 0 0 280px;
        width: 280px;
        min-height: 360px;
    }
    .sample-card-thumb {
        height: 170px;
        min-height: 170px;
        max-height: 170px;
    }
    .sample-gallery-track {
        padding: 10px 12px 16px;
        gap: 14px;
    }
    /* iOS input auto-zoom prevention */
    input[type="text"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Micro-interaction: button click press feel */
button:active,
.btn-goto-full-gallery:active,
.sample-view-btn:active,
.villa-detail-btn-order:active,
.header-action-btn:active {
    transform: scale(0.97) !important;
}

/* Smooth focus rings for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--eivira-gold, #d4af37) !important;
    outline-offset: 2px !important;
}


/* ============================================================ */
/* ===== PER-DEVICE RESPONSIVE NAVBAR & ANTI-COLLISION SYSTEM ===== */
/* ============================================================ */

/* Ensure navbar NEVER wraps or drops elements */
nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.nav-links {
    display: flex !important;
    gap: 5px !important;
    list-style: none !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

/* Laptops & Standard Desktop (1081px - 1280px) */
@media (max-width: 1280px) and (min-width: 1081px) {
    .glass-nav {
        padding: 5px 14px !important;
    }
    .nav-links {
        gap: 3px !important;
    }
    .nav-links a {
        padding: 5px 9px !important;
        font-size: 0.78rem !important;
        gap: 5px !important;
    }
    .nav-links a svg.lucide {
        width: 15px !important;
        height: 15px !important;
    }
}

/* Small Laptop & Landscape Tablet (881px - 1080px) - Latitude 5420 zoom / 1024px */
@media (max-width: 1080px) and (min-width: 881px) {
    .glass-nav {
        padding: 5px 10px !important;
    }
    .nav-links {
        gap: 2px !important;
    }
    .nav-links a {
        padding: 5px 8px !important;
        font-size: 0.76rem !important;
        gap: 4px !important;
    }
    .nav-links a svg.lucide {
        width: 14px !important;
        height: 14px !important;
    }
    /* Hide text on secondary items ("خدمات", "درباره ما", "نظرات") to guarantee 100% single line */
    .nav-item-secondary span {
        display: none !important;
    }
    .nav-item-secondary a {
        padding: 5px 7px !important;
    }
    .header-actions {
        gap: 4px !important;
    }
}

/* Tablet Portrait (641px - 880px) */
@media (max-width: 880px) and (min-width: 641px) {
    .glass-nav {
        padding: 5px 10px !important;
    }
    .nav-links {
        gap: 3px !important;
    }
    .nav-links a {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
    }
    .nav-item-secondary {
        display: none !important;
    }
    .header-actions {
        gap: 4px !important;
    }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
    .glass-nav {
        padding: 4px 8px !important;
        border-radius: 30px !important;
    }
    .logo-container img {
        height: 36px !important;
        max-height: 36px !important;
    }
    .nav-links {
        gap: 3px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .nav-links::-webkit-scrollbar {
        display: none !important;
    }
    .nav-links a span,
    .nav-links a .nav-badge-lux {
        display: none !important;
    }
    .nav-links a,
    .nav-links a.nav-tracker-link {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }
    .nav-links a svg.lucide,
    .nav-links a.nav-tracker-link svg.lucide {
        width: 16px !important;
        height: 16px !important;
    }
    .header-actions {
        gap: 3px !important;
    }
    .header-action-btn,
    .theme-btn,
    .pwa-notif-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        border-radius: 10px !important;
    }
}

/* ===== ANTI-COLLISION & SPACIOUS GRID SYSTEM (ACROSS THE ENTIRE SITE) ===== */

/* 1. Hero Tech Stack Badges */
.tech-stack-badge {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
    max-width: 820px !important;
    margin: 18px auto 0 !important;
}
.tech-stack-badge span {
    padding: 8px 18px !important;
    font-size: clamp(0.76rem, 1.1vw, 0.88rem) !important;
    gap: 8px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

/* 2. Trust Badges Section */
.trust-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
@media (max-width: 991px) and (min-width: 541px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 540px) {
    .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 3. Fun Stats Section */
.fun-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
@media (max-width: 860px) and (min-width: 441px) {
    .fun-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}
@media (max-width: 440px) {
    .fun-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .fun-stat {
        padding: 14px 10px !important;
    }
    .fun-stat .stat-number {
        font-size: 1.35rem !important;
    }
}

/* 4. Horizontal Scroll Cards (Services & Why-Us) */
#services {
    margin-top: 50px !important;
    margin-bottom: 65px !important;
    clear: both !important;
    position: relative !important;
}
#why-us {
    margin-top: 65px !important;
    margin-bottom: 65px !important;
    clear: both !important;
    position: relative !important;
}
.scroll-section {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 16px 12px 34px 12px !important;
    margin-bottom: 25px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    position: relative !important;
    clear: both !important;
}
.scroll-item {
    scroll-snap-align: start !important;
    flex: 0 0 195px !important;
    width: 195px !important;
    box-sizing: border-box !important;
    height: auto !important;
}
.compact-card-scroll,
.why-item-scroll {
    width: 100% !important;
    min-height: 140px !important;
    height: 100% !important;
    padding: 16px 12px !important;
    box-sizing: border-box !important;
}
.compact-card-scroll > i,
.compact-card-scroll > svg.lucide,
.why-item-scroll .why-icon {
    width: 38px !important;
    height: 38px !important;
    margin: 0 auto 10px !important;
    font-size: 1.05rem !important;
}
.compact-card-scroll h3,
.why-item-scroll h3 {
    font-size: 0.94rem !important;
    margin-bottom: 5px !important;
}
.compact-card-scroll p,
.why-item-scroll p {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
}

/* 5. Sample Gallery Track on Homepage */
.sample-gallery-track {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    padding: 14px 18px 24px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
}

/* 6. Footer Social Grid */
.footer-social-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}
@media (max-width: 420px) {
    .footer-social-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* ============================================================ */
/* SERVICES & WHY-US VISIBILITY GUARANTEE */
/* ============================================================ */
#services, #why-us {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.scroll-section .scroll-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ============================================================ */
/* SITE FAVORITES (علاقه‌مندی‌ها) */
/* ============================================================ */
.fav-nav-btn {
    position: relative !important;
}
.fav-count-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5) !important;
}
.sample-fav-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(14, 18, 28, 0.85) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(6px) !important;
}
.sample-fav-btn:hover {
    transform: scale(1.12) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}
.sample-fav-btn.active {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
}
.sample-fav-btn.active i, .sample-fav-btn.active svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
.fav-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 100050 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.fav-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.fav-modal-card {
    background: #0f131f !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 500px !important;
    max-height: calc(90vh - 32px) !important;
    max-height: calc(90dvh - 32px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: auto !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15) !important;
    position: relative !important;
    color: #ffffff !important;
}
body.light .fav-modal-card {
    background: #ffffff !important;
    border-color: rgba(179, 139, 30, 0.35) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}
.fav-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.light .fav-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.fav-modal-body {
    padding: 16px 20px !important;
    overflow-y: auto !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.fav-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
}
body.light .fav-item-row {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
.fav-item-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}
.fav-item-info {
    flex: 1 !important;
    min-width: 0 !important;
}
.fav-item-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 4px !important;
}
.fav-item-price {
    font-size: 0.8rem !important;
    color: #d4af37 !important;
    font-weight: 600 !important;
}
.fav-item-actions {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}
.btn-fav-view {
    background: linear-gradient(135deg, #d4af37, #996515) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.btn-fav-remove {
    background: transparent !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    cursor: pointer !important;
}

/* ============================================================ */
/* COMPACT ORDER MODAL SPACING (کوتاه‌تر شدن فرم ثبت تقاضا) */
/* ============================================================ */
#orderModal .modal-content {
    padding: 18px 20px 20px !important;
    max-width: 600px !important;
}
#orderModal .modal-header {
    margin-bottom: 12px !important;
}
#orderModal .modal-header .modal-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
    margin-bottom: 6px !important;
}
#orderModal .modal-header h2 {
    font-size: 1.25rem !important;
    margin: 0 !important;
}
#orderModal .modal-header .modal-sub {
    font-size: 0.82rem !important;
    margin-top: 4px !important;
}
#orderModal .form-step-title {
    margin: 12px 0 6px 0 !important;
    font-size: 0.88rem !important;
}
#orderModal .chips {
    gap: 6px !important;
    margin-bottom: 10px !important;
}
#orderModal .chip {
    padding: 5px 12px !important;
    font-size: 0.8rem !important;
}
#orderModal .form-group {
    margin-bottom: 10px !important;
}
#orderModal .amenities-grid {
    gap: 6px !important;
}
#orderModal .amenity-card {
    padding: 6px 8px !important;
}
#orderModal .btn-submit-modal {
    padding: 11px 20px !important;
    font-size: 0.95rem !important;
    margin-top: 14px !important;
}
#orderModal .step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gold, #d4af37);
    color: #070a10;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 50%;
    margin-left: 6px;
    flex-shrink: 0;
}

/* ============================================================ */
/* TELEGRAM HEADER BUTTON & SYNC BADGE */
/* ============================================================ */
.tg-sync-btn {
    position: relative !important;
    color: #38bdf8 !important;
}
.tg-sync-btn svg.lucide {
    color: #38bdf8 !important;
}
.tg-sync-btn:hover {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3) !important;
}
.tg-sync-btn:hover svg.lucide {
    color: #38bdf8 !important;
}
body.light .tg-sync-btn {
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.35) !important;
    background: rgba(2, 132, 199, 0.06) !important;
}
body.light .tg-sync-btn svg.lucide {
    color: #0284c7 !important;
}
body.light .tg-sync-btn:hover {
    border-color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.12) !important;
    color: #0369a1 !important;
}

.tg-connected-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0f172a;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
    display: none;
}
body.light .tg-connected-badge {
    border-color: #ffffff;
}

/* ============================================================ */
/* LUXURY MOBILE NAVIGATION DRAWER (منوی کشویی موبایل) */
/* ============================================================ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
    display: block !important;
}

.mobile-nav-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: min(320px, 86vw) !important;
    height: 100% !important;
    height: 100dvh !important;
    background: rgba(12, 15, 24, 0.97) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.1) !important;
    z-index: 10002 !important;
    display: none !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateX(100%) !important;
    box-sizing: border-box !important;
    padding: 16px 18px 24px !important;
}
.mobile-nav-drawer.active {
    display: flex !important;
    transform: translateX(0) !important;
}

body.light .mobile-nav-drawer {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(212, 175, 55, 0.08);
    color: #0f172a;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}
body.light .mobile-drawer-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
}
.mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-drawer-close:hover {
    color: #fff;
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}
body.light .mobile-drawer-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}
body.light .mobile-drawer-close:hover {
    color: #ef4444;
}

/* Telegram status card in mobile drawer */
.mobile-drawer-tg-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-drawer-tg-status:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-1px);
}
body.light .mobile-drawer-tg-status {
    background: rgba(2, 132, 199, 0.07);
    border-color: rgba(2, 132, 199, 0.25);
}
.tg-status-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.tg-status-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}
.tg-status-info strong {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.light .tg-status-info strong {
    color: #0f172a;
}
.tg-status-info span {
    font-size: 0.72rem;
    color: #38bdf8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.light .tg-status-info span {
    color: #0284c7;
}
.tg-status-arrow {
    width: 16px;
    height: 16px;
    color: #64748b;
    flex-shrink: 0;
}

/* Nav list in mobile drawer */
.mobile-drawer-nav {
    flex: 1;
}
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
}
.mobile-nav-list li a svg.lucide {
    width: 18px;
    height: 18px;
    color: var(--eivira-gold, #c5a880);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.mobile-nav-list li a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #ffffff;
    transform: translateX(-3px);
}
.mobile-nav-list li a:hover svg.lucide {
    color: #ffd700;
    transform: scale(1.1);
}
body.light .mobile-nav-list li a {
    color: #334155;
}
body.light .mobile-nav-list li a svg.lucide {
    color: #966f14;
}
body.light .mobile-nav-list li a:hover {
    background: rgba(212, 175, 55, 0.14);
    color: #0f172a;
}
body.light .mobile-nav-list li a:hover svg.lucide {
    color: #b8860b;
}

.mobile-nav-list li a.highlight-link {
    color: #ffd700;
    font-weight: 700;
}
body.light .mobile-nav-list li a.highlight-link {
    color: #b48316;
}

.mobile-nav-list li a.tracker-drawer-link {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #f5d77f;
}
body.light .mobile-nav-list li a.tracker-drawer-link {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(180, 131, 22, 0.3);
    color: #7c5807;
}

.mobile-nav-list li a.webapp-drawer-link {
    color: #34d399;
    font-weight: 700;
}
body.light .mobile-nav-list li a.webapp-drawer-link {
    color: #059669;
}

.drawer-badge {
    margin-right: auto;
    background: #10b981;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
}
.drawer-fav-badge {
    margin-right: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Mobile drawer footer */
.mobile-drawer-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.light .mobile-drawer-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.mobile-drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--pwa-gold-gradient, linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #aa820a 100%));
    color: #0b0d14;
    padding: 11px 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s;
}
.mobile-drawer-call-btn:active {
    transform: scale(0.97);
}
.mobile-drawer-socials {
    display: flex;
    gap: 8px;
}
.drawer-social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.drawer-social-link:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}
body.light .drawer-social-link {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}
body.light .drawer-social-link:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
}

/* ============================================================ */
/* TELEGRAM AUTH & SYNC MODAL (OBSIDIAN & GOLD LUXURY THEME)    */
/* ============================================================ */
.tg-auth-card {
    width: 100% !important;
    max-width: min(480px, 94vw) !important;
    background: rgba(13, 16, 24, 0.97) !important;
    background-image: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, rgba(13, 16, 24, 0.98) 75%) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.12) !important;
    color: #f8fafc !important;
    border-radius: 20px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}
body.light .tg-auth-card {
    background: #ffffff !important;
    background-image: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.06) 0%, #ffffff 80%) !important;
    border: 1px solid rgba(180, 131, 22, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 25px rgba(212, 175, 55, 0.1) !important;
    color: #0f172a !important;
}

.tg-auth-header {
    flex-shrink: 0 !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}
body.light .tg-auth-header {
    border-bottom: 1px solid rgba(180, 131, 22, 0.18) !important;
    background: rgba(212, 175, 55, 0.04) !important;
}

.tg-modal-body {
    flex: 1 1 auto !important;
    padding: 18px 20px !important;
    overflow-y: auto !important;
    max-height: calc(88vh - 65px) !important;
    max-height: calc(88dvh - 65px) !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}
.tg-modal-body::-webkit-scrollbar {
    width: 5px;
}
.tg-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
.tg-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
.tg-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

.tg-auth-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0f19 !important;
    flex-shrink: 0;
}

.tg-auth-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
}
body.light .tg-auth-title {
    color: #0f172a;
}

.tg-auth-sub {
    margin: 2px 0 0;
    font-size: 0.74rem;
    color: #94a3b8;
}
body.light .tg-auth-sub {
    color: #475569;
}

.tg-auth-hero-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light, #fef08a) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15) !important;
}
body.light .tg-auth-hero-icon {
    background: rgba(180, 131, 22, 0.08) !important;
    border-color: rgba(180, 131, 22, 0.28) !important;
    color: #92400e !important;
}

.tg-auth-hero-title {
    margin: 0 0 4px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #f8fafc;
}
body.light .tg-auth-hero-title {
    color: #0f172a;
}

.tg-auth-hero-desc {
    margin: 0 0 14px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.6;
}
body.light .tg-auth-hero-desc {
    color: #475569;
}

.tg-auth-connect-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%) !important;
    color: #0b0f19 !important;
    padding: 13px 22px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 0.94rem !important;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.38) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}
.tg-auth-connect-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5) !important;
    color: #000000 !important;
}
.tg-auth-connect-btn:active {
    transform: scale(0.98) !important;
}

.tg-auth-actions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 10px !important;
    width: 100% !important;
}
.tg-auth-sub-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    color: #f1f5f9 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}
.tg-auth-sub-btn:hover {
    background: rgba(212, 175, 55, 0.14) !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
    color: var(--gold-light, #fef08a) !important;
}
body.light .tg-auth-sub-btn {
    background: #f8fafc !important;
    border-color: rgba(180, 131, 22, 0.2) !important;
    color: #1e293b !important;
}
body.light .tg-auth-sub-btn:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: rgba(180, 131, 22, 0.4) !important;
    color: #855d04 !important;
}

.tg-qr-box {
    margin-top: 12px !important;
    padding: 16px !important;
    border-radius: 16px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px dashed rgba(212, 175, 55, 0.35) !important;
    text-align: center !important;
    display: none;
    animation: fadeInModal 0.25s ease forwards;
}
body.light .tg-qr-box {
    background: #fafaf9 !important;
    border-color: rgba(180, 131, 22, 0.3) !important;
}
.tg-qr-img-wrap {
    width: 140px !important;
    height: 140px !important;
    margin: 0 auto 10px !important;
    padding: 8px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.tg-qr-img-wrap canvas,
.tg-qr-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    display: block !important;
}

.mobile-drawer-tg-status.connected {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}
.mobile-drawer-tg-status.connected .tg-status-avatar {
    background: linear-gradient(135deg, #059669, #10b981) !important;
}

.tg-auth-waiting-box {
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--gold-light, #fef08a);
}
body.light .tg-auth-waiting-box {
    background: rgba(180, 131, 22, 0.06);
    border-color: rgba(180, 131, 22, 0.3);
    color: #855d04;
}

.tg-auth-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
body.light .tg-auth-box {
    background: #fafaf9;
    border-color: rgba(180, 131, 22, 0.16);
}

.tg-auth-box-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-light, #fef08a);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
body.light .tg-auth-box-title {
    color: #92400e;
}

.tg-auth-box-list {
    margin: 0;
    padding-right: 18px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.8;
}
body.light .tg-auth-box-list {
    color: #475569;
}

.tg-auth-user-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b0f19;
}
.tg-auth-check-dot {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0d1018;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
}
body.light .tg-auth-check-dot {
    border-color: #ffffff;
}

.tg-auth-user-name {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
}
body.light .tg-auth-user-name {
    color: #0f172a;
}

.tg-auth-user-handle {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gold-light, #fef08a);
    direction: ltr;
}
body.light .tg-auth-user-handle {
    color: #855d04;
}

.tg-auth-connected-chip {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 700;
}
body.light .tg-auth-connected-chip {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.tg-auth-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.tg-webapp-btn {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light, #fef08a);
}
.tg-webapp-btn:hover {
    background: rgba(212, 175, 55, 0.22);
}
body.light .tg-webapp-btn {
    background: rgba(180, 131, 22, 0.08);
    border-color: rgba(180, 131, 22, 0.3);
    color: #855d04;
}
body.light .tg-webapp-btn:hover {
    background: rgba(180, 131, 22, 0.15);
}

.tg-sync-favs-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #f1f5f9;
}
.tg-sync-favs-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--gold-light, #fef08a);
}
body.light .tg-sync-favs-btn {
    background: #f8fafc;
    border-color: rgba(180, 131, 22, 0.25);
    color: #1e293b;
}
body.light .tg-sync-favs-btn:hover {
    background: rgba(180, 131, 22, 0.1);
    color: #855d04;
}

.tg-direct-sync-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.35);
}
body.light .tg-direct-sync-box {
    background: #fafaf9 !important;
    border-color: rgba(180, 131, 22, 0.25) !important;
}
#tgDirectIdentifierInput {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
}
body.light #tgDirectIdentifierInput {
    background: #f1f5f9 !important;
    border: 1px solid rgba(180, 131, 22, 0.3) !important;
    color: #0f172a !important;
}

.tg-disconnect-btn {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-size: 0.84rem;
    font-weight: 600;
    margin-top: 6px;
}
.tg-disconnect-btn:hover {
    background: rgba(239, 68, 68, 0.16);
}
body.light .tg-direct-sync-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(212, 175, 55, 0.35);
}
body.light .tg-direct-sync-box {
    background: #fafaf9 !important;
    border-color: rgba(180, 131, 22, 0.25) !important;
}
#tgDirectIdentifierInput {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
}
body.light #tgDirectIdentifierInput {
    background: #f1f5f9 !important;
    border: 1px solid rgba(180, 131, 22, 0.3) !important;
    color: #0f172a !important;
}

.tg-disconnect-btn {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}
body.light .tg-disconnect-btn:hover {
    background: rgba(239, 68, 68, 0.12);
}

/* ============================================================ */
/* ORDER SUCCESS TELEGRAM INTEGRATION CARD */
/* ============================================================ */
.success-tg-card {
    margin-top: 14px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}
body.light .success-tg-card {
    background: rgba(2, 132, 199, 0.06);
    border-color: rgba(2, 132, 199, 0.28);
}
body.light .success-tg-card p {
    color: #334155 !important;
}

/* ============================================================ */
/* MODAL INSTALLMENT CONDITIONS & FINANCIAL CALCULATOR */
/* ============================================================ */
.modal-installment-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 78, 59, 0.12));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 14px 0 12px;
}
body.light .modal-installment-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(209, 250, 229, 0.6));
    border-color: rgba(16, 185, 129, 0.35);
}
.modal-installment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 10px;
}
body.light .modal-installment-header {
    color: #047857;
}
.installment-badge {
    font-size: 0.72rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}
body.light .installment-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.3);
}
.modal-installment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}
@media (max-width: 576px) {
    .modal-installment-grid {
        grid-template-columns: 1fr;
    }
}
.modal-installment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 8px;
}
body.light .modal-installment-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.modal-installment-item .lbl {
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 5px;
}
.modal-installment-item .lbl svg {
    width: 13px;
    height: 13px;
}
body.light .modal-installment-item .lbl {
    color: #64748b;
}
.modal-installment-item .val {
    font-weight: 700;
    color: var(--text-color, #e2e8f0);
}
body.light .modal-installment-item .val {
    color: #1e293b;
}
.modal-installment-item .val.highlight {
    color: #10b981;
}
body.light .modal-installment-item .val.highlight {
    color: #059669;
}

/* Modal Calculator */
.modal-calc-box {
    background: var(--bg-card, rgba(28, 28, 30, 0.85));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    transition: all 0.25s ease;
}
body.light .modal-calc-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.modal-calc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--text-color, #fff);
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}
body.light .modal-calc-toggle {
    color: #0f172a;
}
.calc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    padding-bottom: 8px;
}
body.light .calc-tabs {
    border-bottom-color: #e2e8f0;
}
.calc-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
body.light .calc-tab-btn {
    color: #64748b;
}
.calc-tab-btn svg {
    width: 14px;
    height: 14px;
}
.calc-tab-btn.active {
    background: rgba(197, 168, 128, 0.15);
    border-color: rgba(197, 168, 128, 0.4);
    color: var(--eivira-gold, #c5a880);
}
body.light .calc-tab-btn.active {
    background: rgba(180, 131, 22, 0.1);
    border-color: rgba(180, 131, 22, 0.35);
    color: #926405;
}
.calc-param-group {
    margin-bottom: 10px;
}
.calc-param-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 6px;
}
body.light .calc-param-group label {
    color: #64748b;
}
.calc-pill-options {
    display: flex;
    gap: 6px;
}
.calc-pill {
    flex: 1;
    padding: 6px 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color, #e2e8f0);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    text-align: center;
}
body.light .calc-pill {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}
.calc-pill.active {
    background: #c5a880;
    border-color: #c5a880;
    color: #111;
}
body.light .calc-pill.active {
    background: #b48316;
    border-color: #b48316;
    color: #ffffff;
}
.calc-results-card {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
body.light .calc-results-card {
    background: #ffffff;
    border-color: #e2e8f0;
}
.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.82rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #94a3b8);
}
body.light .calc-result-row {
    color: #64748b;
    border-bottom-color: #f1f5f9;
}
.calc-result-row:last-of-type {
    border-bottom: none;
}
.calc-result-row strong {
    font-weight: 800;
    color: var(--text-color, #fff);
    font-size: 0.88rem;
}
body.light .calc-result-row strong {
    color: #0f172a;
}
.calc-result-row.highlight {
    background: rgba(16, 185, 129, 0.08);
    margin: 4px -6px;
    padding: 6px;
    border-radius: 6px;
    border-bottom: none;
}
.calc-result-row.highlight strong {
    color: #10b981;
    font-size: 0.95rem;
}
body.light .calc-result-row.highlight strong {
    color: #059669;
}
.calc-note {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--text-muted, #94a3b8);
}
body.light .calc-note {
    color: #64748b;
}

/* Telegram Inquiry Button */
.villa-detail-btn-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 750;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
    font-family: inherit;
}
.villa-detail-btn-tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
}
.villa-detail-btn-tg svg {
    width: 15px;
    height: 15px;
}

/* Modal Sheet Handle Bar */
.sheet-handle {
    width: 44px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 99px;
    margin: 10px auto 4px auto;
    flex-shrink: 0;
}
body.light .sheet-handle {
    background: rgba(0, 0, 0, 0.2);
}

/* Exclusive Files Channel Button in Villa Modal */
.villa-detail-btn-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 750;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.villa-detail-btn-channel:hover {
    background: rgba(56, 189, 248, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}
.villa-detail-btn-channel svg {
    width: 15px;
    height: 15px;
}

/* Mini-App Style Online Consultation for Website */
.site-ai-header-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(14, 20, 34, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    margin-bottom: 12px;
}
body.light .site-ai-header-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(212, 175, 55, 0.35);
}
.site-ai-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b38b1e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}
.site-ai-pulse {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    background: #10b981;
    border: 2px solid #0f172a;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 1.8s infinite;
}
.site-ai-info h4 {
    margin: 0 0 3px 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}
body.light .site-ai-info h4 {
    color: #0f172a;
}
.site-ai-info p {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 5px;
}
body.light .site-ai-info p {
    color: #475569;
}
.site-ai-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

/* High-Contrast Light Theme Overrides (Resolving unreadable text in Day Mode) */
body.light,
html.light body,
[data-theme="light"] {
    --text-primary: #0f172a !important;
    --text-secondary: #334155 !important;
    --text-muted: #64748b !important;
}

body.light [style*="color: #fff"],
body.light [style*="color:#fff"],
body.light [style*="color: #ffffff"],
body.light [style*="color:#ffffff"],
body.light [style*="color: #f8fafc"],
body.light [style*="color: #f1f5f9"],
body.light [style*="color: #e2e8f0"] {
    color: #0f172a !important;
}

body.light [style*="color: rgba(255, 255, 255,"],
body.light [style*="color:rgba(255, 255, 255,"] {
    color: #334155 !important;
}

body.light .home-card-title,
body.light .villa-detail-title,
body.light .tracker-modal-titles h3,
body.light .mobile-drawer-title,
body.light .footer-title {
    color: #0f172a !important;
}

body.light .home-card-specs,
body.light .villa-detail-desc,
body.light .tracker-modal-titles p,
body.light .home-card-price-label {
    color: #475569 !important;
}

body.light .home-prop-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

body.light .home-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.light .home-card-price-val {
    color: #855d04 !important;
}

body.light .villa-detail-modal-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

body.light .villa-detail-spec-box {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

body.light .villa-detail-spec-box .spec-val {
    color: #0f172a !important;
}

body.light .villa-detail-spec-box .spec-label {
    color: #64748b !important;
}

body.light .villa-detail-close-btn {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #0f172a !important;
}

body.light .villa-detail-close-btn:hover {
    background: rgba(0, 0, 0, 0.12) !important;
}

body.light .support-chat-stream {
    background: #fbf9f5 !important;
}

body.light .chat-msg.ai-msg .chat-msg-body {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .chat-msg.ai-msg .chat-msg-content {
    color: #1e293b !important;
}

body.light .chat-msg.user-msg .chat-msg-body {
    background: linear-gradient(135deg, #b38b1e 0%, #855d04 100%) !important;
    color: #ffffff !important;
}

body.light .chat-msg.user-msg .chat-msg-content {
    color: #ffffff !important;
}

body.light .mobile-nav-drawer {
    background: #ffffff !important;
    color: #0f172a !important;
    border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light .mobile-drawer-link {
    color: #334155 !important;
}

body.light .mobile-drawer-call-btn {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #855d04 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}


/* ==========================================================================
   EIVIRA LUXURY AUTHENTICATION & USER ACCOUNT SYSTEM (MODAL & DROPDOWN)
   سامانه اختصاصی ورود، ثبت‌نام و مدیریت حساب کاربری با طراحی لوکس
   ========================================================================== */

/* ۱. هدر سایت: دکمه و منوی حساب کاربری */
.header-auth-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-auth-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 38px !important;
    min-height: 38px !important;
    width: auto !important;
    min-width: unset !important;
    max-width: none !important;
    padding: 0 14px !important;
    border-radius: 99px !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: var(--gold, #d4af37) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.header-auth-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.12) 100%) !important;
    border-color: rgba(212, 175, 55, 0.7) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3) !important;
}

.header-auth-btn.logged-in {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #34d399 !important;
    padding: 0 12px !important;
}

.header-auth-btn.logged-in:hover {
    background: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(16, 185, 129, 0.75) !important;
}

.header-auth-btn svg.lucide {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
}

.header-auth-text {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

@media (max-width: 991px) {
    .header-auth-btn {
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 0.8rem !important;
    }
    .header-auth-text {
        max-width: 95px;
    }
}

@media (max-width: 576px) {
    .header-auth-btn {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 8px !important;
        font-size: 0.75rem !important;
        gap: 5px !important;
    }
    .header-auth-text {
        max-width: 75px;
    }
}

@media (max-width: 400px) {
    .header-auth-btn {
        padding: 0 6px !important;
    }
    .header-auth-text {
        max-width: 60px;
        font-size: 0.72rem !important;
    }
}

/* منوی دراپ‌داون حساب کاربری */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: rgba(18, 20, 24, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
    padding: 12px;
    z-index: 10000;
    animation: authDropdownSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authDropdownSlide {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 10px 8px;
}

.user-avatar-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0d10;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-dropdown-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-phone {
    font-size: 0.75rem;
    color: #94a3b8;
    direction: ltr;
    text-align: right;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.user-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-dropdown-list li a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fef08a;
    transform: translateX(-3px);
}

.user-dropdown-list li.user-logout-item a {
    color: #f87171;
}

.user-dropdown-list li.user-logout-item a:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.user-badge {
    margin-right: auto;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 700;
}

/* ۲. مودال لوکس ورود و ثبت‌نام */
.auth-modal-card {
    max-width: 440px !important;
    width: 95% !important;
    background: rgba(18, 20, 24, 0.96) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15) !important;
    overflow: hidden;
}

.auth-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
}

.auth-modal-sub {
    margin: 2px 0 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.auth-step-desc {
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.auth-input-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(11, 13, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0 12px;
    transition: all 0.25s ease;
}

.auth-input-wrapper:focus-within {
    border-color: var(--gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    background: rgba(11, 13, 16, 0.95);
}

.auth-input-prefix {
    font-size: 0.85rem;
    color: var(--gold, #d4af37);
    font-weight: 700;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 8px;
    user-select: none;
}

.auth-text-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 4px;
    font-family: inherit;
}

.auth-text-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.auth-input-hint {
    font-size: 0.74rem;
    color: #94a3b8;
}

.auth-error-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 0.82rem;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.auth-dev-alert {
    background: rgba(212, 175, 55, 0.12);
    border: 1px dashed rgba(212, 175, 55, 0.45);
    color: #fef08a;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
}

.auth-primary-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #0b0d10;
    border: none;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    margin-top: 6px;
}

.auth-primary-btn:hover {
    background: linear-gradient(135deg, #fef08a 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
}

.auth-primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-alt-row {
    margin-top: 14px;
    text-align: center;
}

.auth-link-btn {
    background: none;
    border: none;
    color: var(--gold, #d4af37);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    padding: 4px 8px;
}

.auth-link-btn:hover {
    color: #fef08a;
    text-decoration: underline;
}

.auth-terms-note {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

.auth-terms-note a {
    color: var(--gold, #d4af37);
    text-decoration: none;
}

/* اینپوت‌های ۵ رقمی OTP */
.otp-sent-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.otp-sent-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

.otp-sent-phone {
    font-size: 0.95rem;
    color: var(--gold, #d4af37);
}

.otp-edit-phone-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.otp-edit-phone-btn:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
}

.otp-inputs-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 18px 0;
}

.otp-box {
    width: 52px;
    height: 56px;
    border-radius: 14px;
    background: rgba(11, 13, 16, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 800;
    text-align: center;
    outline: none;
    transition: all 0.22s ease;
    font-family: inherit;
}

.otp-box:focus {
    border-color: var(--gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
    background: rgba(11, 13, 16, 0.98);
    transform: translateY(-2px);
}

.otp-box.filled {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.06);
}

.otp-timer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 16px 0;
    font-size: 0.82rem;
    color: #cbd5e1;
    min-height: 28px;
}

.otp-resend-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold, #d4af37);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.otp-resend-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold, #d4af37);
    color: #fef08a;
}

.auth-pwd-toggle-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.auth-pwd-toggle-btn:hover {
    color: #f8fafc;
}

/* ۴. استایل‌های کارت پروفایل و تب‌های داخلی */
.profile-hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(18, 20, 24, 0.6) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.profile-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0d10;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
}

.profile-meta h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #f8fafc;
}

.profile-meta span {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 2px;
}

.profile-membership-tag {
    font-size: 0.72rem !important;
    color: #d4af37 !important;
}

.profile-tabs-nav {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 14px;
}

.profile-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-tab-btn:hover {
    color: #f8fafc;
}

.profile-tab-btn.active {
    background: rgba(212, 175, 55, 0.18);
    color: #fef08a;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.profile-activity-list {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-activity-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.profile-activity-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
}

.profile-act-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.profile-act-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: #f8fafc;
}

.profile-act-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 700;
}

.profile-act-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.profile-act-badge.approved {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.profile-act-badge.completed {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.profile-act-details {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
}

.profile-empty-state {
    text-align: center;
    padding: 24px 12px;
    color: #64748b;
    font-size: 0.85rem;
}

.profile-logout-btn {
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.profile-logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: #ef4444;
}

/* موبایل دراور */
.mobile-drawer-auth-box {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.drawer-login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold, #d4af37);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px;
}

.drawer-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0d10;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-user-meta strong {
    display: block;
    font-size: 0.88rem;
    color: #f8fafc;
}

.drawer-user-meta span {
    font-size: 0.74rem;
    color: #94a3b8;
    direction: ltr;
    display: block;
}

/* پشتیبانی از تم روشن (Light Theme) */
body.light-theme .auth-modal-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 25px rgba(212, 175, 55, 0.15) !important;
}

body.light-theme .auth-modal-title,
body.light-theme .profile-meta h4,
body.light-theme .profile-act-title {
    color: #0f172a;
}

body.light-theme .auth-modal-sub,
body.light-theme .auth-step-desc,
body.light-theme .otp-sent-label,
body.light-theme .profile-meta span {
    color: #64748b;
}

body.light-theme .auth-input-wrapper,
body.light-theme .otp-box {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme .auth-text-input {
    color: #0f172a;
}

body.light-theme .user-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

body.light-theme .user-dropdown-name {
    color: #0f172a;
}

body.light-theme .user-dropdown-list li a {
    color: #334155;
}

/* ==========================================================================
   Luxury User Account Hub Styles (Tabs, Stepper, Favorites Grid, Telegram)
   ========================================================================== */

/* Profile Tab Badges & Quick Edit */
.prof-tab-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #e2ba45;
    font-size: 0.72rem;
    font-weight: 700;
    margin-right: 4px;
    line-height: 1;
}

.profile-quick-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e2ba45;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.profile-quick-edit-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    color: #ffffff;
}

.profile-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Success Alert */
.auth-success-alert {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.83rem;
    text-align: right;
}

/* Cloud Sync Fav Button */
.auth-sync-fav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #f1c40f;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-sync-fav-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    color: #fff;
}

/* Favorites Grid & Card in Profile */
.profile-fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-left: 4px;
}
.profile-fav-card {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.22s ease;
    align-items: center;
}
.profile-fav-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}
.profile-fav-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-fav-info {
    flex: 1;
    min-width: 0;
}
.profile-fav-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-fav-loc {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.profile-fav-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2ba45;
}
.profile-fav-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}
.profile-fav-view-btn {
    padding: 6px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0b0f19;
    font-size: 0.72rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
}
.profile-fav-view-btn:hover {
    transform: scale(1.04);
}
.profile-fav-del-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.profile-fav-del-btn:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.12);
}

/* Telegram Account Status Card */
.tg-status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.tg-badge-connected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.tg-badge-disconnected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.tg-btn-connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 14px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}
.tg-btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
    color: #fff;
}

/* Tour Cancel Button */
.tour-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tour-cancel-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
    border-color: #ef4444;
}

/* Request Detail Action Button */
.req-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e2ba45;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.req-detail-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    color: #fff;
    border-color: #d4af37;
}

/* Stepper Timeline for Request Details */
.req-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 18px 0 24px 0;
    padding: 0 10px;
}
.req-stepper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.req-step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.req-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f131f;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}
.req-step-item.active .req-step-circle {
    border-color: #d4af37;
    background: linear-gradient(135deg, #d4af37, #997818);
    color: #0b0f19;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.req-step-item.completed .req-step-circle {
    border-color: #22c55e;
    background: #22c55e;
    color: #ffffff;
}
.req-step-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}
.req-step-item.active .req-step-title {
    color: #e2ba45;
}
.req-step-item.completed .req-step-title {
    color: #4ade80;
}

/* Request Detail Modal Card */
.req-detail-modal-card {
    max-width: 540px !important;
    width: 95% !important;
}
.req-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}
.req-detail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 12px;
}
.req-detail-label {
    font-size: 0.73rem;
    color: #94a3b8;
    margin-bottom: 2px;
}
.req-detail-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Light Theme Overrides for New Profile Elements */
body.light-theme .profile-fav-card,
body.light-theme .tg-status-card,
body.light-theme .req-detail-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}
body.light-theme .profile-fav-title,
body.light-theme .req-detail-value {
    color: #0f172a;
}
body.light-theme .req-step-circle {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* ===== Enhanced Luxury Support Toggle & Mobile Menu Styling ===== */
.support-toggle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: -1;
    animation: luxuryPulseRing 2.4s infinite ease-out;
    pointer-events: none;
}

@keyframes luxuryPulseRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0.15; }
    100% { transform: scale(1.6); opacity: 0; }
}

#supportToggleIcon {
    width: 26px;
    height: 26px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.support-toggle.active {
    background: linear-gradient(135deg, #111827 0%, #030712 100%) !important;
    border-color: var(--gold, #d4af37) !important;
    color: var(--gold, #d4af37) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.support-toggle.active #supportToggleIcon {
    transform: rotate(90deg) scale(1.05);
    color: var(--gold, #d4af37) !important;
}

.mobile-menu-toggle {
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:active {
    border-color: var(--gold, #d4af37) !important;
    background: rgba(212, 175, 55, 0.15) !important;
}

#mobileMenuIcon {
    width: 22px;
    height: 22px;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.mobile-menu-toggle.active {
    background: rgba(212, 175, 55, 0.22) !important;
    border-color: var(--gold, #d4af37) !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35) !important;
}

.mobile-menu-toggle.active #mobileMenuIcon {
    transform: rotate(90deg);
    color: var(--gold, #d4af37) !important;
}

/* ===== User Profile Hub Enhanced Styling ===== */
.profile-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.profile-stat-item {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 11px;
    padding: 8px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-stat-item:hover {
    border-color: var(--gold, #d4af37);
    background: rgba(212, 175, 55, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.profile-stat-item:active {
    transform: scale(0.97);
}

.profile-stat-item .stat-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold, #d4af37);
    line-height: 1.2;
}

.profile-stat-item .stat-lbl {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 500;
}

.profile-tabs-nav {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.profile-tabs-nav::-webkit-scrollbar {
    display: none;
}

.profile-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.auth-success-alert {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-size: 0.84rem;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
