:root {
    /* Luxury Color Palette */
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --primary-dark: #C5A028;
    /* Darker Gold for hover */
    --secondary-color: #F7E7CE;
    /* Champagne */
    --accent-color: #36454F;
    /* Charcoal */
    --bg-color: #FFFFFF;
    /* Pure White */
    --bg-secondary: #FAFAFA;
    /* Off-white for sections */
    --text-color: #333333;
    /* Dark Grey for text */
    --text-light: #666666;
    /* Light Grey for subtitles */
    --border-color: #E0E0E0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.card-title,
.display-3,
.price-tag {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: none !important;
    /* Remove border lines */
    position: relative;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: none !important;
    /* Remove shadow if any */
}

/* Navbar Brand Container */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color) !important;
    letter-spacing: 1px;
    margin-right: auto;
    position: relative;
    /* Anchor for absolute logo */
    height: 80px;
    /* Fixed height for navbar alignment */
    width: 200px;
    /* Reserve space */
    display: flex;
    align-items: center;
}

.navbar-logo {
    position: absolute;
    top: -20px;
    /* Allow slight overflow top */
    left: 0;
    height: 150px;
    width: auto;
    /* Maintain aspect ratio */
    filter: none;
    transition: all 0.3s ease;
    z-index: 1001;
    /* Ensure it sits on top */
}

/* On mobile */
@media (max-width: 768px) {
    .navbar-brand {
        height: 60px;
        width: 120px;
    }

    .navbar-logo {
        height: 100px;
        top: -10px;
    }
}

/* Links & Icons */
.text-dark {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

.text-dark:hover {
    color: var(--primary-color) !important;
}

/* Hero Section Updates handled in HTML via inline removal or class addition, 
   but added utility here if needed */

/* Buttons */
.btn-warning,
.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
    border: none;
    color: white !important;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 2px;
    /* Sharper corners for elegance */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-warning:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
}

.btn-dark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 2px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    padding: 10px 24px;
}

.btn-dark:hover {
    background-color: #232d33;
    border-color: #232d33;
}

.text-gold {
    color: var(--primary-color);
}

/* Product Card - Minimal/Chanel Style */
.card-product {
    border: none;
    transition: transform 0.3s ease;
    background: transparent;
    margin-bottom: 40px;
}

.card-product:hover {
    transform: translateY(-5px);
    /* No shadow/border on hover for this clean style, maybe just slight lift */
}

.card-product .card-img-top {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square or 4:5 */
    object-fit: contain;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    /* Subtle backing for transparent pngs */
}

.card-product .card-body {
    padding: 0;
    text-align: left;
    /* Align left as per reference */
}

.card-product .product-brand {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #757575;
    /* Muted grey */
    margin-bottom: 4px;
    display: block;
}

.card-product .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.product-rating {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-icon {
    color: #D4AF37;
    /* Gold star */
}

.product-tags {
    margin-bottom: 1.5rem;
}

.scent-badge {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    background-color: #f0f0f0;
    /* Light grey pill */
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 6px;
    display: inline-block;
    text-transform: lowercase;
    /* match reference "floral" */
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0;
}

.btn-add-cart {
    background-color: #1a1a1a;
    /* Almost black */
    color: #fff;
    border: none;
    border-radius: 4px;
    /* Slight round */
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    /* Sentence case or normal */
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background-color: #333;
    color: #fff;
}

/* Mobile Typography */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.2rem !important;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }
}

/* Cart Badge Styling - Orange Circle */
/* Cart Badge Styling - Orange Circle */
.cart-badge {
    background-color: #ff9900 !important;
    /* Orange */
    color: #000000 !important;
    /* Black Text */
    border: none !important;
    width: 20px;
    height: 20px;
    /* Removed !important from display so JS can toggle it */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-size: 0.8rem;
    font-weight: 700;
}

/* =========================================
   Seasonal Bridge Hero Section
   ========================================= */

.seasonal-bridge-hero {
    height: 85vh; /* Dominant viewport height */
    min-height: 600px;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

.season-panel {
    flex: 1;
    height: 100%;
    position: relative;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Summer Side (Left) */
.season-panel.summer {
    background-color: #E6AA68; /* Warm Sand/Gold for Summer */
    background: linear-gradient(135deg, #F4C430 0%, #D4AF37 100%);
}

.season-panel.summer h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Autumn Side (Right) */
.season-panel.autumn {
    background-color: #A0522D; /* Terracotta/Sienna for Autumn */
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
}

.season-panel.autumn h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Overlays for Dimming Effect - pseudo elements */
.season-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

/* Content Layer */
.season-content {
    z-index: 3;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Hover Interactions using :has() for modern browsers */
/* When hovering .summer, dim .autumn */
.seasonal-bridge-hero:has(.season-panel.summer:hover) .season-panel.autumn::before {
    background-color: rgba(0, 0, 0, 0.6);
}

/* When hovering .autumn, dim .summer */
.seasonal-bridge-hero:has(.season-panel.autumn:hover) .season-panel.summer::before {
    background-color: rgba(0, 0, 0, 0.6);
}

/* When hovering specific panel, bring it to full focus */
.season-panel:hover .season-content {
    opacity: 1;
    transform: scale(1.02);
}

/* Content Animations */
.hero-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-width: 2px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    padding: 10px 30px;
    border-radius: 50px;
}

.season-panel:hover .hero-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
.seasonal-bridge-hero h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Centerpiece Bottle */
.bridge-centerpiece {
    z-index: 10;
    pointer-events: auto;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.bridge-label-container {
    margin-bottom: 2rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-bottle {
    max-height: 55vh;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
    transition: all 0.5s ease;
    cursor: pointer;
}

.bridge-centerpiece:hover .hero-bottle {
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.4)) drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    transform: scale(1.08) rotate(2deg);
}

.bridge-centerpiece:hover .bridge-label-container {
    transform: translateY(-5px);
}

/* Prevent dimming when hovering center */
.seasonal-bridge-hero:has(.bridge-centerpiece:hover) .season-panel::before {
    background-color: rgba(0,0,0,0) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seasonal-bridge-hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .season-panel {
        width: 100%;
        min-height: 50vh;
        padding: 4rem 1rem;
    }

    .bridge-centerpiece {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 160px;
        pointer-events: none; /* Let clicks pass through on mobile usually, or better Z-index handling */
    }
    
    .hero-btn {
        opacity: 1; /* Always show buttons on mobile */
        transform: translateY(0);
        margin-top: 1rem;
        background-color: rgba(255,255,255,0.2);
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-bottle {
        max-height: 250px;
    }
    
    .bridge-label-container {
        display: none; /* Hide label on small screens to reduce clutter */
    }
    
    /* Adjust stacking order */
    .season-panel.summer {
        order: 1;
    }
    
    .bridge-centerpiece {
        order: 2; /* It's absolute anyway */
    }

    .season-panel.autumn {
        order: 3;
    }
}