/* 
   GRACE & GEO - PREMIUM DESIGN SYSTEM
   Professional foundation for Home, Shop, and Product pages.
*/

:root {
    --brand-burgundy: #823b49; /* Deep rich velvet */
    --wellness-green: #2c3e34; /* Deep forest */
    --accent-gold: #c5a059;   /* Muted luxury gold */
    --accent-nude: #fdfaf6;   /* Luxury parchment - used for bg */
    --accent-beige: #f5f1ee;  /* Softer beige for cards */
    --text-dark: #1a1a1a;     /* Soft charcoal */
    --text-muted: #6b6b6b;
    --border: rgba(0,0,0,0.06);
    --white: #ffffff;
    --shadow-soft: 0 20px 50px rgba(0,0,0,0.04);
    --font-main: 'Inter', sans-serif;
    --font-luxury: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--accent-nude); /* Pleasant warm background */
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.serif { font-family: var(--font-luxury); font-style: italic; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary { background: var(--brand-burgundy); color: var(--white); }
.btn-primary:hover { background: #000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 13, 30, 0.15); }

.btn-soft { background: var(--white); color: var(--brand-burgundy); border: 1.5px solid var(--border); }
.btn-soft:hover { background: var(--brand-burgundy); color: var(--white); border-color: var(--brand-burgundy); }

.btn-outline { background: transparent; border: 1.5px solid var(--text-dark); color: var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: var(--white); }

.btn-gold { background: var(--accent-gold); color: var(--white); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); }

/* Header */
#header-root { min-height: 120px; transition: opacity 0.6s ease; opacity: 0; }
#header-root.loaded { opacity: 1; }

.topbar { display: flex; flex-direction: column; position: sticky; top: 0; z-index: 1000; background: var(--accent-nude); border-bottom: 1px solid var(--border); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.topbar.scrolled { 
    background: rgba(253, 250, 246, 0.85); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    box-shadow: 0 4px 40px rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.03);
}

.utility { background: #121212; color: #FFF; font-size: 0.65rem; font-weight: 700; padding: 8px 0; text-transform: uppercase; letter-spacing: 2.5px; text-align: center; transition: 0.4s; }
.utility .inner { display: flex; justify-content: space-between; max-width: 1300px; margin: 0 auto; padding: 0 40px; }

.nav { display: flex; align-items: center; padding: 8px 40px; width: 100%; max-width: 1300px; margin: 0 auto; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.brand { display: flex; align-items: center; gap: 15px; min-width: 0; }
.brand-logo { 
    height: 72px; 
    width: auto;
    max-width: 320px;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.03));
    object-fit: contain;
}
.brand-logo:hover { transform: scale(1.04) rotate(-1deg); filter: drop-shadow(0 10px 25px rgba(0,0,0,0.06)); }

.menu-toggle { display: none; }

.nav-links { display: flex; gap: 40px; margin-left: 48px; }
.nav-links a { font-weight: 800; font-size: 0.9rem; text-transform: uppercase; color: var(--text-dark); letter-spacing: 0.5px; }
.nav-links a.active, .nav-links a:hover { color: var(--brand-burgundy); border-bottom: 2px solid var(--brand-burgundy); }

.search-container { display: flex; background: #F4F4F4; border-radius: 999px; padding: 1px 1px 1px 18px; width: 300px; position: relative; border: 1.5px solid var(--border); }
.search-container:focus-within { border-color: var(--brand-burgundy); background: var(--white); box-shadow: 0 0 0 4px rgba(99, 13, 30, 0.05); }
.search-input { background: none; border: none; flex: 1; font-weight: 600; font-size: 0.8rem; padding: 8px 0; }
.search-btn { background: #000; color: #FFF; border: none; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }

/* Cart Icon */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #000;
    color: #FFF;
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-btn:hover { background: var(--brand-burgundy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(130,59,73,0.25); color: #FFF; }
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brand-burgundy);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-nude);
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-badge.hidden { display: none; }
.cart-badge.pop { transform: scale(1.4); }

/* Checkout Page */
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: flex-start; padding: 60px 0; }
.checkout-section { background: var(--white); border-radius: 24px; border: 1px solid var(--border); padding: 36px; margin-bottom: 20px; }
.checkout-section h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; color: var(--text-dark); }
.checkout-section h2 span { color: var(--brand-burgundy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea { padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-family: var(--font-main); font-size: 0.9rem; font-weight: 500; background: var(--accent-nude); transition: 0.25s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--brand-burgundy); background: var(--white); box-shadow: 0 0 0 4px rgba(130,59,73,0.06); }
.form-group textarea { resize: vertical; min-height: 80px; }
.payment-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.payment-option { flex: 1; min-width: 120px; border: 1.5px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: 0.25s; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.85rem; }
.payment-option:hover { border-color: var(--brand-burgundy); }
.payment-option.selected { border-color: var(--brand-burgundy); background: rgba(130,59,73,0.04); color: var(--brand-burgundy); }
.payment-option input[type="radio"] { accent-color: var(--brand-burgundy); }

/* Order Summary Sidebar */
.order-summary { background: var(--white); border-radius: 24px; border: 1px solid var(--border); padding: 36px; position: sticky; top: 100px; }
.order-summary h2 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.cart-line-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; max-height: 340px; overflow-y: auto; }
.cart-line-item { display: flex; gap: 14px; align-items: center; }
.cart-item-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: var(--accent-beige); flex-shrink: 0; }
.cart-item-img-placeholder { width: 60px; height: 60px; border-radius: 10px; background: var(--accent-beige); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.cart-item-details span { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-weight: 800; font-size: 0.9rem; color: var(--brand-burgundy); white-space: nowrap; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 24px; height: 24px; border: 1.5px solid var(--border); border-radius: 6px; background: none; cursor: pointer; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.qty-btn:hover { background: var(--brand-burgundy); color: #FFF; border-color: var(--brand-burgundy); }
.qty-value { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.summary-divider { height: 1px; background: var(--border); margin: 20px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; color: var(--brand-burgundy); margin-top: 6px; }
.summary-row .muted { color: var(--text-muted); }
.cart-empty-state { text-align: center; padding: 40px 0; color: var(--text-muted); }
.cart-empty-state svg { margin: 0 auto 16px; opacity: 0.3; display: block; }
.checkout-cold-note { margin-top: 24px; padding: 16px; background: var(--accent-beige); border-radius: 12px; font-size: 0.8rem; display: flex; gap: 10px; align-items: flex-start; }
.checkout-cold-note-icon { font-size: 1.2rem; flex-shrink: 0; }
.checkout-cold-note-text { color: var(--text-muted); font-weight: 500; }
.checkout-benefits { margin-top: 16px; display: flex; gap: 20px; justify-content: center; padding-top: 16px; border-top: 1px solid var(--border); }
.checkout-benefit { text-align: center; font-size: 0.75rem; color: var(--text-muted); }
.checkout-benefit-icon { font-size: 1.4rem; margin-bottom: 4px; }
.checkout-benefit-text { font-weight: 700; }
.order-success-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; }
.order-success-overlay.visible { display: flex; }
.order-success-box { background: var(--white); border-radius: 32px; padding: 60px 50px; max-width: 500px; width: 90%; text-align: center; }
.order-success-box h2 { font-family: var(--font-luxury); font-size: 2.5rem; color: var(--brand-burgundy); margin: 20px 0 12px; }
.checkout-title { font-size: 2.4rem; font-weight: 900; margin-bottom: 4px; }

@media (max-width: 1024px) {
    .checkout-layout { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
    .order-summary { position: static; }
    .checkout-layout > aside { order: -1; }
}

.catbar { background: var(--white); padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.catbar .inner { display: flex; gap: 12px; overflow-x: auto; max-width: 1300px; margin: 0 auto; padding: 0 40px; scrollbar-width: none; }
.pill { padding: 8px 18px; background: var(--accent-nude); border: 1px solid var(--accent-beige); border-radius: 999px; font-size: 0.75rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.pill:hover { background: var(--wellness-green); color: #FFF; }

/* Global Grid System */
.bg-cream { background-color: #fdfaf7; }
.bg-sage-faint { background-color: #f4f7f4; }
.bg-grey-faint { background-color: #f8f8f8; }
.bg-glass-brand { 
    background-color: #c7627620; /* Made highly transparent to show white behind it, as requested */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.bg-glass-testimonial {
    background-color: #393535e3;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.bg-glass-testimonial .section-title-main h2 {
    color: #FFF;
}
.section-wrap { padding: 40px 0; }
.pt-8 { padding-top: 80px !important; }
.pb-8 { padding-bottom: 80px !important; }
.pt-10 { padding-top: 100px !important; }
.pb-10 { padding-bottom: 100px !important; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.card { 
    background: var(--white); 
    border-radius: 32px; 
    border: 1px solid var(--border); 
    overflow: hidden; 
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-soft);
}
.card:hover { transform: translateY(-12px) scale(1.01); box-shadow: 0 40px 90px rgba(0,0,0,0.08); border-color: var(--accent-gold); }

/* Product Display */
.product-thumb { height: 260px; background: var(--accent-nude); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 25px; }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.price { font-weight: 800; color: var(--brand-burgundy); font-size: 1.1rem; }
.muted { font-size: 0.85rem; color: var(--text-muted); }
.lead { font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); }
.row-actions { display: flex; gap: 10px; margin-top: 15px; }
.row-actions .btn { flex: 1; padding: 10px; font-size: 0.8rem; }

/* Product Detail Pages */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.gallery-main { height: 480px; background: var(--accent-nude); border-radius: 24px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 15px; }
.gallery-strip img { height: 100px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; }
.gallery-strip img:hover { border-color: var(--brand-burgundy); }
.kv-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.kv-row:last-child { border-bottom: none; }
.badge { display: inline-block; }

/* Homepage Specific (Hero, Testimonials, Lifestyle) */
.hero-revamp-final { height: 60vh; min-height: 550px; background: #000; position: relative; overflow: hidden; margin-bottom: 0; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center 52%; /* Focus perfectly on the bottle label */
    filter: brightness(0.75); 
    transform: scale(1.03); 
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-split-container { 
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    max-width: 1400px;
    padding: 0 80px; 
}

.hero-text-side { flex: 1; color: #FFF; padding-right: 40px; }
.hero-text-side h1 { font-size: 5.5rem; margin: 10px 0; text-transform: uppercase; letter-spacing: 2px; line-height: 0.95; font-weight: 900; }
.hero-text-side h1 .serif { display: block; filter: drop-shadow(0 0 25px rgba(0,0,0,0.3)); }

.hero-cards-side { 
    flex: 0 0 400px; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.hero-mini-card { 
    background: rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 22px; 
    border-radius: 24px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    color: #FFF;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-mini-card:hover { 
    background: rgba(255, 255, 255, 0.2); 
    transform: translateX(10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.card-icon { font-size: 2rem; }
.hero-mini-card h4 { font-family: var(--font-luxury); font-size: 1.4rem; margin-bottom: 5px; }
.hero-mini-card p { font-size: 0.8rem; opacity: 0.8; font-weight: 500; }

.section-title-main { text-align: center; margin-bottom: 30px; position: relative; padding-bottom: 15px; }
.section-title-main h2 { text-transform: uppercase; letter-spacing: 4px; font-size: 2.2rem; font-weight: 900; color: var(--brand-burgundy); }
.section-title-main::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 4px; background: var(--wellness-green); }

.steps-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step-card { 
    background: var(--white); 
    border-radius: 28px; 
    padding: 50px 35px; 
    border: 1px solid var(--border); 
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-soft);
}
.step-card:hover { transform: translateY(-12px); box-shadow: 0 40px 80px rgba(0,0,0,0.05); }
.step-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

/* How It Works Layered Images */
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.hiw-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}
.hiw-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    min-height: 90px;
}
.brand-text { color: var(--brand-burgundy); } /* Updated to strict brand color */
.hiw-image-clipper {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    height: 380px;
}
.hiw-image-clipper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.hiw-card:hover .hiw-image-clipper img { transform: scale(1.05); }

/* Clip Paths matching the reference structure */
.clip-1 { clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%); }
.clip-2 { clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%); }
.clip-3 { clip-path: polygon(0 15%, 100% 0, 100% 90%, 0 100%); }

.hiw-content h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; color: var(--text-dark); }
.hiw-content p { font-size: 0.9rem; color: var(--text-dark); }

.lifestyle-minimal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.lifestyle-text-side { padding-left: 20px; }

.lifestyle-cards-stack { display: flex; flex-direction: column; gap: 15px; }
.lifestyle-card-mini { 
    background: var(--white); 
    padding: 24px; 
    border-radius: 24px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    border: 1px solid var(--border); 
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-soft);
}
.lifestyle-card-mini:hover { transform: translateX(12px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.l-icon { font-size: 1.5rem; }
.lifestyle-card-mini h5 { font-family: var(--font-luxury); font-size: 1.2rem; margin-bottom: 2px; }
.lifestyle-card-mini p { font-size: 0.8rem; color: var(--text-muted); }

.news-banner-clean { background: var(--accent-nude); padding: 60px; border-radius: 24px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.news-form-clean { display: flex; gap: 15px; flex: 1; max-width: 500px; }
.news-form-clean input { flex: 1; padding: 15px 25px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; }

.product-highlight { 
    color: var(--brand-burgundy); 
    font-weight: 700; 
}

/* Testimonials Track Layout */
.testimonial-track-container { 
    position: relative; 
    width: 100%; 
    padding: 20px 0 60px;
    overflow: visible; /* We'll hide overflow in the parent section */
}
.testimonial-track { 
    display: flex; 
    gap: 30px; 
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.testimonial-slide-new { 
    flex: 0 0 500px; 
    opacity: 0.3; 
    transition: 0.6s all cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.85);
    filter: blur(2px);
    pointer-events: none;
}
.testimonial-slide-new.active { 
    opacity: 1; 
    transform: scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.testimonial-card { 
    background: #FFF; 
    padding: 50px; 
    border-radius: 24px; 
    border: 1px solid var(--border); 
    text-align: left; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.08); /* Premium Shadow */
}

.testimonial-controls { 
    display: flex; 
    gap: 15px; 
    margin-top: 40px; 
    justify-content: center; 
}
.test-nav { 
    background: var(--white); 
    border: 1px solid var(--border); 
    width: 50px; height: 50px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    font-size: 1.2rem;
    transition: 0.3s;
}
.test-nav:hover { background: var(--brand-burgundy); color: #FFF; border-color: var(--brand-burgundy); }

/* Footer */
#footer-root { transition: opacity 0.8s ease; opacity: 0; }
#footer-root.loaded { opacity: 1; }
.footer { padding: 60px 0; background: #FFF; border-top: 1px solid var(--border); }
.footer-new-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h4 { font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 25px; color: var(--text-dark); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--brand-burgundy); text-decoration: underline; }

.app-buttons { display: flex; flex-direction: column; gap: 4px; }
.social-icons-footer { display: flex; gap: 15px; margin-top: 10px; }
.social-icon { 
    color: var(--text-dark); 
    transition: 0.3s;
    background: #F4F4F4;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.social-icon:hover { background: var(--brand-burgundy); color: #FFF; transform: translateY(-3px); }
.social-icon.whatsapp { background: #000 !important; color: #FFF !important; }
.social-icon.whatsapp svg { fill: #FFF !important; stroke: none; }
.social-icon.whatsapp:hover { background: #121212 !important; }

/* Footer brand-mark flex fix */
.brand { display: flex; align-items: center; gap: 12px; }

/* Shop Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { padding: 8px 16px; background: var(--accent-nude); border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.3s; }
.filter:hover, .filter.active { background: var(--brand-burgundy); color: #FFF; border-color: var(--brand-burgundy); }

/* Typography Helpers (Pages) */
.hero-h1-huge { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--brand-burgundy); }
.hero-h1-large { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-h1-med { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .catbar, .search-container { display: none; }
    .menu-toggle { margin-left: auto; }
    .cart-btn { margin-left: 12px; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1005;
    }
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background: var(--text-dark);
        border-radius: 10px;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--accent-nude);
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 50px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex; /* Override original display:flex default from non-media */
        right: 0;
    }
    .nav-links a { font-size: 1.4rem; }
    
    /* Fixed Hero Responsiveness */
    .hero-revamp-final { height: auto; min-height: auto; padding: 120px 0 60px; }
    .hero-slide { position: static; display: block; }
    .hero-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; filter: brightness(0.65); }
    .hero-split-container { position: relative; flex-direction: column; padding: 0 20px; gap: 30px; text-align: center; justify-content: center; top: auto; left: auto; transform: none; z-index: 2; }
    .hero-text-side { padding-right: 0; }
    .hero-text-side h1 { font-size: 4rem; letter-spacing: 2px; }
    .hero-cards-side { flex: none; width: 100%; flex-direction: row; gap: 12px; }
    .hero-mini-card { flex: 1; flex-direction: column; text-align: center; padding: 15px; }
    .grid-4, .steps-grid-new, .product-layout { grid-template-columns: 1fr 1fr; }
    .lifestyle-minimal-grid { grid-template-columns: 1fr; }
    .testimonial-slide-new { flex: 0 0 400px; }
    .hiw-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-new-layout { grid-template-columns: 1fr 1fr; }
    .hero-text-side div[style*="display: flex"] { justify-content: center; }
}

@media (max-width: 768px) {
    .checkout-title { font-size: 1.8rem !important; }
    .checkout-layout { padding: 24px 0; }
    .checkout-section { padding: 20px; border-radius: 16px; }
    .order-summary { padding: 20px; border-radius: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .payment-methods { flex-direction: column; }
    .payment-option { min-width: unset; }
    .checkout-benefits { flex-wrap: wrap; gap: 12px; justify-content: space-between; }
    .checkout-benefit { flex: 1 1 30%; min-width: 90px; }
    .order-success-box { padding: 36px 24px; border-radius: 24px; }
    .order-success-box h2 { font-size: 2rem; }
    .hero-text-side h1 { font-size: 3rem; letter-spacing: 1px; }
    .hero-cards-side { flex-direction: column; }
    .hero-mini-card { flex-direction: row; text-align: left; }
    .grid-4, .steps-grid-new, .product-layout { grid-template-columns: 1fr; }
    .hiw-grid { grid-template-columns: 1fr; gap: 40px; }
    .utility .inner { flex-direction: column; padding: 0 20px; gap: 8px; line-height: 1.4; }
    .news-banner-clean { flex-direction: column; text-align: center; padding: 40px 20px; gap: 20px; }
    .news-form-clean { width: 100%; flex-direction: column; }
    .news-form-clean button { width: 100%; }
    .footer-new-layout { grid-template-columns: 1fr; gap: 30px; }
    .testimonial-slide-new { flex: 0 0 85vw; }
    .section-wrap { padding: 40px 0; }
    .pt-8 { padding-top: 50px !important; }
    .pb-8 { padding-bottom: 50px !important; }
    .lifestyle-image img { height: 400px; }
    .hiw-image-clipper { height: 250px; }
    .hero-h1-huge { font-size: 3rem; }
    .hero-h1-large { font-size: 2.5rem; }
    .hero-h1-med { font-size: 2.2rem; }
    /* Popup mobile */
    .popup-newsletter { 
        left: 50%; 
        transform: translateX(-50%); 
        width: 90%; 
        bottom: -150%; 
    }
    .popup-newsletter.visible {
        bottom: 20px;
        transform: translateX(-50%);
    }

    /* Header: keep cart/menu clear on narrow widths */
    .nav { padding: 8px 12px; }
    .brand-logo { max-width: 170px; }
    .menu-toggle { width: 30px; height: 18px; }
    .menu-toggle .bar { height: 2.5px; }
    .cart-btn { width: 38px; height: 38px; margin-left: 8px; }
    .cart-badge { min-width: 16px; height: 16px; font-size: 0.55rem; top: -4px; right: -4px; }
}

@media (max-width: 480px) {
    .checkout-title { font-size: 1.5rem !important; }
    .checkout-section { padding: 16px; }
    .order-summary { padding: 16px; }
    .checkout-cold-note { flex-direction: column; }
    .checkout-benefits { justify-content: center; }
    .checkout-benefit { flex: 1 1 100%; }
    .cart-line-item { align-items: flex-start; }
    .cart-item-qty { flex-wrap: wrap; gap: 6px; }
    .utility { font-size: 0.56rem; letter-spacing: 1.4px; }
    .container { padding: 0 20px; }
    .hero-text-side h1 { font-size: 2.3rem; margin: 15px 0; }
    .hero-text-side p { font-size: 1rem !important; }
    .hero-split-container { padding: 0 15px; }
    .lifestyle-content-top h3 { font-size: 2.2rem !important; }
    .nav { padding: 8px 10px; }
    .brand-logo { max-width: 145px; height: auto; }
    .menu-toggle { width: 28px; height: 16px; }
    .cart-btn { width: 34px; height: 34px; margin-left: 6px; }
    .cart-btn svg { width: 15px; height: 15px; }
    .cart-badge { min-width: 15px; height: 15px; font-size: 0.5rem; top: -3px; right: -3px; border-width: 1px; }
    .section-title-main h2 { font-size: 1.8rem; }
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .hero-text-side div[style*="display: flex"] { flex-direction: column; gap: 10px; }
    .hero-text-side div[style*="display: flex"] .btn { width: 100%; }
    .hero-h1-huge { font-size: 2.5rem; }
    .hero-h1-large { font-size: 2.2rem; }
    .hero-h1-med { font-size: 2rem; }
    .filters { justify-content: center; }
}

@media (max-width: 360px) {
    .nav { padding: 8px 8px; }
    .brand-logo { max-width: 126px; }
    .menu-toggle { width: 26px; }
    .cart-btn { width: 32px; height: 32px; }
}

/* Newsletter Pop-up */
.popup-newsletter {
    position: fixed;
    bottom: -150%;
    left: 40px;
    width: 380px; /* Medium size */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 35px; /* Refined padding */
    border-radius: 28px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.12);
    z-index: 2000;
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-newsletter.visible {
    bottom: 40px;
}

.popup-newsletter .close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: 0.3s;
}
.popup-newsletter .close:hover { background: var(--brand-burgundy); color: #FFF; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 54px;
    height: 54px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1500;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--brand-burgundy);
    color: #FFF;
    border-color: var(--brand-burgundy);
    transform: translateY(-5px);
}
