/* ==========================================================================
   SABAI & SAL — MODERN ECO-LUXURY BRAND STYLING
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
    /* Brand Colors */
    --emerald-color: #0D2F1D;       /* Dense Sal forest canopy */
    --emerald-light: #16482F;      /* Hover state / lighter accent */
    --emerald-dark: #071D12;       /* Deep rich dark green */
    --gold-color: #C5A059;          /* Sabai grass & Dokra gold */
    --gold-light: #E0C185;          /* Hover states */
    --gold-dark: #9F7E3C;           /* Shadow outlines & headers */
    --terracotta: #B85A38;          /* Red earth & Kai chutney accent */
    --bg-warm: #FAF7F2;             /* Premium warm ivory background */
    --text-charcoal: #1C1C1C;       /* Readable soft off-black */
    --text-muted: #6E6A64;          /* Soft grey for body copy */
    
    /* Layout Tokens */
    --header-height: 90px;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.25s ease;
    
    /* Box Shadows */
    --shadow-subtle: 0 4px 20px rgba(13, 47, 29, 0.04);
    --shadow-medium: 0 10px 30px rgba(13, 47, 29, 0.08);
    --shadow-luxury: 0 20px 50px rgba(13, 47, 29, 0.15);
}

/* 2. Base Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-charcoal);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--emerald-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

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

/* Base Layout Container */
.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 3. Helper Classes */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-15 { margin-top: 15px; }
.w-100 { width: 100%; }

/* Buttons Style */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--emerald-color);
    color: var(--bg-warm);
    border: 1px solid var(--emerald-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    color: var(--emerald-dark);
    border-color: var(--gold-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--emerald-color);
    border: 1px solid var(--emerald-color);
}

.btn-outline:hover {
    background-color: var(--emerald-color);
    color: var(--bg-warm);
}

.btn-text-gold {
    color: var(--gold-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.btn-text-gold:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

.btn-text-gold i {
    transition: transform 0.3s ease;
}

.btn-text-gold:hover i {
    transform: translateX(5px);
}

/* 4. Top Announcement Bar */
.announcement-bar {
    background-color: var(--emerald-dark);
    color: var(--gold-color);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    z-index: 100;
}

/* 5. Header Styles */
.main-header {
    background-color: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(13, 47, 29, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--bg-warm);
    box-shadow: var(--shadow-subtle);
    padding: 5px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

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

.left-nav {
    justify-content: flex-start;
}

.right-nav {
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--emerald-color);
    padding: 8px 0;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item:hover {
    color: var(--gold-dark);
}

/* Logo Center Layout */
.logo-wrapper {
    text-align: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.svg-logo {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--emerald-color);
    margin: 0;
}

.logo-text span {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--gold-color);
    display: block;
    margin-top: -3px;
    font-weight: 500;
}

/* Cart Trigger and Badge */
.cart-trigger {
    color: var(--emerald-color);
    font-size: 1.2rem;
    padding: 8px;
    position: relative;
    transition: var(--transition-quick);
}

.cart-trigger:hover {
    color: var(--gold-dark);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--terracotta);
    color: var(--bg-warm);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bg-warm);
}

/* Mobile Menu System */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
    position: fixed;
    top: calc((var(--header-height) - 18px) / 2 + 35px); /* Adjusted for layout */
    right: 40px;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 1.5px;
    background-color: var(--emerald-color);
    transition: var(--transition-quick);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-warm);
    z-index: 100;
    padding: 120px 40px 40px;
    flex-direction: column;
    gap: 30px;
    box-shadow: var(--shadow-luxury);
    transition: var(--transition-smooth);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-item {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-color);
    font-family: 'Cormorant Garamond', serif;
}

/* 6. Hero Section Style */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(13, 47, 29, 0.4) 0%, rgba(7, 29, 18, 0.8) 100%);
    z-index: 2;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate ease-in-out;
}

@keyframes zoomOut {
    0% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 0 30px;
    color: var(--bg-warm);
}

.hero-tagline-small {
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--bg-warm);
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 1.2s forwards 0.4s;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
    color: rgba(250, 247, 242, 0.95);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.6s;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-cta-group .btn-outline {
    border-color: var(--bg-warm);
    color: var(--bg-warm);
}

.hero-cta-group .btn-outline:hover {
    background-color: var(--bg-warm);
    color: var(--emerald-color);
    border-color: var(--bg-warm);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background-color: rgba(250, 247, 242, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--gold-color);
    animation: scrollAnimation 2s infinite ease-in-out;
}

@keyframes scrollAnimation {
    0% { top: -20px; }
    100% { top: 50px; }
}

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

/* 7. Story Section */
.story-section {
    padding: 120px 0;
    background-color: var(--bg-warm);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.story-accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--gold-color);
    margin-bottom: 30px;
}

.story-para {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 300;
    text-align: justify;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    padding-top: 40px;
}

.stat-box {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--emerald-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Carousel/Cards right side */
.story-visual-col {
    position: relative;
}

.story-card-carousel {
    position: relative;
    height: 480px;
    width: 100%;
}

.story-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-luxury);
    z-index: 1;
    pointer-events: none;
}

.story-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
    pointer-events: auto;
}

.story-card-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.story-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.story-card.active img {
    transform: scale(1.05);
}

.story-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(13, 47, 29, 0.95) 0%, rgba(13, 47, 29, 0.5) 60%, transparent 100%);
    color: var(--bg-warm);
    z-index: 3;
}

.story-card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.story-card-overlay p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(250, 247, 242, 0.8);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(13, 47, 29, 0.15);
    cursor: pointer;
    transition: var(--transition-quick);
}

.dot.active {
    background-color: var(--gold-color);
    transform: scale(1.3);
}

/* 8. Boutique Section Styles */
.boutique-section {
    padding: 120px 0;
    background-color: #FAF7F2;
    border-top: 1px solid rgba(13, 47, 29, 0.03);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
}

.filter-controls-wrapper {
    margin: 45px 0;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background-color: rgba(13, 47, 29, 0.03);
    padding: 8px;
    border-radius: 40px;
    width: fit-content;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-charcoal);
    border-radius: 30px;
    transition: var(--transition-quick);
}

.filter-btn:hover {
    color: var(--emerald-color);
}

.filter-btn.active {
    background-color: var(--emerald-color);
    color: var(--bg-warm);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 30px;
}

.product-card {
    background: transparent;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background-color: rgba(13, 47, 29, 0.02);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.product-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(13, 47, 29, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0;
    z-index: 3;
}

.product-card:hover .product-card-actions {
    bottom: 0;
    opacity: 1;
}

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

.product-card:hover .product-card-visual {
    box-shadow: var(--shadow-medium);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gold-color);
    color: var(--emerald-dark);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
}

.product-badge.gi-tag {
    background-color: var(--terracotta);
    color: var(--bg-warm);
}

/* Card Body Details */
.product-card-details {
    padding: 20px 0 10px;
    text-align: left;
}

.product-category {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 5px;
    display: block;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--emerald-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

/* 9. Locations Section (Experiential Boutique Map) */
.locations-section {
    padding: 120px 0;
    background-color: var(--emerald-dark);
    color: var(--bg-warm);
}

.locations-section h2, 
.locations-section .section-subtitle, 
.locations-section h3 {
    color: var(--bg-warm);
}

.locations-section .section-subtitle {
    color: var(--gold-color);
}

.locations-section .section-desc {
    color: rgba(250, 247, 242, 0.7);
}

.locations-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.locations-picker-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-option {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background-color: rgba(250, 247, 242, 0.03);
    border: 1px solid rgba(250, 247, 242, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.location-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--gold-color);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

.location-option:hover {
    background-color: rgba(250, 247, 242, 0.06);
}

.location-option.active {
    background-color: rgba(250, 247, 242, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.location-option.active::before {
    transform: scaleY(1);
}

.loc-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-right: 25px;
    font-weight: 500;
}

.loc-label {
    flex-grow: 1;
}

.loc-label h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.loc-label span {
    font-size: 0.75rem;
    color: rgba(250, 247, 242, 0.6);
    letter-spacing: 0.05em;
}

.loc-arrow {
    font-size: 0.8rem;
    color: rgba(250, 247, 242, 0.3);
    transition: var(--transition-quick);
}

.location-option:hover .loc-arrow {
    color: var(--gold-color);
    transform: translateX(5px);
}

/* Location details card design */
.location-details-col {
    position: relative;
    height: 460px;
}

.location-details-card {
    height: 100%;
    background-color: rgba(250, 247, 242, 0.03);
    border: 1px solid rgba(250, 247, 242, 0.08);
    box-shadow: var(--shadow-luxury);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInContent 0.5s ease forwards;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.loc-image-banner {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px 30px;
}

.loc-badge {
    background-color: var(--gold-color);
    color: var(--emerald-dark);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 3px 10px;
}

.loc-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.loc-card-body h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.loc-intro {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.8);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.loc-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.highlight-item i {
    color: var(--gold-color);
    margin-top: 4px;
    font-size: 0.9rem;
}

.highlight-item span {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.7);
    font-weight: 300;
    line-height: 1.4;
}

.loc-footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(250, 247, 242, 0.08);
    padding-top: 20px;
}

.call-text {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.6);
}

/* 10. Packaging & Sustainability Section */
.packaging-section {
    padding: 120px 0;
    background-color: var(--bg-warm);
}

.packaging-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.packaging-img-col {
    position: relative;
    box-shadow: var(--shadow-luxury);
}

.packaging-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--emerald-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-subtle);
    z-index: 2;
}

.packaging-badge i {
    color: var(--gold-color);
}

.packaging-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pack-para {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 35px;
}

.pack-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pack-list li {
    display: flex;
    gap: 20px;
}

.pack-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(13, 47, 29, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-dark);
    font-size: 1.2rem;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.pack-list h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--emerald-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pack-list p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* 11. Footer Styles */
.main-footer {
    background-color: var(--emerald-dark);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    color: rgba(250, 247, 242, 0.7);
    padding: 90px 0 40px;
    font-size: 0.9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.06);
}

.footer-brand-col p {
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 20px 0;
    max-width: 320px;
}

.footer-logo h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--bg-warm);
    letter-spacing: 0.2em;
    margin: 0;
}

.footer-logo span {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--gold-color);
    display: block;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(250, 247, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-warm);
    transition: var(--transition-quick);
    font-size: 0.85rem;
}

.footer-socials a:hover {
    background-color: var(--gold-color);
    color: var(--emerald-dark);
    border-color: var(--gold-color);
}

.footer-links-col h3, 
.footer-newsletter-col h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bg-warm);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-col a {
    font-weight: 300;
    font-size: 0.85rem;
}

.footer-links-col a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-newsletter-col p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 340px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(250, 247, 242, 0.15);
    padding-bottom: 8px;
    align-items: center;
}

.newsletter-form input {
    background: none;
    border: none;
    flex-grow: 1;
    color: var(--bg-warm);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    padding: 8px 0;
}

.newsletter-form input::placeholder {
    color: rgba(250, 247, 242, 0.35);
}

.newsletter-form button {
    padding: 8px 15px;
    font-size: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.75rem;
    font-weight: 300;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-meta {
    color: var(--gold-color);
}

/* 12. Modal Overlay & Content styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 29, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-quick);
}

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

.modal-content {
    background-color: var(--bg-warm);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: var(--shadow-luxury);
    position: relative;
    overflow-y: auto;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.2rem;
    color: var(--emerald-color);
    z-index: 10;
    transition: var(--transition-quick);
    line-height: 1;
}

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

/* Modal Grid Content */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-col {
    position: relative;
    background-color: rgba(13, 47, 29, 0.02);
}

.modal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.modal-info-col {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-info-col .product-category {
    font-size: 0.8rem;
}

.modal-info-col h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.modal-info-col .product-price {
    font-size: 1.2rem;
    color: var(--emerald-color);
    margin-bottom: 25px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-story-box {
    background-color: rgba(197, 160, 89, 0.05);
    border-left: 2px solid var(--gold-color);
    padding: 15px 20px;
    margin-bottom: 30px;
}

.modal-story-box h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-story-box p {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--emerald-light);
    line-height: 1.5;
}

/* 13. Cart Drawer Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 29, 18, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-quick);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--bg-warm);
    box-shadow: var(--shadow-luxury);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer.open {
    transform: translateX(-450px);
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid rgba(13, 47, 29, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.cart-close {
    font-size: 1.8rem;
    color: var(--emerald-color);
    transition: var(--transition-quick);
}

.cart-close:hover {
    color: var(--gold-color);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
}

/* Empty Cart View */
.cart-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

.empty-leaf {
    font-size: 3rem;
    color: rgba(197, 160, 89, 0.3);
    margin-bottom: 20px;
    animation: sway 3s infinite ease-in-out;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.cart-empty p {
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 25px;
}

/* Cart Items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(13, 47, 29, 0.04);
}

.cart-item-img {
    width: 80px;
    height: 90px;
    object-fit: cover;
    background-color: rgba(13, 47, 29, 0.02);
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--emerald-color);
    font-weight: 500;
    line-height: 1.2;
}

.cart-item-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-dark);
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(13, 47, 29, 0.1);
    background-color: rgba(250, 247, 242, 0.5);
}

.qty-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    color: var(--emerald-color);
}

.qty-val {
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-remove-item {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-remove-item:hover {
    color: var(--terracotta);
}

/* Cart Footer Summary */
.cart-footer {
    padding: 30px;
    border-top: 1px solid rgba(13, 47, 29, 0.08);
    background-color: #FAF7F2;
}

.packaging-selector-box {
    background-color: rgba(13, 47, 29, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 15px;
    margin-bottom: 20px;
}

.pack-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--emerald-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pack-price {
    color: var(--gold-dark);
}

.pack-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.btn-pack-toggle {
    background-color: transparent;
    border: 1px solid var(--gold-dark);
    color: var(--gold-dark);
    width: 100%;
    padding: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: var(--transition-quick);
}

.btn-pack-toggle.active {
    background-color: var(--gold-color);
    color: var(--emerald-dark);
    border-color: var(--gold-color);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.total-row {
    font-size: 1.1rem;
    color: var(--emerald-color);
    font-weight: 600;
    border-top: 1px dashed rgba(13, 47, 29, 0.15);
    padding-top: 15px;
    margin-top: 15px;
    margin-bottom: 0;
}

.checkout-note {
    font-size: 0.7rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 14. Checkout Success Modal styling */
.checkout-success-card {
    padding: 60px 40px;
    max-width: 500px;
}

.success-icon {
    font-size: 4rem;
    color: var(--emerald-color);
    margin-bottom: 25px;
}

.success-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--gold-dark);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.success-details {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 35px;
}

.checkout-summary-box {
    background-color: rgba(13, 47, 29, 0.03);
    padding: 20px;
    margin-top: 25px;
    border-top: 1px solid rgba(13, 47, 29, 0.08);
}

.checkout-summary-box p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.checkout-summary-box p:last-child {
    margin-bottom: 0;
}

/* 15. Toast System (Interactive Notices) */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--emerald-color);
    color: var(--bg-warm);
    border-left: 3px solid var(--gold-color);
    padding: 15px 25px;
    box-shadow: var(--shadow-luxury);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    min-width: 300px;
    transform: translateY(20px);
    opacity: 0;
    animation: toastIn 0.3s forwards cubic-bezier(0.25, 1, 0.5, 1);
    transition: all 0.5s ease;
}

.toast.removing {
    transform: translateY(-20px);
    opacity: 0;
}

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

.toast i {
    color: var(--gold-color);
}

/* 16. Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
    }
    
    .left-nav {
        display: none;
    }
    
    .right-nav .nav-item {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav-drawer {
        display: flex;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-details-col {
        height: auto;
    }
    
    .location-details-card {
        height: auto;
    }
    
    .packaging-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 75px;
    }
    
    .section-container {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-img-col img {
        min-height: 250px;
        height: 250px;
    }
    
    .modal-info-col {
        padding: 30px 25px;
    }
}
