/* Yalizeti Savour - Final Website Implementation Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette: Warm Ivory, Charcoal, Muted Olive, Warm Gold */
    --ivory-bg: #FAF7F0;         /* Primary Background: Warm ivory / off-white */
    --ivory-surface: #F5F0E7;    /* Slightly deeper warm ivory surface */
    --card-bg: #FFFFFF;          /* Clean white card surface */
    
    --charcoal: #171713;         /* Primary Text: Near-black / charcoal */
    --text-muted: #5C5A52;       /* Body & microcopy text */
    --text-light: #7E7A70;       /* Secondary details */
    
    --olive: #4D5630;            /* Primary Accent: Muted olive green */
    --olive-dark: #283015;       /* Deep muted olive for CTA band & announcement */
    --olive-hover: #3E4727;
    
    --warm-gold: #A8833A;       /* Secondary Accent: Warm gold / ochre */
    --warm-gold-hover: #916F2E;
    
    --border-subtle: #D8D0C2;    /* Soft warm neutral border/rule */
    --border-strong: #C4BAAA;
    
    --shadow-subtle: 0 4px 20px rgba(23, 23, 19, 0.04);
    --shadow-card: 0 8px 24px rgba(23, 23, 19, 0.06);
    --shadow-hover: 0 16px 36px rgba(23, 23, 19, 0.09);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--ivory-bg);
}

body {
    background-color: var(--ivory-bg);
    color: var(--charcoal);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .serif-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: var(--charcoal);
}

/* Color Helpers */
.gold-text { color: var(--warm-gold); }
.olive-text { color: var(--olive); }
.charcoal-text { color: var(--charcoal); }
.muted-text { color: var(--text-muted); }

.bg-ivory { background-color: var(--ivory-bg); }
.bg-ivory-surface { background-color: var(--ivory-surface); }
.bg-card { background-color: var(--card-bg); }
.bg-olive { background-color: var(--olive); }
.bg-dark-olive { background-color: var(--olive-dark); }

/* Stacked Brand Logo Header/Footer */
.brand-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.brand-logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem; /* 20px */
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--charcoal);
    line-height: 1;
}

@media (min-width: 768px) {
    .brand-logo-main {
        font-size: 1.45rem; /* 23px */
    }
}

.brand-logo-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem; /* 13.5px */
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--warm-gold);
    line-height: 1;
    margin-top: 3px;
    padding-left: 2px;
}

/* Typography Rules */
.eyebrow {
    font-size: 0.6875rem; /* 11px */
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--olive);
}

.heading-hero {
    font-size: 2.75rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-align: left;
}

@media (min-width: 768px) {
    .heading-hero {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .heading-hero {
        font-size: 4.75rem;
    }
}

.heading-section {
    font-size: 2.25rem;
    line-height: 1.18;
}

@media (min-width: 768px) {
    .heading-section {
        font-size: 3rem;
    }
}

/* Restrained Buttons */
.btn-olive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    background-color: var(--olive);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--olive);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border-radius: 1px;
}

.btn-olive:hover {
    background-color: var(--olive-hover);
    border-color: var(--olive-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(62, 71, 39, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    background-color: transparent;
    color: var(--charcoal);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--charcoal);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border-radius: 1px;
}

.btn-outline:hover {
    background-color: var(--charcoal);
    color: #FFFFFF;
}

/* Header & Announcement Bar */
.announcement-bar {
    background-color: var(--olive-dark);
    color: #FAF7F0;
    font-size: 0.625rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.45rem 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar-sticky {
    position: fixed;
    top: 31px;
    left: 0;
    width: 100%;
    z-index: 90;
    background-color: rgba(250, 247, 240, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    top: 0 !important;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 16px rgba(23, 23, 19, 0.05);
}

/* Product Cards & Containers */
.product-card-editorial {
    background-color: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2px;
}

.product-card-editorial:hover {
    border-color: var(--olive);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.bottle-img-box {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ivory-surface);
    border-radius: 2px;
    padding: 1.5rem;
    overflow: hidden;
}

.bottle-img-box img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.1));
}

.product-card-editorial:hover .bottle-img-box img {
    transform: scale(1.04);
}

/* Size Pills */
.size-pill-group {
    display: flex;
    background-color: var(--ivory-surface);
    border: 1px solid var(--border-subtle);
    padding: 3px;
    border-radius: 2px;
}

.size-pill {
    flex: 1;
    padding: 6px 12px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    border: none;
    text-transform: uppercase;
}

.size-pill.active {
    background-color: var(--charcoal);
    color: #FFFFFF;
    font-weight: 600;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(23, 23, 19, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(15px);
    transition: transform 0.35s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.custom-input {
    width: 100%;
    background-color: var(--ivory-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.8rem 1rem;
    color: var(--charcoal);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    border-radius: 1px;
}

.custom-input:focus {
    border-color: var(--olive);
    background-color: #FFFFFF;
}

/* Accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
    width: 100%;
    padding: 1.35rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--charcoal);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.25s ease;
}

.accordion-header:hover {
    color: var(--olive);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    padding-bottom: 0;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
    padding-bottom: 1.35rem;
    transition: max-height 0.4s ease-in-out;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--olive);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--ivory-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--olive);
}
