/* =========================================
   CHRISTMAS THEME VARIABLES (MERRY & BRIGHT)
   ========================================= */
:root {
    /* Background Colors */
    --bg-color: #f0f7ff;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-color: #2c3e50;
    --text-secondary: #607d8b;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --accent-color: #d32f2f;
    --accent-secondary: #1b5e20;
    --accent-gold: #fbc02d;
    
    /* Legacy Variables (for compatibility) */
    --snow-white: #ffffff;
    --ice-blue: #f0f7ff;
    --santa-red: #d32f2f;
    --pine-green: #1b5e20;
    --gold: #fbc02d;
    --text-dark: #2c3e50;
    --text-light: #607d8b;
    
    /* UI Elements */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(211, 47, 47, 0.25);
    --shadow-glow: 0 0 30px rgba(211, 47, 47, 0.15);
    --radius-card: 20px;
    --border-color: #eee;
    
    /* Transitions */
    --transition-speed: 0.4s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================
   DARK MODE STYLES (Christmas Night Theme)
   ========================================= */

/* Dark Mode Active වී ඇති විට පාටවල් වෙනස් කිරීම */
body.dark-mode {
    /* Background Colors */
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    
    /* Text Colors */
    --text-color: #ecf0f1;
    --text-secondary: #cbd5e1;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --accent-color: #ef4444;
    --accent-secondary: #81c784;
    --accent-gold: #fbbf24;
    
    /* Legacy Variables (for compatibility) */
    --snow-white: #1e293b;
    --ice-blue: #0f172a;
    --text-dark: #ecf0f1;
    --pine-green: #81c784;
    --santa-red: #ef4444;
    --gold: #fbbf24;
    
    /* UI Elements */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 50px rgba(239, 68, 68, 0.4);
    --shadow-glow: 0 0 40px rgba(239, 68, 68, 0.3);
    --border-color: #334155;
    
    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Dark Mode එකේදි Navbar සහ Footer එකේ වෙනස්කම් - Glassmorphism */
body.dark-mode nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-links {
    background: transparent;
}

body.dark-mode .nav-links li a {
    color: #cbd5e1;
}

body.dark-mode .nav-links li a:hover {
    color: white;
}

body.dark-mode .product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .product-card:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
}

body.dark-mode .product-card h3 {
    color: #fff;
}

body.dark-mode .scrolling-logo-strip {
    background: var(--snow-white);
    border-bottom: 1px solid #334155;
}

/* Dark Mode Toggle Button Styling */
#theme-toggle {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

#theme-toggle:hover {
    transform: scale(1.1);
}

/* Moon Icon (Light Mode) */
#theme-toggle .fa-moon {
    color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

/* Sun Icon (Dark Mode) */
body.dark-mode #theme-toggle .fa-sun {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Optional: Floating Toggle Button Style (Alternative Position) */
.theme-toggle-floating {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    z-index: 1999;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--border-color);
}

.theme-toggle-floating:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

body.dark-mode .theme-toggle-floating {
    background: var(--bg-secondary);
    border-color: var(--accent-gold);
}

/* =========================================
   FESTIVE MODE STYLES
   ========================================= */

/* Festive Mode Toggle Button */
#festive-toggle {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

#festive-toggle:hover {
    transform: scale(1.1);
}

/* Festive Mode Active State */
body.festive-mode {
    --festive-gradient: linear-gradient(135deg, #d32f2f 0%, #fbc02d 100%);
}

/* Holiday Gradient Buttons */
body.festive-mode .add-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 50%, #b71c1c 100%);
    color: white;
    border: 2px solid #fbc02d;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4), 0 0 20px rgba(251, 192, 45, 0.3);
    position: relative;
    overflow: hidden;
}

body.festive-mode .add-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: festiveShine 3s infinite;
}

@keyframes festiveShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

body.festive-mode .add-btn:hover {
    background: linear-gradient(135deg, #fbc02d 0%, #f9a825 50%, #f57f17 100%);
    border-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 192, 45, 0.5), 0 0 30px rgba(211, 47, 47, 0.4);
}

body.festive-mode .cta-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #fbc02d 100%);
    border: none;
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.5), 0 0 30px rgba(251, 192, 45, 0.3);
    animation: festiveGlow 2s ease-in-out infinite;
}

@keyframes festiveGlow {
    0%, 100% { box-shadow: 0 5px 20px rgba(211, 47, 47, 0.5), 0 0 30px rgba(251, 192, 45, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(211, 47, 47, 0.7), 0 0 40px rgba(251, 192, 45, 0.5); }
}

body.festive-mode .cta-btn:hover {
    background: linear-gradient(135deg, #fbc02d 0%, #d32f2f 100%);
    transform: translateY(-5px) scale(1.05);
}

/* Festive Icon Styling */
#festive-toggle .fa-tree {
    color: #1b5e20;
    transition: all var(--transition-speed) ease;
}

body.festive-mode #festive-toggle .fa-tree {
    color: #fbc02d;
    text-shadow: 0 0 10px rgba(251, 192, 45, 0.8);
    animation: treeGlow 2s ease-in-out infinite;
}

@keyframes treeGlow {
    0%, 100% {
        color: #1b5e20;
        text-shadow: 0 0 10px rgba(27, 94, 32, 0.5);
    }
    50% {
        color: #fbc02d;
        text-shadow: 0 0 20px rgba(251, 192, 45, 1), 0 0 30px rgba(211, 47, 47, 0.5);
    }
}

/* Snowfall Control - Hidden by default when festive mode is off */
body:not(.festive-mode) .snowflake {
    display: none;
}

body:not(.festive-mode) .flying-character {
    display: none;
}

/* Enhanced Product Cards in Festive Mode */
body.festive-mode .product-card {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, #d32f2f, #fbc02d) border-box;
}

body.festive-mode .product-card:hover {
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3), 0 0 30px rgba(251, 192, 45, 0.2);
}
/* =========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color var(--transition-speed) var(--transition-smooth),
                color var(--transition-speed) var(--transition-smooth);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   NAVIGATION BAR (Festive Header)
   ========================================= */
nav {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 5px solid var(--accent-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-upper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid #eee;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

/* Icons & Cart */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
}

.icon-btn:hover {
    color: var(--santa-red);
    transform: scale(1.15) rotate(5deg);
}

.icon-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-speed) var(--transition-smooth);
    z-index: -1;
}

.icon-btn:hover::after {
    opacity: 0.1;
    transform: scale(1.5);
}

/* Lower Nav Links */
.nav-lower-row {
    display: none; /* Social icons hidden on desktop to save space, visible on mobile if needed */
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    background: var(--bg-secondary);
    transition: background var(--transition-speed) ease;
}

.nav-links li a {
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all var(--transition-speed) ease;
}

.nav-links li a:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =========================================
   SNOWFALL ANIMATION CSS
   ========================================= */
.snowflake {
    position: fixed;
    top: -10px;
    color: #fff; /* සුදු පාට හිම */
    z-index: 9999; /* හැම එකටම වඩා උඩින් */
    pointer-events: none; /* වැදගත්ම දේ: මේක තිබ්බම හිම කැට හරහා Click කරන්න පුළුවන් */
    user-select: none;
    text-shadow: 0 0 5px #000; /* පොඩි Shadow එකක් දුන්නා සුදු පසුබිමක උනත් පේන්න */
    animation-name: fall;
    animation-timing-function: linear;
}

/* හිම වැටෙන ගමන් හෙලවෙන Animation එක */
@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) translateX(20px) rotate(360deg);
    }
}

/* =========================================
   FLYING CHARACTER ANIMATION
   ========================================= */
.flying-character {
    position: fixed;
    top: 20%; /* Screen එකේ උඩ හරියෙන් යන්නේ */
    left: -200px; /* Screen එකෙන් එලියෙන් පටන් ගන්නේ */
    z-index: 9998;
    pointer-events: none;
    animation: flyAcross 8s linear forwards;
}

@keyframes flyAcross {
    0% {
        left: -200px;
        transform: translateY(0);
    }
    25% {
        transform: translateY(20px); /* පොඩ්ඩක් පහලට එනවා */
    }
    50% {
        transform: translateY(-20px); /* ආයේ උඩට යනවා (රැලක් වගේ) */
    }
    100% {
        left: 110vw; /* Screen එකෙන් එලියට යනවා */
        transform: translateY(0);
    }
}

/* =========================================
   HERO SECTION (Christmas Promo Area)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Overlay to make text pop on images */
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Darkens image slightly */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background-color: var(--santa-red);
    color: white;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
    transition: all var(--transition-speed) var(--transition-smooth);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background-color: white;
    color: var(--santa-red);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.6);
}

/* Hero Socials */
.hero-socials {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background: var(--santa-red);
}

/* =========================================
   SCROLLING LOGO STRIP (MODIFIED - BIGGER)
   ========================================= */
.scrolling-logo-strip {
    background: var(--bg-secondary);
    padding: 50px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.strip-track {
    display: flex;
    /* ඉමේජ් එකක් දැන් 300px යි. ඉමේජ් 12ක් තියෙන නිසා 300 * 12 */
    width: calc(300px * 12); 
    animation: scroll 25s linear infinite; /* වේගය ටිකක් අඩු කළා (Smooth වෙන්න) */
}

.slide-logo {
    width: 300px; /* කලින් 200px යි. දැන් 300px කළා පින්තූර ලොකු වෙන්න */
    padding: 0 30px; /* ෆොටෝ අතර පරතරයත් වැඩි කළා */
}

.slide-logo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all var(--transition-speed) var(--transition-smooth);
    filter: brightness(1);
}

.slide-logo img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    filter: brightness(1.1);
}

/* Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    /* ඉමේජ් 6ක් පහු උනාම ආයේ මුලට එන්න (300px * 6 = 1800px) */
    100% { transform: translateX(calc(-300px * 6)); } 
}

/* පොඩි Screen (Mobile) සඳහා */
@media (max-width: 768px) {
    .scrolling-logo-strip {
        padding: 30px 0;
    }
    .strip-track {
        width: calc(180px * 12);
    }
    .slide-logo {
        width: 180px;
        padding: 0 10px;
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 6)); }
    }
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6)); }
}

/* =========================================
   PRODUCT SECTIONS (Cards)
   ========================================= */
.product-section {
    padding: 60px 5%;
    text-align: center;
}

.product-section h2 {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.03em;
    transition: all var(--transition-speed) var(--transition-smooth);
}

/* Decoration for Headings (Snowflake feel) */
.product-section h2::after {
    content: '❄️'; /* Snowflake emoji */
    font-size: 1.5rem;
    position: absolute;
    top: -10px;
    right: -30px;
    color: var(--ice-blue); /* Subtle decoration */
}

.slider-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: none; /* Hide scrollbar for cleaner look */
}

/* PRODUCT CARD DESIGN - The most important part */
.product-card {
    min-width: 280px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-smooth);
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.product-card:hover::before {
    opacity: 0.03;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all var(--transition-speed) var(--transition-smooth);
    filter: brightness(1);
    cursor: pointer;
}

.product-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Fade in animation for search results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for product card feedback */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Bounce animation for cart badge */
@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.product-card h3 {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.product-card:hover h3 {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.product-card .price {
    font-size: 1.3rem;
    color: var(--accent-secondary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    letter-spacing: -0.02em;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.product-card:hover .price {
    color: var(--accent-color);
    transform: scale(1.05);
}

/* Add to Cart Button */
.add-btn {
    width: 100%;
    padding: 14px;
    background: var(--bg-secondary);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--transition-smooth), height 0.6s var(--transition-smooth);
    z-index: 0;
}

.add-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-btn:hover {
    color: var(--text-light);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
    transform: translateY(-3px);
}

.add-btn span {
    position: relative;
    z-index: 1;
}

/* =========================================
   FOOTER (Classic Pine Green)
   ========================================= */
footer {
    background-color: var(--accent-secondary);
    color: var(--text-light);
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    transition: all var(--transition-speed) ease;
}

footer p {
    opacity: 0.9;
    font-size: 0.9rem;
}

footer a.eframe-link {
    color: var(--accent-gold);
    font-weight: bold;
    transition: color var(--transition-speed) ease;
}

footer a.eframe-link:hover {
    color: var(--text-light);
}

/* =========================================
   WHATSAPP WIDGET
   ========================================= */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.floating-wpp {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s;
}

.floating-wpp:hover {
    transform: scale(1.1);
}

.notify-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--santa-red);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* WhatsApp Menu */
.wa-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 15px;
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 10px;
    transform-origin: bottom right;
    animation: popUp 0.3s ease;
}

.wa-menu.active {
    display: flex;
}

.wa-header {
    font-weight: bold;
    color: var(--pine-green);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.wa-item {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: 0.2s;
}

.wa-item:hover {
    background: #e8f5e9;
    color: var(--pine-green);
}

@keyframes popUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================
   WHATSAPP MENU - DARK MODE SUPPORT
   ========================================= */
body.dark-mode .wa-menu {
    background: #333333;
    border: 1px solid #444444;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

body.dark-mode .wa-header {
    color: #81c784; /* Green accent for dark mode */
    border-bottom: 1px solid #444444;
}

body.dark-mode .wa-item {
    background: #3a3a3a;
    color: #ffffff;
}

body.dark-mode .wa-item:hover {
    background: #444444;
    color: #81c784; /* Green text on hover */
}

/* WhatsApp Button - Dark Mode Enhancement */
body.dark-mode .floating-wpp {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
}

body.dark-mode .floating-wpp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8);
}

body.dark-mode .notify-dot {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* =========================================
   TOAST NOTIFICATION SYSTEM
   ========================================= */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideInRight 0.4s var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.slide-out {
    animation: slideOutRight 0.4s var(--transition-smooth) forwards;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.9rem;
    opacity: 0.95;
}

.toast-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Toast Variants */
.toast.success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.4);
}

.toast.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    box-shadow: 0 8px 32px rgba(244, 67, 54, 0.4);
}

.toast.warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.4);
}

.toast.info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.4);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Mobile Toast Adjustments */
@media (max-width: 768px) {
    .toast-container {
        right: 15px;
        left: 15px;
        top: 80px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* =========================================
   SEARCH BAR STYLING
   ========================================= */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    outline: none;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
    pointer-events: none;
}

body.dark-mode .search-input {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

body.dark-mode .search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

/* =========================================
   IMAGE LAZY LOADING EFFECT
   ========================================= */
.product-card img.lazy-loading {
    filter: blur(10px);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.product-card img.lazy-loaded {
    filter: blur(0);
    opacity: 1;
}

/* Loading Skeleton */
.image-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

body.dark-mode .image-skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */

/* Product Grid for Shop Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .slider-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        overflow-x: hidden;
    }
    
    .product-card {
        min-width: auto;
        width: 100%;
    }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    /* Navigation Links - Mobile Menu */
    .nav-links {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: left 0.3s var(--transition-smooth);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links li a {
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }
    
    /* Dark Mode Navigation */
    body.dark-mode .nav-links {
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    
    /* =========================================
       MOBILE TOUCH-FRIENDLY FIXES
       Disable hover effects and make buttons always visible
       ========================================= */
    
    /* Disable Hover Effects on Mobile */
    .product-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-soft) !important;
    }
    
    .product-card:hover::before {
        opacity: 0 !important;
    }
    
    /* Disable Image Zoom on Hover (prevents scroll interference) */
    .product-card:hover img {
        transform: none !important;
        filter: brightness(1) !important;
        box-shadow: none !important;
    }
    
    /* Disable Title and Price Hover Effects */
    .product-card:hover h3 {
        color: var(--text-color) !important;
        transform: none !important;
    }
    
    .product-card:hover .price {
        color: var(--accent-secondary) !important;
        transform: none !important;
    }
    
    body.dark-mode .product-card:hover .price {
        color: var(--accent-secondary) !important;
    }
    
    /* Make Buttons Always Visible and Touch-Friendly */
    .add-btn {
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        padding: 16px 20px !important; /* Larger padding for touch */
        font-size: 0.9rem;
        margin-top: 10px;
        min-height: 48px; /* Minimum touch target size (Apple/Google guidelines) */
    }
    
    /* Disable button hover transform on mobile */
    .add-btn:hover {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3) !important;
    }
    
    .add-btn:hover::before {
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Active state for touch feedback */
    .add-btn:active {
        transform: scale(0.98) !important;
        opacity: 0.9;
    }
    
    /* Ensure buttons are always visible in festive mode too */
    body.festive-mode .add-btn {
        opacity: 1 !important;
    }
    
    body.festive-mode .add-btn:hover {
        transform: none !important;
    }
    
    /* Touch-friendly icon buttons */
    .icon-btn {
        padding: 8px;
        min-width: 44px; /* Minimum touch target */
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Disable icon hover effects on mobile */
    .icon-btn:hover {
        transform: none !important;
    }
    
    .icon-btn:hover::after {
        opacity: 0 !important;
    }
    
    /* Active state for touch feedback */
    .icon-btn:active {
        transform: scale(0.95);
    }
    
    /* Remove pointer cursor on mobile images */
    .product-card img {
        cursor: default;
    }
    
    /* Touch-friendly CTA button */
    .cta-btn {
        min-height: 48px;
    }
    
    .cta-btn:hover {
        transform: none !important;
    }
    
    .cta-btn:hover::before {
        left: -100% !important;
    }
    
    .cta-btn:active {
        transform: scale(0.98);
    }
    
    /* Disable logo hover zoom on mobile */
    .slide-logo img:hover {
        transform: none !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
        filter: brightness(1) !important;
    }
    
    /* Search Input - Touch Friendly */
    .search-input {
        padding: 16px 50px 16px 20px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }
    
    /* Disable search input hover effects */
    .search-input:hover {
        transform: none;
    }
    }
    
    /* Product Grid - 2 columns on mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }
    
    /* Slider Track - 2 columns on mobile */
    .slider-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow-x: hidden;
        width: 100%;
        padding: 10px;
    }
    
    .product-card {
        min-width: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .product-card img {
        height: 180px;
    }
    
    /* Hide Arrows on Mobile */
    .arrow-btn {
        display: none;
    }
    
    .slider-container {
        padding: 0;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    /* Scrolling Logo Strip */
    .scrolling-logo-strip {
        padding: 30px 0;
    }
    
    .slide-logo {
        width: 180px;
        padding: 0 10px;
    }
    
    .strip-track {
        width: calc(180px * 12);
        animation: scroll 20s linear infinite;
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 6)); }
    }
    
    /* Product Section Headings */
    .product-section h2 {
        font-size: 2rem;
    }
    
    /* Navigation Upper Row */
    .nav-upper-row {
        padding: 12px 4%;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-icons {
        gap: 15px;
    }
    
    .icon-btn {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile (max-width: 480px) - 1 column */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .slider-track {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card img {
        height: 220px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .product-section h2 {
        font-size: 1.6rem;
    }
    
    .nav-upper-row {
        padding: 10px 3%;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-icons {
        gap: 12px;
    }
    
    .icon-btn {
        font-size: 1rem;
    }
}

/* =========================================
   5. SNOW & ANIMATIONS
   ========================================= */
.snowflake {
    position: fixed; top: -10px; color: #fff; z-index: 9999;
    pointer-events: none; user-select: none; text-shadow: 0 0 5px #000;
    animation-name: fall; animation-timing-function: linear;
}
@keyframes fall {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    100% { transform: translateY(110vh) translateX(20px) rotate(360deg); }
}

.flying-character {
    position: fixed; top: 20%; left: -200px; z-index: 9998;
    pointer-events: none; animation: flyAcross 8s linear forwards;
}
@keyframes flyAcross {
    0% { left: -200px; transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { left: 110vw; transform: translateY(0); }
}
