/* --- BRAND DESIGN SYSTEM & RESET --- */
:root {
    --primary-dark: #123B23;
    --primary-light: #EBF1ED;
    --accent-gold: #D4AF37;
    --text-dark: #2A362E;
    --text-muted: #5A6B60;
    --bg-cream: #FAF9F5;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

/* --- GLOBAL REUSABLE STYLES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 12px 28px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #1a4f31;
}

.btn-underline {
    background: none;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-dark);
    padding-bottom: 2px;
}
/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.announcement-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-ticker-item { display: none; }

/* --- HEADER NAVIGATION --- */
header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(18, 59, 35, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo { text-align: center; }
.nav-logo h1 { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: 1px; color: var(--primary-dark); line-height: 1; }
.nav-logo p { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); margin-top: 4px; }

.desktop-nav { display: none; }
.desktop-nav ul { display: flex; list-style: none; gap: 28px; }
.desktop-nav a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; color: var(--text-dark); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-icon-btn { background: none; font-size: 1.2rem; color: var(--primary-dark); position: relative; }

.mobile-menu-toggle { background: none; display: flex; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background-color: var(--primary-dark); }

/* Mobile Slide-Out Drawer Navigation */
.mobile-drawer {
    position: fixed;
    top: 0; left: -100%; width: 80%; max-width: 320px; height: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    padding: 40px 24px;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-drawer.open { left: 0; }
.drawer-close { align-self: flex-end; background: none; font-size: 1.5rem; color: var(--primary-dark); }
.mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mobile-drawer a { font-size: 1.1rem; font-family: var(--font-serif); color: var(--primary-dark); }

.drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-overlay.visible { opacity: 1; pointer-events: auto; }

/* --- HERO VISUAL SHOWCASE GRID COUPLING --- */
.hero {
    background-color: #E6EAE6;
    min-height: auto;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-content {
    width: 100%;
    max-width: 580px;
    z-index: 5;
    text-align: center;
}

.hero-title { font-family: var(--font-serif); font-size: 2.6rem; color: var(--primary-dark); line-height: 1.2; margin-bottom: 16px; font-weight: 400; }
.hero-title em { font-family: var(--font-serif); font-style: italic; }
.hero-text { color: var(--text-dark); font-weight: 500; margin-bottom: 28px; font-size: 1rem; line-height: 1.55; }
.hero-actions { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px; }

.hero-visual-showcase {
    width: 100%;
    max-width: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

.hero-render-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 12px 32px rgba(18, 59, 35, 0.12));
}
/* --- BRAND DIFFERENCE & INGREDIENTS LAYOUT WITH DIVISION LINES --- */
.difference-section { padding: 60px 0; background-color: var(--white); text-align: center; }
.difference-intro { max-width: 600px; margin: 0 auto 48px auto; }
.difference-intro p { margin-top: 16px; color: var(--text-muted); font-size: 0.95rem; }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
.pillar-card { padding: 24px; background-color: var(--bg-cream); border-radius: 4px; }
.pillar-card h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 12px; color: var(--primary-dark); }

.ingredients-container { max-width: var(--max-width); margin: 40px auto 0 auto; padding: 0; text-align: center; }
.ingredients-section-header { margin-bottom: 40px; }
.ingredient-horizontal-grid { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: center; }
.ingredient-grid-card { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 280px; width: 100%; padding-bottom: 20px; border-bottom: 1px solid rgba(18, 59, 35, 0.08); }
.ingredient-horizontal-grid .ingredient-grid-card:last-child { border-bottom: none; padding-bottom: 0; }

/* --- BOTANICAL INGREDIENT CROP CIRCLES STYLING --- */
.ingredient-image-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 59, 35, 0.08);
    background-color: var(--primary-light);
}
.ingredient-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ingredient-grid-card h4 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 6px; font-weight: 500; }
.ingredient-grid-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }

/* --- TRUST BADGES GRID SYSTEM --- */
.trust-badges { background-color: var(--white); border-bottom: 1px solid rgba(18, 59, 35, 0.05); padding: 30px 0; }
.badges-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; text-align: center; }
.badges-grid .badge-item:last-child { grid-column: span 2; }
.badge-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; }
.badge-emoji { font-size: 1.6rem; line-height: 1; }
.badge-text { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--primary-dark); line-height: 1.3; }

/* --- UNIVERSAL REUSABLE CAROUSEL SYSTEM --- */
.carousel-container, .testimonial-carousel-container { position: relative; max-width: 100%; margin: 0 auto; display: flex; align-items: center; }
.carousel-track-container, .testimonial-track-container { overflow: hidden; width: 100%; padding: 10px 0; }
.carousel-track, .testimonial-track { display: flex; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); color: var(--primary-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.08); width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center; z-index: 10; }
.carousel-arrow:hover { background-color: var(--primary-dark); color: var(--white); }
.arrow-left { left: -15px; } .arrow-right { right: -15px; }

/* --- BESTSELLERS CAROUSEL & GLASS EFFECT --- */
.bestsellers { padding: 60px 0; }
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.carousel-track .product-card { flex: 0 0 85%; margin-right: 16px; background-color: var(--white); padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }

.product-image-container { background-color: var(--bg-cream); position: relative; padding-bottom: 110%; margin-bottom: 12px; overflow: hidden; }
.product-image-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }

/* Frosted glass sweep overlay layer style configurations */
.product-image-container::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none; z-index: 2;
}

/* Hover transformations */
.product-card:hover .product-image-container::after { left: 100%; }
.product-card:hover .product-image-container img { transform: scale(1.04); }

.product-info { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.product-info a { color: var(--text-dark); text-decoration: none; width: 100%; }
.product-info a:hover { color: var(--primary-dark); opacity: 1; }
.product-title { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { color: var(--accent-gold); font-size: 0.75rem; }
.product-rating span { color: var(--text-muted); font-size: 0.7rem; margin-left: 2px; }
.product-price { font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); margin-bottom: 8px; }
.product-info .btn-primary { width: 100%; padding: 10px; font-size: 0.8rem; }
.view-all-container { text-align: center; margin-top: 32px; }
/* --- BANNER BREAK & STORY --- */
.escape-banner { background: linear-gradient(rgba(18,59,35,0.4), rgba(18,59,35,0.4)), #2a4d37; color: var(--white); padding: 80px 24px; text-align: center; }
.escape-banner h2 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400; margin-bottom: 12px; }
.escape-banner p { max-width: 500px; margin: 0 auto; font-size: 0.95rem; opacity: 0.9; }
.story-section { padding: 60px 0; background-color: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.story-img-placeholder { width: 100%; height: 380px; overflow: hidden; border-radius: 4px; background-color: var(--primary-light); }
.story-content h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 16px; line-height: 1.3; }
.story-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* --- TESTIMONIAL DISPLAY SPECIFICS --- */
.testimonials { padding: 60px 0; background-color: var(--white); border-top: 1px solid rgba(18, 59, 35, 0.06); text-align: center; }
.testimonial-carousel-container { max-width: 750px; }
.testimonial-track .testimonial-slide { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 40px; }
.stars { color: var(--accent-gold); font-size: 0.9rem; }
.testimonial-text { font-family: var(--font-serif); font-size: 1.2rem; color: var(--primary-dark); font-style: italic; }
.testimonial-author { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* --- NEWSLETTER SIGNUP --- */
.newsletter { background-color: var(--primary-light); padding: 60px 24px; text-align: center; }
.newsletter h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--primary-dark); margin-bottom: 8px; }
.newsletter p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 450px; margin: 0 auto; }
.newsletter-form input { padding: 14px 16px; border: 1px solid rgba(18, 59, 35, 0.2); font-family: var(--font-sans); font-size: 0.9rem; }
.newsletter-form button { background-color: var(--primary-dark); color: var(--white); padding: 14px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 0.85rem; }

/* --- PREMIUM FOOTER GRID ARRANGEMENTS --- */
.site-footer { background-color: var(--primary-dark); color: var(--white); padding: 80px 0 0 0; font-family: var(--font-sans); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-container { display: flex; flex-direction: column; gap: 40px; padding-bottom: 50px; text-align: center; align-items: center; }
.footer-column { width: 100%; } .footer-brand-info { max-width: 380px; }
.footer-logo-block h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 1.5px; line-height: 1.1; color: var(--white); }
.footer-tagline { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 3.5px; color: rgba(255, 255, 255, 0.6); margin-top: 6px; margin-bottom: 20px; }
.footer-brand-desc { font-size: 0.88rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }
.footer-social-row { display: flex; gap: 14px; justify-content: center; }
.social-circle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.75); display: flex; align-items: center; justify-content: center; }
.footer-links-block h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 600; margin-bottom: 24px; color: var(--white); }
.footer-links-block ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links-block a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); display: inline-block; }
.footer-links-block a:hover { color: var(--white); transform: translateX(4px); }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 28px 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.footer-bottom-flex { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.footer-legal-links { display: flex; gap: 28px; }

/* --- SIDE DRAWER COMPONENT LAYOUT MATRIX --- */
.cart-count-badge { position: absolute; top: -6px; right: -8px; background-color: var(--accent-gold); color: var(--primary-dark); font-size: 0.65rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 2px; }
.cart-drawer { position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100%; background-color: var(--white); z-index: 1100; box-shadow: -4px 0 20px rgba(0,0,0,0.1); display: fixed; flex-direction: column; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.cart-drawer.cart-open { right: 0; }
.cart-drawer-header { padding: 24px; border-bottom: 1px solid rgba(18, 59, 35, 0.08); display: flex; justify-content: space-between; align-items: center; }
.cart-close-btn { background: none; font-size: 1.8rem; color: var(--text-muted); cursor: pointer; }
.cart-items-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.cart-empty-msg { text-align: center; color: var(--text-muted); margin-top: 40px; font-size: 0.95rem; }
.cart-drawer-footer { padding: 24px; border-top: 1px solid rgba(18, 59, 35, 0.08); background-color: var(--bg-cream); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.cart-shipping-notice { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.cart-checkout-btn { width: 100%; text-align: center; padding: 14px; }
.cart-overlay-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1099; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cart-overlay-mask.mask-visible { opacity: 1; pointer-events: auto; }

/* --- MEDIA QUERIES FOR DESKTOP VIEWPORTS --- */
@media (min-width: 768px) {
    .desktop-ticker-item { display: inline-block; }
    .mobile-menu-toggle { display: none; }
    .desktop-nav { display: block; }
    
    .hero {
        min-height: 620px;
        display: flex;
        align-items: center;
        padding: 0;
        background: linear-gradient(90deg, #E6EAE6 40%, rgba(230, 234, 230, 0.6) 65%, rgba(255,255,255,0) 100%),
                    url('/images/hero-beach-backdrop.jpg') no-repeat right center;
        background-size: cover;
    }
    .hero-container { flex-direction: row; text-align: left; gap: 40px; }
    .hero-content { text-align: left; flex: 1; }
    .hero-actions { justify-content: flex-start; }
    .hero-visual-showcase { flex: 1; max-width: 580px; transform: translateY(20px); }

    .badges-grid { grid-template-columns: repeat(5, 1fr); gap: 0 16px; }
    .badges-grid .badge-item:last-child { grid-column: auto; }
    .badge-text { font-size: 0.75rem; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    
    .ingredient-horizontal-grid { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0; }
    .ingredient-grid-card { flex: 1; padding: 0 24px; border-bottom: none; border-right: 1px solid rgba(18, 59, 35, 0.12); }
    .ingredient-horizontal-grid .ingredient-grid-card:last-child { border-right: none; padding-right: 0; }
    .ingredient-horizontal-grid .ingredient-grid-card:first-child { padding-left: 0; }

    .carousel-track .product-card { flex: 0 0 calc(25% - 12px); margin-right: 16px; }
    .arrow-left { left: -40px; } .arrow-right { right: -40px; }
    .story-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .newsletter-form { flex-direction: row; max-width: 550px; }
    .newsletter-form input { flex: 1; }
    
    .footer-container { display: grid !important; grid-template-columns: 2.2fr repeat(3, 1fr) !important; gap: 40px !important; align-items: flex-start !important; text-align: left !important; }
    .footer-column { width: auto !important; }
    .footer-social-row { justify-content: flex-start !important; }
    .footer-bottom-flex { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; text-align: left !important; }
}
