/* ============================================
   1. GENERAL & RESET
============================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #333;
    background-color: #fdfdfd;
    line-height: 1.6;
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Makes fonts look crisper/premium */
}

.container {
    max-width: 1300px; /* Slightly wider for a modern feel */
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Premium Button Styling */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background-color: #000;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: #fff;
    border-color: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* ======== FIXED TOP BANNER ======== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Slimmer for elegance */
    background-color: #000;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 1100;
    padding: 0 20px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-sizing: border-box;
    line-height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-weight: 600;
}

.top-bar .top-bar-content {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: belasco-marquee 30s linear infinite; /* Slower, smoother scroll */
}

.top-bar .top-bar-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    color: #fff;
    font-weight: 600;
    vertical-align: middle;
}

.top-bar-flag {
    width: 18px;
    height: 12px;
    margin-left: 9px;
    margin-right: 9px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
    vertical-align: middle;
    transform-origin: 0% 50%;
    animation: flag-wave 1.5s infinite ease-in-out;
}

@keyframes belasco-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.top-bar.hidden-by-transparent-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .top-bar .top-bar-content {
        animation: none !important;
        transform: none !important;
    }
    .top-bar-flag {
        animation: none !important;
    }
}

/* ============================================
HEADER STYLES
============================================ */
header.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 40px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box; 
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 60px;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center; 
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    transition: color 0.4s ease;
}

.logo .logo-image {
    display: none;
}

.logo .logo-subline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    margin-top: 5px;
    transition: color 0.4s ease;
}

/* --- DESKTOP NAVIGATION --- */
.main-nav {
    display: none;
    flex-basis: calc(50% - 100px);
    margin-right: 0;
}

.header-icons {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-basis: calc(50% - 100px);
    justify-content: flex-end;
    color: #000000; 
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
}

.main-nav ul li {
    margin-left: 25px; /* More spacing */
}

.main-nav ul li:first-child {
    margin-left: 0;
}

.main-nav ul li a {
    color: #000000;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 5px;
    position: relative;
    border-bottom: none;
    transition: color 0.4s ease;
}

/* Elegant Underline Animation */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #000;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

.desktop-user, .desktop-logout, .desktop-login {
    display: none; 
}

.header-icons a,
.header-icons span.desktop-user,
.header-icons .current-currency {
    color: #000000;
    margin-left: 20px;
    font-size: 16px;
    transition: transform 0.2s ease, color 0.4s ease;
}

.header-icons a:hover, 
#theme-toggle:hover {
    transform: translateY(-2px);
}

.header-icons .search-icon svg {
    stroke: #000000;
    transition: stroke 0.4s ease;
}

/* --- THEME TOGGLE BUTTON STYLES --- */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: inherit;
    position: relative;
    width: 24px; 
    height: 24px;
}

#theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor; 
    fill: none;
    stroke-width: 2;
    transition: all 0.4s ease;
}

/* LIGHT MODE DEFAULT: Hide Sun, Show Moon */
#theme-toggle .sun-icon {
    display: none !important; 
}
#theme-toggle .moon-icon {
    display: block !important;
}

/* DARK MODE OVERRIDE: Show Sun, Hide Moon */
body.dark-mode #theme-toggle .sun-icon {
    display: block !important;
}
body.dark-mode #theme-toggle .moon-icon {
    display: none !important;
}

/* --- MOBILE NAVIGATION COMPONENTS --- */
.mobile-nav-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1102; 
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000000;
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #000;
    z-index: 1101; 
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
    overflow-y: auto; 
    padding-top: 80px; 
    padding-bottom: 150px; 
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

nav.mobile-nav ul li a {
    color: #fff !important;
    font-size: 24px;
    padding: 20px 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-nav .mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 25px;
    background: none;
    border: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 1105;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    margin-right: 8px;
    border: 1px solid #eee;
}

/* ============================================
   TRANSPARENT HEADER STYLES
============================================ */
header.main-header.header-transparent {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    backdrop-filter: none;
}

.header-transparent .logo a,
.header-transparent .logo span,
.header-transparent .main-nav ul li a,
.header-transparent .header-icons a,
.header-transparent .header-icons span.desktop-user,
.header-transparent .header-icons .current-currency,
.header-transparent #theme-toggle {
    color: #fff !important;
}

.header-transparent .header-icons {
    color: #fff !important;
}

.header-transparent .hamburger-bar {
    background-color: #fff !important;
}

.header-transparent .search-icon svg,
.header-transparent #theme-toggle svg {
    stroke: #fff !important;
}

.header-transparent .main-nav ul li a::after {
    background: #fff !important;
}

.header-transparent .arrow-down {
    color: #fff !important;
}

/* ===========================================================
   SCROLLING HEADER COLORS 
=========================================================== */

/* LIGHT MODE SCROLLED */
header.main-header.header-transparent.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    position: sticky;
    top: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

.header-transparent.scrolled .logo a,
.header-transparent.scrolled .logo span,
.header-transparent.scrolled .main-nav ul li a,
.header-transparent.scrolled .header-icons a,
.header-transparent.scrolled .header-icons .current-currency,
.header-transparent.scrolled .search-icon svg,
.header-transparent.scrolled #theme-toggle svg,
.header-transparent.scrolled .arrow-down {
    color: #000000 !important;
    stroke: #000000 !important;
}

.header-transparent.scrolled .hamburger-bar {
    background-color: #000000 !important;
}

.header-transparent.scrolled .main-nav ul li a::after {
    background: #000 !important;
}

.header-transparent.scrolled .header-icons span.desktop-user,
.header-transparent.scrolled .header-icons {
    color: #000 !important;
}

/* DARK MODE SCROLLED - Made PURE BLACK as requested */
body.dark-mode header.main-header.header-transparent.scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

body.dark-mode .header-transparent.scrolled .logo a,
body.dark-mode .header-transparent.scrolled .logo span,
body.dark-mode .header-transparent.scrolled .main-nav ul li a,
body.dark-mode .header-transparent.scrolled .header-icons a,
body.dark-mode .header-transparent.scrolled .header-icons .current-currency,
body.dark-mode .header-transparent.scrolled .search-icon svg,
body.dark-mode .header-transparent.scrolled #theme-toggle svg,
body.dark-mode .header-transparent.scrolled .arrow-down {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.dark-mode .header-transparent.scrolled .hamburger-bar {
    background-color: #ffffff !important;
}

body.dark-mode .header-transparent.scrolled .main-nav ul li a::after {
    background: #fff !important;
}

/* ============================================
HOMEPAGE / VIDEO PAGE STYLES
============================================ */
.main-content-wrapper {
    position: relative;
}

/* THE UNIFIED FIX:
   Both main-bg-video and page-bg-video use fixed positioning.
   The overlays are also fixed and share the exact same brightness (0.25).
*/

#main-bg-video, #page-bg-video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15% !important; 
    z-index: -2;
    transform: none !important; 
}

/* UNIFIED OVERLAY STYLE (BRIGHTER - 25% Opacity) */
.video-bg-overlay, 
.hero-overlay,
.story-panel::before {
    position: fixed; /* Lock it to viewport for consistency */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* 0.25 Opacity = Brighter, Clearer Videos */
    z-index: -1;
    pointer-events: none;
}

/* Specific stacking for non-fixed overlays */
.hero-overlay { z-index: 1; position: absolute; } 
.story-panel::before { position: absolute; } 

.content-on-top {
    position: relative;
    z-index: 1;
}

body.video-page {
    background-color: #000 !important;
}

body.video-page .section-title,
body.video-page .section-subtitle,
body.video-page .featured-content h2,
body.video-page .featured-content p,
body.video-page .featured-content span {
    color: #fff !important; 
    text-shadow: 0 2px 15px rgba(0,0,0,0.5); /* Shadow needed for white text on bright video */
}

body.video-page footer.main-footer {
    position: relative;
    z-index: 5;
}

/* --- Cards for Video Page (GLASSMORPHISM) --- */
body.video-page .product-card,
body.video-page .promo-card {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Brighter glass */
    border: 1px solid rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0; /* Sharp, premium corners */
    overflow: hidden;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Sexy Hover Effect */
body.video-page .product-card:hover,
body.video-page .promo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

body.video-page .product-card h3,
body.video-page .product-card .price,
body.video-page .promo-card h3,
body.video-page .promo-card p {
    color: #ffffff !important; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* DARK MODE CARD OVERRIDES */
body.dark-mode .product-card,
body.dark-mode .promo-card {
    background-color: transparent !important;
    border: 1px solid #333 !important;
    backdrop-filter: none;
    box-shadow: none;
}

body.dark-mode .product-card:hover,
body.dark-mode .promo-card:hover {
    border-color: #fff;
    background-color: #111 !important;
}

body.dark-mode .product-card h3,
body.dark-mode .product-card .price,
body.dark-mode .promo-card h3,
body.dark-mode .promo-card p {
    color: #ffffff !important; 
    text-shadow: none !important;
}

/* --- Transparent Sections (LIGHT MODE) --- */
/* These sections let the video show through in Light Mode */
body.video-page .category-section,
body.video-page .image-slider-section,
body.video-page .featured-product-section,
body.video-page .promo-section,
body.video-page .category-section.bg-gray {
    background-color: transparent !important;
}

/* === DARK MODE VIDEO PAGE FIX (TRANSPARENT SECTIONS) === */
/* CHANGED: Make sections transparent in Dark Mode to show video, matching user request */
body.dark-mode.video-page .promo-section,
body.dark-mode.video-page .category-section,
body.dark-mode.video-page .featured-product-section,
body.dark-mode.video-page .category-section.bg-gray {
    background-color: transparent !important;
    box-shadow: none; 
}

/* Restore text shadow in Dark Mode Video Page because background is now video */
body.dark-mode.video-page .section-title,
body.dark-mode.video-page .section-subtitle,
body.dark-mode.video-page .featured-content h2,
body.dark-mode.video-page .featured-content p {
    color: #fff !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5) !important;
}

body.video-page .btn {
    background-color: #fff;
    color: #111;
    border: 1px solid #fff;
}

body.video-page .btn:hover {
    background-color: transparent;
    color: #fff;
}

/* ABOUT US PAGE */
.about-us-container {
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.content-wrapper {
    max-width: 800px;
    margin: auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85); /* Frosted */
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    padding: 60px;
}

.content-block h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 500;
}

.content-block h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 500;
}

.content-block p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.separator {
    margin: 50px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* CONTACT PAGE */
.contact-container {
    padding: 80px 20px;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    color: #ddd;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1100px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    padding: 60px;
    align-items: center;
}

.contact-details h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-details p {
    line-height: 1.7;
    color: #333;
}

.detail-item {
    margin-top: 25px;
}

.detail-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #000;
}

.detail-item a {
    color: #000;
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #000;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1em;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.85);
    color: #fff;
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.85);
    color: #fff;
}

/* ============================================
REGULAR PAGE STYLES
============================================ */
/* FIX: Added z-index and background to prevent background video from showing through */
.hero-slider {
    height: 90vh;
    position: relative;
    overflow: hidden;
    background-color: #000; 
    z-index: 1; /* Ensures slider sits ON TOP of fixed background video */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* FIX: SHIFTED VIDEO DOWN TO 15% (Was Top/0%) */
.slide video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15% !important; /* CHANGED FROM 0% to 15% */
    transform: none !important; 
    z-index: 0; /* FIX: Changed from -2 to 0 so it sits inside the slider container properly */
}

/* --- UNIFIED OVERLAY STYLE FOR HERO --- */
/* Matches the global video background overlay (0.25 opacity) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* 0.25 Opacity */
    z-index: 1; /* FIX: Raised to sit above video (0) */
}

.hero-content {
    position: relative;
    z-index: 2; /* FIX: Raised to sit above overlay (1) */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* FIX: Raised to sit above everything */
    display: flex;
}

.nav-dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background-color: transparent;
    border: 1px solid #fff;
    transform: scale(1.3);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

.promo-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 30px;
    gap: 30px;
}

.promo-slider::-webkit-scrollbar {
    display: none;
}

.promo-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.promo-slide {
    flex: 0 0 350px; /* Wider cards */
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* FIXED PROMO & PRODUCT BUTTONS */
.promo-prev, .promo-next, 
.product-prev, .product-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 24px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    color: #fff;
}

.promo-prev, .product-prev { left: -30px; }
.promo-next, .product-next { right: -30px; }

.promo-prev:hover, .promo-next:hover,
.product-prev:hover, .product-next:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}


.promo-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.promo-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* FIX: PROMO CARD IMAGE CUTTING (Aspect Ratio & Top Align) */
.promo-card img {
    width: 100%;
    height: auto; 
    aspect-ratio: 3/4; /* Scale naturally */
    object-fit: cover;
    object-position: 50% 0% !important; /* FORCE TOP */
    margin-bottom: 20px;
    transition: opacity 0.3s;
    filter: brightness(0.95);
}

.promo-card:hover img {
    filter: brightness(1.05);
}

.promo-card-content {
    margin-top: auto;
    padding-top: 15px;
}

.promo-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.promo-card p {
    font-size: 15px;
    color: #555;
    max-width: 300px;
    margin: 0 auto;
}

.category-section {
    background: #fff;
    transition: background-color 0.3s ease;
}

.category-section.bg-gray {
    background-color: #f9f9f9;
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

/* FIX: PRODUCT IMAGE ALIGNMENT (Top Align) */
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0% !important; /* FORCE TOP */
    transition: opacity 0.3s;
    filter: brightness(0.95);
}

.product-card:hover img {
    filter: brightness(1.05);
}

.product-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333; 
}

.product-card .price {
    font-size: 16px;
    color: #555;
    margin-top: auto;
    padding-top: 10px;
}

.featured-product-section {
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.featured-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-content {
    text-align: left;
}

.featured-content span {
    font-size: 14px;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: 'Playfair Display';
}

.featured-content p {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 18px;
}

.product-detail {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding: 80px 0;
}

.product-image {
    flex-basis: 50%;
}

.product-info {
    flex-basis: 50%;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 24px;
    color: #2c5e3f;
    margin-bottom: 20px;
}

.product-info .description {
    margin-bottom: 30px;
}

.product-info form label {
    display: block;
    margin-bottom: 10px;
}

.product-info form input[type="number"] {
    width: 60px;
    padding: 8px;
    margin-right: 15px;
}

.category-group {
    margin-bottom: 60px;
}

.category-group:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
    text-transform: capitalize;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #ddd;
    text-transform: uppercase;
    font-size: 14px;
}

.cart-table tbody td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-quantity-input {
    width: 60px;
    padding: 8px;
    text-align: center;
}

.remove-link {
    color: #e74c3c;
    font-size: 14px;
}

.remove-link:hover {
    text-decoration: underline;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-total {
    font-size: 20px;
    font-weight: bold;
}

.image-slider-section {
    padding-bottom: 0;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.image-slider-container {
    width: 100%;
    overflow: hidden;
}

.image-slider {
    display: flex;
    flex-shrink: 0;
    animation: scroll-insta 40s linear infinite;
}

.image-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 300px;
    margin: 0 10px;
    overflow: hidden;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0% !important; /* Force Top */
    transition: transform 0.3s ease;
}

.image-slide:hover img {
    transform: scale(1.05);
}

@keyframes scroll-insta {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 6)); }
}

.image-slider-container:hover .image-slider {
    animation-play-state: paused;
}

/* ============================================
   FOOTER (DEFAULT LIGHT MODE)
============================================ */
footer.main-footer {
    background-color: #ffffff;
    color: #333;
    padding: 80px 0 40px;
    position: relative;
    z-index: 5;
    border-top: 1px solid #eee;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

footer h4 {
    color: #000;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #000;
}

/* --- FOOTER DEPARTMENTS (THE FIX) --- */
.dept-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.dept-label {
    font-size: 10px;
    color: #999;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dept-email {
    font-size: 13px;
    color: #333; /* Dark for Light Mode Visibility */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.dept-email:hover {
    color: #000;
    text-decoration: underline;
}

/* --- Footer Bottom --- */
footer .footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    margin: 0;
    flex-shrink: 0;
    color: #777;
}

.payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom .payment-logo {
    height: 30px;
    width: auto;
    max-width: none;
    display: inline-block;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px 6px;
    box-sizing: border-box;
    transition: transform 0.2s ease;
    position: relative;
    border: 1px solid #eee;
}

.footer-bottom .payment-logo:hover {
    transform: scale(1.25);
    z-index: 10;
}

.footer-bottom .payment-logo:active {
    transform: scale(2);
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.auth-form {
    max-width: 400px;
    margin: 60px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group .btn {
    width: 100%;
}

.invalid-feedback {
    color: red;
    font-size: 14px;
}

.is-invalid {
    border-color: red;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}

.search-overlay-content {
    width: 80%;
    max-width: 700px;
}

.search-overlay-content form {
    display: flex;
    border-bottom: 2px solid #333;
}

.search-overlay-content input[type="text"] {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 28px;
    padding: 15px 10px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-overlay-content button[type="submit"] {
    display: none;
}

/* ============================================
   POPUP / MODAL STYLES
============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    /* REMOVED: opacity: 0; to fix visibility bug */
    /* transition: opacity 0.3s ease; */
}

/* Kept for potential JS usage but base state allows visibility now */
.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    background-color: #fff;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    border-radius: 4px; /* Slight rounding or 0 for sharp */
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: popupSlideUp 0.5s ease forwards;
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RENAMED from .popup-close to match HTML ID/Class usage */
.popup-close-btn { 
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.popup-close-btn:hover {
    transform: rotate(90deg);
}

.popup-logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.popup-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: #000;
}

.popup-container p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Form Group Spacing */
.popup-form-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Label Styling */
.popup-form label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

/* UPDATED selector to target all inputs in form */
.popup-form input {
    width: 100%;
    padding: 12px;
    /* margin-bottom handled by form-group */
    border: 1px solid #ddd;
    border-radius: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.popup-terms {
    font-size: 11px;
    color: #999;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.popup-form button {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-form button:hover {
    background-color: #333;
}

/* ADDED No Thanks Button Style */
.popup-no-thanks-btn {
    display: block;
    margin: 15px auto 0;
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-no-thanks-btn:hover {
    color: #000;
}

/* Dark Mode Popup */
body.dark-mode .popup-container {
    background-color: #111;
    border: 1px solid #333;
}
body.dark-mode .popup-container h2 {
    color: #fff;
}
body.dark-mode .popup-container p {
    color: #ccc;
}
body.dark-mode .popup-close-btn {
    color: #fff;
}
body.dark-mode .popup-form input {
    background-color: #222;
    border-color: #444;
    color: #fff;
}
body.dark-mode .popup-form label {
    color: #ccc;
}
body.dark-mode .popup-form button {
    background-color: #fff;
    color: #000;
}
body.dark-mode .popup-form button:hover {
    background-color: #ddd;
}
body.dark-mode .popup-no-thanks-btn {
    color: #777;
}
body.dark-mode .popup-no-thanks-btn:hover {
    color: #fff;
}

/* --- Responsive Styles --- */

/* Laptops and Desktops (993px and up) */
@media (min-width: 993px) {
    .main-nav {
        display: block; 
    }
    .mobile-nav-toggle, .header-left-mobile {
        display: none !important; 
    }
    .promo-slide {
        flex: 0 0 350px;
    }
    .desktop-user, .desktop-logout, .desktop-login {
        display: inline-block; 
    }
    .promo-prev, .promo-next {
        display: block;
    }
    .header-icons .currency-switcher.desktop-only {
        display: flex !important;
    }
    .mobile-only {
        display: none !important;
    }
}


/* Tablets and small desktops (992px and down) */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    .header-icons .desktop-user, 
    .header-icons .desktop-logout, 
    .header-icons .desktop-login {
        display: none !important;
    }
    .header-icons .currency-switcher.desktop-only {
        display: none !important;
    }
    .cart-link-text {
        display: none !important;
    }

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: static; 
        padding: 0 10px;
    }
    
    .header-left-mobile {
        display: flex !important; 
        align-items: center;
        flex-shrink: 0;
        order: 1; 
    }
    .header-left-mobile .mobile-nav-toggle {
        display: block;
        margin-left: 0;
    }
    .header-left-mobile .currency-switcher.mobile-only {
        display: flex !important; 
        margin-left: 5px; 
        padding-bottom: 0;
        margin-bottom: 0;
        z-index: 1050; 
    }
    .header-left-mobile .currency-switcher.mobile-only .current-currency span {
        display: none;
    }
    .header-left-mobile .currency-switcher.mobile-only .current-currency .arrow-down {
        margin-left: 4px;
    }
    
    .logo {
        position: static;
        transform: none;
        flex-grow: 1; 
        text-align: center;
        order: 2;
    }

    .header-icons {
        flex-basis: auto;
        justify-content: flex-end;
        display: flex !important;
        flex-shrink: 0;
        order: 3;
        margin-left: 5px; 
    }
    .mobile-only {
        display: flex !important;
    }
    
    .header-icons a {
        margin-left: 5px !important; 
        font-size: 16px;
    }
    
    #theme-toggle {
        margin-left: 5px !important;
    }
    
    .cart-icon {
        position: relative;
    }
    .cart-count-bubble {
        position: absolute;
        top: -5px;
        right: -8px;
        background-color: #e74c3c;
        color: #fff;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 16px;
        text-align: center;
        font-weight: bold;
    }

    .hero-content {
        padding-top: 140px; 
        justify-content: flex-start; 
        padding-bottom: 40px; 
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .featured-product-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .featured-content h2, .featured-content {
        text-align: center;
    }
    .product-detail {
        flex-direction: column;
    }
    .promo-slide {
        flex: 0 0 300px;
    }
    
    .popup-container {
        max-width: calc(100% - 40px) !important;
        padding: 30px 20px;
    }
}

/* Mobile devices (768px and down) */
@media (max-width: 768px) {
    .logo-divider-section {
        margin-top: 50px !important; 
        padding-top: 20px !important;
    }

    nav.mobile-nav ul li a {
        font-size: 20px;
        padding: 15px 0;
    }

    .logo a {
        font-size: 22px;
    }
    .logo .logo-subline {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-top: 4px;
    }
    .header-icons {
        font-size: 14px;
    }
    .header-icons a {
        font-size: 16px;
        margin-left: 5px; 
    }
    section {
        padding: 40px 0;
    }
    
    .hero-slider {
        height: 85vh; 
        min-height: 600px; 
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .promo-slide {
        flex: 0 0 280px;
    }
    .promo-prev, .promo-next {
        display: block;
        top: 40%;
    }
    .image-slide {
        width: 200px;
        height: 200px;
    }
    @keyframes scroll-insta {
        0% { transform: translateX(0); }
        100% {
            transform: translateX(calc(-230px * 6)); 
        }
    }
    @keyframes scroll-insta-reverse { 
        0% { transform: translateX(calc(-230px * 6)); }
        100% { transform: translateX(0); }
    }
    
    .contact-content-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }
    .contact-header {
        margin-bottom: 30px;
    }
    .contact-header h1 {
        font-size: 2.2em;
    }
    .contact-container {
        padding: 40px 20px;
        min-height: 0;
    }
    .search-overlay.active {
        align-items: flex-start;
    }
    .search-overlay-content {
        width: 90%;
        margin-top: 15vh;
    }
    .search-overlay-content input[type="text"] {
        font-size: 20px;
    }
    
    .footer-bottom-content p {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .payment-methods {
        justify-content: center;
        width: 100%;
    }
    
    .popup-container {
        padding: 20px 15px; 
    }
    .popup-container h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .popup-container p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .popup-logo {
        margin-bottom: 10px;
    }
    
    .account-page-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .page-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .content-card {
        padding: 20px;
    }
}

/* Very Small Mobile devices (400px and down) */
@media (max-width: 400px) {
    .header-icons a {
        margin-left: 3px !important; 
    }
    #theme-toggle {
        margin-left: 3px !important;
    }
    .logo a {
        font-size: 20px !important;
    }
    .logo .logo-subline {
        font-size: 8px !important;
        letter-spacing: 1px !important;
        margin-top: 2px !important;
    }
    header .container {
        padding: 0 5px; 
    }
}


/* --- Styles for Payment Icons in Footer (FINAL) --- */
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    margin: 0;
    flex-shrink: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom .payment-logo {
    height: 30px !important;
    width: auto !important;
    max-width: none !important;
    display: inline-block !important;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px 6px;
    box-sizing: border-box;
    transition: transform 0.2s ease;
    position: relative;
}

.footer-bottom .payment-logo:hover {
    transform: scale(1.25);
    z-index: 10;
}

.footer-bottom .payment-logo:active {
    transform: scale(2);
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* --- Dropdown Navigation Styles --- */
.main-nav ul li.dropdown {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1002;
    padding: 10px 0;
    border: 1px solid #f0f0f0;
    border-top: none;
    margin-top: 0;
}

.dropdown-content a {
    color: #000000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    border-bottom: none !important;
    transition: background-color 0.2s ease;
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #333;
}

.main-nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

header.main-header.header-transparent:not(.scrolled) .dropdown-content {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.2);
}

header.main-header.header-transparent:not(.scrolled) .dropdown-content a {
    color: #000 !important;
}

header.main-header.header-transparent:not(.scrolled) .dropdown-content a:hover {
    background-color: #eee;
}


/* --- Currency Switcher Styles --- */
.currency-switcher {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.current-currency {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.arrow-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.currency-switcher:hover .arrow-down {
    transform: rotate(180deg);
}

.currency-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1002;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

/* Make mobile currency dropdown go left */
.header-left-mobile .currency-dropdown {
    right: auto;
    left: 0;
}

.currency-switcher:hover .currency-dropdown {
    display: block;
}

.currency-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
}

.currency-dropdown a:hover {
    background-color: #f5f5f5;
}

.currency-dropdown a::after {
    display: none !important;
}

header.main-header.header-transparent:not(.scrolled) .currency-dropdown {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255,255,255,0.2);
}

header.main-header.header-transparent:not(.scrolled) .currency-dropdown a {
    color: #000 !important;
}

header.main-header.header-transparent:not(.scrolled) .currency-dropdown a:hover {
    background-color: #eee;
}

body.video-page .main-header .current-currency {
    color: #000 !important;
}

/* --- Misc & Footer --- */
.btn-checkout {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn-checkout:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.footer-logo-col {}
.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.9em;
    color: #999;
    margin-top: 0;
    line-height: 1.5;
    max-width: 200px;
}

footer form {
    display: flex;
    max-width: 250px;
}

footer form input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    border-radius: 4px 0 0 4px;
}

footer form button {
    padding: 10px 15px;
    border: 1px solid #555;
    background: #444;
    color: #fff;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    border-left: 0;
}

footer form button:hover {
    background: #555;
}

@media (max-width: 768px) {
    .footer-col .footer-logo {
        margin: 0 auto 15px auto;
    }
    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    footer form {
        margin: 0 auto;
    }
}

/* --- Account Page Styles --- */
.account-page-container {
    padding-top: 40px;
    padding-bottom: 60px;
    min-height: calc(100vh - 250px);
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: 500;
}

.account-layout {
    display: flex;
    gap: 30px;
}

.account-sidebar {
    flex: 0 0 250px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    height: fit-content;
}

.account-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-sidebar nav ul li {
    margin-bottom: 5px;
}

.account-sidebar nav ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.account-sidebar nav ul li a:hover {
    background-color: #e9ecef;
    color: #000;
}

.account-sidebar nav ul li a.active {
    background-color: #333;
    color: #fff;
}

.account-content {
    flex: 1;
}

.content-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.content-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 500;
}

.content-card h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.content-card p {
    line-height: 1.7;
    margin-bottom: 10px;
    color: #555;
}

.content-card p strong {
    color: #333;
}

.content-card a {
    color: #007bff;
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.content-card hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.overview-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.overview-item h5 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

.overview-item p {
    font-size: 0.95em;
    margin-bottom: 0;
}

.overview-item p a {
    font-size: 0.9em;
    margin-left: 5px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .account-layout {
        flex-direction: column;
    }
    .account-sidebar {
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .account-page-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .page-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .content-card {
        padding: 20px;
    }
}

/* --- Story Scroll --- */
.story-scroll-section {
    position: relative;
}

.story-panel {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    /* FIX: Changed from center to flex-end to move text to bottom */
    justify-content: center;
    align-items: center; /* CHANGED: Was flex-end. Now center to align words in middle */
    text-align: center;
    background-size: cover;
    background-position: 50% 0% !important; /* CRITICAL: Force Top Alignment */
    background-color: #000;
    color: #fff;
    overflow: hidden; 
    padding-bottom: 80px; /* Space from bottom edge */
}

/* ADDED: Styles for the background video inside a story panel */
.story-panel .story-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* FIX: Heads cutting off in video story */
    object-position: 50% 0% !important; /* CRITICAL: Force Top Alignment */
    z-index: 0; 
}

/* --- UNIFIED OVERLAY STYLE FOR STORY PANELS (0.25 Opacity) --- */
.story-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* UNIFIED BRIGHTNESS */
    z-index: 1;
}

/* FIX: Hide the double-overlay if present in HTML */
.story-panel .video-bg-overlay {
    display: none !important;
}

/* FIX: No Blur, smaller, and positioned by parent */
.story-content-box {
    position: relative;
    z-index: 2;
    background-color: transparent !important; /* REMOVED BACKGROUND BOX */
    border: none !important; /* REMOVED BORDER */
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    padding: 40px; 
    width: 650px; 
    max-width: 85%; 
    min-height: auto; 
    margin-bottom: 0; /* Let padding handle spacing */
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}

/* ADDED TEXT SHADOW FOR READABILITY */
.story-content-box h2 {
    font-size: 3.5em; /* Increased for better visibility */
    margin-bottom: 15px;
    font-weight: 600; /* Slightly bolder */
    font-family: 'Playfair Display', serif;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6); /* Slightly stronger shadow for bright video */
}

.story-content-box p {
    font-size: 1.8em; /* Increased for better visibility */
    font-family: 'Playfair Display', serif; /* CHANGED: Classy font matching header */
    font-style: italic; /* CHANGED: Italic for classy look */
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: #ffffff; /* Pure white */
    margin-bottom: 25px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6); /* Slightly stronger shadow */
    font-weight: 500; /* Slightly bolder */
}

/* --- Product & Image Sliders (UPDATED FOR MANUAL SCROLL) --- */
.product-slider-container { width: 100%; overflow: hidden; padding: 20px 0; position: relative; }

/* FIX: Changed back to manual scroll for "Both" feel (Snap Scroll) */
.product-slider { 
    display: flex; 
    flex-shrink: 0; 
    overflow-x: auto; /* Enable manual scrolling */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Snaps to products */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    padding-bottom: 20px; /* Space for hover effects */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.product-slider::-webkit-scrollbar {
    display: none;
}

.product-slider .product-card { 
    flex: 0 0 280px; 
    margin: 0 15px; 
    scroll-snap-align: center; /* Snap alignment */
}

/* Styles for the new product navigation arrows - RESTORED */
.product-prev, .product-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: block !important; /* Visible now */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-prev:hover, .product-next:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.product-prev { left: 10px; }
.product-next { right: 10px; }

/* Image slider kept as marquee */
.image-slider-container { width: 100%; overflow: hidden; padding: 15px 0; }
.image-slider { display: flex; flex-shrink: 0; animation: scroll-insta 40s linear infinite; }
.image-slider.reverse { animation: scroll-insta-reverse 40s linear infinite; }
.image-slide { flex: 0 0 auto; width: 300px; height: 300px; margin: 0 15px; overflow: hidden; }
.image-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.image-slide:hover img { transform: scale(1.05); }

@keyframes scroll-products { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(calc(-310px * 6)); } /* Scrolls approx 6 items width */
}

@keyframes scroll-insta {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-330px * 6)); }
}

@keyframes scroll-insta-reverse { 0% { transform: translateX(calc(-330px * 6)); } 100% { transform: translateX(0); } }
.image-slider-container:hover .image-slider { animation-play-state: paused; }


#audio-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    opacity: 0.5;
}

#audio-control-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    opacity: 1;
}

#audio-control-btn .icon-play {
    display: block;
    padding-left: 3px;
}

#audio-control-btn .icon-pause {
    display: none;
}

#audio-control-btn.playing .icon-play {
    display: none;
}

#audio-control-btn.playing .icon-pause {
    display: block;
}

header.main-header.header-transparent.scrolled .dropdown-content,
header.main-header.header-transparent.scrolled .currency-dropdown {
    background-color: #ffffff !important;
    border-color: #f0f0f0 !important;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15) !important;
}

header.main-header.header-transparent.scrolled .dropdown-content a,
header.main-header.header-transparent.scrolled .currency-dropdown a {
    color: #000 !important;
}

header.main-header.header-transparent.scrolled .dropdown-content a:hover,
header.main-header.header-transparent.scrolled .currency-dropdown a:hover {
    background-color: #f5f5f5 !important;
    color: #111 !important;
}

header.main-header.header-transparent:not(.scrolled) .arrow-down {
    color: #fff !important;
}

header.main-header.header-transparent.scrolled .arrow-down {
    color: #fff !important;
}

@keyframes flag-wave {
    0%, 100% { transform: skewX(0deg); }
    50% { transform: skewX(-10deg); }
}

/* --- "Follow Us" Logo Center Fix --- */
.logo-divider-section {
    text-align: center; /* This centers inline-block children */
    padding-top: 8px !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 50 !important;
}

.homepage-logo-divider {
    display: inline-block !important;
    width: auto !important;
    max-width: 320px !important;
    min-width: 160px !important;
    height: auto !important;
    margin: 0 auto 6px auto !important; /* This margin centers it */
    padding: 10px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.45) !important;
    border-radius: 6px !important;
    z-index: 60 !important;
}

.homepage-logo-divider img,
.logo-divider-section img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.logo-divider-section .section-title,
.logo-divider-section h2,
.logo-divider-section .follow-us-title {
    margin-top: 6px !important;
    margin-bottom: 2px !important;
    padding: 0 !important;
    transform: none !important;
    line-height: 1.02 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
    z-index: 70 !important;
}

.logo-divider-section .section-subtitle,
.logo-divider-section .follow-us-sub {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    transform: none !important;
    color: rgba(255,255,255,0.95) !important;
    z-index: 70 !important;
}

@media (min-width: 1024px) {
    .homepage-logo-divider { max-width: 360px !important; }
    .logo-divider-section .section-title { margin-top: 4px !important; font-size: 34px !important; }
}

@media (max-width: 768px) {
    .homepage-logo-divider { max-width: 180px !important; min-width: 120px !important; padding: 8px !important; }
    .logo-divider-section .section-title { margin-top: 8px !important; font-size: 20px !important; }
    .logo-divider-section .section-subtitle { margin-top: 4px !important; font-size: 13px !important; }
}

/* =====================================================
   DARK MODE STYLES (The "Full Black" Theme)
   This activates when <body class="dark-mode"> is added
===================================================== */

body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

body.dark-mode .top-bar {
    background-color: #000; /* Keep top bar extremely dark */
    border-bottom: 1px solid #111;
}

body.dark-mode header.main-header {
    background-color: #000000; /* CHANGED to PURE BLACK */
    border-bottom-color: #222;
}

body.dark-mode .logo a,
body.dark-mode .logo .logo-subline,
body.dark-mode .main-nav ul li a,
body.dark-mode .header-icons a,
body.dark-mode .header-icons span,
body.dark-mode .header-icons .current-currency,
body.dark-mode #theme-toggle {
    color: #ffffff !important; /* Force white text */
}

body.dark-mode .main-nav ul li a::after {
    background: #ffffff;
}

body.dark-mode .header-icons .search-icon svg,
body.dark-mode #theme-toggle svg {
    stroke: #ffffff;
}

/* Cards and Sections in Dark Mode */
/* FIX: Removed global forced black background on category-section to allow transparency */
body.dark-mode .category-section,
body.dark-mode .image-slider-section,
body.dark-mode .featured-product-section,
body.dark-mode .product-image-container,
body.dark-mode .account-sidebar,
body.dark-mode .overview-item,
body.dark-mode .category-section.bg-gray {
    background-color: #121212;
    color: #fff;
}

/* FIX: ADDED RULE FOR VIDEO SECTIONS - This stops the black box covering the video */
/* Modern browsers use :has(), fallback relies on user adding .video-section class if needed */
body.dark-mode .category-section:has(video),
body.dark-mode .category-section:has(.video-bg-overlay),
body.dark-mode .transparent-mode,
body.dark-mode .category-section.video-section {
    background-color: transparent !important;
}

body.dark-mode .featured-product-section {
    background-color: #1e1e1e; /* Slightly different for contrast */
}

body.dark-mode .product-card h3,
body.dark-mode .section-title,
body.dark-mode .section-subtitle,
body.dark-mode .featured-content h2,
body.dark-mode .featured-content p,
body.dark-mode .featured-content span {
    color: #ffffff; 
}

body.dark-mode .section-subtitle {
    color: #ccc; /* Slightly dimmed for subtitles */
}

/* --- FIX FOR VISIBILITY OF PRICES & TEXT IN DARK MODE --- */
/* Added specific rules to ensure product text is white/visible */
body.dark-mode .product-info .price,
body.dark-mode .product-card .price,
body.dark-mode .cart-total,
body.dark-mode .product-card p,
body.dark-mode .product-card span {
    color: #ffffff !important; 
}

/* FIX: Force Product Card Text White in Dark Mode */
body.dark-mode .product-card h3,
body.dark-mode .product-card a, 
body.dark-mode .product-card .product-title {
    color: #ffffff !important;
}

body.dark-mode .cart-table tbody td,
body.dark-mode .cart-table thead th {
    color: #fff;
    border-bottom-color: #333;
}

/* Buttons in Dark Mode */
body.dark-mode .btn {
    background-color: #fff;
    color: #111;
    border-color: #fff;
}

body.dark-mode .btn:hover {
    background-color: transparent;
    color: #fff;
}

/* Dropdowns in Dark Mode */
body.dark-mode .dropdown-content,
body.dark-mode .currency-dropdown {
    background-color: #222;
    border-color: #444;
}

body.dark-mode .dropdown-content a,
body.dark-mode .currency-dropdown a {
    color: #fff !important;
}

body.dark-mode .dropdown-content a:hover,
body.dark-mode .currency-dropdown a:hover {
    background-color: #333;
}

/* Inputs in Dark Mode (Search Overlay & Forms) */
body.dark-mode .search-overlay {
    background-color: rgba(18, 18, 18, 0.98);
}

body.dark-mode .search-overlay-content input[type="text"],
body.dark-mode .search-overlay .close-btn {
    color: #fff;
}

body.dark-mode .search-overlay-content form {
    border-bottom-color: #fff;
}

/* Mobile Nav Dark Mode */
body.dark-mode .hamburger-bar {
    background-color: #fff;
}

body.dark-mode .account-sidebar nav ul li a {
    color: #ddd;
}
body.dark-mode .account-sidebar nav ul li a:hover {
    background-color: #333;
    color: #fff;
}
body.dark-mode .content-card {
    background-color: #1e1e1e;
    border-color: #333;
    color: #eee;
}
body.dark-mode .content-card h3,
body.dark-mode .content-card h4,
body.dark-mode .content-card p strong {
    color: #fff;
}
body.dark-mode .content-card p {
    color: #ccc;
}

/* --- DARK MODE TOGGLE OVERRIDES (THE FIX) --- */
/* Ensure ONLY the Sun is visible in dark mode */
body.dark-mode #theme-toggle .sun-icon {
    display: block !important;
    opacity: 1;
    transform: rotate(0deg);
}

body.dark-mode #theme-toggle .moon-icon {
    display: none !important;
    opacity: 0;
    transform: rotate(90deg);
}

/* 1. Fix Category Titles (e.g., "Men", "Jeans") in Dark Mode */
body.dark-mode .category-title {
    color: #ffffff !important;
    border-bottom-color: #333 !important;
}

/* 2. Fix Page Titles (e.g., "Shop All") */
body.dark-mode .page-title {
    color: #ffffff !important;
}

/* 3. FIX PRODUCT CARDS: Force Dark Background & White Text */
body.dark-mode .product-card {
    background-color: transparent !important; /* Force transparent background */
    border: 1px solid #333 !important; /* Add subtle border for definition */
    border-radius: 8px; /* Keep rounded corners */
}

/* Remove any white background from links inside the card */
body.dark-mode .product-card a {
    background-color: transparent !important;
}

/* Ensure Product Name is White */
body.dark-mode .product-card h3,
body.dark-mode .product-card h3 a {
    color: #ffffff !important;
    background: none !important;
}

/* 4. Ensure the background of the category section is dark */
/* NOTE: The :has() exception above handles the video section */
body.dark-mode .category-section {
    background-color: #121212;
}

/* 7. DARK MODE FOOTER (PURE BLACK FIX) */
body.dark-mode footer.main-footer {
    background-color: #000000 !important; /* Force Pure Black */
    color: #ffffff !important;
    border-top: 1px solid #222;
}

body.dark-mode footer h4 { color: #ffffff !important; }

body.dark-mode footer ul li a { 
    color: #bbbbbb !important; /* Lighter grey for dark mode links */
}
body.dark-mode footer ul li a:hover { 
    color: #ffffff !important; 
}

body.dark-mode .footer-tagline { color: #999; }
body.dark-mode .footer-bottom { border-top-color: #222; }
body.dark-mode .footer-bottom p { color: #888; }

body.dark-mode footer form input[type="email"] {
    background: #222; border-color: #333; color: #fff;
}
body.dark-mode footer form button {
    background: #fff; color: #000; border-color: #fff;
}

/* Invert Logo for Dark Mode (if strictly black/white image) */
body.dark-mode .footer-logo { filter: invert(1); }

/* === DARK MODE VIDEO PAGE FIXES === */
/* CHANGED: Ensure transparency propagates to these sections in Dark Mode */
body.dark-mode.video-page .promo-section, 
body.dark-mode.video-page .category-section {
    background-color: transparent !important; 
}

/* Ensure text stays white in this mode */
body.dark-mode.video-page .promo-card h3,
body.dark-mode.video-page .promo-card p,
body.dark-mode.video-page .section-title,
body.dark-mode.video-page .section-subtitle {
    color: #ffffff !important;
    text-shadow: none; /* Remove shadow since BG is black now */
}


/* ============================================
   BELLA AI ASSISTANT WIDGET
   Premium Black & White Styling
============================================ */

/* The Floating Button */
.bella-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
}

.bella-btn:hover {
    transform: scale(1.1);
    background-color: #222;
}

/* Hide standard audio button if it overlaps, or move Bella up */
#audio-control-btn {
    right: 100px; /* Move audio button to the left of Bella */
}

/* The Chat Window */
.bella-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    animation: slideUpFade 0.3s ease;
}

/* FIXED MOBILE STYLES: Full Screen for better Keyboard Handling */
@media (max-width: 600px) {
    .bella-window {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important; /* Forces full height, adapting to keyboard resize */
        max-width: none !important;
        max-height: none !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 10000 !important; /* Ensure on top of everything */
        display: none; /* Keep hidden by default */
        flex-direction: column;
    }
    
    .bella-window.active {
        display: flex !important;
    }

    /* Adjust header and input for mobile */
    .bella-header {
        padding: 15px;
    }
    
    .bella-input-area {
        padding-bottom: 20px; /* Add some padding for safety */
    }
}

.bella-window.active {
    display: flex;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.bella-header {
    background-color: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bella-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
}

.bella-header .close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Messages Area */
.bella-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    align-self: flex-start;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 2px;
    color: #333;
}

.message.user {
    align-self: flex-end;
    background-color: #000;
    color: #fff;
    border-bottom-right-radius: 2px;
}

/* Input Area */
.bella-input-area {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.bella-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.bella-input-area button {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Dark Mode Overrides for Chat */
body.dark-mode .bella-window {
    background-color: #111;
    border-color: #333;
}

body.dark-mode .bella-header {
    background-color: #000;
    border-bottom: 1px solid #333;
}

body.dark-mode .bella-messages {
    background-color: #1a1a1a;
}

body.dark-mode .message.bot {
    background-color: #222;
    border-color: #444;
    color: #eee;
}

body.dark-mode .bella-input-area {
    background-color: #111;
    border-top-color: #333;
}

body.dark-mode .bella-input-area input {
    background-color: #222;
    border-color: #444;
    color: #fff;
}

body.dark-mode .bella-input-area button {
    color: #fff;
}
/* ===============================
   FIX #1: Force Black Text on Light Sections in Dark Mode
================================ */

body.dark-mode .category-section,
body.dark-mode .promo-section,
body.dark-mode .featured-product-section {
    background-color: #ffffff !important;
}

/* Titles */
body.dark-mode .category-section .section-title,
body.dark-mode .promo-section .section-title,
body.dark-mode .featured-product-section .section-title {
    color: #000000 !important;
}

/* Subtitles */
body.dark-mode .category-section .section-subtitle,
body.dark-mode .promo-section .section-subtitle,
body.dark-mode .featured-product-section .section-subtitle {
    color: #555555 !important;
}

/* Card titles like FOR HER / FOR HIM */
/* body.dark-mode .promo-card h3,
body.dark-mode .promo-card p,
body.dark-mode .product-card h3,
body.dark-mode .product-card .price {
    color: #000000 !important;
} */

/* Remove dark shadows that reduce readability */
body.dark-mode .promo-card h3,
body.dark-mode .promo-card p {
    text-shadow: none !important;
}
.btn,
button,
a.btn {
    position: relative;
    z-index: 10001;
    pointer-events: auto !important;
}

/* =====================================================
   FOOTER STYLE FIXES (Email Visibility)
===================================================== */

/* Light Mode (Default) - Department Emails */
.dept-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.dept-label {
    font-size: 10px;
    color: #999;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dept-email {
    font-size: 13px;
    color: #333; /* Dark Grey for Visibility in Light Mode */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.dept-email:hover {
    color: #000;
    text-decoration: underline;
}

/* Dark Mode Overrides for Emails */
body.dark-mode .dept-label { 
    color: #aaa; 
}
body.dark-mode .dept-email { 
    color: #ffffff !important; /* Force White in Dark Mode */
}