/* ==========================================================================
   MAISON SABLÉ - Premium Cookie Shop Styles
   ==========================================================================

   Table of Contents:
   1. CSS Variables
   2. Reset & Base Styles
   3. Typography
   4. Layout & Container
   5. Header & Navigation
   6. Hero Section
   7. Product Section
   8. Ingredients Section
   9. Heritage Section
   10. Testimonials Section
   11. Gift & Storage Section
   12. FAQ Section
   13. Order Section
   14. Footer
   15. Components (Buttons, Forms, Cards)
   16. Cookie Consent & Modal
   17. Animations & Transitions
   18. Utilities
   19. Media Queries
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
  /* Colors */
  --color-ivory: #FAF6EE;
  --color-parchment: #F3E9D2;
  --color-cocoa: #4B2E2A;
  --color-cocoa-light: #6B4E4A;
  --color-gold: #C4A356;
  --color-gold-light: #D4B366;
  --color-gold-dark: #A48336;
  --color-green: #2F4A3F;
  --color-green-light: #3F5A4F;
  --color-green-dark: #1F3A2F;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;

  /* Borders */
  --border-thin: 1px solid var(--color-gold);
  --border-hairline: 0.5px solid var(--color-gold);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(75, 46, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(75, 46, 42, 0.1);
  --shadow-lg: 0 8px 40px rgba(75, 46, 42, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-cocoa);
  background-color: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle parchment texture via CSS */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Selection color */
::selection {
  background-color: var(--color-gold);
  color: var(--color-ivory);
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link styles (in HTML critical CSS) */
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* ==========================================================================
   4. LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

section {
  padding: var(--space-4xl) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-5xl) 0;
  }
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border-hairline);
  z-index: 100;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-cocoa);
  transition: color var(--transition-fast);
}

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

.logo-mark {
  color: currentColor;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-cocoa);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-ivory);
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  border-left: var(--border-hairline);
  z-index: 105;
}

.main-nav.is-open {
  transform: translateX(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-cocoa);
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

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

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

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

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    padding: 0;
    transform: none;
    border: none;
  }

  .nav-list {
    flex-direction: row;
    gap: var(--space-xl);
  }

  .nav-link {
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('/assets/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(250, 246, 238, 0.85) 0%,
    rgba(250, 246, 238, 0.9) 50%,
    rgba(250, 246, 238, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  z-index: 1;
}

.hero-badge {
  margin-bottom: var(--space-xl);
}

.badge-svg {
  margin: 0 auto;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 500;
  color: var(--color-cocoa);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.flourish {
  margin: var(--space-md) auto;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: var(--text-base);
  color: var(--color-cocoa-light);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-cocoa-light);
}

.scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ==========================================================================
   7. PRODUCT SECTION
   ========================================================================== */

.product-section {
  background-color: var(--color-ivory);
}

.section-ornament {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  color: var(--color-cocoa);
}

.product-grid {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Product Image */
.product-image-wrapper {
  position: relative;
}

.product-figure {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-figure:hover .product-image {
  transform: scale(1.02);
}

.product-image-frame {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  border: var(--border-hairline);
  border-radius: var(--border-radius-sm);
  pointer-events: none;
}

/* Product Details */
.product-details {
  padding: var(--space-lg) 0;
}

.product-intro {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.product-description {
  margin-bottom: var(--space-xl);
}

.product-meta {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
  margin-bottom: var(--space-xl);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
}

.meta-label {
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meta-value {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Product Form */
.product-form {
  margin-bottom: var(--space-lg);
}

.quantity-selector {
  border: none;
  margin-bottom: var(--space-lg);
}

.quantity-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.quantity-option {
  cursor: pointer;
}

.quantity-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quantity-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg);
  border: 1px solid var(--color-parchment);
  border-radius: var(--border-radius-md);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quantity-option input:checked + .quantity-box {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px var(--color-gold);
}

.quantity-option input:focus-visible + .quantity-box {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.quantity-count {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.quantity-price {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-gold);
}

/* Baker notes */
.baker-notes {
  margin-bottom: var(--space-lg);
}

.notes-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.optional {
  font-weight: 400;
  color: var(--color-cocoa-light);
}

.notes-input {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-cocoa);
  background-color: var(--color-white);
  border: 1px solid var(--color-parchment);
  border-radius: var(--border-radius-sm);
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.notes-input:focus {
  border-color: var(--color-gold);
  outline: none;
}

.notes-input::placeholder {
  color: var(--color-cocoa-light);
}

.notes-hint {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-cocoa-light);
  margin-top: var(--space-xs);
}

/* Cart button */
.btn-cart {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
}

.btn-price {
  font-weight: 600;
}

/* Freshness note */
.freshness-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
}

.icon-leaf {
  flex-shrink: 0;
  color: var(--color-green);
}

/* ==========================================================================
   8. INGREDIENTS SECTION
   ========================================================================== */

.ingredients-section {
  background-color: var(--color-parchment);
}

.ingredients-grid {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 900px) {
  .ingredients-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.ingredients-figure {
  position: relative;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.image-ornament {
  position: absolute;
  bottom: calc(var(--space-lg) * -1);
  right: calc(var(--space-lg) * -1);
}

.ingredients-content .section-header {
  text-align: left;
}

/* Ingredient list */
.ingredient-list {
  margin-bottom: var(--space-2xl);
}

.ingredient-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: var(--border-hairline);
}

.ingredient-name {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
}

.ingredient-origin {
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
  text-align: right;
}

/* Craft process */
.craft-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.process-list {
  counter-reset: process;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.step-number {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.step-content strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.step-content p {
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
  margin: 0;
}

/* ==========================================================================
   9. HERITAGE SECTION
   ========================================================================== */

.heritage-section {
  position: relative;
  background-color: var(--color-ivory);
  overflow: hidden;
}

.heritage-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 163, 86, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(196, 163, 86, 0.05) 0%, transparent 50%);
}

.heritage-content {
  display: grid;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 900px) {
  .heritage-content {
    grid-template-columns: 2fr 1fr;
  }
}

/* Heritage story */
.heritage-story {
  max-width: var(--container-narrow);
}

.story-frame {
  position: relative;
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.corner {
  position: absolute;
}

.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: 0; }

.heritage-quote {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  text-align: center;
  color: var(--color-cocoa);
}

/* Baker profile */
.baker-profile {
  display: flex;
  justify-content: center;
}

.baker-figure {
  text-align: center;
}

.baker-image-frame {
  position: relative;
  display: inline-block;
  padding: var(--space-md);
  border: var(--border-hairline);
}

.baker-image {
  max-width: 250px;
  filter: sepia(10%) contrast(95%);
}

.baker-info {
  margin-top: var(--space-lg);
}

.baker-title {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cocoa-light);
  margin-bottom: var(--space-xs);
}

.baker-name {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-cocoa);
  margin-bottom: var(--space-sm);
}

.signature-flourish {
  display: block;
  margin: 0 auto;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
    justify-content: center;
  }
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gold);
}

.timeline-event {
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
}

.timeline-divider {
  display: none;
}

@media (min-width: 768px) {
  .timeline-divider {
    display: block;
    padding: 0 var(--space-lg);
  }
}

/* ==========================================================================
   10. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  background-color: var(--color-parchment);
}

.testimonials-carousel {
  max-width: var(--container-narrow);
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-smooth);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: var(--space-2xl);
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.testimonial-quote p {
  margin: 0;
}

.testimonial-author {
  font-style: normal;
}

.author-name {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.author-title {
  font-size: var(--text-sm);
  color: var(--color-cocoa-light);
}

/* Carousel navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  border: 1px solid var(--color-gold);
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active,
.carousel-dot:hover {
  background-color: var(--color-gold);
}

/* ==========================================================================
   11. GIFT & STORAGE SECTION
   ========================================================================== */

.gift-section {
  background-color: var(--color-ivory);
}

.gift-grid {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 900px) {
  .gift-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.gift-content .section-header {
  text-align: left;
}

.gift-info,
.storage-info {
  margin-bottom: var(--space-xl);
}

.gift-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.seal-illustration {
  margin-top: var(--space-lg);
}

.storage-list {
  display: grid;
  gap: var(--space-md);
}

.storage-list li {
  padding-left: var(--space-lg);
  position: relative;
}

.storage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--color-gold);
  transform: rotate(45deg);
}

.gift-figure {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   12. FAQ SECTION
   ========================================================================== */

.faq-section {
  background-color: var(--color-parchment);
}

.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: var(--border-hairline);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  text-align: left;
  color: var(--color-cocoa);
  transition: color var(--transition-fast);
}

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

.faq-question {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform var(--transition-base);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 0 var(--space-lg);
  overflow: hidden;
}

.faq-content[hidden] {
  display: none;
}

.faq-content p {
  font-size: var(--text-base);
  color: var(--color-cocoa-light);
  line-height: 1.7;
}

/* ==========================================================================
   13. ORDER SECTION
   ========================================================================== */

.order-section {
  position: relative;
  background-color: var(--color-cocoa);
  color: var(--color-ivory);
  overflow: hidden;
}

.order-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(196, 163, 86, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(196, 163, 86, 0.1) 0%, transparent 50%);
}

.order-content {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}

.order-section .section-label {
  color: var(--color-gold);
}

.order-section .section-title {
  color: var(--color-ivory);
}

.order-intro {
  font-size: var(--text-lg);
  color: rgba(250, 246, 238, 0.8);
  margin-bottom: var(--space-2xl);
}

/* Order form */
.order-form {
  margin-bottom: var(--space-2xl);
}

.order-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.order-option {
  cursor: pointer;
}

.order-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background-color: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(196, 163, 86, 0.3);
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.order-option input:checked + .option-card {
  border-color: var(--color-gold);
  background-color: rgba(196, 163, 86, 0.1);
}

.order-option input:focus-visible + .option-card {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.option-size {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.option-price {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.option-note {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.6);
}

/* Quantity control */
.order-quantity {
  margin-bottom: var(--space-xl);
}

.qty-label {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: rgba(250, 246, 238, 0.8);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-gold);
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: rgba(196, 163, 86, 0.1);
}

.qty-input {
  width: 60px;
  height: 44px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-ivory);
  background-color: transparent;
  border: none;
  border-left: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type=number] {
  -moz-appearance: textfield;
}

/* Order extras */
.order-extras {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(196, 163, 86, 0.2);
}

.corporate-cta {
  margin-bottom: var(--space-md);
}

.link-gold {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

.preorder-note {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.6);
}

.link-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-cocoa);
  color: var(--color-ivory);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  }
}

/* Footer brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(250, 246, 238, 0.7);
}

/* Footer headings */
.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

/* Contact info */
.contact-info {
  font-style: normal;
  line-height: 1.8;
}

.contact-info p {
  margin-bottom: var(--space-md);
}

.contact-link {
  color: rgba(250, 246, 238, 0.8);
  transition: color var(--transition-fast);
}

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

.hours {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.7);
}

/* Newsletter */
.footer-newsletter p {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.7);
  margin-bottom: var(--space-md);
}

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

.newsletter-input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ivory);
  background-color: rgba(250, 246, 238, 0.1);
  border: 1px solid rgba(250, 246, 238, 0.2);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--color-gold);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(250, 246, 238, 0.5);
}

.btn-newsletter {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-cocoa);
  background-color: var(--color-gold);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}

.btn-newsletter:hover {
  background-color: var(--color-gold-light);
}

/* Social links */
.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(250, 246, 238, 0.7);
  border: 1px solid rgba(250, 246, 238, 0.2);
  border-radius: 50%;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.social-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
  padding-top: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.5);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(250, 246, 238, 0.7);
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   15. COMPONENTS (Buttons, Forms, Cards)
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  color: var(--color-ivory);
  background-color: var(--color-green);
  border: 1px solid var(--color-green);
}

.btn-primary:hover {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
}

.btn-secondary {
  color: var(--color-cocoa);
  background-color: transparent;
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-ivory);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

.btn-small {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-xs);
}

.btn-text {
  color: rgba(250, 246, 238, 0.7);
  background: none;
  border: none;
  padding: var(--space-sm) var(--space-md);
}

.btn-text:hover {
  color: var(--color-ivory);
}

.btn-accept {
  background-color: var(--color-green);
  color: var(--color-ivory);
}

.btn-accept:hover {
  background-color: var(--color-green-light);
}

/* ==========================================================================
   16. COOKIE CONSENT & MODAL
   ========================================================================== */

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--color-cocoa);
  color: var(--color-ivory);
  border-top: 1px solid var(--color-gold);
  z-index: 200;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.cookie-consent:not([hidden]) {
  transform: translateY(0);
}

.cookie-consent[hidden] {
  display: flex;
}

@media (min-width: 768px) {
  .cookie-consent {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-2xl);
  }
}

.cookie-content p {
  font-size: var(--text-sm);
  margin: 0;
}

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

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(75, 46, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.modal-overlay[hidden] {
  display: flex;
}

.modal {
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  background-color: var(--color-ivory);
  border-radius: var(--border-radius-md);
  padding: var(--space-2xl);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay:not([hidden]) .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cocoa-light);
  transition: color var(--transition-fast);
}

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

.modal-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  padding-right: var(--space-2xl);
}

.modal-body {
  font-size: var(--text-base);
  color: var(--color-cocoa-light);
  line-height: 1.7;
}

.modal-body h3 {
  font-size: var(--text-lg);
  color: var(--color-cocoa);
  margin: var(--space-xl) 0 var(--space-md);
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.modal-body li {
  list-style: disc;
  margin-bottom: var(--space-sm);
}

/* Cart notification */
.cart-notification {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-green);
  color: var(--color-ivory);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  z-index: 150;
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-notification[hidden] {
  display: flex;
}

/* ==========================================================================
   17. ANIMATIONS & TRANSITIONS
   ========================================================================== */

/* Reveal on scroll */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for children */
.reveal-element:nth-child(2) { transition-delay: 0.1s; }
.reveal-element:nth-child(3) { transition-delay: 0.2s; }
.reveal-element:nth-child(4) { transition-delay: 0.3s; }

/* Link hover animations */
.nav-link,
.footer-link,
.contact-link {
  position: relative;
}

/* Gold accent animations */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   18. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   19. MEDIA QUERIES
   ========================================================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    white-space: nowrap;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --header-height: 90px;
  }

  .header-inner {
    padding: 0 var(--space-2xl);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero {
    padding: calc(var(--header-height) + var(--space-4xl)) var(--space-2xl) var(--space-4xl);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-3xl);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-element {
    opacity: 1;
    transform: none;
  }

  .hero-parallax {
    transform: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-cocoa-light: var(--color-cocoa);
  }

  .btn {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .site-header,
  .cookie-consent,
  .scroll-indicator,
  .carousel-nav,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  section {
    page-break-inside: avoid;
  }
}
