
*, *::before, *::after {
  box-sizing: border-box;
}
/* ============================================================
   BELLY GLOBAL DESIGN SYSTEM
   Single source of truth for layout, typography, spacing,
   header, announcement bar, footer, and responsive behaviour.
   ============================================================ */

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

/* ── DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  /* Colors */
  --belly-cream: #FFF6E7;
  --belly-cream-deep: #FDF1DD;
  --belly-yellow: #F4CA30;
  --belly-terracotta: #D35028;
  --belly-olive-dark: #1E4B3A;
  --belly-olive: #29604C;
  --belly-sand: #EAE3D4;
  
  /* Fonts */
  --font-display: 'Canela', serif;
  --font-body: 'Sohne', sans-serif;
  --font-condensed: 'Sohne', sans-serif;

  /* Spacing system (8-point scale) */
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* Grid / Container */
  --container-max: 1320px;
  --page-gutter: 40px;

  /* Heights */
  --announcement-h: 32px;
  --header-h: 72px;

  /* Misc */
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --border-subtle: 1px solid rgba(30,75,58,0.15);
}

@media (max-width: 1024px) {
  :root { --page-gutter: 28px; }
}
@media (max-width: 768px) {
  :root { --page-gutter: 20px; }
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.font-html, body {
  overflow-x: hidden;
  width: 100%;
}

body { font-family: var(--font-body); }
.weight-400 { font-weight: 400; }
.weight-500 { font-weight: 500; }
.weight-600 { font-weight: 600; letter-spacing: 0.02em; }
.weight-800 { font-weight: 800; }


/* ── ANNOUNCEMENT BAR ──────────────────────────────────────── */

.announcement-bar {
  background: var(--belly-olive-dark);
  color: var(--belly-yellow);
  height: var(--announcement-h);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
  width: 100%;
}

.site-header {
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  background: var(--belly-cream);
  padding: 0 var(--page-gutter);
  border-bottom: var(--border-subtle);
  position: relative;
  z-index: 90;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  justify-content: flex-start;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  justify-content: flex-end;
}

.main-nav a, .nav-right a {
  text-decoration: none;
  color: var(--belly-olive-dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover, .nav-right a:hover {
  color: var(--belly-terracotta);
}

.header-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.header-logo-img { width: 280px !important; height: auto !important; display: block !important; }

/* Remove old scalloped badge entirely by overriding */
.scalloped-logo-badge {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

/* Mobile helpers */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .mobile-only.header-left-actions { display: flex !important; }
  .mobile-only.header-right-actions { display: flex !important; gap: 16px; align-items: center; justify-content: flex-end; }
  
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  
  /* The mobile menu dropdown */
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: calc(var(--announcement-h) + var(--header-h));
    left: 0;
    width: 100%;
    height: calc(100vh - var(--announcement-h) - var(--header-h));
    background: var(--belly-cream);
    padding: var(--space-40) var(--page-gutter);
    gap: var(--space-32);
    font-size: 24px;
    z-index: 80;
    overflow-y: auto;
  }
  .site-header.menu-open .main-nav {
    display: flex;
  }
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 32px;
  background: var(--belly-olive); color: var(--belly-cream);
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 32px;
  background: var(--belly-yellow); color: var(--belly-olive);
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 0.85; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 32px;
  background: transparent; color: var(--belly-olive);
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 2px solid var(--belly-olive); border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--belly-olive); color: var(--belly-cream); }


/* ── CARDS ─────────────────────────────────────────────────── */
.arch-shape {
  aspect-ratio: 2/3.2;
  border-radius: 120px 120px 0 0;
  overflow: hidden;
  margin-bottom: var(--space-4);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}
.arch-shape img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
.product-card:hover .arch-shape { 
  transform: translateY(-6px);
}
/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .mobile-only { display: flex; }
  .desktop-only { display: none !important; }

  html, body {
  overflow-x: hidden;
  width: 100%;
}

body { padding-top: calc(var(--announcement-h) + 80px); }

  
.announcement-bar {
  background: var(--belly-olive-dark);
  color: var(--belly-yellow);
  height: var(--announcement-h);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
  width: 100%;
}


  /* Footer mobile */
  .footer-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-newsletter form { flex-direction: column; }
  .footer-newsletter input { width: 100%; }
  .footer-newsletter button { width: 100%; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .fl-col { align-items: center; }
}


/* RECIPE GRID & CARDS */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .recipe-grid { grid-template-columns: 1fr; }
}

.recipe-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--belly-olive-dark);
}

.recipe-card-img-wrap {
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
}
.recipe-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.recipe-card:hover .recipe-card-img-wrap img {
  transform: scale(1.03);
}

.recipe-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--belly-olive-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.recipe-card-meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(30,75,58,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* FOOTER */
.site-footer {
  background: var(--belly-olive-dark);
  color: var(--belly-cream);
  padding: 80px 0 24px;
  position: relative;
  z-index: 10;
  margin-top: 0;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}
@media (max-width: 768px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fl-col { display: flex; flex-direction: column; gap: 16px; }
.fl-col-title { font-size: 11px; letter-spacing: 0.1em; color: rgba(249,239,223,0.5); text-transform: uppercase; }
.fl-col a { color: var(--belly-cream); text-decoration: none; font-size: 14px; transition: opacity 0.2s; }
.fl-col a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 80px auto 0;
  padding: 24px var(--page-gutter) 0;
  border-top: 1px solid rgba(249,239,223,0.1);
  font-size: 11px;
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--belly-cream); width: 20px; height: 20px; }


/* GLOBAL HEADER FIXES */
.header-right { display: flex; justify-content: flex-end; align-items: center; height: 100%; }
.nav-right { justify-content: flex-end; }

/* ============================================================
   GLOBAL TOP NAVIGATION (SURGICAL REBUILD)
   ============================================================ */
.global-header-wrapper {
  position: relative;
  z-index: 50;
  width: 100%;
}

/* 1. ANNOUNCEMENT BAR */
.site-announcement {
  height: 30px;
  background-color: #E04E24;
  color: #FFF6E7;
  font-family: var(--font-body), sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  width: 100%;
}
.announcement-flower {
  margin: 0 14px;
  font-size: 10px;
}
@media (max-width: 1024px) {
  .site-announcement {
    height: 28px;
    font-size: 10.5px;
  }
  .announcement-flower { margin: 0 10px; }
}

/* 2. MAIN HEADER GRID */
.site-header {
  height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  background-color: var(--belly-cream);
  border-bottom: 1px solid #E8DCC4;
  padding: 0 36px;
}
@media (max-width: 1024px) {
  .site-header {
    height: 64px;
    padding: 0 var(--page-gutter);
  }
}

/* LEFT COL */
.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.desktop-left-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--belly-olive-dark);
  padding: 0;
}

/* CENTRE COL (LOGO) */
.header-centre {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-img { width: 280px !important; height: auto !important; display: block !important; }

/* RIGHT COL */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.desktop-right-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mobile-cart {
  display: none;
  color: var(--belly-olive-dark);
}

/* TYPOGRAPHY FOR LINKS */
.desktop-left-nav a, .desktop-right-nav a {
  font-family: var(--font-body), sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--belly-olive-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.desktop-left-nav a:hover, .desktop-right-nav a:hover {
  opacity: 0.6;
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFF6E7;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 var(--page-gutter);
  justify-content: flex-start;
}
.drawer-close {
  background: none;
  border: none;
  color: var(--belly-olive-dark);
  cursor: pointer;
  padding: 0;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 24px var(--page-gutter);
  gap: 32px;
}
.drawer-nav a {
  font-family: var(--font-body), sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--belly-olive-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* MOBILE RESPONSIVE BEHAVIOUR */
@media (max-width: 1024px) {
  .desktop-left-nav, .desktop-right-nav {
    display: none;
  }
  .mobile-hamburger {
    display: flex;
  }
  .mobile-cart {
    display: flex;
  }
}

/* ============================================================
   GLOBAL BUTTON SYSTEM
   ============================================================ */
.btn-belly, .btn-primary, .btn-secondary, .btn-outline, .btn-tertiary {
  height: 48px !important;
  padding: 0 24px !important;
  border-radius: 8px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--font-body), sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  border: none;
}
.btn-belly:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline:hover, .btn-tertiary:hover { opacity: 0.85; }
.btn-belly:active, .btn-primary:active, .btn-secondary:active, .btn-outline:active, .btn-tertiary:active { transform: scale(0.98); }

.btn-primary {
  background: var(--belly-olive-dark);
  color: var(--belly-cream);
}
.btn-secondary {
  background: var(--belly-yellow);
  color: var(--belly-olive-dark);
}
.btn-tertiary {
  background: transparent;
  color: var(--belly-olive-dark);
  padding: 0;
  border-bottom: 2px solid var(--belly-olive-dark);
  border-radius: 0;
  height: auto;
}
.btn-outline {
  background: var(--belly-cream);
  color: var(--belly-olive-dark);
  border: 1px solid var(--belly-olive-dark);
}

/* ============================================================
   LEGAL BAR (BELOW FOOTER)
   ============================================================ */
.legal-bar {
  background-color: var(--belly-yellow);
  border-top: 1px solid var(--belly-olive-dark);
  padding: 20px var(--page-gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 60;
  pointer-events: auto !important;
}
.legal-bar a {
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--belly-olive-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: inline-block;
  transition: opacity 0.2s, text-decoration-thickness 0.2s;
}
.legal-bar a:hover {
  text-decoration-thickness: 2px;
  opacity: 0.75;
}
@media (max-width: 768px) {
  .legal-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============================================================
   10 SMART COSMETIC UPGRADES FOR BRAND CULTURE
   ============================================================ */

/* 1. Smooth Scrolling for anchors */
html { scroll-behavior: smooth; }

/* 2. Custom Brand Text Selection (Orange & Cream) */
::selection { background: #E04E24; color: #FFF6E7; }

/* 3. Custom Mediterranean Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #FFF6E7; }
::-webkit-scrollbar-thumb { background: #1E4B3A; border-radius: 5px; border: 2px solid #FFF6E7; }
::-webkit-scrollbar-thumb:hover { background: #E04E24; }

/* 4. Elegant Button Hover States (Lift & Shadow) */
.btn-belly, .btn-primary, .btn-secondary, .btn-outline, .btn-tertiary {
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.btn-belly:hover, .btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(30, 75, 58, 0.15) !important;
  opacity: 1 !important;
}

/* 5. Animated Nav Underlines (Desktop) */
.desktop-left-nav a, .desktop-right-nav a {
  position: relative;
}
.desktop-left-nav a::after, .desktop-right-nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--belly-olive-dark);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.desktop-left-nav a:hover::after, .desktop-right-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.desktop-left-nav a:hover, .desktop-right-nav a:hover {
  opacity: 1 !important;
}

/* 6. Refined Shadows & Smooth Hover on Images */
.recipe-card-img-wrap, .product-card-img, .blog-card-img-wrap {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(30,75,58,0.06);
  transition: box-shadow 0.3s ease;
}
.recipe-card:hover .recipe-card-img-wrap, .product-card:hover .product-card-img, .blog-card:hover .blog-card-img-wrap {
  box-shadow: 0 12px 24px rgba(30,75,58,0.12);
}
.recipe-card-img-wrap img, .blog-card-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease !important;
}
.recipe-card:hover .recipe-card-img-wrap img, .blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.04) !important;
  filter: brightness(1.05);
}

/* 7. Footer Socials Text Alignment & Styling */
.footer-socials { gap: 24px !important; align-items: center !important; }
.footer-social-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  color: var(--belly-cream) !important; 
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.2s;
  font-weight: 600;
}
.footer-social-link svg { width: 16px !important; height: 16px !important; }
.footer-social-link:hover { color: var(--belly-yellow) !important; transform: translateY(-2px); }

/* 8. Footer Columns Hover Glide */
.fl-col a {
  transition: all 0.2s ease !important;
  display: inline-block;
}
.fl-col a:hover {
  transform: translateX(4px);
  color: var(--belly-yellow) !important;
  opacity: 1 !important;
}

/* 9. Focus Outlines for Accessibility (Premium look) */
*:focus-visible {
  outline: 2px solid var(--belly-yellow);
  outline-offset: 2px;
}




/* === NEW SURGICAL HEADER FIX === */
.site-header {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 80px !important;
  height: auto !important;
  padding: 10px 36px !important;
  overflow: visible !important;
}
.header-left, .header-right {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 0 !important; /* allow flex items to shrink */
}
.header-right {
  justify-content: flex-end !important;
}
.header-centre {
  flex: 0 0 auto !important;
  margin: 0 20px !important;
}
.logo-img, .header-logo-img {
  width: 240px !important;
  max-width: 100% !important;
  height: auto !important;
}
.desktop-left-nav, .desktop-right-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 24px !important;
  white-space: nowrap !important;
}
@media (max-width: 1200px) {
  .desktop-left-nav, .desktop-right-nav { gap: 16px !important; }
  .logo-img, .header-logo-img { width: 200px !important; }
}
@media (max-width: 1024px) {
  /* Hide desktop navs sooner to avoid squishing the large logo */
  .desktop-left-nav, .desktop-right-nav { display: none !important; }
  .mobile-hamburger { display: block !important; }
  .mobile-cart { display: flex !important; }
  .header-centre { margin: 0 auto !important; }
  .logo-img, .header-logo-img { width: 180px !important; }
}
@media (max-width: 768px) {
  .site-header { padding: 10px 16px !important; }
  .logo-img, .header-logo-img { width: 150px !important; }
}
