/* ==========================================================================
           ORIGINAL DESIGN SYSTEM & VARIABLES
           ========================================================================== */
        @font-face { font-family: 'LemonMilk'; src: url('fonts/LEMONMILKProFTR-Regular.otf') format('opentype'); font-weight: normal; font-style: normal; }

        :root {
            --maroon: #650123;
            --cream: #F4D08F;
            --white: #FFFFFF;
            --dark: #333333;
            --gray-bg: #f9f9f9;
            --font-lemon: 'LemonMilk', sans-serif;
            --font-ui: 'Montserrat', sans-serif;
            --font-cuisine: 'Playfair Display', serif;
            --font-script: 'Beau Rivage', cursive;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--font-ui); background-color: var(--white); color: var(--dark); overflow-x: hidden; line-height: 1.6;}
        
        h1, h2, h3, .lemon-text { font-family: var(--font-lemon); font-weight: normal; }
        button { cursor: pointer; outline: none; font-family: var(--font-ui); }
        a { text-decoration: none; color: inherit; cursor: pointer; }

        /* MODERN PRIMITIVE INPUTS */
        input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
            width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-ui); font-size: 0.95rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; background: var(--white);
        }
        input:focus, textarea:focus, select:focus {
            border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(101,1,35,0.1);
        }

        /* SPA View Logic */
        .spa-view { display: none; min-height: 70vh; animation: fadeIn 0.4s ease; }
        .spa-view.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- ORIGINAL HEADER & NAV (WITH DYNAMIC FLEX FOR SEARCH ANIMATION) --- */
        header { background-color: var(--maroon); height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 4%; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
        
        .header-left { flex: 1; display: flex; align-items: center; }
        .logo-square { position: absolute; top: 15px; left: 4%; width: 140px; height: 140px; background-color: var(--white); border: 3px solid var(--maroon); border-radius: 8px; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 15px rgba(0,0,0,0.15); padding: 10px; z-index: 1001; cursor: pointer; transition: transform 0.3s ease;}
        .logo-square:hover { transform: translateY(-3px); }
        .logo-square object { width: 100%; height: 100%; pointer-events: none; }

        .nav-links { flex: 2; display: flex; justify-content: center; gap: 30px; list-style: none; white-space: nowrap; transition: transform 0.4s ease; }
        .nav-links a { color: var(--white); text-decoration: none; font-family: var(--font-lemon); font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s; cursor: pointer; }
        .nav-links a:hover, .nav-links a.active { color: var(--cream); }
        .nav-links a.active { border-bottom: 2px solid var(--cream); padding-bottom: 4px; }

        .header-actions { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 15px; position: relative; transition: width 0.4s ease; }
        
        /* Floating Search with Suggestions (Pill Style) */
        .floating-search-wrapper { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 90%; max-width: 650px; background: transparent; padding: 15px 0; display: none; animation: slideDown 0.2s ease-out; z-index: 999; }
        @keyframes slideDown { from { transform: translate(-50%, -10px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
        
        .fs-input-container { display: flex; align-items: center; height: 55px; background: var(--white); border-radius: 30px; padding: 0 20px; border: 2px solid var(--maroon); box-shadow: 0 8px 25px rgba(0,0,0,0.1); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
        .fs-input-container:focus-within { background: #fffafb; transform: scale(1.02); box-shadow: 0 12px 30px rgba(101, 1, 35, 0.15); }
        .fs-input-container svg.search-icn { width: 22px; height: 22px; stroke: var(--maroon); fill: none; stroke-width: 2; margin-right: 12px; flex-shrink: 0; }
        .fs-input-container input { flex: 1; background: transparent; border: none; font-size: 1.05rem; font-family: var(--font-ui); outline: none; color: var(--dark); height: 100%; width: 100%; }
        .fs-close { cursor: pointer; width: 22px; height: 22px; stroke: var(--text-muted); fill: none; stroke-width: 2; transition: 0.2s; margin-left: 10px; flex-shrink: 0; }
        .fs-close:hover { stroke: var(--maroon); transform: scale(1.1); }
        
        .fs-suggestions { max-height: 400px; overflow-y: auto; display: none; flex-direction: column; margin-top: 10px; background: var(--white); border-radius: 16px; padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid #eaeaea; }
        .fs-sugg-item { padding: 12px 25px; color: var(--dark); cursor: pointer; font-size: 0.95rem; text-align: left; transition: 0.2s; }
        .fs-sugg-item.active-sugg, .fs-sugg-item:hover { background: var(--maroon); padding-left: 30px; color: var(--cream); font-weight: 600; border-left: 4px solid var(--white); }
        
        /* Normal State: Orange Cream highlight on Dark text. Zero padding prevents letters from splitting! */
        .fs-sugg-item .hl { background: var(--cream); color: var(--dark); font-weight: 800; padding: 0; }
        
        /* Hover State: Light Maroon highlight on Orange Cream text */
        /* Hover State: Light Maroon highlight on Orange Cream text */
        .fs-sugg-item.active-sugg .hl, .fs-sugg-item:hover .hl { background: #920b30; color: var(--cream); }
        
        /* The Clear Search Button */
        .fs-sugg-item.clear-all { text-align: center; color: var(--maroon); font-weight: 700; background: var(--gray-bg); border-top: 1px solid #eaeaea; margin-top: 5px; padding: 12px; border-left: none; }
        .fs-sugg-item.clear-all:hover { background: #fee2e2; color: #b91c1c; padding-left: 25px; border-left: none; }

        /* Obliterate native browser autofill/clear artifacts (The [ ] Brackets) */
        .fs-input-container input::-webkit-search-cancel-button, 
        .fs-input-container input::-webkit-search-decoration,
        .fs-input-container input::-webkit-contacts-auto-fill-button,
        .fs-input-container input::-webkit-credentials-auto-fill-button { display: none !important; -webkit-appearance: none; }

        .icon-btn { background: none; border: none; cursor: pointer; color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 5px; transition: opacity 0.3s; position: relative; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600;}
        .icon-btn:hover { opacity: 0.8; }
        .icon-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;}
        .cart-badge { position: absolute; top: -5px; right: -5px; background: var(--white); color: var(--maroon); font-size: 0.75rem; font-weight: bold; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--maroon);}
        .user-initial { width: 30px; height: 30px; background-color: var(--cream); color: var(--maroon); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-ui); font-size: 1rem; border: 2px solid var(--maroon); }

        /* Profile Dropdown */
        .profile-dropdown { display: none; position: absolute; top: 120%; right: 0; background: var(--white); border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 12px; width: 260px; z-index: 2000; flex-direction: column; overflow: hidden; }
        .profile-dropdown.active { display: flex; animation: fadeIn 0.2s ease; }
        .profile-dropdown-header { padding: 20px 15px; border-bottom: 1px solid #eee; background: #fffcf7; display: flex; align-items: center; gap: 15px; }
        .profile-dropdown-header h4 { font-family: var(--font-ui); color: var(--maroon); margin: 0; font-size: 1rem; font-weight: 800;}
        .profile-dropdown-header p { font-size: 0.8rem; color: #666; margin: 0; word-break: break-all;}
        .profile-dropdown a { padding: 15px; color: var(--dark); text-decoration: none; font-size: 0.95rem; border-bottom: 1px solid #eee; transition: background 0.2s; font-weight: 600; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 10px;}
        .profile-dropdown a:hover { background: #fff5f7; color: var(--maroon); }

        /* Animated Hamburger Button */
        .menu-btn { display: none; background: none; border: none; cursor: pointer; margin-left: 10px; width: 30px; height: 22px; position: relative; z-index: 1002; }
        .menu-btn span { display: block; width: 100%; height: 3px; background-color: var(--white); border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease-in-out; }
        .menu-btn span:nth-child(1) { top: 0px; }
        .menu-btn span:nth-child(2) { top: 9px; }
        .menu-btn span:nth-child(3) { top: 18px; }
        .menu-btn.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
        .menu-btn.open span:nth-child(2) { opacity: 0; }
        .menu-btn.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

        /* Smooth Sliding Mobile Menu */
        .mobile-menu { position: fixed; top: 80px; left: 0; width: 100%; background-color: var(--maroon); padding: 10px 20px 20px; z-index: 999; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transform: translateY(-150%); opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
        .mobile-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
        .mobile-menu a { display: block; color: var(--white); text-decoration: none; padding: 16px 0; font-family: var(--font-lemon); font-size: 1.1rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: background 0.2s;}

        /* --- SKELETON LOADERS --- */
        .skeleton { background: #e2e8f0; position: relative; overflow: hidden; border-radius: 12px; }
        .skeleton::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0)); animation: shimmer 1.5s infinite; }
        @keyframes shimmer { 100% { transform: translateX(100%); } }

        /* --- GLOBAL BUTTONS --- */
        .btn-primary { background: var(--maroon); color: var(--white); border: none; padding: 12px 25px; border-radius: 8px; font-size: 0.95rem; font-weight: 700; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-ui);}
        .btn-primary:hover { background: #4a0019; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(101,1,35,0.2); }
        .btn-primary:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }
        .btn-secondary { background: var(--white); color: var(--maroon); border: 2px solid var(--maroon); padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 700; transition: 0.3s; font-family: var(--font-ui);}
        .btn-secondary:hover { background: var(--maroon); color: var(--white); }

        /* --- ORIGINAL PRODUCT CARDS & GRID (Forcing 4 items max 280px) --- */
        .products-wrapper, .shop-container { max-width: 1300px; margin: 40px auto 60px; padding: 0 20px; }
        .products-wrapper h2 { text-align: center; color: var(--maroon); font-size: 2.2rem; margin-bottom: 40px; }
        
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 280px)); justify-content: center; gap: 30px; align-items: stretch; }
        
        /* Home Specific Grid: Exactly 4 items, single line on desktop */
        @media(min-width: 1025px) {
            #homeProductGrid { display: flex; justify-content: center; gap: 25px; flex-wrap: nowrap; overflow: hidden; align-items: stretch; }
            #homeProductGrid .product-card { width: 280px; flex-shrink: 0; height: auto; }
        }

        .product-card { background: var(--white); border-radius: 12px; text-align: left; border: 1px solid #eaeaea; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s; position: relative; overflow: hidden; height: 100%; cursor: pointer; text-decoration: none; width: 100%; max-width: 280px; margin: 0 auto;}
        .product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
        
        .card-badge { position: absolute; top: 15px; left: 15px; background: #e8f5e9; color: #2e7d32; padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; text-transform: uppercase; letter-spacing: 1px; border: 1px solid #c8e6c9;}
        .rating-pill { position: absolute; top: 15px; right: 15px; background: var(--white); color: var(--dark); padding: 5px 10px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; display: flex; align-items: center; gap: 4px; border: 1px solid #eaeaea; }
        .rating-pill .star { color: #eab308; font-size: 1rem; margin-top: -2px; }
        .bestseller-svg-icon { position: absolute; bottom: 0; right: 0; width: 85px; height: auto; z-index: 10; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); }

        .product-img-wrapper { width: 100%; height: 240px; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; position: relative;}
        .product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .product-card:hover .product-img { transform: scale(1.05); }
        .out-of-stock-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(220, 53, 69, 0.9); color: white; padding: 8px 15px; font-weight: bold; border-radius: 4px; z-index: 3; font-family: var(--font-ui); text-align: center; width: 80%;}

        .product-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
        .fssai-icon { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 2px; margin-bottom: 10px; width: 24px; height: 24px;}
        .fssai-icon svg { width: 100%; height: 100%; }
        
        .product-title { font-size: 1.15rem; color: var(--maroon); margin-bottom: 8px; line-height: 1.3; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
        .product-desc-full { font-size: 0.85rem; color: #666; margin-bottom: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
        
        .card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid #f4f4f4; padding-top: 15px; margin-top: auto;}
        .price-block { display: flex; flex-direction: column; justify-content: center; }
        .price-main { font-size: 1.3rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
        .price-weight { font-size: 0.8rem; color: #777; font-weight: 500; }
        .price-mrp { font-size: 0.85rem; color: #888; text-decoration: line-through; font-weight: 600; margin-top: 4px; line-height: 1; }
        .view-btn { background: var(--maroon); color: var(--white); border: none; padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; transition: 0.3s; font-family: var(--font-ui); white-space: nowrap; flex-shrink: 0; min-width: 115px; text-align: center; }
        .product-card:hover .view-btn { background: #4a0019; }

        /* --- SHARED HERO HEADER --- */
        .info-hero { background-color: var(--cream); padding: 100px 20px 40px; text-align: center; border-bottom: 4px solid var(--maroon); }
        .info-hero h1 { color: var(--maroon); font-size: 3rem; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase;}
        .info-hero .beau-rivage-text { font-family: var(--font-script); font-size: 3.5rem; color: var(--maroon); line-height: 1.2;}

        /* --- HOME --- */
        .hero { background-color: var(--cream); padding: 50px 20px 50px; text-align: center; border-bottom: 4px solid var(--maroon); }
        .hero-animation { width: 100%; max-width: 350px; margin: 0 auto 15px; }
        .hero-animation object { width: 100%; pointer-events: none; }
        .hero h1 { color: var(--maroon); font-size: 1.3rem; margin-bottom: 10px; letter-spacing: 2px; }
        @keyframes writeText { 0% { background-size: 0% 100%; } 100% { background-size: 100% 100%; } }
        .beau-rivage-text { font-family: var(--font-script); font-size: 3.5rem; margin-bottom: 15px; line-height: 1.2; background: linear-gradient(to right, var(--maroon) 100%, transparent 0); background-size: 0% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: writeText 10s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; animation-delay: 0.5s; }
        @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
        .hero-subtext { font-family: var(--font-cuisine); font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: var(--dark); line-height: 1.6; opacity: 0; animation: fadeInUp 1s ease-out forwards; animation-delay: 4s; }

        .section-divider { display: flex; align-items: center; justify-content: center; padding: 30px 20px 10px; }
        .section-divider .line { height: 2px; width: 80px; background-color: var(--maroon); opacity: 0.3; border-radius: 2px; }
        .section-divider .icon { margin: 0 15px; color: var(--maroon); font-size: 1.5rem; }

        /* --- SHOP --- */
        .category-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
        .filter-btn { background: var(--white); color: var(--maroon); border: 2px solid var(--maroon); padding: 8px 20px; border-radius: 25px; font-family: var(--font-ui); font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .filter-btn:hover, .filter-btn.active { background: var(--maroon); color: var(--white); }

        /* --- PRODUCT DETAILS --- */
        .product-page-wrapper { max-width: 1200px; margin: 50px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px 60px; align-items: start; }
        .breadcrumb-container { grid-column: 1 / -1; text-align: right; font-size: 0.85rem; color: #888; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; padding-bottom: 10px; border-bottom: 1px solid #eee; display: flex; justify-content: flex-end; gap: 5px;}
        .breadcrumb-container span { cursor: pointer; transition: color 0.2s;}
        .breadcrumb-container span:hover { color: var(--maroon); text-decoration: underline;}

        .image-gallery { position: relative; background: var(--white); border-radius: 16px; padding: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); border: 1px solid #eaeaea; display: flex; justify-content: center; align-items: center; }
        .image-gallery img { width: 100%; max-width: 500px; border-radius: 12px; object-fit: cover; }
        .image-badge-overlay { position: absolute; top: 20px; left: 20px; background: #e8f5e9; color: #2e7d32; padding: 6px 15px; border-radius: 20px; font-weight: 800; font-size: 0.85rem; border: 1px solid #c8e6c9; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 10; letter-spacing: 1px; text-transform: uppercase;}

        .product-info { padding: 10px 0; }
        .product-title-lg { font-size: 2.6rem; color: var(--maroon); margin-bottom: 5px; line-height: 1.2; font-family: var(--font-lemon); font-weight: 800;}
        .product-id { font-size: 0.85rem; color: #888; margin-bottom: 15px; font-family: monospace; letter-spacing: 0.5px;}
        
        .pill-container { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; align-items: center;}
        .cancel-pill { font-size: 0.8rem; padding: 4px 12px; border-radius: 20px; font-weight: 700; display: flex; align-items: center; gap: 5px; border: 1px solid;}
        .c-avail { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
        .c-no { background: #ffebee; color: #c62828; border-color: #ffcdd2; }
        
        .product-price-lg { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 25px; display: flex; align-items: baseline; gap: 10px;}
        .pd-discount { color: #ef4444; font-weight: 700; font-size: 1.2rem;}

        .variant-section { background: var(--gray-bg); border: 1px solid #eee; padding: 20px; border-radius: 12px; margin-bottom: 20px; }
        .variant-label { font-size: 0.95rem; font-weight: 700; color: var(--dark); text-transform: uppercase; margin-bottom: 12px; display: block; letter-spacing: 0.5px;}
        .variant-pills { display: flex; gap: 12px; flex-wrap: wrap; }
        .variant-pill { background: var(--white); border: 2px solid #ddd; color: var(--dark); padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-family: var(--font-ui); font-size: 0.95rem;}
        .variant-pill:hover { border-color: var(--maroon); color: var(--maroon); }
        .variant-pill.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); box-shadow: 0 4px 15px rgba(101,1,35,0.2);}
        .variant-pill:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }

        .quantity-control { margin-bottom: 20px; }
        .qty-wrapper { display: flex; align-items: center; gap: 10px; }
        .qty-btn { width: 45px; height: 45px; border-radius: 8px; border: 2px solid #ddd; background: var(--white); color: var(--dark); font-size: 1.5rem; cursor: pointer; transition: 0.2s; font-weight: bold; display: flex; justify-content: center; align-items: center;}
        .qty-btn:hover { border-color: var(--maroon); color: var(--maroon); }
        #itemQty { width: 60px; height: 45px; text-align: center; border: 2px solid #ddd; border-radius: 8px; font-size: 1.2rem; font-family: var(--font-ui); font-weight: bold; background: var(--white); color: var(--dark); outline:none;}
        
        .stock-status { font-weight: 700; font-size: 0.95rem; margin-bottom: 20px;}
        
        .pincode-box { display: flex; gap: 10px; margin-bottom: 30px; background: var(--white); padding: 15px; border: 1px solid #ddd; border-radius: 8px; align-items: center;}
        .pincode-btn { background: var(--dark); color: var(--white); border: none; padding: 12px 20px; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s;}

        .action-buttons { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
        .add-to-cart-btn { background: var(--maroon); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: var(--font-ui); display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%;}
        .add-to-cart-btn:hover { background: #4a0019; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(101,1,35,0.2);}
        .add-to-cart-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none;}
        
        .buy-now-btn { background: var(--dark); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: var(--font-ui); display: flex; justify-content: center; align-items: center; width: 100%;}
        .buy-now-btn:hover { background: #111; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2);}
        .buy-now-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none;}

        .product-desc-text { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 35px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
        .product-desc-text h4 { color: var(--dark); font-family: var(--font-ui); font-size: 1.1rem; margin-bottom: 10px;}
        .product-desc-text ul { padding-left: 20px; margin-top: 15px; }
        .product-desc-text li { margin-bottom: 8px;}

        /* --- ABOUT --- */
        .about-content { max-width: 900px; margin: 60px auto; padding: 0 20px; font-size: 1.1rem; color: #444; }
        .about-content p { margin-bottom: 20px; text-align: justify; }
        
        .vmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
        .vmp-card { background: var(--white); border: 1px solid #eaeaea; border-top: 5px solid var(--maroon); border-radius: 8px; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
        .vmp-card:hover { transform: translateY(-5px); }
        .vmp-card h3 { color: var(--maroon); font-size: 1.8rem; margin-bottom: 15px; font-family: var(--font-cuisine); }
        .vmp-card p { font-size: 1rem; color: #555; }
        
        .custom-list { list-style: none; margin-top: 15px; }
        .custom-list li { position: relative; padding-left: 25px; margin-bottom: 10px; color: #555; }
        .custom-list li::before { content: '✔'; color: var(--maroon); position: absolute; left: 0; font-size: 1rem; top: 2px;}

        .core-value { margin-top: 20px; }
        .core-value h4 { color: var(--maroon); font-family: var(--font-ui); font-size: 1.1rem; margin-bottom: 5px; }

        /* --- FAQ --- */
        .content-container { max-width: 900px; margin: 50px auto; padding: 0 20px; }
        .section-header { font-family: var(--font-cuisine); color: var(--maroon); font-size: 2.2rem; margin: 60px 0 30px; border-bottom: 2px solid var(--cream); padding-bottom: 10px; text-align: center; }

        .faq-item { background: var(--white); border: 1px solid #eaeaea; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); overflow: hidden; }
        .faq-question { background: var(--white); color: var(--maroon); font-family: var(--font-ui); font-weight: 600; font-size: 1.1rem; padding: 20px; width: 100%; text-align: left; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
        .faq-question:hover { background: #fdfdfd; }
        .faq-question::after { content: '+'; font-size: 1.5rem; color: var(--cream); transition: transform 0.3s; }
        .faq-item.active .faq-question::after { transform: rotate(45deg); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--gray-bg); }
        .faq-answer-content { padding: 20px; color: #555; border-top: 1px solid #eaeaea; }

        /* --- CONTACT --- */
        .contact-wrapper { max-width: 1200px; margin: 60px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
        
        .contact-info-panel { display: flex; flex-direction: column; gap: 20px; }
        .info-card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 5px solid var(--maroon); }
        .info-card h3 { font-family: var(--font-cuisine); color: var(--maroon); font-size: 1.4rem; margin-bottom: 10px; }
        .info-card p { color: #555; font-size: 0.95rem; }
        .info-card a { color: var(--maroon); text-decoration: none; font-weight: 600; }
        .info-card a:hover { text-decoration: underline; }

        .contact-form-panel { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); border-top: 5px solid var(--maroon); }
        .contact-form-panel h2 { color: var(--maroon); font-size: 2rem; margin-bottom: 10px; }
        .contact-form-panel > p { color: #666; margin-bottom: 30px; }

        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
        .input-group { display: flex; flex-direction: column; margin-bottom: 20px; }
        .input-group.full-width { grid-column: 1 / -1; }
        .input-group label { font-weight: 600; margin-bottom: 8px; color: var(--dark); font-size: 0.9rem; }
        
        .submit-contact-btn { background-color: var(--maroon); color: var(--white); padding: 15px 30px; border: none; border-radius: 8px; font-family: var(--font-ui); font-size: 1.1rem; font-weight: 700; cursor: pointer; width: 100%; transition: background-color 0.3s, transform 0.2s; }
        .submit-contact-btn:hover { background: #4a0019; transform: translateY(-2px); }

        /* --- CART & CHECKOUT --- */
        .cart-layout { max-width: 1000px; margin: 50px auto; padding: 0 20px;}
        .cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--white); border-radius: 12px; border: 1px solid #eaeaea; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
        .cart-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #eee; margin-right: 20px;}
        .cart-details { flex-grow: 1; }
        .cart-title { font-weight: 700; color: var(--maroon); font-size: 1.1rem; margin-bottom: 5px;}
        .cart-price-unit { color: #666; font-size: 0.9rem;}
        .cart-qty-ctrl { display:flex; align-items:center; gap:10px; background:var(--gray-bg); padding:5px 10px; border-radius:8px; border:1px solid #ddd; margin-right: 20px;}
        .cart-qty-ctrl button { background:none; border:none; font-size:1.2rem; font-weight:bold; color:var(--maroon);}
        .cart-remove { color: #dc3545; background: none; border: none; font-weight: bold; font-size: 0.9rem; cursor: pointer; text-decoration: underline;}

        .checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin: 40px auto; max-width: 1200px; padding: 0 20px; align-items: start;}
        .form-panel { background: var(--white); padding: 30px; border-radius: 12px; border: 1px solid #eaeaea; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px;}
        .form-panel h3 { font-family: var(--font-ui); font-weight: 700; color: var(--maroon); border-bottom: 2px solid var(--cream); padding-bottom: 10px; margin-bottom: 20px;}
        
        .payment-box { border: 1px solid #ccc; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
        .payment-option { padding: 15px; border-bottom: 1px solid #ccc; display: flex; align-items: center; gap: 15px; cursor: pointer; transition: 0.2s;}
        .payment-option:last-child { border-bottom: none; }
        .payment-option:hover { background: #fdfdfd; }
        .payment-option.active { background: #fff5f7; border-left: 4px solid var(--maroon); }
        .payment-option input[type="radio"] { transform: scale(1.3); cursor: pointer; accent-color: var(--maroon);}
        .payment-option label { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--dark); margin:0;}

        .summary-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
        .summary-table td { padding: 12px 0; border-bottom: 1px dashed #eee; color: #555;}
        .summary-table td:last-child { text-align: right; font-weight: 600; color: var(--dark); }
        .summary-total { font-size: 1.3rem; font-weight: 800; color: var(--maroon); border-top: 2px solid var(--maroon); padding-top: 15px; margin-top: 15px; display: flex; justify-content: space-between;}

        .coupon-row { display: flex; gap: 10px; margin-bottom: 20px;}
        .coupon-row input { flex-grow: 1; text-transform: uppercase; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-ui); outline: none;}

        /* --- PROFILE & ORDERS --- */
        .profile-wrapper { max-width: 800px; margin: 40px auto; padding: 0 20px; }
        
        .order-card { background: var(--white); border: 1px solid #eaeaea; border-radius: 12px; padding: 25px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.03);}
        .order-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: background 0.2s; padding: 10px; border-radius: 8px;}
        .order-header:hover { background: #fdfdfd; }
        .status-pill { padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; border: 1px solid;}
        
        /* Order Timeline (Vertical) */
        .order-timeline { margin: 20px 0 10px 10px; padding-left: 15px; }
        .timeline-step { position: relative; padding-left: 25px; padding-bottom: 25px; border-left: 2px solid #eaeaea; }
        .timeline-step:last-child { border-left: none; padding-bottom: 0; }
        .timeline-step::before { content: ''; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #eaeaea; z-index: 1;}
        .timeline-step.completed { border-left-color: var(--maroon); }
        .timeline-step.completed::before { background: var(--maroon); }
        .timeline-step.cancelled::before { background: #dc3545; border-color: #dc3545; }
        .timeline-step.returned::before { background: #f59e0b; border-color: #f59e0b; }
        .step-title { font-weight: 600; color: var(--dark); font-size: 0.95rem; line-height: 1; }
        .step-time { font-size: 0.85rem; color: #888; margin-top: 5px; }
        
        /* --- MODALS (Auth, Cancel & Alert) --- */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; overflow-y: auto; padding: 20px 0; backdrop-filter: blur(3px);}
        .modal-content { background: var(--white); padding: 35px; border-radius: 12px; width: 90%; max-width: 450px; position: relative; margin: auto; box-shadow: 0 15px 40px rgba(0,0,0,0.2);}
        .close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer; border: none; background: none; color: var(--dark); z-index: 10;}
        
        /* STRICT AUTHENTICATION MODAL DESIGN */
        .auth-container { background: var(--white); width: 100%; max-width: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.2); position: relative; margin: auto; padding: 35px 25px;}
        .auth-header { text-align: center; margin-bottom: 25px; }
        .auth-header h2 { color: var(--dark); font-family: var(--font-ui); font-size: 1.8rem; font-weight: 700; margin-bottom: 5px;}
        
        .form-group { margin-bottom: 15px; position: relative; text-align: left; }
        .auth-links { text-align: center; margin-top: 15px; font-size: 0.9rem; color: #666; }
        .auth-links a { color: var(--maroon); text-decoration: none; font-weight: 600; cursor: pointer; }
        .auth-links a:hover { text-decoration: underline; }
        
        .divider-container { display: flex; align-items: center; text-align: center; margin: 20px 0; color: #888; font-size: 0.9rem; }
        .divider-container::before, .divider-container::after { content: ''; flex: 1; border-bottom: 1px solid #ddd; }
        .divider-container::before { margin-right: .5em; }
        .divider-container::after { margin-left: .5em; }
        
        .google-btn { width: 100%; padding: 12px; background: var(--white); border: 1px solid #ddd; border-radius: 8px; font-weight: 600; font-family: var(--font-ui); font-size: 0.95rem; color: var(--dark); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.02);}
        .google-btn:hover { background: #f9f9f9; border-color: #ccc; }
        .pwd-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #888; padding: 5px;}

        .auth-form { display: none; flex-direction: column; }
        .auth-form.active { display: flex; }
        .auth-form .submit-btn { background: var(--maroon); color: var(--white); padding: 14px; border-radius: 8px; width: 100%; border: none; font-weight: bold; font-family: var(--font-ui); font-size: 1rem; cursor: pointer; transition: 0.3s; margin-top: 10px;}
        .auth-form .submit-btn:hover { background: #4a0019; }

        /* INVOICE PRINT */
        #invoicePrintContent { display: none; }
        @media print {
            body * { visibility: hidden; }
            #invoicePrintContent, #invoicePrintContent * { visibility: visible; }
            #invoicePrintContent { display: block; position: absolute; left: 0; top: 0; width: 100%; background: white; padding: 20px;}
            .no-print { display: none !important; }
        }

        /* --- FOOTER --- */
        /* --- FOOTER --- */
        footer { background-color: var(--maroon); color: var(--white); padding: 60px 4% 30px; margin-top: 60px; border-top: 5px solid var(--cream); text-align: left; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1300px; margin: 0 auto; }
        .footer-col h3 { font-family: var(--font-lemon); font-size: 1.1rem; margin-bottom: 20px; color: var(--cream); letter-spacing: 1px; }
        .footer-col p { font-size: 0.95rem; line-height: 1.8; color: #f1f1f1; margin-bottom: 10px; }
        .footer-col a { display: block; color: #f1f1f1; text-decoration: none; font-size: 0.95rem; margin-bottom: 12px; transition: 0.3s; font-weight: 500; cursor: pointer;}
        .footer-col a:hover { color: var(--cream); transform: translateX(5px); }
        .footer-socials { display: flex; justify-content: flex-start; gap: 15px; margin-top: 20px; }
        .footer-socials a { color: var(--maroon); background: var(--white); transition: transform 0.3s, color 0.3s, background 0.3s; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 0; }
        .footer-socials a:hover { transform: translateY(-3px); color: var(--maroon); background: var(--cream); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.9rem; opacity: 0.8; }
        @media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-col a:hover { transform: none; } }
        @keyframes scrollBannerText {
            0% { transform: translateX(100vw); }
            100% { transform: translateX(-100%); }
        }
        /* --- RESPONSIVE FIXES --- */
        @media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); justify-content: center; } }
        @media (max-width: 1024px) {
            .nav-links { display: none; } .menu-btn { display: flex; } .logo-square { width: 90px; height: 90px; top: 15px; left: 15px; border-width: 2px; padding: 5px;} .header-left { width: 90px; }
            .product-page-wrapper, .checkout-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 30px;}
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            
            #homeProductGrid { display: flex; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; justify-content: flex-start; align-items: stretch; }
            #homeProductGrid .product-card { min-width: 260px; flex: 0 0 auto; scroll-snap-align: start; height: auto; }
        }
        @media (max-width: 768px) {
            #headerLogoutBtn span { display: none; }
            .header-actions { gap: 10px; width: auto; }
            header { padding: 0 15px; }
        }
        @media (max-width: 600px) {
            .product-grid { grid-template-columns: 1fr; }
            .form-row, .row-2 { grid-template-columns: 1fr; }
            .hero h1 { font-size: 1.2rem; } .beau-rivage-text { font-size: 2.2rem; }
            .info-hero h1 { font-size: 2rem; } .info-hero .beau-rivage-text { font-size: 2.5rem; }
            
            /* Tighten App Spacing */
            .product-page-wrapper { margin: 20px auto; }
            .product-title-lg { font-size: 1.8rem; }
            .product-price-lg { font-size: 1.8rem; }
            .cart-item-row { flex-direction: column; align-items: flex-start; gap: 15px; padding: 15px;}
            .cart-item-row > div:last-child { width: 100%; justify-content: space-between; flex-direction: row; }
            .cart-remove { margin-right: 0; }
            .info-hero { padding: 60px 15px 30px; }
        }

        /* Remove default browser arrows from number inputs */
        input[type="number"]::-webkit-inner-spin-button,
        input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
        input[type="number"] { -moz-appearance: textfield; }

        /* Star Rating UI */
        .star-display { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; color: #666; margin-bottom: 8px; }
        .stars-outer { display: inline-block; position: relative; font-family: monospace; color: #ddd; font-size: 1.1rem; letter-spacing: 2px;}
        .stars-outer::before { content: '★★★★★'; }
        .stars-inner { position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; color: #eab308; }
        .stars-inner::before { content: '★★★★★'; }
        
        .interactive-stars { display: flex; gap: 5px; font-size: 1.5rem; color: #ddd; cursor: pointer; margin-bottom: 5px; }
        .interactive-stars .star { transition: color 0.2s; }
        .interactive-stars .star:hover, .interactive-stars .star.active { color: #eab308; }