/* ============================================
   CasaMia Entraigues — Sicilian Trattoria
   style.css v1.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:wght@400;700&family=Karla:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --terracotta-primary: #C2503D;
  --terracotta-dark: #8B3626;
  --terracotta-light: #D97A6A;
  --olive-green: #6B7F39;
  --olive-dark: #4A5628;
  --olive-light: #8FA856;
  --cream: #FBF7F0;
  --warm-white: #FFFEF9;
  --parchment: #F4EBD9;
  --sand: #E8DCC4;
  --tomato-red: #DC2626;
  --basil-green: #2D6E3E;
  --gold: #D4A843;
  --charcoal: #2C2416;
  --warm-black: #1A1410;

  --font-display: 'Playfair Display SC', serif;
  --font-body: 'Karla', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(26,20,16,0.08);
  --shadow-md: 0 4px 12px rgba(26,20,16,0.12);
  --shadow-lg: 0 8px 30px rgba(26,20,16,0.16);

  --max-width: 1200px;
  --max-text: 65ch;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--warm-black);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--terracotta-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--olive-green);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }

p {
  max-width: var(--max-text);
  margin-bottom: var(--space-4);
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-12) 0;
}

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

.section--dark {
  background-color: var(--charcoal);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

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

.decorative-line {
  width: 60px;
  height: 3px;
  background: var(--terracotta-primary);
  margin: var(--space-4) auto;
  border: none;
}

.decorative-line--left {
  margin-left: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--terracotta-primary);
  color: var(--warm-white);
  border-color: var(--terracotta-primary);
}

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

.btn--secondary {
  background: transparent;
  color: var(--terracotta-primary);
  border-color: var(--terracotta-primary);
}

.btn--secondary:hover {
  background: var(--terracotta-primary);
  color: var(--warm-white);
}

.btn--gold {
  background: var(--gold);
  color: var(--warm-black);
  border-color: var(--gold);
  font-weight: 700;
}

.btn--gold:hover {
  background: var(--olive-green);
  border-color: var(--olive-green);
  color: var(--warm-white);
}

.btn--white {
  background: var(--warm-white);
  color: var(--terracotta-primary);
  border-color: var(--warm-white);
}

.btn--white:hover {
  background: var(--terracotta-primary);
  border-color: var(--terracotta-primary);
  color: var(--warm-white);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251,247,240,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow 0.3s ease;
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
}

.header__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--terracotta-primary);
  letter-spacing: 0.01em;
}

.header__logo span {
  color: var(--olive-green);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--charcoal);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta-primary);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--terracotta-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__phone {
  font-weight: 700;
  color: var(--terracotta-primary);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.nav__phone:hover {
  color: var(--olive-green);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
  z-index: 1001;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,20,16,0.75) 0%,
    rgba(44,36,22,0.6) 40%,
    rgba(107,127,57,0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--space-5);
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: var(--radius-sm);
}

.hero__title {
  font-size: var(--text-3xl);
  color: var(--warm-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: var(--space-5);
  max-width: 100%;
}

.hero__description {
  font-size: var(--text-base);
  color: rgba(251,247,240,0.9);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__stars {
  color: var(--gold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}

.hero__stars span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--parchment);
  margin-left: var(--space-2);
}

/* Hero page-specific heights */
.hero--short {
  min-height: 50vh;
}

.hero--medium {
  min-height: 60vh;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--charcoal);
  padding: var(--space-4) 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-bar__item {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--parchment);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.trust-bar__item strong {
  color: var(--gold);
  font-weight: 700;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--sand);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card__icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  display: block;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--terracotta-primary);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: 1.6;
}

.card__link {
  display: inline-block;
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--olive-green);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card__link:hover {
  color: var(--terracotta-primary);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid var(--sand);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-accent);
  font-size: 4rem;
  color: var(--terracotta-light);
  position: absolute;
  top: var(--space-3);
  left: var(--space-5);
  line-height: 1;
  opacity: 0.4;
}

.testimonial__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--terracotta-primary);
}

.testimonial__stars {
  color: var(--gold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--terracotta-primary);
  color: var(--warm-white);
  padding: var(--space-12) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--warm-white);
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-left: auto;
  margin-right: auto;
}

.cta-section .decorative-line {
  background: var(--gold);
}

/* --- Menu Page --- */
.menu-section {
  padding: var(--space-10) 0;
}

.menu-category {
  margin-bottom: var(--space-10);
}

.menu-category__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--terracotta-primary);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--sand);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(232,220,196,0.5);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__info {
  flex: 1;
  padding-right: var(--space-4);
}

.menu-item__name {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-1);
}

.menu-item__desc {
  font-size: var(--text-sm);
  color: #6B6155;
  line-height: 1.5;
}

.menu-item__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--terracotta-primary);
  white-space: nowrap;
}

/* --- About / Histoire --- */
.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

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

.story-section__image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.story-section__text h3 {
  color: var(--terracotta-primary);
  margin-bottom: var(--space-4);
}

/* --- Traiteur --- */
.formule {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  transition: box-shadow 0.3s ease;
}

.formule:hover {
  box-shadow: var(--shadow-md);
}

.formule__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--terracotta-primary);
  margin-bottom: var(--space-3);
}

.formule__price {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--olive-green);
  margin-bottom: var(--space-3);
}

.formule__list {
  margin-bottom: var(--space-4);
}

.formule__list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
  font-size: var(--text-base);
  color: var(--charcoal);
}

.formule__list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--terracotta-primary);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--terracotta-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  font-weight: 700;
  flex-shrink: 0;
  font-size: var(--text-lg);
}

.contact-info__text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.contact-info__text p {
  font-size: var(--text-base);
  color: var(--charcoal);
  margin-bottom: var(--space-1);
}

.contact-info__text a {
  font-weight: 600;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
}

.hours-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--sand);
  font-size: var(--text-sm);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--charcoal);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--olive-green);
  font-weight: 500;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  background: var(--sand);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--warm-black);
  color: var(--parchment);
  padding: var(--space-10) 0 var(--space-5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.footer__text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(244,235,217,0.7);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(244,235,217,0.7);
  padding: var(--space-1) 0;
  transition: color 0.3s ease;
}

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

.footer__bottom {
  border-top: 1px solid rgba(244,235,217,0.15);
  padding-top: var(--space-5);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(244,235,217,0.5);
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--terracotta-primary);
  padding: var(--space-3) var(--space-5);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.sticky-cta__text {
  color: var(--warm-white);
  font-weight: 700;
  font-size: var(--text-base);
}

.sticky-cta a {
  color: var(--warm-white);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sticky-cta a:hover {
  color: var(--gold);
}

/* --- Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.gallery-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

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

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

.gallery-grid__item--large {
  grid-column: span 1;
}

.gallery-grid__item--large img {
  height: 100%;
}

/* ============================
   Responsive Breakpoints
   ============================ */

/* Mobile: hamburger menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-8);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav__link {
    font-size: var(--text-lg);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: block;
  }

  .trust-bar__inner {
    gap: var(--space-4);
  }

  .trust-bar__item {
    font-size: var(--text-xs);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid__item--large {
    grid-column: span 1;
  }
}

/* Tablet */
@media (min-width: 769px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .story-section {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid__item--large {
    grid-column: span 1;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  h1 { font-size: var(--text-5xl); }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero {
    min-height: 90vh;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .gallery-grid__item img {
    height: 100%;
  }

  .gallery-grid__item--large img {
    height: 100%;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

/* --- Nav overlay for mobile --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* Print */
@media print {
  .header, .sticky-cta, .hamburger, .nav-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  body {
    background: white;
    color: black;
  }
}

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
  :root { font-size: 15px; }
  
  .container { padding-left: 16px; padding-right: 16px; }
  
  section { padding: 48px 0; }
  
  .hero { min-height: 70vh; padding: 100px 0 60px; }
  .hero__title { font-size: 2rem; line-height: 1.15; }
  .hero__subtitle { font-size: 1rem; }
  
  /* Stack all grids */
  .grid, .services-grid, .menu-grid, .features-grid, .values-grid,
  [class*="grid"] { 
    grid-template-columns: 1fr !important; 
  }
  
  /* Stack flex containers */
  .hero__actions, .cta-buttons, [class*="actions"] {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn { width: 100%; text-align: center; justify-content: center; }
  
  /* Nav mobile */
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  
  /* Footer stack */
  .footer__grid, footer .grid { 
    grid-template-columns: 1fr !important; 
    text-align: center; 
  }
  
  /* Hide desktop-only */
  .desktop-only, .header__phone-text { display: none; }
  
  /* Sticky mobile CTA */
  .sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--terracotta, #C2503D);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
  }
  .sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
  }
  .sticky-cta .cta-call {
    background: white;
    color: var(--terracotta, #C2503D);
  }
  .sticky-cta .cta-order {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid white;
  }
  
  /* Menu items */
  .menu-item, .pizza-item { padding: 16px; }
  .menu-item__price { font-size: 1.2rem; }
  
  /* Images */
  img { max-width: 100%; height: auto; }
  
  /* Sections padding-bottom for sticky bar */
  body { padding-bottom: 70px; }
  
  /* Tables responsive */
  table { font-size: 0.9rem; }
  td, th { padding: 8px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  section { padding: 32px 0; }
}

/* Badge NEW */
.badge-new {
  display: inline-block;
  background: var(--terracotta, #C2503D);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Menu item highlight */
.menu-item--highlight {
  background: linear-gradient(135deg, rgba(212,168,67,.08), rgba(194,80,61,.08));
  border: 1px solid rgba(212,168,67,.3);
}

.menu-item__note {
  font-size: .8rem;
  font-style: italic;
  color: #888;
  margin-top: 4px;
}

/* Menu item header (new structure) */
.menu-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
}
.menu-item__header h3 {
  font-family: var(--font-accent, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal, #2D2A26);
  margin: 0;
}
.menu-item__header + p {
  font-size: .9rem;
  color: #6B6155;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Fix menu-item for new card layout */
.menu-section .menu-item {
  display: block;
  padding: 16px 20px;
  border-bottom: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  margin-bottom: 0;
}

.menu-section .menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 12px;
}

/* Header logo image */
.header__logo img {
  height: 50px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .header__logo img {
    height: 40px;
  }
}

/* ========================================
   CART SYSTEM
   ======================================== */

/* Commander nav link */
.nav__link--commander {
  background: var(--terracotta-primary, #C2503D);
  color: white !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.2s;
}
.nav__link--commander::after { display: none !important; }
.nav__link--commander:hover {
  background: var(--terracotta-dark, #8B3626);
  color: white !important;
  transform: scale(1.05);
}

/* Add-to-cart button on menu items */
.cart-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--terracotta-primary, #C2503D);
  background: white;
  color: var(--terracotta-primary, #C2503D);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 10px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  line-height: 1;
}
.cart-add-btn:hover {
  background: var(--terracotta-primary, #C2503D);
  color: white;
  transform: scale(1.15);
}
.cart-add-btn:active {
  transform: scale(0.92);
}

/* Floating cart button */
.cart-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--terracotta-primary, #C2503D);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(194,80,61,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cart-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(194,80,61,0.5);
}

.cart-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #DC2626;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  border: 2px solid white;
}

/* Bounce animation */
@keyframes cartBounce {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.25); }
  40%  { transform: scale(0.9); }
  60%  { transform: scale(1.12); }
  80%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}
.cart-fab--bounce {
  animation: cartBounce 0.5s ease;
}

/* Cart overlay */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.5);
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-overlay--visible {
  display: block;
  opacity: 1;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1300;
  background: var(--cream, #FBF7F0);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.cart-drawer--open {
  right: 0;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sand, #E8DCC4);
  background: white;
  flex-shrink: 0;
}
.cart-drawer__header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal, #2C2416);
  margin: 0;
}
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--charcoal);
  line-height: 1;
  padding: 4px;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
  font-size: 1rem;
  line-height: 1.6;
}

/* Cart item rows */
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232,220,196,0.5);
  gap: 12px;
}
.cart-item-row__info {
  flex: 1;
  min-width: 0;
}
.cart-item-row__name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-row__line-total {
  display: block;
  font-size: 0.85rem;
  color: var(--terracotta-primary);
  font-weight: 700;
}
.cart-item-row__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--sand, #E8DCC4);
  background: white;
  color: var(--charcoal);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.cart-qty-btn:hover {
  border-color: var(--terracotta-primary);
  background: rgba(194,80,61,0.07);
}
.cart-qty-val {
  font-weight: 700;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

/* Subtotal */
/* Sticky total bar — Uber Eats / Deliveroo pattern */
.cart-sticky-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: var(--terracotta-primary, #C2503D);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.cart-sticky-total__label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cart-sticky-total__price {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
/* Keep old class name working */
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: var(--terracotta-primary, #C2503D);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}
.cart-subtotal span:last-child {
  font-size: 1.5rem;
}

/* Cart form */
.cart-drawer__form {
  padding: 0 24px 16px;
  flex-shrink: 0;
}
.cart-drawer__form h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 16px 0 8px;
}

.cart-input {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--sand, #E8DCC4);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: white;
  color: var(--charcoal);
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.cart-input:focus {
  outline: none;
  border-color: var(--terracotta-primary);
}

.cart-radio-group {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.cart-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--charcoal);
}
.cart-radio input {
  accent-color: var(--terracotta-primary, #C2503D);
}

/* Send buttons */
.cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--sand, #E8DCC4);
  background: white;
  flex-shrink: 0;
}

.cart-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, filter 0.2s;
  text-decoration: none;
  color: white;
}
.cart-send-btn:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
  color: white;
}

.cart-send-btn--whatsapp { background: #25D366; }
.cart-send-btn--sms { background: #3B82F6; }
.cart-send-btn--call { background: var(--terracotta-primary, #C2503D); }
.cart-send-btn--copy {
  background: var(--charcoal, #2C2416);
  color: white;
}

/* Call recap */
.cart-call-recap {
  padding: 20px 24px;
  background: var(--parchment, #F4EBD9);
  border-top: 2px solid var(--terracotta-primary);
}
.cart-call-recap h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.cart-call-recap pre {
  background: white;
  padding: 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 12px;
  line-height: 1.6;
  border: 1px solid var(--sand);
}

/* Mobile full-screen drawer */
@media (max-width: 768px) {
  .cart-drawer {
    width: 100vw;
    right: -100vw;
  }
  .cart-drawer.cart-drawer--open {
    right: 0 !important;
  }

  .cart-fab {
    bottom: 85px; /* above sticky CTA */
    right: 20px;
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
    box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 2px 8px rgba(194,80,61,0.5);
    border: 3px solid white;
  }

  .cart-send-btn {
    font-size: 0.8rem;
    padding: 10px 6px;
  }

  .cart-drawer__actions {
    padding: 12px 16px 20px;
  }

  .cart-drawer__body {
    padding: 16px;
  }

  .cart-drawer__form {
    padding: 0 16px 12px;
  }
}

/* Print: hide cart */
@media print {
  .cart-fab, .cart-overlay, .cart-drawer, .cart-add-btn { display: none !important; }
}

/* ========== MOBILE MENU + CART RESPONSIVE FIX ========== */
@media (max-width: 768px) {
  /* Menu grid = single column */
  .menu-section .menu-grid,
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  
  /* Menu items full width, readable */
  .menu-section .menu-item {
    padding: 14px 16px;
  }
  
  .menu-item__header {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  
  .menu-item__header h3 {
    font-size: 1rem;
    flex: 1;
    min-width: 0;
  }
  
  .menu-item__price {
    font-size: 1.1rem !important;
    white-space: nowrap;
  }
  
  .menu-item__header + p {
    font-size: .82rem;
  }
  
  /* Cart add button */
  .cart-add-btn {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  
  /* Cart FAB - above sticky CTA */
  .cart-fab {
    bottom: 85px !important;
    right: 20px !important;
    width: 62px !important;
    height: 62px !important;
    font-size: 1.6rem !important;
    box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 2px 8px rgba(194,80,61,0.5) !important;
    border: 3px solid white !important;
  }
  
  /* Cart drawer full screen on mobile */
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  /* Category titles */
  .menu-category__title {
    font-size: 1.3rem !important;
  }
  
  /* Container padding */
  .menu-section .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Supplements grid */
  .menu-grid[style*="minmax(200px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Menu notice */
  .menu-notice {
    padding: 14px 16px !important;
    font-size: .88rem;
  }
  
  /* Menu fidelity */
  .menu-fidelity {
    padding: 18px 16px !important;
  }
  .menu-fidelity p:first-child {
    font-size: 1rem !important;
  }
  
  /* Trust bar */
  .trust-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .trust-bar__item {
    font-size: .8rem;
  }
}

@media (max-width: 480px) {
  .menu-item__header h3 {
    font-size: .95rem;
  }
  .menu-section .menu-item {
    padding: 12px 14px;
  }
}

/* ========== CART FOOTER STICKY ========== */
.cart-drawer__footer {
  flex-shrink: 0;
  background: var(--cream, #FBF7F0);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.cart-drawer__footer .cart-sticky-total {
  padding: 12px 20px;
  margin: 0;
}
.cart-drawer__footer .cart-drawer__actions {
  padding: 8px 20px 16px;
}
@media (max-width: 768px) {
  .cart-drawer__footer .cart-sticky-total {
    padding: 10px 16px;
  }
  .cart-drawer__footer .cart-drawer__actions {
    padding: 6px 16px 12px;
  }
  .cart-drawer__footer .cart-send-btn {
    font-size: .78rem;
    padding: 10px 4px;
  }
}

/* ========== 2-STEP CART FLOW ========== */
.cart-step {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.cart-next-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: white;
  color: var(--terracotta-primary, #C2503D);
  border: none;
  font-family: var(--font-display, 'Playfair Display SC', serif);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.cart-next-btn:hover {
  background: var(--terracotta-primary, #C2503D);
  color: white;
}
.cart-next-btn:active {
  transform: scale(0.98);
}

.cart-back-btn {
  display: inline-block;
  background: none;
  border: none;
  color: var(--terracotta-primary, #C2503D);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0 16px;
  text-decoration: underline;
}

.cart-order-recap {
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .88rem;
  line-height: 1.6;
  color: #555;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.cart-order-recap strong {
  color: var(--charcoal, #2D2A26);
}

/* ========== FIX HORIZONTAL SCROLL ========== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
.hero, .trust-bar, .footer, .cta-section,
.cart-drawer, .cart-drawer__body, .cart-step {
  overflow-x: hidden;
  max-width: 100%;
}
.container, .section, .menu-section, .menu-category, .menu-grid {
  max-width: 100%;
}
* {
  box-sizing: border-box;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}
.menu-item__header {
  overflow: visible;
  word-break: break-word;
}

/* ========== SVG INLINE ICONS ========== */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.nav__link--commander .icon {
  margin-right: 4px;
}
.cart-send-btn .icon {
  margin-right: 6px;
}
.cart-fab .icon {
  width: 24px;
  height: 24px;
}
