:root {
    --gold: #d4af37;
    --dark: #0f1012;
    --soft-white: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.9);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; background: var(--soft-white); overflow-x: hidden; }

/* 1. RESPONSIVE CONTAINER */
.responsive-container { max-width: 1400px; margin: 0 auto; }

/* 2. HEADER */
/* --- Keep your existing glass-header exactly the same --- */
/* Main Header Container - Glass effect and sticky positioning */
.glass-header { 
    position: sticky;        /* Keeps header visible while scrolling */
    top: 0; 
    z-index: 2000;           /* Ensures header is above page content */
    background: var(--glass); 
    backdrop-filter: blur(20px); /* Modern blur effect */
    padding: 12px 20px; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}

/* Inner row container - Flexbox for layout */
.header-inner { 
    display: flex; 
    justify-content: space-between; /* Pushes left-group and right-group apart */
    align-items: center; 
    max-width: 1360px; 
    margin: 0 auto; 
}

/* Grouping Menu, Logo, and Cart on the left */
.left-group {
    display: flex;
    align-items: center;
    gap: 15px;               /* Space between items in the group */
}

/* Menu Button icon */
.menu-btn {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
}

/* Logo styling */
.logo { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.5px; }
.logo span { color: var(--gold); }



/* Cart Icon container - Positioned after Logo */
/* Container for the cart icon */
/* Container for both Profile and Cart */
.right-group {
    display: flex;
    align-items: center;
    gap: 15px;             /* Space between profile and cart icons */
}

/* Styling for the Profile Icon */
.profile-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.profile-icon i {
    font-size: 1.3rem;      /* Matches the size of the cart icon */
    color: var(--dark);     /* Uses your branding color */
    transition: color 0.3s ease;
}

.profile-icon:hover i {
    color: var(--gold);     /* Hover effect to match your theme */
}

/* --- Transparent Cart Icon Fix --- */
/* Container to keep the badge relative to the icon */
.cart-nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

/* The Button Reset */
.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Shopping Cart Icon */
.nav-icon-btn i {
    font-size: 1.4rem; /* Scales well from Mobile to Desktop */
    color: #333; /* Change to match your theme */
}

/* The Notification Badge (The '0' circle) */
#cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ff4757; /* Eye-catching red */
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff; /* Makes it pop against the icon */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hover Effect */
.nav-icon-btn:hover {
    transform: scale(1.1);
}

.nav-icon-btn:hover i {
    color: #007bff; /* Primary color on hover */
}

/* --- Responsive Adjustments --- */

/* For Mobile */
@media (max-width: 480px) {
    .nav-icon-btn i {
        font-size: 1.2rem;
    }
    #cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
}

/* For TV / Large Displays */
@media (min-width: 1920px) {
    .nav-icon-btn i {
        font-size: 2rem;
    }
    #cart-count {
        min-width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}


.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 0 0 10px 10px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.search-info {
    display: flex;
    flex-direction: column;
}

.search-name { font-weight: bold; color: #333; font-size: 0.9rem; }
.search-meta { font-size: 0.75rem; color: #777; }

/* --- 6. ACTION BUTTONS --- */
.btn-whatsapp {
    background: #25D366;        /* Official WhatsApp green */
    color: white;               /* White text */
    border: none;               /* Remove border */
    width: 100%;                /* Full width of sidebar */
    padding: 15px;              /* Large clickable area */
    border-radius: 8px;         /* Rounded corners */
    font-weight: bold;          /* Bold text */
    cursor: pointer;            /* Clickable cursor */
    font-size: 1rem;            /* Readable text */
    transition: 0.2s;           /* Smooth hover */
}

.btn-whatsapp:hover {
    background: #1eb954;        /* Darker green on hover */
    transform: translateY(-2px);/* Slight lift on hover */
}

.btn-clear-all {
    background: none;           /* Transparent */
    border: none;               /* No border */
    color: #999;                /* Muted grey */
    width: 100%;                /* Centered */
    margin-top: 12px;           /* Gap below WhatsApp button */
    cursor: pointer;            /* Clickable */
    font-size: 0.8rem;          /* Small text */
    text-decoration: underline; /* Looks like a link */
}

/* --- 7. BUNDLE/KIT MODAL --- */
.modal-overlay {
    position: fixed;            /* Above everything else */
    top: 0; left: 0;            /* Full coverage */
    width: 100%; height: 100%;  /* Full coverage */
    background: rgba(0,0,0,0.7);/* Darker overlay for focus */
    display: flex;              /* Centers the content box */
    align-items: center;        /* Vertical center */
    justify-content: center;     /* Horizontal center */
    z-index: 3000;              /* Highest level */
}

.modal-content {
    background: white;          /* Solid white */
    padding: 25px;              /* Large padding */
    border-radius: 12px;        /* Smooth corners */
    width: 90%;                 /* Responsive width */
    max-width: 450px;           /* Max desktop width */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Heavy shadow */
}

/* --- 8. ANIMATIONS --- */
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); } /* Corrected scale (1.2 instead of 4.3) */
}

.cart-bounce {
    animation: bounce 0.4s ease; /* Faster, snappy bounce */
}

/* Search Bar container - Positioned below the main nav row */
.search-bar { 
    max-width: 1360px; 
    margin: 10px auto 0; 
    background: rgba(0,0,0,0.05); /* Subtle dark background */
    border-radius: 12px; 
    padding: 10px 15px; 
    display: flex; 
    align-items: center; 
    position: relative;      /* Needed for search-results-overlay */
}

/* Search input field */
.search-bar input { 
    border: none; 
    background: transparent; 
    width: 100%; 
    margin-left: 10px; 
    outline: none;           /* Removes browser blue focus ring */
    font-size: 0.95rem;
}

/* Search Results Dropdown Overlay */
.search-results-overlay {
    position: absolute;
    top: 105%;               /* Positioned just below the bar */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    max-height: 350px;       /* Limits list height */
    overflow-y: auto;        /* Allows scrolling long lists */
    z-index: 5000;
    display: none;           /* Hidden until user types */
}

/* Main Sidebar Container */
.sidebar {
    position: fixed;         /* Fixed over the screen */
    top: 0;
    left: -280px;            /* Hidden off-screen by default */
    width: 280px;            /* Mobile-friendly width */
    height: 100%;
    background: white;
    z-index: 6000;           /* Sits above the header and overlay */
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smooth slide animation */
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}

/* Shown state for Sidebar */
.sidebar.active {
    left: 0;                 /* Slides into view */
}

/* Dark Background Overlay when sidebar is open */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;           /* Managed by JS */
    z-index: 5500;           /* Between page and sidebar */
}

/* Sidebar Header Area */
.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

/* Close (X) button in sidebar */
.close-btn {
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
}

/* Container for navigation links */
.sidebar-links {
    padding: 20px 0;
    overflow-y: auto;        /* Allows scrolling links if they exceed height */
}

/* Individual Link styling */
.sidebar-links a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
}

/* Icon spacing inside links */
.sidebar-links a i {
    width: 25px;
    margin-right: 15px;
    color: var(--gold);      /* Branded icon color */
}

/* Hover effect for links */
.sidebar-links a:hover {
    background: #f8f9fa;
    color: var(--gold);
}

/* Horizontal line separator */
.sidebar-links hr {
    margin: 10px 25px;
    border: none;
    border-top: 1px solid #eee;
}

/* Special styling for external links */
.external-link {
    color: #666 !important;
    font-size: 0.85rem !important;
}

/* 3. HERO (MOBILE FIRST) */
#hero-animation-box {
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for the product name that appears in the hero visual */
.name-tag {
    position: absolute;
    bottom: -25px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    border: 1px solid var(--gold);
}

.hero-visual:hover #hero-animation-box {
    transform: scale(1.05) rotate(2deg);
}



.hero-live { padding: 20px; }
.hero-card { background: white; border-radius: 24px; padding: 30px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.hero-text h2 { font-size: clamp(1.5rem, 5vw, 3rem); margin: 0; line-height: 1.1; }
.gradient-text { background: linear-gradient(45deg, var(--gold), #b38f2d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.floating-icon { width: clamp(80px, 20vw, 150px); aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; border: 3px solid var(--gold); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-icon img { width: 100%; height: 100%; object-fit: cover; }
.id-tag { position: absolute; bottom: 0; width: 100%; background: var(--dark); color: white; font-size: 0.6rem; text-align: center; }

/*  slider  */
.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: #fff;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* 2sec is too slow for movement, 0.6s is smooth */
}

.slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fafafa;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #eee;
}

/* 1:1 Product Icon */
.p-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #d4af37;
}

.p-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-info h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #111;
}

.p-info p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #666;
}

/* DOTS ANIMATION */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px; /* Stretches the dot when active */
    background: #d4af37;
    border-radius: 10px;
}


/* 4. SLIM CTA ROWS */
.slim-links { padding: 10px 20px; display: grid; grid-template-columns: 1fr; gap: 15px; }
.interactive-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-radius: 20px; cursor: pointer; }
.gold-row { background: #fffcf0; border: 1px solid #f9ebbe; }
.dark-row { background: var(--dark); color: white; }
.go-btn { background: white; color: var(--dark); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* 5. GRID SYSTEM (MOBILE: 2 COLUMNS) */


.sticky-close {
    display: none; /* Hidden until expanded */
    position: -webkit-sticky;
    position: sticky;
    top: 102px; /* Sits just below your glass header */
    float: right;
    z-index: 100;
    background: var(--dark);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: -45px; /* Pulls it over the grid content */
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Show the button only when the parent section has an expanded grid */
.app-section:has(.expanded) .sticky-close {
    display: block;
}

/* Hide the main "Show Everything" button when expanded to avoid confusion */
.app-section:has(.expanded) .expand-pill {
    display: none;
}


.app-section { padding: 40px 20px; }
.grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; max-height: 550px; overflow: hidden; transition: max-height 0.8s ease; }
.grid-container.expanded { max-height: 5000px; }

.creative-card, .shop-card { background: white; padding: 12px; border-radius: 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.creative-card img, .shop-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; }

/* 6. BANNER */
.live-banner { grid-column: 1 / -1; background: var(--dark); border-radius: 24px; padding: 40px; color: white; text-align: center; }
.price-tag { font-size: 2rem; color: var(--gold); font-weight: 900; }

/* 7. VIEW BUTTON */
.expand-pill { width: 100%; max-width: 400px; display: block; margin: 30px auto 0; padding: 18px; border-radius: 50px; border: 2px solid #eee; background: white; font-weight: bold; cursor: pointer; }

/* 8. TABLET & DESKTOP OVERRIDES */
@media (min-width: 768px) {
    .slim-links { grid-template-columns: 1fr 1fr; }
    .grid-container { grid-template-columns: repeat(3, 1fr); }
    .hero-card { padding: 60px; }
}

@media (min-width: 1024px) {
    .grid-container { grid-template-columns: repeat(4, 1fr); }
    .app-section { padding: 60px 0; }
}

/* FOOTER */
.app-footer { padding: 60px 20px; text-align: center; background: white; border-radius: 40px 40px 0 0; }
.social-circle { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.social-circle a { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 1.3rem; }
.wa { background: #25d366; } .ig { background: #e1306c; } .ph { background: #333; }