/* 
   DUSTY OLIVE - STYLESHEET
   Refactored for NIFT Design Principles:
   - PROPORTION: Golden Ratio spacing scale (Fibonacci 1.618)
   - EMPHASIS: Typographical scale, focal point positioning (60-30-10 color rule)
   - BALANCE: Asymmetrical grids & structured layouts
   - RHYTHM & MOVEMENT: Alternating layout flow, smooth transitions, staggered entries
   - UNITY & HARMONY: Strict serif-sans font pairing, curated brand palette
   - NEGATIVE SPACE: Large active whitespace fields for luxury editorial breathing room
*/

/* CSS Reset & Global Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Dominance (60-30-10 rule) */
    /* 60% Dominant (Canvas / Light Field) */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #FAF9F6; /* Alabaster Off-white */
    
    /* 30% Secondary (Structure, Typography, Heavy Elements) */
    --olive-dark: #1C2219;  /* Deep Forest Olive */
    --olive-mid: #35402F;   /* Classic Medium Olive */
    --olive-light: #4A5942; /* Dusty Olive Accent */
    --color-text-dark: #1A1A1A;
    --color-text-muted: #5A5E57;
    --color-border-light: #EBEAE5;
    --color-border-mid: #D1CFCA;

    /* 10% Accent (focal point elements, buttons, badges, highlights) */
    --gold-primary: #C5A059;  /* Champagne Gold */
    --gold-dark: #9F7F41;
    --gold-light: #F6F1E3;
    
    /* Typography Font Pairing */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', Helvetica, Arial, sans-serif;
    
    /* Spacing Scale - Proportional Golden Ratio (1.618 Scale) */
    --space-xs: 0.618rem;   /* ~10px */
    --space-sm: 1rem;       /* 16px */
    --space-md: 1.618rem;   /* ~26px */
    --space-lg: 2.618rem;   /* ~42px */
    --space-xl: 4.236rem;   /* ~68px */
    --space-xxl: 6.854rem;  /* ~110px */
    --space-xxxl: 11.09rem; /* ~178px */
    
    /* Animation Speeds (Rhythm & Movement) */
    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease-out;
    
    /* Layout Constants */
    --header-height: 80px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-primary);
    color: var(--color-text-dark);
    line-height: 1.618; /* Golden Ratio line height */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy (Emphasis & Scale) */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    color: var(--olive-dark);
}

h1 {
    font-size: var(--space-xl);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h2 {
    font-size: var(--space-lg);
    line-height: 1.25;
}

h3 {
    font-size: var(--space-md);
    line-height: 1.35;
}

p {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-text-muted);
}

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

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

.text-green {
    color: var(--olive-light) !important;
}

/* BUTTONS (Accent Focal Points - 10%) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.618px; /* Golden Ratio letter spacing */
    border-radius: 0px; /* Sharp corners for premium editorial architectural styling */
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--olive-dark);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background-color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--olive-dark);
    border-color: var(--olive-dark);
}

.btn-outline:hover {
    background-color: var(--olive-dark);
    color: var(--color-bg-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    background-color: var(--gold-primary);
    color: var(--color-bg-primary);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    letter-spacing: 0.5px;
}

/* Header & Navigation (Unity & Baseline alignment) */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Logo (Symmetry center element) */
.logo-container {
    text-align: center;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-dusty {
    font-family: var(--font-serif);
    font-size: 28px;
    letter-spacing: 8px;
    line-height: 1;
    color: var(--olive-dark);
}

.logo-olive {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 24px;
    margin-top: -2px;
    color: var(--gold-primary);
    font-weight: 300;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.control-btn {
    background: none;
    border: none;
    color: var(--olive-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.control-btn:hover {
    color: var(--gold-primary);
}

.cart-btn {
    position: relative;
    padding: 4px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background-color: var(--gold-primary);
    color: var(--color-bg-primary);
    font-size: 9px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search bar styling */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-mid);
    background-color: var(--color-bg-secondary);
    padding: 6px 12px;
    max-width: 170px;
    transition: var(--transition-smooth);
}

.search-box:focus-within {
    border-color: var(--olive-dark);
    max-width: 240px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--color-text-dark);
    width: 100%;
}

.search-icon {
    color: var(--color-text-muted);
}

/* Search suggestions dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: none;
    max-height: 380px;
    overflow-y: auto;
    z-index: 120;
    margin-top: var(--space-xs);
}

.search-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-item:hover {
    background-color: var(--color-bg-secondary);
}

.search-result-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.search-result-info h5 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.search-result-info p {
    font-size: 11px;
    color: var(--gold-primary);
    font-weight: 600;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 105;
}

.hamburger-menu .bar {
    width: 22px;
    height: 1px;
    background-color: var(--olive-dark);
    transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-bg-primary);
    z-index: 150;
    box-shadow: -10px 0 35px rgba(0,0,0,0.03);
    transition: var(--transition-slow);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-link {
    font-size: 15px;
    font-weight: 400;
}

.mobile-category-btn {
    background-color: var(--olive-dark);
    color: var(--color-bg-primary);
    border: none;
    padding: 12px;
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: var(--space-xs);
}

/* Category Slider & Drawer */
.category-drawer-overlay,
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(28, 34, 25, 0.4); /* Colored overlay instead of black */
    z-index: 130;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.4s ease;
}

.category-drawer-overlay.active,
.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.category-drawer,
.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 440px;
    height: 100vh;
    background-color: var(--color-bg-primary);
    box-shadow: -15px 0 45px rgba(28, 34, 25, 0.05);
    z-index: 140;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.category-drawer.active,
.cart-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-md);
}

.drawer-title-group h3 {
    font-size: 26px;
    color: var(--olive-dark);
}

.drawer-title-group p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.close-drawer {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-border-mid);
    transition: var(--transition-fast);
}

.close-drawer:hover {
    color: var(--olive-dark);
}

/* Categories List Styles */
.category-section {
    margin-bottom: var(--space-lg);
}

.category-section-title {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--olive-dark);
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px; /* Indent sub-categories to create visual hierarchy relative to header */
}

.category-list li a {
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 2px 0;
    display: block;
    transition: var(--transition-fast);
}

.category-list li a:hover {
    color: var(--gold-primary);
    padding-left: 6px;
}

/* HERO SECTION (Proportion: Golden Ratio Split 62% / 38%) */
.hero-section {
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-xxl);
    background-color: var(--color-bg-primary);
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

/* Asymmetric Column Widths */
.hero-text-col {
    flex: 1.618; /* Fibonacci/Golden proportion layout split */
}

.hero-image-col {
    flex: 1;
}

.hero-title {
    font-size: 4.236rem; /* Fibonacci Typo weight */
    font-weight: 300;
    color: var(--olive-dark);
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 440px;
    margin-bottom: var(--space-lg);
    line-height: 1.618;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
}

.hero-image-col .image-wrapper {
    position: relative;
    border: 1px solid var(--color-border-light);
    padding: var(--space-xs);
    background-color: var(--color-bg-primary);
    box-shadow: 0 15px 45px rgba(28, 34, 25, 0.02);
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* SUB-HERO FOLD (Emphasis & Negative Space) */
.sub-hero-section {
    padding: var(--space-xxl) var(--space-md);
    background-color: var(--color-bg-primary);
}

.sub-hero-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.sub-hero-heading {
    font-size: 2.618rem; /* Fibonacci scale */
    line-height: 1.35;
    color: var(--olive-dark);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

.sub-hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.section-divider {
    border: none;
    height: 1px;
    background-color: var(--color-border-light);
    margin-bottom: var(--space-lg);
}

/* Stats Row */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
}

.stat-item {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-text-muted);
}

.stat-divider {
    color: var(--color-border-mid);
    font-weight: 300;
}

/* TRUSTED BY RENOWNED PARTNERS (Negative space & Contrast) */
.partner-section {
    background-color: var(--color-bg-secondary);
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.partner-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.partner-title {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-text-muted);
}

.partner-logos-grid {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 860px;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.partner-logo {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--color-text-muted);
    opacity: 0.6;
    letter-spacing: 1px;
}

/* CURATED COLLECTIONS (Rhythm & Movement - Alternating Layout) */
.collections-section {
    padding: var(--space-xxxl) var(--space-md);
    max-width: var(--container-width);
    margin: 0 auto;
}

.collection-row {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.collection-row:last-child {
    margin-bottom: 0;
}

/* Asymmetric alternation layout to create visual movement */
.collection-row-reverse {
    flex-direction: row-reverse;
}

.collection-img-col {
    flex: 1.618; /* Golden proportion splits */
}

.collection-text-col {
    flex: 1;
}

.collection-image-wrapper {
    position: relative;
    background-color: var(--color-bg-primary);
    padding: var(--space-xs);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 10px 35px rgba(28, 34, 25, 0.01);
    overflow: hidden;
    transition: var(--transition-slow);
}

.collection-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.collection-image-wrapper:hover img {
    transform: scale(1.025);
}

/* NIFT Product-Based Highlighting (Selective Color Border / Glows) */
.collection-image-wrapper.highlight-wedding:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.12);
}

.collection-image-wrapper.highlight-corporate:hover {
    border-color: var(--olive-light);
    box-shadow: 0 20px 45px rgba(74, 89, 70, 0.12);
}

.collection-image-wrapper.highlight-festive:hover {
    border-color: #D37C4B; /* Terracotta highlight */
    box-shadow: 0 20px 45px rgba(211, 124, 75, 0.12);
}

.collection-image-wrapper.highlight-luxury:hover {
    border-color: var(--gold-dark);
    box-shadow: 0 20px 45px rgba(159, 127, 65, 0.12);
}

.collection-heading {
    font-size: 2.618rem; /* Scale */
    color: var(--olive-dark);
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.collection-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.618;
}

.collection-link {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive-dark);
    border-bottom: 1px solid var(--olive-dark);
    padding-bottom: 6px;
    display: inline-block;
}

.collection-link:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    padding-left: 6px;
}

/* THE DUSTY OLIVES DIFFERENCE (Balance & Spacing) */
.difference-section {
    background-color: var(--color-bg-secondary);
    padding: var(--space-xxl) var(--space-md);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.difference-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.difference-title {
    font-size: 2.618rem;
    color: var(--olive-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.difference-card {
    position: relative;
    padding-right: var(--space-sm);
}

/* Vertical divider grids (Balanced layout structure) */
.difference-grid > .difference-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: -20px;
    width: 1px;
    height: 70%;
    background-color: var(--color-border-mid);
    opacity: 0.4;
}

.card-num {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.card-heading {
    font-size: 18px;
    color: var(--olive-dark);
    margin-bottom: 12px;
    font-weight: 400;
}

.card-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* RETAIL SHOWCASE SHOP (Proportion & Uniform Alignment Grid) */
.retail-section {
    padding: var(--space-xxl) var(--space-md);
}

.retail-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: var(--space-xs);
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 6px 12px;
    position: relative;
}

.tab-btn:hover {
    color: var(--olive-dark);
}

.tab-btn.active {
    color: var(--olive-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--olive-dark);
}

/* Strict Product Card Grid (NIFT Proportion & Responsiveness) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* Uniform aligned card details (NIFT alignment & proportional balance) */
.product-card {
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    padding: var(--space-sm);
    max-width: 380px; /* Prevent card from stretching excessively in single-column layouts */
    width: 100%;
    height: 100%;    /* Force cards in the same grid row to stretch to identical heights */
    margin: 0 auto;  /* Centered alignment */
}

.product-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Forced square ratio */
    overflow: hidden;
    background-color: var(--color-bg-secondary);
    margin-bottom: var(--space-sm);
}

.product-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-img-wrapper img {
    transform: scale(1.03);
}

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

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 20px;
    color: var(--olive-dark);
    line-height: 1.25;
    font-weight: 400;
    min-height: 50px; /* Forces uniform spacing for 1 or 2 lines of title text */
    display: flex;
    align-items: flex-start;
}

.product-card-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-primary);
    white-space: nowrap;
}

.product-card-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    /* Lock height and line clamp to exactly 3 lines for perfect e-commerce grid symmetry */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px; 
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-card-actions .btn {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.5px;
}

/* NIFT Product-Based Highlighting */
.product-card:hover {
    border-color: var(--highlight-color, var(--gold-primary));
    box-shadow: 0 10px 30px var(--highlight-shadow, rgba(197, 160, 89, 0.12));
}

.retail-pagination {
    display: flex;
    justify-content: center;
}

/* BULK CORPORATE CONFIGURATOR */
.configurator-section {
    background-color: var(--color-bg-secondary);
    padding: var(--space-xxl) var(--space-md);
    border-top: 1px solid var(--color-border-light);
}

.configurator-container {
    max-width: 860px;
    margin: 0 auto;
}

.configurator-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.configurator-title {
    font-size: 2.618rem;
    color: var(--olive-dark);
    margin-bottom: 8px;
}

.configurator-box {
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    border-top: 5px solid var(--olive-dark);
    padding: var(--space-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-row {
    display: flex;
    gap: var(--space-sm);
}

.flex-row {
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.col-6 {
    flex: 1;
    min-width: 250px;
}

.col-12 {
    width: 100%;
}

.form-group label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--olive-dark);
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    border: 1px solid var(--color-border-mid);
    padding: 12px var(--space-sm);
    font-family: var(--font-sans);
    font-size: 13px;
    background-color: var(--color-bg-primary);
    outline: none;
    transition: var(--transition-fast);
    border-radius: 0px;
}

.form-group select:focus,
.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--olive-dark);
    box-shadow: 0 0 10px rgba(28, 34, 25, 0.05);
}

.file-upload-wrapper {
    position: relative;
    border: 1px dashed var(--color-border-mid);
    padding: 12px;
    text-align: center;
    background-color: var(--color-bg-secondary);
    cursor: pointer;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Styled Range Sliders */
.styled-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--color-border-light);
    outline: none;
    margin: 12px 0;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--olive-dark);
    cursor: pointer;
    border: 2px solid var(--color-bg-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: var(--transition-fast);
}

.styled-slider::-webkit-slider-thumb:hover {
    background: var(--gold-primary);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--color-text-muted);
    margin-top: -4px;
}

/* Estimate Summary Box */
.estimate-summary-box {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.est-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-muted);
}

.grand-total {
    font-size: 20px;
    font-weight: 700;
    border-top: 1px solid var(--color-border-mid);
    padding-top: 12px;
    color: var(--olive-dark);
}

.est-notes {
    font-size: 10px;
    color: var(--color-text-muted);
}

/* THE BESPOKE PROCESS (Visual Rhythm & Timeline) */
.process-section {
    padding: var(--space-xxl) var(--space-md);
}

.process-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--space-sm) var(--space-xs);
}

/* Horizontal connectors establishing continuity flow */
.process-grid > .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 65%;
    width: 70%;
    height: 1px;
    background-color: var(--color-border-mid);
    z-index: 1;
    opacity: 0.6;
}

.step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--olive-dark);
    background-color: var(--color-bg-primary);
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 18px;
    margin: 0 auto 20px auto;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-badge.active-badge {
    background-color: var(--olive-mid);
    color: var(--color-bg-primary);
    border-color: var(--olive-mid);
    box-shadow: 0 4px 12px rgba(53, 64, 47, 0.2);
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--olive-dark);
    margin-bottom: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-desc {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* TESTIMONIALS (Depth Contrast Overlay) */
.testimonials-section {
    padding: var(--space-xxxl) var(--space-md);
    position: relative;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-bg-primary);
    text-align: center;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 34, 25, 0.9); /* High opacity for text legibility */
    z-index: 1;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-slider {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 0.1;
    color: var(--gold-primary);
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.quote-author {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-primary);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--space-md);
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-dot.active {
    background-color: var(--gold-primary);
    width: 24px;
    border-radius: 4px;
}

/* PROPOSAL REQUEST CARD */
.proposal-form-section {
    padding: var(--space-xxl) var(--space-md);
    background-color: var(--color-bg-primary);
}

.form-container {
    max-width: 760px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.form-section-title {
    font-size: 2.618rem;
    color: var(--olive-dark);
    margin-bottom: 12px;
}

.proposal-form-card {
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    position: relative;
    padding: var(--space-lg);
}

.card-accent-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold-primary);
}

/* FOOTER SECTION (Unity & Contrast Balance) */
.main-footer {
    background-color: var(--olive-dark);
    color: var(--color-bg-primary);
    padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.footer-logo .logo-dusty {
    color: var(--color-bg-primary);
}

.footer-desc {
    font-size: 12px;
    color: var(--color-border-mid);
    line-height: 1.618;
    max-width: 500px;
}

.delivery-badge {
    display: inline-block;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    width: fit-content;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-links a {
    color: var(--color-border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--color-bg-primary);
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.footer-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-bg-primary);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

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

.footer-links li a {
    font-size: 12px;
    color: var(--color-border-mid);
}

.footer-links li a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-sm);
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--color-border-mid);
}

/* Cart Drawer Styling */
.cart-drawer {
    padding: var(--space-md);
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#cart-items-container {
    overflow-y: auto;
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.empty-cart-message {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 16px;
    margin-bottom: 16px;
    position: relative;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    background-color: var(--color-bg-secondary);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--olive-dark);
}

.cart-item-price {
    font-size: 13px;
    color: var(--gold-primary);
    font-weight: 600;
}

.cart-item-customizations {
    font-size: 10px;
    color: var(--color-text-muted);
    background-color: var(--color-bg-secondary);
    padding: 6px;
    margin-top: 6px;
}

.remove-cart-item {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--color-border-mid);
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.cart-summary {
    border-top: 1px solid var(--color-border-light);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-muted);
}

.summary-row.grand-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--olive-dark);
    border-top: 1px dotted var(--color-border-mid);
    padding-top: 10px;
}

/* Modals Overlay Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(28, 34, 25, 0.5); /* Deep olive base tint overlay */
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-container {
    background-color: var(--color-bg-primary);
    width: 90%;
    max-width: 860px;
    height: auto;
    max-height: 90vh;
    padding: var(--space-lg);
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 55px rgba(28, 34, 25, 0.15);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-border-mid);
    z-index: 10;
}

.close-modal:hover {
    color: var(--olive-dark);
}

.modal-body-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
}

.modal-image-col img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid var(--color-border-light);
    padding: 10px;
}

.product-info-block {
    margin-bottom: var(--space-sm);
}

.product-category-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.product-info-block h3 {
    font-size: 26px;
    color: var(--olive-dark);
    margin-bottom: var(--space-xs);
}

.product-base-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: var(--space-xs);
}

.product-description {
    font-size: 12px;
    color: var(--color-text-muted);
}

.customizer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.customizer-section-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 6px;
    margin-bottom: 8px;
    color: var(--olive-dark);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.modal-price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-secondary);
    padding: 16px;
    border: 1px solid var(--color-border-light);
    font-size: 13px;
    font-weight: 600;
}

.customized-total-price {
    font-size: 16px;
    color: var(--gold-primary);
}

/* Payment Modal Style */
.payment-modal-container {
    background-color: var(--color-bg-primary);
    width: 90%;
    max-width: 800px;
    padding: var(--space-lg);
    position: relative;
    box-shadow: 0 25px 55px rgba(28, 34, 25, 0.15);
}

.payment-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-lg);
}

.pay-title {
    font-size: 22px;
    color: var(--olive-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 8px;
}

.payment-summary-col {
    background-color: var(--color-bg-secondary);
    padding: 24px;
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

#payment-summary-items {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 220px;
}

.pay-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 12px;
}

.summary-line {
    border: none;
    border-top: 1px solid var(--color-border-mid);
    margin: 16px 0;
}

.payment-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}

.gateway-header {
    margin-bottom: var(--space-sm);
}

.badge-secure {
    background-color: #2E7D32;
    color: var(--color-bg-primary);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    letter-spacing: 1px;
}

.gateway-header h3 {
    font-size: 26px;
    color: var(--olive-dark);
    margin-top: 8px;
}

.pay-methods-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 20px;
}

.pay-tab-btn {
    background: none;
    border: none;
    padding: 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.pay-tab-btn.active {
    color: var(--olive-dark);
    border-bottom: 2px solid var(--olive-dark);
}

.pay-method-content {
    display: none;
    margin-bottom: 24px;
}

.pay-method-content.active {
    display: block;
}

/* UPI QR Simulation */
.upi-info {
    text-align: center;
}

.upi-qr-placeholder {
    border: 1px solid var(--color-border-mid);
    padding: 20px;
    margin-bottom: 16px;
    background-color: var(--color-bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--color-text-muted);
}

/* Success Screen Styles */
.success-container {
    background-color: var(--color-bg-primary);
    width: 95%;
    max-width: 500px;
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 25px 60px rgba(28, 34, 25, 0.15);
    position: relative;
    border-top: 6px solid #2E7D32;
}

.success-icon-wrapper {
    background-color: #2E7D32;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-container h2 {
    font-size: 30px;
    color: var(--olive-dark);
    margin-bottom: 12px;
}

.success-container p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.order-details-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    padding: 16px;
    margin-bottom: 24px;
}

.order-id-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.order-id-row:last-child {
    margin-bottom: 0;
}

.delivery-time-note {
    font-style: italic;
    font-size: 11px !important;
}

/* Staggered Scroll Animations (Rhythm & Movement) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.2rem;
    }
    .hero-container {
        gap: var(--space-lg);
    }
    .hero-img {
        height: 380px;
    }
    .collection-row {
        gap: var(--space-lg);
    }
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .difference-grid > .difference-card::after {
        display: none;
    }
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-grid > .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto var(--space-md) auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-img {
        height: 340px;
    }
    .sub-hero-heading {
        font-size: var(--space-lg);
    }
    .stats-bar {
        flex-direction: column;
        gap: 12px;
    }
    .stat-divider {
        display: none;
    }
    .collection-row,
    .collection-row-reverse {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .collection-image-wrapper img {
        height: 320px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .col-6 {
        width: 100%;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .footer-links-group {
        grid-template-columns: 1fr;
    }
    .modal-body-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    .sub-hero-heading {
        font-size: 22px;
    }
    .difference-grid {
        grid-template-columns: 1fr;
    }
    .tab-btn {
        font-size: 18px;
    }
    .configurator-box {
        padding: 20px;
    }
    .category-drawer,
    .cart-drawer {
        width: 100%;
    }
    .success-container {
        padding: 24px;
    }
}
