/* ===================================================================
   Aya Store (آية ستور) - Luxury Accessories & Bags Boutique
   Designed with high-fashion aesthetics, responsive RTL & interactive themes
   =================================================================== */

:root {
    /* Base Warm Soft Beige Palette (Default - بيج هادي وراقي) */
    --primary: #9c744f;
    --primary-hover: #855f3c;
    --primary-light: #f6efe7;
    --primary-glow: rgba(156, 116, 79, 0.22);
    
    --accent: #d4af37;
    --accent-hover: #b89726;
    --accent-light: #fdfaf0;
    
    --bg-main: #faf7f2;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-alt: #f3ece2;
    
    --text-primary: #2b231c;
    --text-secondary: #66574a;
    --text-muted: #9c8b7c;
    
    --border-color: #ebe2d5;
    --shadow-sm: 0 2px 8px rgba(156, 116, 79, 0.04);
    --shadow-md: 0 8px 24px rgba(156, 116, 79, 0.08);
    --shadow-lg: 0 16px 40px rgba(156, 116, 79, 0.12);
    --shadow-glow: 0 8px 30px rgba(156, 116, 79, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme 1: Soft Beige (البيج الهادي الأساسي) */
body[data-theme="soft-beige"] {
    --primary: #9c744f;
    --primary-hover: #855f3c;
    --primary-light: #f6efe7;
    --primary-glow: rgba(156, 116, 79, 0.22);
    --accent: #d4af37;
    --accent-hover: #b89726;
    --accent-light: #fdfaf0;
    --bg-main: #faf7f2;
    --bg-alt: #f3ece2;
    --border-color: #ebe2d5;
    --text-primary: #2b231c;
    --text-secondary: #66574a;
    --text-muted: #9c8b7c;
}

/* Theme 2: Royal Gold */
body[data-theme="royal-gold"] {
    --primary: #b8860b;
    --primary-hover: #996e05;
    --primary-light: #fdf6e2;
    --primary-glow: rgba(184, 134, 11, 0.25);
    --accent: #1e1b18;
    --accent-hover: #332d28;
    --bg-main: #fdfcf7;
    --bg-alt: #f6efe1;
    --border-color: #ede2c9;
}

/* Theme 3: Lavender Chic */
body[data-theme="lavender-chic"] {
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-light: #f3e8ff;
    --primary-glow: rgba(139, 92, 246, 0.25);
    --accent: #ec4899;
    --accent-hover: #db2777;
    --bg-main: #faf8ff;
    --bg-alt: #f1edfd;
    --border-color: #e5defc;
}

/* Theme 4: Emerald Night (Dark Luxury) */
body[data-theme="emerald-night"] {
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-light: #064e3b;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --bg-main: #0b1120;
    --bg-card: #151e32;
    --bg-card-hover: #1b2640;
    --bg-alt: #10182b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #23304c;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary) 0%, #1e1b18 50%, var(--primary) 100%);
    color: #ffffff;
    font-size: 0.88rem;
    padding: 8px 0;
    position: relative;
    z-index: 50;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-fire {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.promo-code {
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    padding: 1px 7px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
    cursor: pointer;
}

.sale-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.timer-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-family: monospace;
}

.top-social-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.top-social-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-social-links a:hover {
    color: var(--accent);
    transform: scale(1.2);
}

/* Navigation Header */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border-color);
    z-index: 40;
    transition: var(--transition);
}

body[data-theme="emerald-night"] .navbar {
    background-color: rgba(21, 30, 50, 0.92);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.brand-logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
    background: #ffffff;
    flex-shrink: 0;
    transition: var(--transition);
}

.brand-logo a:hover .brand-logo-img {
    transform: scale(1.08) rotate(4deg);
    border-color: var(--accent);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-ar {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: -2px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.close-menu-btn {
    display: none;
}

.nav-link {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.nav-link.highlight {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-primary);
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.counter-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

/* Theme Picker Dropdown */
.theme-picker-wrapper {
    position: relative;
}

.theme-dropdown {
    position: absolute;
    top: 52px;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    width: 190px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 60;
}

.theme-dropdown.show {
    display: flex;
}

.theme-dropdown-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.theme-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    width: 100%;
}

.theme-opt:hover, .theme-opt.active {
    background: var(--bg-alt);
    color: var(--primary);
}

.swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.swatch.beige { background: #9c744f; }
.swatch.gold { background: #b8860b; }
.swatch.lavender { background: #8b5cf6; }
.swatch.emerald { background: #10b981; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-full);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #d87087 100%);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

body[data-theme="royal-gold"] .btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
}
body[data-theme="lavender-chic"] .btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}
body[data-theme="emerald-night"] .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    background: #ffffff;
    color: var(--primary);
}
.btn-light:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1eb956;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -120px;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.tag-pill {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* Hero Visual & Floating Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card-main {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-main-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-card);
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

body[data-theme="emerald-night"] .hero-floating-card {
    background: rgba(21, 30, 50, 0.92);
}

.top-float {
    top: 30px;
    right: -30px;
    animation-delay: 0s;
}

.bottom-float {
    bottom: 30px;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.float-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.float-icon.heart {
    background: #ffe4e6;
    color: #f43f5e;
}

.float-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.float-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: var(--bg-alt);
    position: relative;
}

.story-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.story-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.story-card-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(156, 116, 79, 0.12);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: none;
}

.story-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.story-social-proof {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-pill {
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.social-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.social-pill.ig i { color: #E1306C; }
.social-pill.tt i { color: #000000; }
body[data-theme="emerald-night"] .social-pill.tt i { color: #ffffff; }

.section-badge {
    display: inline-block;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.3;
}

.story-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 24px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    padding-right: 20px;
    border-right: 2px dashed var(--border-color);
}

.timeline-step {
    position: relative;
}

.step-icon {
    position: absolute;
    right: -36px;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.step-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    border-right: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.quote-icon {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.quote-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.7;
}

.quote-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* Features Bar */
.features-bar {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quiz Teaser Banner */
.quiz-teaser {
    padding: 50px 0 20px;
}

.quiz-teaser-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b18 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 35px 45px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.teaser-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.quiz-teaser-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.quiz-teaser-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.quiz-teaser-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Products Section & Catalog */
.products-section {
    padding: 70px 0;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 35px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.sort-select {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-thumb-wrap {
    position: relative;
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-thumb {
    transform: scale(1.08);
}

.product-badge-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.p-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.p-badge.bogo-badge {
    background: linear-gradient(135deg, #e11d48, #f59e0b);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-spec-highlight {
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(194, 89, 117, 0.22);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.35;
}

body[data-theme="emerald-night"] .product-spec-highlight {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.bogo-cart-banner {
    background: linear-gradient(135deg, #fff1f2, #fef3c7);
    border: 1px dashed #f43f5e;
    color: #be123c;
    font-weight: 700;
    font-size: 0.83rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-name-box {
    margin: 14px 0;
    padding: 12px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px dashed var(--accent);
}
.custom-name-box label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.custom-name-box input {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-primary);
    outline: none;
}
.custom-name-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Ring Size Selector */
.ring-size-box {
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary);
}
.ring-size-box label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.size-options-wrap {
    display: flex;
    gap: 10px;
}
.size-chip {
    cursor: pointer;
    position: relative;
    user-select: none;
}
.size-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.size-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--transition);
}
.size-chip:hover .size-pill-btn {
    border-color: var(--primary);
}
.size-chip input:checked + .size-pill-btn,
.size-chip.active .size-pill-btn {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(156, 116, 79, 0.3);
}

.p-badge.hot {
    background: #ef4444;
    color: #ffffff;
}

.p-badge.bestseller {
    background: var(--accent);
    color: #1a1a1a;
}

.p-badge.new {
    background: var(--primary);
    color: #ffffff;
}

.p-badge.waterproof {
    background: #0284c7;
    color: #ffffff;
}

.p-badge.care-badge {
    background: #d97706;
    color: #ffffff;
}

.p-badge.warranty-badge {
    background: #059669;
    color: #ffffff;
}

.p-badge.out-of-stock {
    background: #ef4444;
    color: #ffffff;
    font-weight: 800;
}

.product-card.out-of-stock .product-thumb {
    filter: grayscale(35%);
    opacity: 0.85;
}

.btn-add-cart.disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.65;
    box-shadow: none !important;
}

.product-wish-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    transition: var(--transition);
}

.product-wish-btn:hover, .product-wish-btn.active {
    background: #f43f5e;
    color: #ffffff;
    transform: scale(1.1);
}

.quick-view-overlay-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: none;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    white-space: nowrap;
    z-index: 2;
}

body[data-theme="emerald-night"] .quick-view-overlay-btn {
    background: rgba(21, 30, 50, 0.95);
}

.product-card:hover .quick-view-overlay-btn {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    cursor: pointer;
}

.product-title:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.stars {
    color: #f59e0b;
}

.review-count {
    color: var(--text-muted);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    margin-top: auto;
}

.curr-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-tag {
    background: #ffe4e6;
    color: #e11d48;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-add-cart {
    flex-grow: 1;
    background: var(--bg-alt);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn-wa-direct {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-wa-direct:hover {
    transform: scale(1.05);
}

/* TikTok & Social Showcase */
.tiktok-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tt-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tt-video-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tt-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(156, 116, 79, 0.16);
    border-color: var(--primary);
}

.tt-video-mockup {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
}

.tt-video-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-video-card:hover .tt-video-mockup img {
    transform: scale(1.06);
}

.tt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: #ffffff;
}

.tt-top-tag {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tt-play-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.tt-video-card:hover .tt-play-btn {
    transform: scale(1.15);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(156, 116, 79, 0.5);
}

.tt-watch-pill {
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: #ffffff;
    transition: var(--transition);
}

.tt-video-card:hover .tt-watch-pill {
    background: #ffffff;
    color: #111111;
}

.tt-card-bottom {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-card);
    flex-grow: 1;
}

.tt-video-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.tt-video-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 6px 0;
}

.btn-watch-tt {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.tt-video-card:hover .btn-watch-tt {
    background: var(--primary);
    color: #ffffff;
}

/* Guarantee Section */
.guarantee-section {
    padding: 70px 0;
}

.guarantee-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-sm);
}

.guarantee-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.guarantee-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.guarantee-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.point i {
    color: #10b981;
}

.guarantee-badge-art {
    display: flex;
    justify-content: center;
}

.big-circle-badge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    text-align: center;
    padding: 20px;
}

.big-circle-badge i {
    font-size: 2.8rem;
    margin-bottom: 6px;
}

.big-circle-badge span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.big-circle-badge strong {
    font-size: 1.1rem;
    font-weight: 900;
}

/* Newsletter */
.newsletter-section {
    padding: 40px 0 70px;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-alt) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    position: relative;
}

.sparkle-float {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.newsletter-card h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.newsletter-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto 12px;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #141113;
    color: #e2d9dd;
    padding: 70px 0 20px;
    border-top: 1px solid #292226;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-desc {
    font-size: 0.9rem;
    color: #a89ba1;
    margin: 15px 0 20px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #241e21;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #a89ba1;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-text {
    font-size: 0.88rem;
    color: #a89ba1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-tag {
    background: #241e21;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: #d1c4ca;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    border-top: 1px solid #292226;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #8c7e84;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Drawers & Modals (Cart, Wishlist, Search, Checkout, Quiz) */
.drawer-overlay, .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active, .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 110;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary);
}

.drawer-title h3 {
    color: var(--text-primary);
    font-weight: 800;
}

.drawer-close-btn, .modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.drawer-close-btn:hover, .modal-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Free Shipping Meter */
.shipping-meter-box {
    background: var(--bg-alt);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}

.shipping-meter-text {
    font-size: 0.82rem;
    margin-bottom: 6px;
}

.meter-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.meter-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

/* Cart Items */
.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--primary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-alt);
}

.qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.qty-val {
    width: 28px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.cart-item-remove {
    color: #ef4444;
    font-size: 0.85rem;
    cursor: pointer;
}

.cart-empty-view {
    padding: 40px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.cart-empty-view h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cart-empty-view p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Drawer Footer */
.drawer-footer {
    padding: 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.promo-box {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.promo-box input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.promo-feedback {
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.promo-feedback.success { color: #10b981; }
.promo-feedback.error { color: #ef4444; }

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.discount-line {
    color: #10b981;
    font-weight: 700;
}

.total-line {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-primary);
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.total-val {
    color: var(--primary);
    font-size: 1.3rem;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Modals General */
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 120;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

/* Quick View Modal */
.product-quick-modal {
    width: 820px;
    padding: 30px;
}

.quick-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.quick-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.quick-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.quick-perks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-alt);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.quick-perks span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.quick-perks i {
    color: var(--primary);
}

/* Search Modal */
.search-modal {
    width: 650px;
    padding: 30px;
}

.search-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background: var(--bg-alt);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-input-wrap input:focus {
    border-color: var(--primary);
    background: var(--bg-card);
}

.search-clear-btn {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pill-search {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pill-search:hover {
    background: var(--primary);
    color: #ffffff;
}

.search-results-list {
    margin-top: 25px;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-item-row:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
}

.search-item-row img {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-item-info strong {
    display: block;
    font-size: 0.95rem;
}

.search-item-info span {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
}

.search-hint {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

/* Checkout Modal */
.checkout-modal {
    width: 580px;
    padding: 30px;
}

.checkout-header {
    margin-bottom: 20px;
}

.checkout-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.checkout-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-card);
}

.order-summary-box {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    border: 1px solid var(--border-color);
}

.sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.sum-row.highlight {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0;
}

/* E-Wallet & Payment Options Grid */
.payment-options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

.pay-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.pay-option-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.pay-option-card input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.pay-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.pay-card-content .pay-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.pay-card-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.pay-card-content span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.wallet-copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px dashed var(--primary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin: 10px 0 14px;
    font-size: 0.88rem;
    color: var(--text-primary);
}

body[data-theme="emerald-night"] .wallet-copy-box {
    background: var(--bg-card);
}

.btn-copy-wallet {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-copy-wallet:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.shipping-policy-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.45;
    margin: 14px 0;
}

body[data-theme="emerald-night"] .shipping-policy-notice {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.shipping-policy-notice i {
    font-size: 1.15rem;
    color: #d97706;
    margin-top: 2px;
}

/* Style Quiz Modal */
.quiz-modal {
    width: 600px;
    padding: 35px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-step-count {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.quiz-header h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.quiz-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.quiz-opt-card {
    background: var(--bg-alt);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-opt-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(-4px);
}

.opt-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.quiz-opt-card strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.quiz-opt-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.quiz-recommendations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.quiz-rec-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.quiz-rec-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.quiz-rec-card h5 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.quiz-rec-card span {
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

/* Success Modal */
.success-modal {
    width: 480px;
    padding: 40px 30px;
}

.confetti-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.success-modal h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--primary);
}

.order-id-display {
    background: var(--bg-alt);
    display: inline-block;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.success-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-wa-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: waPulse 2.5s infinite;
    transition: var(--transition);
}

.floating-wa-btn:hover {
    transform: scale(1.1);
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
    background: #ffffff;
    color: #1a1a1a;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0.95;
    display: none;
}

@media (min-width: 768px) {
    .whatsapp-tooltip {
        display: block;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    pointer-events: auto;
    animation: toastIn 0.35s ease forwards;
    max-width: 340px;
}

.toast.toast-success { border-right-color: #10b981; }
.toast.toast-error { border-right-color: #ef4444; }

@keyframes toastIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===================================================================
   Responsive Multi-Device System (Desktop, Laptop, Tablet, Mobile)
   =================================================================== */

/* Prevent horizontal scroll globally */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

/* Modals General Safety for all devices */
.modal-content {
    width: min(94vw, 780px) !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* 1. Large Screens & Desktops (>= 1200px) */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 26px;
    }
}

/* 2. Laptops & Small Desktops (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        padding: 0 20px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-card-main img {
        height: 380px;
    }
}

/* 3. Tablets (769px to 991px) */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero-tag {
        margin: 0 auto 16px;
    }
    .hero-desc {
        max-width: 580px;
        margin: 0 auto 24px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        max-width: 520px;
        margin: 25px auto 0;
    }
    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
        position: relative;
    }
    .top-float {
        right: 0;
    }
    .bottom-float {
        left: 0;
    }
    .story-container {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .tiktok-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 680px;
        margin: 0 auto;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .product-thumb-wrap {
        height: 250px;
    }
    .product-info {
        padding: 14px;
    }
    .product-title {
        font-size: 0.95rem;
    }
}

/* 4. All Mobile Screens & Phablets (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }
    
    /* Top Announcement */
    .announcement-bar {
        padding: 7px 10px;
    }
    .announcement-content {
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    .promo-text {
        font-size: 0.77rem;
        line-height: 1.4;
    }
    .top-social-links,
    .sale-countdown {
        display: none;
    }

    /* Navbar Header */
    .navbar {
        height: auto;
    }
    .nav-container {
        height: 60px;
        padding: 0 12px;
    }
    .nav-left {
        gap: 10px;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        background: var(--bg-alt);
        color: var(--text-primary);
        font-size: 1.25rem;
    }
    .brand-logo-img {
        width: 38px;
        height: 38px;
    }
    .brand-logo-text .logo-en {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    .brand-logo-text .logo-ar {
        font-size: 0.78rem;
    }
    .brand-logo-text .logo-sub {
        display: none;
    }
    .nav-actions {
        gap: 6px;
    }
    .icon-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .counter-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -3px;
        left: -3px;
    }

    /* Mobile Menu Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 86vw);
        background: var(--bg-card);
        flex-direction: column;
        align-items: stretch;
        padding: 65px 18px 25px;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
        z-index: 150;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .close-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        left: 15px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--bg-alt);
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    .nav-link {
        font-size: 1rem;
        font-weight: 700;
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    .nav-link:hover, .nav-link.active {
        background: var(--primary-light);
        color: var(--primary);
    }
    .nav-link.active::after {
        display: none;
    }
    .mobile-drawer-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        width: 100%;
    }
    .mobile-drawer-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg-alt);
        color: var(--primary);
        font-size: 1.15rem;
        transition: var(--transition);
        text-decoration: none;
    }

    /* Hero Section */
    .hero-section {
        padding: 35px 0 25px;
    }
    .hero-title {
        font-size: clamp(1.65rem, 5vw, 2.1rem);
        line-height: 1.35;
        margin-bottom: 12px;
    }
    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 20px;
    }
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.95rem;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 12px 8px;
        margin-top: 20px;
    }
    .stat-divider {
        display: none;
    }
    .stat-num {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.68rem;
    }
    .hero-visual {
        max-width: 100%;
        margin-top: 20px;
    }
    .hero-card-main img {
        height: 270px;
        border-radius: var(--radius-md);
    }
    .top-float, .bottom-float {
        position: static;
        margin: 8px auto 0;
        width: 100%;
        max-width: 320px;
        transform: none !important;
        animation: none;
    }

    /* Category Filter Tabs Bar (Horizontal Scrollable Mobile Bar) */
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 22px;
    }
    .filter-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 4px 2px 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        width: 100% !important;
    }
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 0.83rem !important;
        padding: 8px 14px !important;
        border-radius: var(--radius-full) !important;
    }
    .sort-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .sort-select {
        padding: 6px 12px;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    /* Products Grid: 2 Columns on Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    .product-thumb-wrap {
        height: clamp(150px, 42vw, 200px) !important;
    }
    .product-badge-wrap {
        top: 6px;
        right: 6px;
        gap: 3px;
    }
    .p-badge {
        font-size: 0.62rem;
        padding: 2px 6px;
        font-weight: 800;
    }
    .product-wish-btn {
        top: 6px;
        left: 6px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .quick-view-overlay-btn {
        display: none !important;
    }
    .product-info {
        padding: 10px 8px;
    }
    .product-cat {
        font-size: 0.68rem;
        margin-bottom: 2px;
    }
    .product-title {
        font-size: 0.82rem;
        line-height: 1.35;
        margin-bottom: 5px;
        min-height: 2.3em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-spec-highlight {
        font-size: 0.67rem;
        padding: 3px 6px;
        margin-bottom: 6px;
        line-height: 1.25;
        border-radius: 4px;
    }
    .product-rating {
        font-size: 0.7rem;
        margin-bottom: 6px;
        gap: 3px;
    }
    .stars {
        font-size: 0.68rem;
    }
    .review-count {
        font-size: 0.65rem;
    }
    .product-pricing {
        margin-bottom: 8px;
        gap: 5px;
        flex-wrap: wrap;
        align-items: baseline;
    }
    .curr-price {
        font-size: 1.05rem;
        font-weight: 900;
    }
    .old-price {
        font-size: 0.76rem;
    }
    .discount-tag {
        font-size: 0.62rem;
        padding: 1px 4px;
    }
    .product-actions {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    .btn-add-cart {
        flex: 1;
        min-width: 0;
        padding: 8px 4px;
        font-size: 0.76rem;
        font-weight: 700;
        border-radius: 8px;
        gap: 4px;
        white-space: nowrap;
    }
    .btn-wa-direct {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Style Quiz Teaser */
    .quiz-teaser {
        padding: 30px 0;
    }
    .quiz-teaser-card {
        grid-template-columns: 1fr;
        padding: 20px 14px;
        text-align: center;
    }
    .quiz-teaser-img {
        display: none;
    }
    .quiz-teaser-content h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    .quiz-teaser-content p {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    .quiz-teaser-content .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 11px 14px;
    }

    /* Features Bar */
    .features-bar {
        padding: 24px 0;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .feature-item {
        padding: 12px 8px;
        text-align: center;
        flex-direction: column;
        gap: 6px;
    }
    .feature-icon {
        font-size: 1.4rem;
    }
    .feature-text h4 {
        font-size: 0.82rem;
    }
    .feature-text p {
        font-size: 0.7rem;
    }

    /* Story Section */
    .story-section {
        padding: 40px 0;
    }
    .story-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .story-media {
        text-align: center;
    }
    .story-card-frame {
        max-width: 220px;
        margin: 0 auto;
    }
    .story-avatar {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .story-timeline {
        gap: 12px;
    }
    .timeline-step {
        gap: 10px;
    }
    .timeline-step h4 {
        font-size: 0.9rem;
    }
    .timeline-step p {
        font-size: 0.8rem;
    }
    .quote-box {
        padding: 15px;
    }
    .quote-text {
        font-size: 0.85rem;
    }

    /* TikTok Reviews */
    .tiktok-section {
        padding: 40px 0;
    }
    .tiktok-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
        gap: 20px;
    }
    .tt-video-mockup {
        height: 310px;
    }

    /* Guarantee Box */
    .guarantee-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 16px;
    }
    .guarantee-points {
        align-items: center;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 35px 0;
    }
    .newsletter-card {
        padding: 24px 16px;
    }
    .newsletter-card h2 {
        font-size: 1.3rem;
    }
    .newsletter-card p {
        font-size: 0.85rem;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .newsletter-form input {
        width: 100%;
    }
    .newsletter-form .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .footer-desc {
        font-size: 0.85rem;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Drawers & Modals on Mobile */
    .cart-drawer,
    .wishlist-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
    .product-quick-modal,
    .search-modal,
    .checkout-modal,
    .quiz-modal,
    .success-modal {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 20px 14px !important;
    }
    .quick-modal-body {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .quick-img-wrap img {
        height: clamp(190px, 48vw, 250px) !important;
        width: 100%;
        object-fit: contain;
        background: var(--bg-alt);
        border-radius: var(--radius-sm);
    }
    .quick-details .section-title {
        font-size: 1.15rem !important;
    }
    .quick-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .quick-perks {
        font-size: 0.78rem;
        gap: 6px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .quiz-modal {
        padding: 20px 14px;
    }
    .quiz-options {
        gap: 8px;
    }
    .quiz-opt-card {
        padding: 12px 14px;
    }
    .quiz-recommendations {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .quiz-rec-card img {
        height: 100px;
    }

    /* Floating WhatsApp Button on Mobile */
    .floating-whatsapp-wrap {
        bottom: 16px;
        right: 14px;
        gap: 0;
    }
    .floating-wa-btn {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }
    .whatsapp-tooltip {
        display: none !important;
    }
}

/* 5. Ultra Compact Mobile (<= 400px - iPhone SE, small Androids) */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    .brand-logo-text .logo-en {
        font-size: 1.05rem;
    }
    .brand-logo-text .logo-ar {
        font-size: 0.72rem;
    }
    .brand-logo-img {
        width: 33px;
        height: 33px;
    }
    .nav-actions {
        gap: 4px;
    }
    .icon-btn {
        width: 33px;
        height: 33px;
        font-size: 0.88rem;
    }
    .products-grid {
        gap: 8px !important;
    }
    .product-info {
        padding: 8px 6px;
    }
    .product-title {
        font-size: 0.78rem;
    }
    .product-spec-highlight {
        font-size: 0.64rem;
        padding: 2px 4px;
    }
    .curr-price {
        font-size: 0.98rem;
    }
    .btn-add-cart {
        font-size: 0.72rem;
        padding: 7px 2px;
    }
    .btn-wa-direct {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}
