/* ==========================================================================
   LA MAISON D'ISABELLE – INDEPENDENT BAKERY GUIDE
   Mobile-First Responsive Design System & Master Stylesheet
   Authentic Parisian Boulangerie Aesthetic (Gitana Cafe Inspiration)
   Optimized for Android, iPhone, iPad, Tablet, Laptop, and Desktop Viewports
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & RESPONSIVE FLUID VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Core Color Palette (Heritage Parisian Boulangerie) */
  --deep-espresso: #30251F;
  --dark-cocoa: #584234;
  --buttercream: #F5E8CA;
  --warm-ivory: #F8F4EB;
  --pastry-gold: #C99547;
  --caramel: #B77B42;
  --muted-sage: #7B8672;
  --warm-white: #FFFCF7;
  --border-subtle: #E8DFD0;
  --border-gold: rgba(201, 149, 71, 0.35);
  --shadow-subtle: 0 4px 20px rgba(48, 37, 31, 0.06);
  --shadow-hover: 0 8px 30px rgba(48, 37, 31, 0.12);
  --shadow-sticky: 0 6px 24px rgba(48, 37, 31, 0.08);

  /* Typography Families */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout Dimensions */
  --max-width: 1320px;
  --sidebar-width: 320px;
  --header-height: clamp(54px, 7vw, 72px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Fluid Spacing Scale (Optimized for Mobile Usability) */
  --page-padding-x: clamp(0.75rem, 3vw, 2rem);
  --page-padding-y: clamp(1rem, 3vw, 2.5rem);
  --section-spacing: clamp(1.75rem, 5vw, 3.5rem);
  --card-gap: clamp(0.85rem, 2.5vw, 1.75rem);
  --card-padding: clamp(0.95rem, 3vw, 1.85rem);
}

/* --------------------------------------------------------------------------
   2. CSS RESET, BOX-SIZING & BASE TYPOGRAPHY (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--warm-ivory);
  color: var(--deep-espresso);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height support */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.menu-open {
  overflow: hidden; /* Lock background scrolling when mobile navigation drawer is active */
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--caramel);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  touch-action: manipulation;
}

a:hover, a:focus-visible {
  color: var(--pastry-gold);
}

/* Accessible focus styling */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pastry-gold);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--deep-espresso);
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.45rem, 3.8vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.15rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

ul, ol {
  padding-left: 1.35rem;
  margin-bottom: 1.15rem;
}

/* --------------------------------------------------------------------------
   3. TOP ANNOUNCEMENT BAR (MOBILE-FIRST & SPACE-OPTIMIZED)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--deep-espresso);
  color: var(--buttercream);
  font-size: 0.725rem;
  padding: 0.3rem clamp(0.75rem, 3vw, 1.5rem);
  border-bottom: 1px solid rgba(245, 232, 202, 0.15);
  line-height: 1.35;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
}

.top-bar-award {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.3;
}

.badge-award-mini {
  background: linear-gradient(135deg, var(--pastry-gold), var(--caramel));
  color: #fff;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

.top-bar-award-title {
  color: var(--buttercream);
  white-space: nowrap;
}

.top-bar-subtext {
  display: none; /* Hidden on mobile (<768px) to eliminate vertical wrapping */
  opacity: 0.8;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.725rem;
  color: rgba(245, 232, 202, 0.9);
}

.top-bar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.top-bar-contact-item a {
  color: var(--buttercream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.top-bar-contact-item a:hover {
  color: var(--pastry-gold);
}

.top-bar-sep {
  opacity: 0.4;
  font-size: 0.65rem;
  padding: 0 0.1rem;
}

@media (min-width: 768px) {
  .top-bar {
    padding: 0.45rem var(--page-padding-x);
    font-size: 0.8125rem;
  }

  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .top-bar-award {
    font-size: 0.8125rem;
  }

  .top-bar-subtext {
    display: inline;
  }

  .top-bar-contact {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
}

/* --------------------------------------------------------------------------
   4. SITE HEADER & NAVIGATION (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--warm-white);
  border-bottom: 1px solid var(--border-subtle);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(48, 37, 31, 0.04);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.4rem clamp(0.75rem, 3vw, 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: clamp(54px, 7vw, 72px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-height: 42px;
}

.brand-logo-img {
  height: clamp(34px, 5.5vw, 48px);
  width: auto;
  max-width: min(180px, 58vw);
  object-fit: contain;
}

/* Mobile Nav Toggle Button */
.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--deep-espresso);
  font-size: 1.35rem;
  line-height: 1;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.nav-toggle-btn:hover,
.nav-toggle-btn:focus-visible {
  background-color: var(--warm-ivory);
  border-color: var(--pastry-gold);
}

/* Mobile Nav Drawer (Base: Mobile-First) */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--warm-white);
  border-bottom: 2px solid var(--pastry-gold);
  flex-direction: column;
  padding: 1.25rem var(--page-padding-x) 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - var(--header-height));
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 99;
}

.site-nav.open {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.nav-links li {
  width: 100%;
}

.nav-links li a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-cocoa);
  border-bottom: 1px solid rgba(232, 223, 208, 0.6);
  transition: all 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--caramel);
  padding-left: 0.85rem;
  background-color: var(--warm-ivory);
  border-radius: var(--radius-sm);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--deep-espresso);
  color: var(--buttercream);
  min-height: 48px;
  width: 100%;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  border: 1px solid var(--pastry-gold);
  touch-action: manipulation;
}

.header-cta-btn:hover {
  background-color: var(--caramel);
  color: #fff;
}

/* Desktop Navigation Enhancement (1025px and up) */
@media (min-width: 1025px) {
  .nav-toggle-btn {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    width: auto;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    margin: 0;
    width: auto;
  }

  .nav-links li {
    width: auto;
  }

  .nav-links li a {
    width: auto;
    min-height: auto;
    font-size: 0.9rem;
    padding: 0.4rem 0.25rem;
    border-bottom: none;
    position: relative;
  }

  .nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--pastry-gold);
    transition: width 0.25s ease;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    background: transparent;
    padding-left: 0.25rem;
  }

  .nav-links li a:hover::after,
  .nav-links li a.active::after {
    width: 100%;
  }

  .header-cta-btn {
    width: auto;
    min-height: auto;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   5. TWO-COLUMN LAYOUT & ADSTERRA SIDEBAR ENGINE (MOBILE-FIRST)
   Strict Architectural Rule: Exactly ONE Advertisement Card per Page
   -------------------------------------------------------------------------- */
.page-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--page-padding-y) var(--page-padding-x) 4rem;
  display: flex;
  flex-direction: column;
  gap: var(--section-spacing);
  width: 100%;
}

.main-content {
  width: 100%;
  min-width: 0; /* Prevents nested flex/grid blowouts */
  order: 1;
}

/* Advertisement Sidebar (Mobile: Inline Natural Flow) */
.ad-sidebar {
  width: 100%;
  order: 2;
  position: static;
  margin: 1.5rem 0 2rem;
}

.ad-card {
  width: 100%;
  max-width: 380px;
  min-height: 280px;
  margin: 0 auto;
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticky);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--buttercream), var(--pastry-gold), var(--caramel));
}

.ad-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-sage);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ad-label::before,
.ad-label::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background-color: var(--border-subtle);
}

/* Responsive Slot Dimension Guard: Never overflows on 320px */
.ad-content-slot {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--warm-ivory);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  position: relative;
  margin: 0 auto;
}

.ad-placeholder-text {
  font-size: 0.8125rem;
  color: var(--dark-cocoa);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.ad-placeholder-sub {
  font-size: 0.725rem;
  color: var(--muted-sage);
  font-style: italic;
}

.ad-disclaimer-note {
  font-size: 0.6875rem;
  color: #8C827A;
  margin-top: 0.75rem;
  line-height: 1.35;
}

/* Desktop Enhancement: Sticky Right-Hand Sidebar (>= 1025px) */
@media (min-width: 1025px) {
  .page-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .main-content {
    flex: 1;
    min-width: 0;
    order: 1;
  }

  .ad-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: var(--sidebar-width);
    flex-shrink: 0;
    margin: 0;
    order: 2;
    z-index: 20;
  }

  .ad-card {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
.hero-editorial {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 2.25rem);
  margin-bottom: var(--section-spacing);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.hero-editorial::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: radial-gradient(circle at right center, rgba(245, 232, 202, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-award-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--buttercream);
  border: 1px solid var(--pastry-gold);
  padding: 0.22rem 0.65rem;
  border-radius: 30px;
  margin-bottom: clamp(0.6rem, 1.8vw, 1.15rem);
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-award-text {
  font-size: clamp(0.7rem, 2vw, 0.8125rem);
  font-weight: 700;
  color: var(--deep-espresso);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.6rem, 4.8vw, 3.25rem);
  line-height: 1.18;
  margin-bottom: clamp(0.65rem, 2vw, 1.15rem);
}

.hero-title .highlight {
  color: var(--caramel);
  font-style: italic;
}

.hero-lead {
  font-size: clamp(0.9375rem, 2.5vw, 1.15rem);
  color: var(--dark-cocoa);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background-color: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 540px) {
  .hero-meta-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-sage);
  margin-bottom: 0.25rem;
}

.hero-meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--deep-espresso);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    gap: 1rem;
  }
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
  touch-action: manipulation;
}

@media (min-width: 600px) {
  .btn {
    width: auto;
  }
}

.btn-primary {
  background-color: var(--caramel);
  color: #fff;
  border-color: var(--caramel);
  box-shadow: 0 4px 14px rgba(183, 123, 66, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: #9E642F;
  border-color: #9E642F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(183, 123, 66, 0.35);
}

.btn-secondary {
  background-color: var(--deep-espresso);
  color: var(--buttercream);
  border-color: var(--deep-espresso);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--dark-cocoa);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--deep-espresso);
  border-color: var(--border-subtle);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--warm-ivory);
  border-color: var(--pastry-gold);
  color: var(--caramel);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* Hero Visual Showcase */
.hero-image-banner {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.hero-image-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-banner:hover img {
  transform: scale(1.02);
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(48, 37, 31, 0.88));
  color: var(--warm-white);
  padding: 1.25rem 1.25rem 0.85rem;
  font-size: 0.8125rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-sage);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--border-subtle);
  font-size: 0.75rem;
}

.breadcrumb-list a {
  color: var(--dark-cocoa);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-list a:hover {
  color: var(--pastry-gold);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--caramel);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. CONTENT SECTIONS, CARDS & FLUID GRID (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
.section-block {
  margin-bottom: var(--section-spacing);
}

.section-header {
  margin-bottom: 1.5rem;
  position: relative;
}

.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--caramel);
  margin-bottom: 0.35rem;
}

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

.section-intro {
  font-size: 1.05rem;
  color: var(--dark-cocoa);
  max-width: 760px;
  margin-top: 0.5rem;
}

/* Editorial Content Card */
.content-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

/* Fluid Product & Feature Grid System */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

@media (min-width: 580px) {
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (min-width: 1200px) {
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Product Card Component */
.product-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pastry-gold);
}

.product-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  max-height: 230px;
  overflow: hidden;
  position: relative;
  background-color: var(--warm-ivory);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge-dietary {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(48, 37, 31, 0.88);
  color: var(--buttercream);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-espresso);
  line-height: 1.3;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--caramel);
  white-space: nowrap;
}

.product-desc {
  font-size: 0.8875rem;
  color: var(--dark-cocoa);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.product-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted-sage);
}

.meta-tag {
  background-color: var(--warm-ivory);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* Dietary & Halal Transparency Box */
.dietary-alert-box {
  background-color: #FAF6ED;
  border-left: 4px solid var(--pastry-gold);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--card-padding);
  margin-bottom: 2rem;
}

.dietary-alert-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-espresso);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.dietary-alert-text {
  font-size: 0.8875rem;
  color: var(--dark-cocoa);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Reviews Grid */
.review-card {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-stars {
  color: var(--pastry-gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.review-source {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-sage);
  text-transform: uppercase;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--deep-espresso);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.review-author {
  font-size: 0.8125rem;
  color: var(--dark-cocoa);
  font-weight: 600;
}

/* FAQ Accordion UI */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  min-height: 48px;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  touch-action: manipulation;
}

.faq-question:hover, .faq-question:focus-visible {
  color: var(--caramel);
  background-color: var(--warm-ivory);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--pastry-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  display: none;
  font-size: 0.9375rem;
  color: var(--dark-cocoa);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Category Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  color: var(--dark-cocoa);
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--caramel);
  color: #fff;
  border-color: var(--caramel);
  transform: translateY(-1px);
}

/* Gallery Grid System */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

@media (min-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.gallery-item {
  background-color: var(--warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  max-height: 240px;
  overflow: hidden;
  position: relative;
  background-color: var(--warm-ivory);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.05);
}

.gallery-meta {
  padding: 1.15rem 1.25rem;
}

.gallery-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--caramel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.gallery-desc {
  font-size: 0.8125rem;
  color: var(--dark-cocoa);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive Table Wrapper (Horizontal Scroll Safe) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
}

.table-responsive table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
}

/* Responsive Flex & Grid Utility Splitters */
.split-grid-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .split-grid-responsive {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.flex-split-responsive {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .flex-split-responsive {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .flex-split-responsive > * {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   8. FORMS & INTERACTIVE INPUTS (IOS SAFARI AUTO-ZOOM PREVENTION)
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px !important; /* Critical: >= 16px prevents iOS Safari auto-zoom */
  background: var(--warm-ivory);
  color: var(--deep-espresso);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--pastry-gold);
  box-shadow: 0 0 0 3px rgba(201, 149, 71, 0.2);
}

/* --------------------------------------------------------------------------
   9. FOOTER COMPONENT (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--deep-espresso);
  color: var(--buttercream);
  padding: 3rem var(--page-padding-x) 2rem;
  margin-top: auto;
  border-top: 3px solid var(--pastry-gold);
}

.footer-disclosure-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 149, 71, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-disclosure-text {
  font-size: 0.8125rem;
  color: #C2B5A3;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 1025px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-col p {
  font-size: 0.875rem;
  color: #D6CAB8;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px; /* Touch friendly tap target */
  font-size: 0.875rem;
  color: #D6CAB8;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links li a:hover {
  color: var(--pastry-gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 232, 202, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #A39685;
  text-align: center;
}

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

.footer-bottom a {
  color: #A39685;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--pastry-gold);
}

/* --------------------------------------------------------------------------
   10. GDPR / CNIL COOKIE CONSENT BANNER (COMPACT MOBILE BOTTOM-SHEET)
   -------------------------------------------------------------------------- */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--warm-white);
  border-top: 3px solid var(--pastry-gold);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(48, 37, 31, 0.18);
  padding: 0.75rem clamp(0.75rem, 3vw, 1.25rem) max(0.85rem, env(safe-area-inset-bottom));
  z-index: 1000;
  max-height: min(42vh, 42dvh, 260px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}

.consent-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.consent-text-wrap {
  flex: 1;
}

.consent-title {
  font-size: clamp(0.875rem, 3vw, 0.975rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--deep-espresso);
  line-height: 1.25;
}

.consent-desc {
  font-size: 0.75rem;
  color: var(--dark-cocoa);
  line-height: 1.35;
  margin-bottom: 0;
}

.consent-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.consent-primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  width: 100%;
}

.btn-consent {
  min-height: 40px;
  padding: 0.45rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn-consent-full {
  width: 100%;
  min-height: 36px;
  font-size: 0.75rem;
  background-color: transparent;
  color: var(--dark-cocoa);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-consent-full:hover,
.btn-consent-full:focus-visible {
  background-color: var(--warm-ivory);
  border-color: var(--pastry-gold);
  color: var(--caramel);
}

/* Tablet & Desktop Enhancement (>= 768px): Sleek Horizontal Sticky Bar */
@media (min-width: 768px) {
  .consent-banner {
    border-radius: 0;
    max-height: none;
    overflow-y: visible;
    padding: 0.9rem var(--page-padding-x) max(0.9rem, env(safe-area-inset-bottom));
  }

  .consent-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .consent-actions-group {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .consent-primary-actions {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 0.5rem;
  }

  .btn-consent {
    width: auto;
    min-height: 42px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .btn-consent-full {
    width: auto;
    min-height: 42px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}

/* Modal for Granular Preferences */
.consent-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(48, 37, 31, 0.6);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consent-modal-card {
  background-color: var(--warm-white);
  border-radius: var(--radius-md);
  max-width: min(540px, 94vw);
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.consent-modal-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.consent-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.consent-option-info h5 {
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.consent-option-info p {
  font-size: 0.775rem;
  color: var(--muted-sage);
  margin-bottom: 0;
}
