/* =========================================
   0. GLOBAL DESIGN SYSTEM & VARIABLES
========================================= */
:root {
    /* 🔲 Structure & Radius (Shapes) */
    --card-radius: 8px;     
    --btn-radius: 4px;      
    --icon-radius: 6px;     

    /* Brand Colors (Theme) */
    --primary-gold: #d4a017;
    --wa-green: #25D366;
    
    /* Background Colors */
    --bg-body: #faf9f6;         /* Main website base color */
    --bg-section: #FDFBF7;      /* Subtle off-white for Promise & Products */
    --bg-dark: #0a0a0a;         /* Footer & Dark mode elements */
    
    /* Typography Colors */
    --text-main: #111111;       /* Headings & bold text */
    --text-muted: #555555;      /* Paragraphs & descriptions */
    --text-sub: #777777;        /* Subtitles & light borders */
    --text-light: #ffffff;      /* Text on dark backgrounds */
    
    /* Global Spacing & Layout */
    --section-padding-top: clamp(60px, 8vw, 70px);
    --section-padding-bottom: clamp(40px, 5vw, 50px);
}

/* =========================================
   1. BASE RESET & GLOBAL STYLES
========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-body); 
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img { -webkit-user-drag: none; pointer-events: none; }
.logo img, .product-img { pointer-events: auto; }

h1, h2, h3, h4 { 
    font-weight: 700; 
    letter-spacing: -0.02em; 
    color: var(--text-main); 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* STRICT LAYOUT FLOW: Prevents any section from overlapping another */
section { 
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    clear: both;
    overflow: hidden;      
    padding-top: var(--section-padding-top) !important; 
    padding-bottom: var(--section-padding-bottom) !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    text-align: center;
    scroll-margin-top: 60px; 
}

.section-title { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-main); }
.section-subtitle { font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px auto !important; color: var(--text-muted); line-height: 1.6; font-weight: 500; }

/* Specific override for mobile if needed */
@media (max-width: 768px) {
    section { scroll-margin-top: 50px; }
}

/* =========================================
   1.4 ANNOUNCEMENT BAR
========================================= */
.announcement-bar {
    width: 100%;
    background-color: var(--text-main);
    color: var(--primary-gold);
    height: 28px; 
    display: flex;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: -28px; 
    z-index: 1001;
    transition: top 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%;
}

body.page-loaded .announcement-bar {
    top: 0;
}

.announcement-track {
    display: flex;
    white-space: nowrap;
    will-change: transform; 
    opacity: 0;
    transition: opacity 0.5s ease;
}

.marquee-group {
    display: flex;
    align-items: center;
}

.announcement-item {
    padding: 0 40px;
    font-size: 11px; 
    line-height: 28px; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    color: var(--primary-gold);
    white-space: nowrap;
}

body.page-loaded #main-header { 
    top: 28px; 
    margin-top: -1px; 
}

/* =========================================
   1.5 PAGE PRELOADER
========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--bg-body);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader-logo {
    height: 55px;
    filter: none;
    animation: pulseLogo 1.5s infinite ease-in-out alternate;
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); opacity: 0.6; }
    100% { transform: scale(1.05); opacity: 1; }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   2. HEADER, NAVBAR & LOGO
========================================= */   
#main-header {
    position: fixed;
    top: 0; left: 0; 
    width: 100%; 
    z-index: 1000;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#main-header.scrolled {
    background: rgba(253, 251, 247, 0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); 
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 16px 5%; 
    transition: all 0.4s ease;
}

#main-header.scrolled .navbar {
    padding: 12px 5%;
}

.logo { 
    display: flex; 
    align-items: center; 
}

.logo img { 
    height: 45px; 
    transform: translateY(2px); 
    transition: all 0.4s ease; 
}

#main-header.scrolled .logo img { 
    height: 40px; 
    transform: translateY(1px); 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 35px; 
}

.nav-link {
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 1rem;
    position: relative; 
    padding-bottom: 5px;
}

.nav-link::after {
    content: ''; 
    position: absolute; 
    width: 0; height: 2px;
    bottom: 0; left: 50%; 
    background-color: var(--primary-gold);
    transition: all 0.3s ease; 
    transform: translateX(-50%);
}

.nav-link:hover::after { width: 100%; }

/* =========================================
   2.5 NAV ACTIONS (Search & Cart)
========================================= */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-btn:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 0;
    opacity: 0;
    border: none;
    border-bottom: 1px solid var(--text-main);
    background: transparent;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.4s ease, padding 0.4s ease;
    outline: none;
}

.search-wrapper.active .search-input {
    width: 180px;
    opacity: 1;
    padding: 5px 10px;
    margin-right: 10px;
}

.search-input::placeholder {
    color: #888888;
}

.search-results {
    position: absolute;
    top: 130%;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--card-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 2000;
}

.search-wrapper.active .search-results.has-results {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.search-result-item:hover { background: var(--bg-body); }
.search-result-img { width: 50px; height: 50px; border-radius: var(--btn-radius); object-fit: cover; margin-right: 15px; }
.search-result-info h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--text-main); }
.search-result-info p { font-size: 0.8rem; color: var(--text-sub); }
.close-search-btn { display: none; } 

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--primary-gold);
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 1001;
}

.hamburger span { 
    width: 22px; 
    height: 2px; 
    background-color: var(--text-main); 
    border-radius: var(--btn-radius);
    transition: 0.3s; 
}

/* =========================================
   3. MOBILE SIDE PANEL (Drawer Menu)
========================================= */
.mobile-sidebar {
    position: fixed; top: 0; left: -100%; width: 300px; max-width: 80%; 
    height: 100vh; /* Fallback for very old browsers */
    height: 100dvh; /* Dynamic height adapts to Safari bottom bar */
    background-color: var(--bg-section); z-index: 2000; box-shadow: 10px 0 30px rgba(0,0,0,0.1); 
    display: flex; flex-direction: column; transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
    padding-bottom: env(safe-area-inset-bottom); /* iOS Safe Area */
}

.mobile-sidebar.open { left: 0; } 

.sidebar-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(4px); 
    z-index: 1999;
    opacity: 0; visibility: hidden; 
    transition: all 0.4s ease;
}

.sidebar-overlay.open { 
    opacity: 1; 
    visibility: visible; 
}

.sidebar-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 25px 30px; 
    border-bottom: 1px solid rgba(0,0,0,0.04); 
}

.sidebar-logo { height: 40px; }

.close-btn { 
    background: none; 
    border: none; 
    color: var(--text-main); 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.close-btn:hover {
    color: var(--primary-gold);
    transform: rotate(90deg);
}

.sidebar-links {
    list-style: none; 
    padding: 30px; 
    display: flex; 
    flex-direction: column; 
    gap: 24px; 
    flex-grow: 1;
}

.side-link { 
    text-decoration: none; 
    font-size: 1.1rem; 
    color: var(--text-main); 
    font-weight: 500; 
    transition: color 0.3s ease;
}

.side-link:hover { color: var(--primary-gold); }

.sidebar-footer { 
    padding: 25px 24px; 
    border-top: 1px solid rgba(0,0,0,0.04); 
    background-color: var(--bg-body); 
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-contact-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333333;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-contact-item:hover { color: var(--primary-gold); }
.sidebar-contact-item svg { color: var(--primary-gold); flex-shrink: 0; }

.sidebar-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    background-color: var(--text-main);
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--btn-radius);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.sidebar-wa-btn:hover {
    background-color: var(--wa-green); 
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
    transform: translateY(-1px);
}

.sidebar-social-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.sidebar-social-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    font-weight: 600;
}

.sidebar-social-icons {
    display: flex;
    gap: 10px;
}

.sidebar-social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--icon-radius);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.sidebar-social-icon-btn:hover {
    color: var(--text-light);
    background-color: var(--text-main);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* =========================================
   4. HERO SLIDER SECTION
========================================= */
.hero-slider-section { 
    position: relative; 
    overflow: hidden; 
    margin-top: calc(28px + 77px); 
    height: clamp(400px, 65vh, 700px); 
    padding: 0 !important;
    background-color: var(--text-main); 
}

.slider-container { 
    display: flex; 
    width: 100%; 
    height: 100%; 
}

.slide {
    min-width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 5%;
    position: relative;
    overflow: hidden; 
}

.slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: kenBurns 15s infinite alternate linear;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.slide-text-box {
    position: relative;
    z-index: 2;
    background: rgba(253, 251, 247, 0.88); 
    padding: clamp(25px, 4vw, 30px) clamp(20px, 5vw, 40px); 
    border-radius: var(--card-radius);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    max-width: 750px; 
    width: 90%;
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 0;
}

body.page-loaded .slide-text-box {
    animation: fadeUpBox 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes fadeUpBox {
    to { opacity: 1; transform: translateY(0); }
}

.slide h1 { 
    font-size: clamp(1.1rem, 3.5vw, 2.2rem); 
    letter-spacing: 0; 
    color: var(--text-main); 
    margin-bottom: 6px; 
    line-height: 1.15; 
    white-space: nowrap; 
}

.slide p { 
    font-size: clamp(0.85rem, 1.8vw, 0.95rem); 
    color: var(--text-muted); 
    font-weight: 500; 
    line-height: 1.35; 
    margin-bottom: 18px; 
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px; 
    padding: 8px 24px; 
    background: var(--text-main); 
    color: var(--text-light) !important; 
    text-decoration: none !important; 
    border: none !important; 
    border-radius: var(--btn-radius); 
    font-size: 0.75rem; 
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-btn::after {
    content: '→';
    font-size: 1rem;
    line-height: 1; 
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary-gold);
    color: var(--text-light) !important;
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.2);
}

.hero-btn:hover::after { transform: translateX(4px); }

.slider-dots { 
    position: absolute; 
    bottom: 25px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 8px; 
    z-index: 10;
}

.dot { 
    width: 8px; 
    height: 8px; 
    background-color: rgba(255, 255, 255, 0.4); 
    border-radius: 20px; 
    cursor: pointer; 
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.3, 1); 
}

.dot.active { 
    width: 25px; 
    background-color: var(--text-light); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* =========================================
   5. OUR PROMISE SECTION
========================================= */
#promise {
    position: relative;
    background-color: var(--bg-section);
    padding: 80px 5% !important;
    z-index: 1;
    overflow: hidden;
}

/* 🟢 GLOBAL BACKGROUND PATTERN (For Promise & How to Order) */
.section-bg-pattern {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    /* Laptop opacity and size applied universally */
    background-image: radial-gradient(rgba(212, 160, 23, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.promise-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; 
}

.promise-card {
    position: relative;
    background: var(--text-light);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--card-radius);
    padding: 35px 30px;
    overflow: hidden; 
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.promise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 160, 23, 0.4);
}

.promise-watermark-icon {
    position: absolute;
    bottom: -20px; 
    right: -20px;  
    opacity: 0.05; 
    color: var(--primary-gold);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.promise-watermark-icon svg {
    width: 160px !important;
    height: 160px !important;
}

.promise-card:hover .promise-watermark-icon {
    transform: scale(1.15) rotate(-5deg); 
    opacity: 0.08;
}

.promise-content-box {
    position: relative;
    z-index: 2; 
}

.promise-headline {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.promise-subheadline {
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.promise-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   6. PRODUCTS SECTION
========================================= */
#products { 
    background-color: var(--bg-section); 
    padding: 70px 3%; 
}

.product-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    max-width: 1250px; 
    margin: 0 auto; 
}

.product-card {
    background: var(--text-light); 
    border-radius: var(--card-radius);
    border: 1px solid rgba(212, 160, 23, 0.15); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.08); 
}

.product-tag {
    position: absolute;
    top: 0; left: 0;
    background-color: var(--primary-gold);
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    z-index: 2;
    border-bottom-right-radius: 8px; 
}

.product-tag.sold-out { background-color: var(--text-muted); }

.product-img-box { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    overflow: hidden; 
    background-color: #f9f9f9;
    position: relative;
}

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

.product-card:hover .product-img { transform: scale(1.05); }

.product-content { 
    padding: 12px 14px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1;
    align-items: flex-start;
    text-align: left; 
}

.product-title-row {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    width: 100%;
    margin-bottom: 2px;
    gap: 10px; 
}

.product-title { 
    font-size: 0.85rem; 
    color: #222222; 
    font-weight: 600; 
    line-height: 1.3;
    text-align: left;
    flex: 1 1 auto; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price { 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--text-main); 
    flex: 0 0 auto; 
    min-width: 60px; 
    text-align: right; 
}

.product-subtitle {
    font-size: 0.65rem; 
    color: var(--text-sub);
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.4;
    display: block;
    width: 100%;
    text-align: left;
}

.variant-dropdown-wrapper {
    position: relative;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.06); 
    border-radius: var(--btn-radius);
    background: var(--bg-body); 
    width: 100%; 
}

.variant-select {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: #333333;
    background-color: transparent;
    border: none;
    appearance: none; 
    outline: none;
    cursor: pointer;
    font-weight: 400;
}

.variant-dropdown-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--text-main); 
    color: var(--text-light);
    border: none;
    padding: 10px 0; 
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--btn-radius); 
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.add-to-cart-btn:hover { background-color: var(--primary-gold); }

.coming-soon-btn {
    width: 100%;
    padding: 10px 0;
    border: 1px dashed #aaaaaa; 
    background: transparent;
    color: #444444; 
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    border-radius: var(--btn-radius);
    margin-top: auto;
    cursor: default;
}

.sold-out-card .product-img { filter: grayscale(100%); opacity: 0.7; }
.add-to-cart-btn:disabled {
    background: #eeeeee;
    color: #888888;
    cursor: not-allowed;
}

/* =========================================
   7. HOW TO ORDER
========================================= */
#how-to-order { 
    background-color: var(--bg-section); 
    padding: 80px 5%; 
    text-align: center; 
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto;
}

.step-box {
    background: var(--text-light); 
    border-radius: var(--card-radius);
    border: 1px solid rgba(212, 160, 23, 0.15);
    padding: 30px 25px; 
    position: relative; 
    text-align: left; 
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.step-box:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 160, 23, 0.4);
}

.step-bg-clip {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.step-watermark-icon {
    position: absolute;
    bottom: -20px; 
    right: -20px;  
    opacity: 0.05; 
    color: var(--primary-gold);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.step-watermark-icon svg {
    width: 160px !important; 
    height: 160px !important;
}

.step-box:hover .step-watermark-icon {
    transform: scale(1.1) rotate(-5deg); 
    opacity: 0.08;
}

.step-number {
    position: absolute;
    top: -14px; 
    left: 20px;
    background-color: var(--text-light); 
    border: 1px solid rgba(212, 160, 23, 0.15); 
    border-radius: var(--icon-radius);
    color: var(--primary-gold);
    font-size: 1.15rem; 
    font-weight: 700;
    padding: 2px 10px; 
    letter-spacing: 0.05em;
    z-index: 5;
    transition: all 0.4s ease; 
}

.step-box:hover .step-number {
    border-color: rgba(212, 160, 23, 0.4); 
    background-color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-content-box {
    position: relative;
    z-index: 2;
}

.step-headline { 
    font-size: 1.1rem; 
    color: var(--text-main); 
    margin-bottom: 8px; 
    font-weight: 700;
}

.step-text { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    line-height: 1.5; 
}

/* =========================================
   8. FOOTER (About & Contact)
========================================= */
#about-contact {
    position: relative; 
    background-color: var(--bg-dark); 
    color: var(--text-light); 
    padding: 80px 5% 0 5%; 
    overflow: hidden;
}

.mithila-art-bg {
    position: absolute; 
    bottom: -40px; 
    right: -40px; 
    width: 350px; 
    height: 350px;
    opacity: 0.05; 
    color: var(--primary-gold);
    pointer-events: none;
    z-index: 1;
    transition: transform 1s ease;
}

#about-contact:hover .mithila-art-bg {
    transform: rotate(5deg) scale(1.05);
}

.footer-container {
    position: relative; 
    z-index: 2; 
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 70px; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding-bottom: 60px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
}

.footer-logo { 
    max-width: 130px; 
    margin-bottom: 25px; 
    filter: brightness(0) invert(1); 
}

.footer-title { 
    font-size: 1.35rem; 
    color: var(--text-light); 
    margin-bottom: 15px; 
    font-weight: 600;
}

.footer-desc { 
    font-size: 0.9rem; 
    color: #999999; 
    line-height: 1.8; 
}

.contact-title { 
    font-size: 1.35rem; 
    color: var(--primary-gold);
    margin-bottom: 12px; 
    font-weight: 600;
}

.contact-desc { 
    font-size: 0.9rem; 
    color: #999999; 
    line-height: 1.6; 
    margin-bottom: 30px; 
}

.footer-links-wrapper {
    display: flex;
    flex-direction: row; 
    justify-content: flex-start;
    gap: 60px; 
}

.link-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666666;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-methods { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.social-methods {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dddddd;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-social-link svg {
    color: var(--primary-gold); 
    transition: all 0.3s ease;
}

.footer-social-link:hover { color: var(--text-light); transform: translateX(4px); }
.social-methods .footer-social-link:hover { transform: translateY(-3px); } 

.footer-social-link.phone-link:hover svg { color: #007AFF; } 
.footer-social-link.wa-link:hover svg { color: var(--wa-green); }    
.footer-social-link.email-link:hover svg { color: #EA4335; } 
.footer-social-link.ig-link:hover svg { color: #E1306C; }    
.footer-social-link.fb-link:hover svg { color: #1877F2; }    

.footer-bottom {
    position: relative; 
    z-index: 2; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 25px 0; 
    font-size: 0.8rem; 
    color: #666666;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-credits svg { color: var(--primary-gold); }

/* =========================================
   9.5 SHOPPING CART UI
========================================= */
.cart-sidebar {
    position: fixed; top: 0; right: -100%; width: 400px; max-width: 90%; 
    height: 100vh; /* Fallback */
    height: 100dvh; /* Adapts to bottom UI bars */
    background-color: var(--bg-section); z-index: 3000; box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
    display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
}
.cart-sidebar.open { right: 0; }

.cart-footer { 
    padding: 25px 25px calc(25px + env(safe-area-inset-bottom)) 25px; 
    border-top: 1px solid rgba(0,0,0,0.06); 
    background-color: var(--text-light); 
}

.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 2999; opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.cart-header h3 { font-size: 1.2rem; color: var(--text-main); }

/* Cart Items Area */
.cart-items-container { flex-grow: 1; overflow-y: auto; padding: 20px 25px; display: flex; flex-direction: column; gap: 20px; }
.empty-cart-msg { text-align: center; color: #888888; font-size: 0.9rem; margin-top: 50px; }

/* Individual Cart Item */
.cart-item { display: flex; gap: 15px; align-items: center; background: var(--text-light); padding: 12px; border-radius: var(--card-radius); border: 1px solid rgba(0,0,0,0.05); }
.cart-item-img { width: 65px; height: 65px; border-radius: var(--btn-radius); object-fit: cover; }
.cart-item-details { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item-title { font-size: 0.85rem; font-weight: 600; color: var(--text-main); line-height: 1.2; }
.cart-item-variant { font-size: 0.7rem; color: var(--text-sub); }
.cart-item-price { font-size: 0.85rem; font-weight: 700; color: var(--primary-gold); }

/* Quantity Controls (+ / -) */
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.quantity-control { display: flex; align-items: center; background: #f5f5f5; border-radius: var(--btn-radius); overflow: hidden; }
.qty-btn { background: none; border: none; padding: 4px 10px; cursor: pointer; font-size: 1rem; color: #333333; transition: background 0.2s; }
.qty-btn:hover { background: #e0e0e0; }
.qty-value { font-size: 0.8rem; font-weight: 600; padding: 0 10px; min-width: 25px; text-align: center; }

/* Remove Item Button */
.remove-item-btn { background: none; border: none; color: #aaaaaa; cursor: pointer; transition: color 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 5px; }
.remove-item-btn:hover { color: #EA4335; transform: scale(1.1); }

/* Cart Footer */
.cart-footer { padding: 25px; border-top: 1px solid rgba(0,0,0,0.06); background-color: var(--text-light); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 700; color: var(--text-main); margin-bottom: 15px; }
.cart-total-price { color: var(--primary-gold); font-size: 1.3rem; }

.checkout-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 45px;
    background-color: var(--text-main); /* Matches global dark theme */
    color: var(--text-light); text-decoration: none; font-size: 0.85rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border: none;
    border-radius: var(--btn-radius); transition: all 0.4s ease; cursor: pointer;
}

.checkout-btn:hover { 
    background-color: var(--wa-green); /* Elegant shift to authentic WhatsApp green */
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25); 
    transform: translateY(-2px); 
}

/* =========================================
   10. GLOBAL ALERTS & NOTIFICATIONS
========================================= */
.global-notifications-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none; 
}

.premium-toast {
    background-color: var(--text-main); 
    color: var(--bg-body); 
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--primary-gold);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
    pointer-events: auto; 
    text-align: center;
    white-space: nowrap;
}

.premium-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   10.5 CUSTOM MODAL (Cart Clear Popup)
========================================= */
.custom-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.custom-modal-overlay.show { opacity: 1; visibility: visible; }

.custom-modal {
    background: var(--text-light); padding: 35px 30px; 
    border-radius: var(--card-radius); /* Matches global design */
    max-width: 380px; width: 90%; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.custom-modal-overlay.show .custom-modal { transform: translateY(0); }

.modal-icon { margin-bottom: 15px; display: flex; justify-content: center; }
.modal-title { font-size: 1.25rem; color: var(--text-main); margin-bottom: 10px; }
.modal-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 25px; line-height: 1.5; }

.modal-actions { display: flex; gap: 12px; }
.modal-btn-no, .modal-btn-yes {
    flex: 1; 
    padding: 12px 5px; /* Added 5px side padding to prevent edge touching */
    font-size: 0.7rem; /* Reduced text size to 70-80% for a crisp look */
    font-weight: 600;
    border-radius: var(--btn-radius); 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
}

/* Secondary Action Button */
.modal-btn-no { background: transparent; border: 1px solid #dddddd; color: var(--text-muted); }
.modal-btn-no:hover { background: #f5f5f5; color: var(--text-main); border-color: #aaaaaa; }

/* Primary Action Button */
.modal-btn-yes { background: var(--text-main); border: 1px solid var(--text-main); color: var(--text-light); }
.modal-btn-yes:hover { background: var(--primary-gold); border-color: var(--primary-gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 160, 23, 0.2); }

/* =========================================
   11. UNIFIED MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 768px) {
    /* Navbar Layout */
    .navbar { 
        display: grid; 
        grid-template-columns: 1fr auto 1fr; 
        align-items: center;
        padding: 14px 5%; 
    }
    #main-header.scrolled .navbar { padding: 10px 5%; }
    
    .logo { justify-self: center; } /* 🟢 FIXED: Selector missing dot resolved */
    .logo img { height: 40px; } 
    #main-header.scrolled .logo img { height: 35px; }
    
    .nav-links { display: none; } 
    .hamburger { display: flex; justify-self: flex-start; }
    .nav-actions { justify-self: flex-end; margin-left: 0; margin-right: 0; }
    
    /* Search Full-Screen Overrides */
    .search-input { transition: none !important; }
    body.mobile-search-active { overflow: hidden; }
    body.mobile-search-active .search-wrapper { position: static; }
    
    body.mobile-search-active .search-wrapper::before {
        content: ''; position: fixed; top: 0; left: 0;
        width: 100vw; height: 100vh; background: rgba(253, 251, 247, 0.98); 
        backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        z-index: 9990; opacity: 0; animation: fadeOverlay 0.3s ease-out forwards;
    }
    
    body.mobile-search-active .search-input {
        position: fixed; top: 90px; left: 5%; width: 90% !important;
        background: transparent; border: none; border-bottom: 2px solid var(--text-main);
        border-radius: var(--card-radius); padding: 15px 0; font-size: 1.5rem; color: var(--text-main);
        z-index: 9999; opacity: 0; transform: translateY(20px);
        animation: slideUpPremium 0.4s 0.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    }
    body.mobile-search-active .search-input:focus { border-bottom-color: var(--primary-gold); }
    
    body.mobile-search-active .search-results {
        position: fixed; top: 160px; left: 5%; width: 90%;
        max-height: calc(100vh - 180px); overflow-y: auto; z-index: 9999;
        background: transparent; border: none; box-shadow: none;
        opacity: 0; visibility: hidden; transform: translateY(20px);
        animation: slideUpPremium 0.4s 0.2s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    }
    
    .close-search-btn { font-size: 1.5rem; background: none; border: none; color: var(--text-main); cursor: pointer; z-index: 10000; display: none; opacity: 0; }
    body.mobile-search-active .close-search-btn { display: block; position: fixed; top: 25px; right: 25px; animation: fadeOverlay 0.3s 0.2s ease-out forwards; }
    body.mobile-search-active #search-btn { opacity: 0; pointer-events: none; }
    
    @keyframes fadeOverlay { to { opacity: 1; } }
    @keyframes slideUpPremium { to { opacity: 1; visibility: visible; transform: translateY(0); } }
    
    /* Announcement Bar Mobile */
    .announcement-bar { height: 26px; top: -26px; }
    body.page-loaded #main-header { top: 26px; margin-top: -1px; }
    .announcement-item { padding: 0 30px; font-size: 10px; line-height: 26px; }
    
    /* Global Typography & General Layout */
    .section-title { font-size: 2rem !important; }
    .section-subtitle { font-size: 0.95rem !important; margin-bottom: 30px !important; }
    
    /* Hero Slider Mobile */
    .hero-slider-section { 
        margin-top: calc(26px + 68px); /* 🟢 FIXED: Perfect sync for mobile header bars */
        height: calc(85vh - 94px); 
    }
    .slide-text-box { padding: 20px 25px; width: 90%; }
    .slide h1 { font-size: 1.15rem; margin-bottom: 12px; white-space: normal; }
    .slide p { font-size: 1rem; }
    
    /* Our Promise Mobile */
    .promise-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .promise-card { padding: 30px 20px; }
    .promise-watermark-icon { bottom: -15px; right: -15px; }
    .promise-watermark-icon svg { width: 130px !important; height: 130px !important; }
    
    /* Products Section Mobile */
    #products { padding: 40px 10px; } 
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .product-content { padding: 10px 8px; }
    .product-tag { font-size: 0.55rem; padding: 4px 8px; }
    .product-title-row { gap: 6px; }
    .product-title { font-size: 0.75rem; }
    .product-price { font-size: 0.8rem; min-width: 55px; }
    .product-subtitle { font-size: 0.6rem; margin-bottom: 8px; }
    .variant-select { font-size: 0.7rem; padding: 5px 8px; }
    .variant-dropdown-wrapper { margin-bottom: 10px; }
    .add-to-cart-btn { padding: 8px 0; font-size: 0.7rem; text-align: center; width: 100%;}
    .coming-soon-btn { padding: 8px 0; font-size: 0.65rem; text-align: center;}
    
    /* How to Order Mobile */
    #how-to-order { padding: 60px 5%; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .step-box { padding: 25px 20px; }
    .step-number { font-size: 1rem; top: -12px; left: 15px; padding: 2px 10px; }
    .step-headline { font-size: 1rem; margin-bottom: 6px; }
    .step-text { font-size: 0.85rem; }
    .step-watermark-icon { bottom: -15px; right: -15px; }
    .step-watermark-icon svg { width: 130px !important; height: 130px !important; }
    
    /* About & Contact Footer Mobile */
    .footer-container { grid-template-columns: 1fr; gap: 50px; text-align: center; padding-bottom: 40px; }
    .footer-links-wrapper { flex-direction: column; align-items: center; gap: 40px; }
    .contact-methods { align-items: center; }
    .social-methods { justify-content: center; }
    .footer-title, .contact-title { font-size: 1.25rem; }
    .footer-desc, .contact-desc { font-size: 0.85rem; }
    .mithila-art-bg { width: 220px; height: 220px; bottom: 0; right: -20px; opacity: 0.04; }
    .footer-bottom { flex-direction: column-reverse; gap: 12px; text-align: center; padding: 20px 0; font-size: 0.75rem; }
    
    /* Global Toast Mobile */
    .global-notifications-container { bottom: 25px; width: 90%; }
    .premium-toast { width: 100%; padding: 14px 20px; font-size: 0.85rem; white-space: normal; }
}
