/* =========================================
   PANUOZZO – Pizzeria Bougival  v3
   Mobile-first · Note 20 5G (393px) + Dell G15 (1920px)
   Design system : tokens · spacing · shadows · radii
   ========================================= */

:root {
  /* ── Couleurs ── */
  --green:     #1a6b4e;
  --green2:    #22875f;
  --green-bg:  #f0fdf4;
  --red:       #dc2626;
  --red2:      #ef4444;
  --red-bg:    #fef2f2;
  --gold:      #d97706;
  --gold-bg:   #fffbeb;
  --white:     #ffffff;
  --cream:     #faf9f7;
  --surface:   #ffffff;
  --border:    #e7e5e0;
  --border2:   #d4d0ca;
  --gray:      #78716c;
  --gray2:     #a8a29e;
  --dark:      #1c1917;
  --dark2:     #292524;

  /* ── Ombres ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 28px rgba(0,0,0,.09), 0 4px 12px rgba(0,0,0,.05);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.11), 0 6px 18px rgba(0,0,0,.06);

  /* ── Rayons ── */
  --r-xs:   6px;
  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* ── Espacement (base 4px) ── */
  --s1:2px; --s2:8px;  --s3:12px; --s4:16px;
  --s5:20px;--s6:24px; --s8:32px; --s10:40px;
  --s12:48px;--s16:64px;--s20:80px;--s24:96px;

  /* ── Typographie ── */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* ── Transitions ── */
  --t-fast: .14s ease;
  --t-base: .22s ease;
  --t-slow: .38s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%; /* stylelint-disable-line */
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: var(--font-body); }
button { touch-action: manipulation; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s5);
}
@media (min-width: 768px) { .container { padding: 0 var(--s8); } }
@media (min-width: 1440px) { .container { padding: 0 var(--s12); } }

/* =========================================
   HEADER
   ========================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,249,247,.35);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
#header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 20px rgba(0,0,0,.06);
}
#header.past-hero {
  background: rgba(250,249,247,.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
#header.past-hero nav a {
  color: var(--gray);
  text-shadow: none;
  font-weight: 500;
}
#header.past-hero nav a:hover { color: var(--dark); }
#header.past-hero nav a::after { background: var(--green); }
#header.past-hero .logo-text .brand-white { color: var(--dark); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 var(--s6);
  max-width: 1240px;
  margin: 0 auto;
  gap: var(--s4);
}

.logo { display: flex; flex-direction: row; align-items: center; gap: 8px; line-height: 1.1; text-decoration: none; }
.logo-brand-text { display: flex; flex-direction: column; }
.logo-img { height: 44px; width: auto; flex-shrink: 0; }
@media (max-width: 480px) {
  .logo-img { height: 30px; }
  .logo-text { font-size: 1.45rem; }
  .logo-sub { font-size: .5rem; letter-spacing: 1.5px; }
  .logo { gap: 6px; }
}
.logo-text {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
/* Header transparent sur hero → logo en blanc */
#header .logo-text .brand-white { color: var(--white); }
/* Footer fond sombre → "uoz" reste blanc */
.footer-brand .logo-text .brand-white { color: rgba(255,255,255,.9); }
.logo-sub {
  font-size: .58rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

nav { display: none; gap: var(--s8); align-items: center; }
@media (min-width: 900px) { nav { display: flex; } }
nav a {
  font-size: .86rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,.7), 0 2px 12px rgba(0,0,0,.4);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-base);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1.5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
  border-radius: 1px;
}
nav a:hover { color: rgba(255,255,255,.75); }
nav a:hover::after { transform: scaleX(1); }

.btn-order-header {
  display: none;
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 2px 10px rgba(220,38,38,.28);
  white-space: nowrap;
}
.btn-order-header:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(220,38,38,.38); }
.btn-order-header:active { transform: translateY(0); }
@media (min-width: 900px) { .btn-order-header { display: block; } }

.burger {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--dark);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
  line-height: 1;
  display: flex;
  align-items: center;
}
.burger:hover { background: rgba(0,0,0,.05); }
@media (min-width: 900px) { .burger { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--s4) var(--s6) var(--s5);
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav.open {
  display: flex;
  animation: navSlide .18s ease;
}
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  padding: 13px 0;
  font-size: .92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--green); }
.btn-order-mobile {
  margin-top: var(--s3);
  background: linear-gradient(135deg, var(--red), #b91c1c) !important;
  color: var(--white) !important;
  text-align: center;
  padding: 15px !important;
  border-radius: var(--r) !important;
  font-weight: 700 !important;
  border: none !important;
  justify-content: center !important;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px var(--s5) 60px;
  padding-bottom: max(60px, env(safe-area-inset-bottom, 60px));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero/image_hero.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(11,29,20,.78) 0%, rgba(22,45,31,.65) 40%, rgba(13,35,24,.72) 70%, rgba(21,8,8,.80) 100%);
  animation: heroPulse 9s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.03); }
}

.hero-halal-logo {
  position: absolute;
  bottom: var(--s6);
  right: var(--s6);
  width: 90px;
  opacity: .75;
  filter: invert(1);
  z-index: 1;
  pointer-events: none;
}

.hero-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-floating span {
  position: absolute;
  font-size: 3rem;
  opacity: .055;
  animation: floatPizza 8s ease-in-out infinite;
  user-select: none;
  will-change: transform;
}
.hero-floating span:nth-child(1) { top:12%; left:6%;   font-size:2.5rem; animation-duration:7s;  animation-delay:0s;  }
.hero-floating span:nth-child(2) { top:68%; right:7%;  font-size:3.5rem; animation-duration:10s; animation-delay:2.5s;}
.hero-floating span:nth-child(3) { top:35%; left:78%;  font-size:2rem;   animation-duration:6s;  animation-delay:4s;  }
.hero-floating span:nth-child(4) { top:82%; left:25%;  font-size:2.8rem; animation-duration:8.5s;animation-delay:1s;  }
.hero-floating span:nth-child(5) { top:20%; left:48%;  font-size:2rem;   animation-duration:11s; animation-delay:3s;  }
@keyframes floatPizza {
  0%,100% { transform: translateY(0)    rotate(-8deg); }
  50%     { transform: translateY(-26px) rotate(8deg);  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: .76rem;
  font-weight: 600;
  margin-bottom: var(--s5);
  border: 1px solid rgba(255,255,255,.14);
  letter-spacing: .8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  /* police remplacée pour .hero-brand ci-dessous */
  color: var(--white);
  line-height: 1.08;
  margin-bottom: var(--s5);
  letter-spacing: -.025em;
}
.hero-content h1.hero-brand {
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(5rem, 14vw, 10rem) !important;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.brand-red   { color: #ef4444; }
.brand-white { color: #ffffff; }
.brand-green { color: #4ade80; }

/* ── Reveal lettre par lettre ── */
@keyframes letterIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.92);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bl {
  display: inline-block;
  opacity: 0;
  animation: letterIn .55s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--i) * 90ms + 150ms);
}
.hero-reveal {
  opacity: 0;
  animation: heroFadeUp .55s ease forwards;
  animation-delay: calc(var(--i) * 90ms + 150ms);
}

.hero-tagline {
  color: rgba(255,255,255,.88);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: var(--s4);
  letter-spacing: .01em;
}
.hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  margin-bottom: var(--s8);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
  margin-bottom: var(--s8);
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: var(--white);
  padding: 16px 38px;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 700;
  transition: transform var(--t-fast), box-shadow var(--t-base);
  display: inline-block;
  box-shadow: 0 4px 18px rgba(220,38,38,.42);
  letter-spacing: .1px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(220,38,38,.52); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,.09);
  color: var(--white);
  padding: 16px 38px;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.22);
  transition: background var(--t-base), border-color var(--t-base);
  display: inline-block;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
}
.hero-badges span {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: .76rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(8px);
}
.hero-badges .badge-halal {
  background: rgba(0, 133, 66, .22);
  color: #6ee7a8;
  border-color: rgba(0, 133, 66, .45);
  font-weight: 700;
}
.halal-inline {
  color: #16a34a;
  font-weight: 700;
}

/* =========================================
   BANDEAU HORAIRES
   ========================================= */
.bandeau-horaires {
  background: var(--green);
  color: var(--white);
  padding: 10px var(--s5);
  font-size: .8rem;
  font-weight: 500;
}
.bandeau-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s2);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s5);
}
.sep { opacity: .35; }

/* =========================================
   SECTIONS COMMUNES
   ========================================= */
.section-menu      { padding: var(--s20) 0; background: var(--cream); }
.section-avis      { padding: var(--s20) 0; background: var(--white); }
.section-contact   { padding: var(--s20) 0; background: var(--cream); }
.section-livraison { padding: var(--s20) 0; background: var(--white); }
.section-commander { padding: var(--s20) 0; background: var(--green); }
.section-promo     { padding: var(--s10) 0; background: var(--red);   color: var(--white); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  text-align: center;
  margin-bottom: var(--s3);
  color: var(--dark);
  letter-spacing: -.025em;
  line-height: 1.15;
}
.section-title.white { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: var(--s12);
  font-size: .92rem;
  line-height: 1.7;
}
.section-sub.white { color: rgba(255,255,255,.7); }

/* =========================================
   INGRÉDIENTS SUPPLÉMENTAIRES
   ========================================= */
.extras-banner {
  background: var(--green-bg);
  border: 1.5px solid #bbf7d0;
  border-radius: var(--r);
  margin-bottom: var(--s3);
  overflow: hidden;
}
.extras-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 13px var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s3);
  cursor: pointer;
  font-size: .86rem;
  color: var(--dark);
  text-align: left;
  transition: background var(--t-fast);
}
.extras-toggle:hover { background: rgba(26,107,78,.06); }
.extras-toggle strong { color: var(--green); font-weight: 700; }
.extras-tag {
  margin-left: auto;
  font-size: .74rem;
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(26,107,78,.1);
  padding: 3px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.extras-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  padding: var(--s1) var(--s5) var(--s5);
}
.extras-grid[hidden] { display: none; }
.extras-grid span {
  background: var(--white);
  border: 1px solid #bbf7d0;
  color: var(--dark);
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-size: .74rem;
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: default;
}
.extras-grid span:hover { background: var(--green-bg); border-color: #86efac; }

/* =========================================
   OFFRE EXCLUSIVE
   ========================================= */
.offre-exclusive {
  background: linear-gradient(135deg, #0f1a14 0%, #1a0606 100%);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220,38,38,.25);
}
.offre-exclusive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 16px,
    rgba(220,38,38,.028) 16px, rgba(220,38,38,.028) 32px
  );
  pointer-events: none;
}
.offre-days-row {
  display: flex;
  gap: var(--s2);
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
}
.day-pill {
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-xs);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.offre-condition {
  color: rgba(255,255,255,.38);
  font-size: .72rem;
  white-space: nowrap;
}
.offre-headline {
  flex: 1;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  color: var(--white);
  font-weight: 700;
  min-width: 160px;
  position: relative;
  line-height: 1.3;
}
.offre-headline strong { color: #fbbf24; }
.offre-badge-wrap { flex-shrink: 0; position: relative; }
.offre-badge {
  background: linear-gradient(135deg, var(--red), #991b1b);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--r);
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-head);
  box-shadow: 0 4px 16px rgba(220,38,38,.45);
}
.offre-link {
  display: inline-block;
  margin-top: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  letter-spacing: .03em;
}
.offre-exclusive:hover { border-color: rgba(220,38,38,.55); box-shadow: 0 4px 20px rgba(220,38,38,.15); }
/* =========================================
   MENU MIDI BANNER
   ========================================= */
.menu-midi-banner {
  background: linear-gradient(125deg, #1a6b4e 0%, #22875f 55%, #2aa870 100%);
  border: none;
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
  box-shadow: 0 6px 24px rgba(26,107,78,.3), 0 2px 6px rgba(26,107,78,.15);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
/* Shimmer subtil en fond */
.menu-midi-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  pointer-events: none;
}
.menu-midi-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,107,78,.4), 0 3px 8px rgba(26,107,78,.2);
}

/* Partie gauche — icône + titre + jours */
.mmb-left {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-shrink: 0;
}
.mmb-sun { font-size: 2rem; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.mmb-info { display: flex; flex-direction: column; gap: 5px; }
.mmb-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.mmb-days {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.mmb-days span {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: var(--r-xs);
}
.mmb-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
}

/* Partie centrale — prix */
.mmb-prices {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}
.mmb-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  padding: 6px 12px;
}
.mmb-price-row span { font-size: .8rem; color: rgba(255,255,255,.85); }
.mmb-price-row strong { font-size: .95rem; font-weight: 800; color: #fff; white-space: nowrap; }

/* CTA */
.mmb-cta {
  flex-shrink: 0;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
  transition: background var(--t-fast);
  white-space: nowrap;
}
.menu-midi-banner:hover .mmb-cta { background: rgba(255,255,255,.28); }

/* =========================================
   RECHERCHE PIZZA
   ========================================= */
.search-wrap { position: relative; margin-bottom: var(--s8); }
.pizza-search {
  width: 100%;
  padding: 14px 52px 14px var(--s5);
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  -webkit-appearance: none;
}
.pizza-search:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(26,107,78,.1);
}
.pizza-search::placeholder { color: var(--gray2); }
/* Masquer le bouton clear natif sur Chrome */
.pizza-search::-webkit-search-cancel-button { display: none; }
.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
  opacity: .45;
}
.search-label {
  text-align: center;
  color: var(--gray);
  font-size: .86rem;
  margin-bottom: var(--s6);
  padding: var(--s3) var(--s5);
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-weight: 500;
}
.no-results { text-align: center; color: var(--gray); padding: 60px var(--s5); font-size: .92rem; }
.no-results.hidden { display: none; }

/* =========================================
   ONGLETS MENU — underline slide
   ========================================= */
.menu-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: var(--s10);
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.tab {
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 12px var(--s5);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--t-base);
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--s5); right: var(--s5);
  height: 2px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.tab:hover { color: var(--dark); }
.tab.active { color: var(--green); }
.tab.active::after { transform: scaleX(1); }

.tab em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
  color: var(--gray);
  border-radius: var(--r-full);
  font-size: .62rem;
  font-style: normal;
  font-weight: 800;
  padding: 1px 6px;
  margin-left: var(--s2);
  vertical-align: middle;
  transition: all var(--t-base);
}
.tab.active em { background: var(--green); color: var(--white); }

/* =========================================
   TAB CONTENT
   ========================================= */
.tab-content { display: block; }
.tab-content.hidden { display: none; }

/* =========================================
   GRILLE PIZZAS
   ========================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: var(--s6);
  margin-bottom: var(--s8);
}

/* =========================================
   CARTES PIZZA
   ========================================= */
.pizza-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}
.pizza-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pizza-img {
  aspect-ratio: 4 / 3;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.pizza-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Masque l'emoji filigrane quand une vraie photo est présente */
.pizza-img:has(img)::after { display: none; }
/* Icône emoji en filigrane */
.pizza-img::after {
  content: "🍕";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.2rem;
  opacity: .18;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}
/* Dégradé bas de l'image */
.pizza-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.15));
  z-index: 1;
}
/* Overrides emojis par contexte */
#tab-sandwichs .pizza-img::after              { content: "🥪"; }
#tab-sandwichs .pg-pan-regi::after,
#tab-sandwichs .pg-pan-rust::after,
#tab-sandwichs .pg-pan-diav::after,
#tab-sandwichs .pg-pan-bian::after            { content: "🥙"; }
.pg-tiram::after                              { content: "☕"; }
.pg-choco::after                              { content: "🍫"; }
.pg-tart::after                               { content: "🍎"; }
.pg-panna::after                              { content: "🫙"; }

.pizza-info { padding: var(--s4); flex: 1; display: flex; flex-direction: column; }
.pizza-info h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin-bottom: 3px;
  color: var(--dark);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.pizza-info p {
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: var(--s4);
  line-height: 1.55;
  flex: 1;
}

.pizza-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  margin-top: auto;
}
.pizza-price { display: flex; align-items: baseline; }
.pizza-price strong { color: var(--green); font-size: 1.05rem; font-weight: 700; }

.btn-add {
  background: var(--green);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r);
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast);
  display: inline-block;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-add:hover { background: var(--green2); transform: translateY(-1px); }
.btn-add:active { transform: translateY(0); }

.item-price {
  font-size: 1.25rem;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
}

/* Badges */
.card-badges { margin-bottom: var(--s2); }
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--r-full);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.badge-hot { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.badge-veg { background: #f0fdf4; color: #16a34a; border: 1px solid #86efac; }
.badge-pop { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-new { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-sig { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }

/* =========================================
   SOUS-SECTIONS
   ========================================= */
.menu-subsection { margin-bottom: var(--s12); }
.menu-subsection:last-child { margin-bottom: 0; }

.subsection-header {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.subsection-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -.02em;
}
.subsection-desc { font-size: .8rem; color: var(--gray); line-height: 1.5; }
.price-tag-header {
  margin-left: auto;
  background: var(--green);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================
   HÄAGEN-DAZS
   ========================================= */
.hd-section {
  background: linear-gradient(145deg, #111 0%, #1f0808 100%);
  border-radius: var(--r-xl);
  padding: var(--s8);
  margin-top: var(--s8);
  border: 1px solid rgba(255,255,255,.06);
}
.hd-section .subsection-header { border-bottom-color: rgba(255,255,255,.08); padding-bottom: var(--s5); }
.hd-brand {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: .5px;
}
.hd-section .subsection-desc { color: rgba(255,255,255,.5); }
.hd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s5);
}
.hd-card {
  background: rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s4);
  border: 1px solid rgba(255,255,255,.09);
  transition: background var(--t-base), transform var(--t-base);
  flex-wrap: wrap;
}
.hd-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.hd-card-lg { border-color: rgba(251,191,36,.2); background: rgba(251,191,36,.04); }
.hd-card-lg:hover { background: rgba(251,191,36,.08); }
.hd-pot-wrap { text-align: center; flex-shrink: 0; width: 52px; }
.hd-pot-icon { font-size: 1.7rem; }
.hd-pot-size { font-size: .6rem; font-weight: 800; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hd-pot-info { flex: 1; min-width: 120px; }
.hd-pot-info strong { display: block; font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.hd-pot-info p { font-size: .72rem; color: rgba(255,255,255,.45); margin-bottom: var(--s2); }
.hd-price { font-family: var(--font-head); font-size: 1.35rem; color: #fbbf24; font-weight: 700; }
.hd-card .btn-add { background: rgba(255,255,255,.12); margin-top: var(--s2); flex-shrink: 0; }
.hd-card .btn-add:hover { background: rgba(255,255,255,.2); transform: none; }

/* =========================================
   BOISSONS
   ========================================= */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.drink-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  font-size: 1.5rem;
  text-align: center;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.drink-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.drink-card span { font-size: .78rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.drink-card .btn-add {
  margin-top: 4px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.drink-card .btn-add:hover { background: var(--green2); }
.drink-card-lg { border-color: #bbf7d0; background: var(--green-bg); }
.drink-card-lg:hover { border-color: var(--green); }

/* Formule modal selectors */
.formule-select-group { margin-bottom: var(--s4); }
.formule-select-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.formule-select-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .85rem;
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.formule-select-group select:focus { outline: 2px solid var(--green); border-color: transparent; }
.formule-radio-group { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.formule-radio-label {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer; font-size: .82rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.formule-radio-label input { display: none; }
.formule-radio-label:has(input:checked) { border-color: var(--green); background: var(--green-bg); color: var(--green); font-weight: 600; }
.formule-section-title { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: var(--s3); margin-top: var(--s4); }
.formule-section-title:first-child { margin-top: 0; }

/* Sélecteur base tomate / crème dans les formules */
.formule-base-group { border: 1.5px solid var(--border); border-radius: var(--r); padding: var(--s4); background: var(--cream); }
.formule-base-group > label { font-size: .8rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--s3); }
.base-radio-row { display: flex; gap: var(--s2); margin-bottom: var(--s3); }
.base-radio-label {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast);
  background: var(--white);
}
.base-radio-label input { display: none; }
.base-radio-label:has(input[value="tomate"]:checked) { border-color: var(--red2); background: var(--red-bg); color: var(--red); font-weight: 700; }
.base-radio-label:has(input[value="creme"]:checked) { border-color: #d97706; background: #fffbeb; color: #92400e; font-weight: 700; }

/* =========================================
   FORMULES
   ========================================= */
.formules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
}
.formule-card {
  border-radius: var(--r-xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.formule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.formule-gourmand {
  background: linear-gradient(145deg, #fffdf5, #fffbeb);
  border: 2px solid #fde68a;
  box-shadow: 0 4px 20px rgba(217,119,6,.12);
}
.formule-midi {
  background: linear-gradient(145deg, #1a6b4e 0%, #22875f 60%, #2aa870 100%);
  border: none;
  box-shadow: 0 8px 32px rgba(26,107,78,.35), 0 2px 8px rgba(26,107,78,.2);
  color: #fff;
}
.formule-midi h3 { color: #fff; }
.formule-badge-midi {
  background: rgba(255,255,255,.18) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3) !important;
  color: #fff !important;
}
.formule-desc--light { color: rgba(255,255,255,.65) !important; }

/* ── Midi options ── */
.midi-options {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.midi-opt {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: var(--s5) var(--s4);
  text-align: center;
  transition: background var(--t-fast);
}
.midi-opt:hover { background: rgba(255,255,255,.08); }
.midi-opt-emoji  { font-size: 1.8rem; line-height: 1; }
.midi-opt-label  { font-size: .85rem; font-weight: 700; color: #fff; }
.midi-opt-bonus  {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.midi-opt-price  {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-top: 3px;
}
.midi-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  padding: 0 var(--s2);
  border-left: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.1);
}

/* ── Midi days ── */
.midi-days {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}
.midi-days span {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: var(--r-xs);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Midi CTA button ── */
.btn-formule--light {
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  color: #fff !important;
  backdrop-filter: blur(4px);
}
.btn-formule--light:hover {
  background: rgba(255,255,255,.28) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2) !important;
}
.formule-exclusive {
  background: linear-gradient(145deg, #111827, #1f0a0a);
  border: 2px solid rgba(220,38,38,.35);
  box-shadow: 0 4px 24px rgba(220,38,38,.18);
}

.formule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.formule-icon-big { font-size: 1.5rem; }
/* Réinitialise le badge de base pour ne pas hériter de l'ancien style */
.formule-card .formule-badge {
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 0;
}
.formule-badge-gold  { background: #f59e0b !important; color: var(--white) !important; }
.formule-badge-green { background: var(--green) !important; color: var(--white) !important; }
.formule-badge-red   { background: var(--red) !important; color: var(--white) !important; }

.formule-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.formule-exclusive h3 { color: var(--white); }
.formule-desc { font-size: .8rem; color: var(--gray); margin: 0; line-height: 1.5; }
.formule-exclusive .formule-desc { color: rgba(255,255,255,.45); }

.formule-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s3); }
.formule-items li { font-size: .88rem; line-height: 1.4; }
.formule-exclusive .formule-items li { color: rgba(255,255,255,.85); }
.formule-items em { color: var(--gray2); font-size: .76rem; display: block; text-align: center; padding: var(--s1) 0; }
.formule-exclusive .formule-items em { color: rgba(255,255,255,.25); }

.formule-days-footer { display: flex; gap: var(--s2); flex-wrap: wrap; }
.formule-days-footer span { background: linear-gradient(135deg, var(--red), #991b1b); color: var(--white); padding: 3px 9px; border-radius: var(--r-xs); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }

/* Formule price display */
.formule-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.formule-price--gold { color: var(--gold); }


.formule-note {
  font-size: .73rem;
  color: var(--gray);
  padding: var(--s3) var(--s4);
  background: rgba(0,0,0,.04);
  border-radius: var(--r-sm);
  line-height: 1.5;
}
.formule-exclusive .formule-note { background: rgba(255,255,255,.05); color: rgba(255,255,255,.4); }
.btn-formule { text-align: center; display: block; margin-top: var(--s2); }

/* Note menu */
.menu-note {
  text-align: center;
  color: var(--gray);
  font-size: .8rem;
  padding: var(--s4) var(--s5);
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-top: var(--s8);
  line-height: 1.6;
}

/* =========================================
   COMMANDER
   ========================================= */
.cart-infobadges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
  margin-bottom: var(--s6);
}
/* ── Bandeau restaurant fermé (au-dessus du panier, toujours visible) ── */
.restaurant-closed-banner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(251,191,36,.35);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  max-width: 560px;
  margin: 0 auto var(--s6);
}
.rcb-icon { font-size: 1.8rem; flex-shrink: 0; }
.rcb-body { display: flex; flex-direction: column; gap: 3px; }
.rcb-body strong { color: #fbbf24; font-size: 1rem; font-weight: 700; }
.rcb-body span {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.cart-infobadges span {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.cmd-note { color: rgba(255,255,255,.55); font-size: .8rem; margin-top: var(--s3); }

.cart-wrap { max-width: 560px; margin-left: auto; margin-right: auto; }
#stripe-cart { background: rgba(255,255,255,.08); border-radius: var(--r-lg); padding: var(--s5); min-height: 80px; margin-bottom: var(--s4); }
.cart-empty { color: rgba(255,255,255,.45); font-size: .86rem; padding: var(--s3) 0; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: var(--s3) 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white); font-size: .86rem; }
.cart-item:last-child { border-bottom: none; }
.cart-item-qty { display: flex; align-items: center; gap: var(--s3); }
.cart-item-qty button { background: rgba(255,255,255,.14); border: none; color: var(--white); width: 26px; height: 26px; border-radius: 50%; font-size: .95rem; cursor: pointer; transition: background var(--t-fast); touch-action: manipulation; }
.cart-item-qty button:hover { background: rgba(255,255,255,.24); }
.cart-summary { text-align: center; }
.cart-total { color: var(--white); font-size: 1.05rem; margin-bottom: var(--s4); }
.cart-total strong { font-size: 1.45rem; }
.btn-pay { font-size: .95rem; padding: 16px 44px; border: none; cursor: pointer; }

/* Choix livraison / à emporter */
.cart-delivery-choice { margin-bottom: var(--s4); }
.cart-delivery-label { color: rgba(255,255,255,.7); font-size: .82rem; margin-bottom: var(--s3); text-align: center; }
.cart-delivery-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); max-width: 320px; margin: 0 auto; }
.btn-delivery-opt {
  padding: 14px var(--s4);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
}
.btn-delivery-opt:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.35); }
.btn-delivery-opt.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,107,78,.4);
}

/* Formulaire livraison */
.form-group { margin-bottom: var(--s4); }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-required { color: var(--red2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,107,78,.1); }
.form-group input.input-error { border-color: var(--red2); }
.form-group textarea { resize: vertical; min-height: 64px; font-family: inherit; }
.form-error { display: block; font-size: .75rem; color: var(--red2); margin-top: 4px; min-height: 16px; }
.btn-delivery-submit { width: 100%; margin-top: var(--s2); font-size: .95rem; }

/* =========================================
   LIVRAISON
   ========================================= */
/* ── Legacy grid (unused but kept for safety) ── */
.livraison-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: var(--s4); margin-bottom: var(--s8); }

/* ── Livraison cards redesign ── */
.lv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  max-width: 680px;
  margin: 0 auto var(--s8);
}
.lv-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.lv-card:hover { transform: translateY(-4px); }

/* Free card — green gradient */
.lv-card--free {
  background: linear-gradient(145deg, #1a6b4e 0%, #22875f 60%, #2aa870 100%);
  box-shadow: 0 8px 32px rgba(26,107,78,.35), 0 2px 8px rgba(26,107,78,.2);
  color: #fff;
}
.lv-card--free:hover {
  box-shadow: 0 14px 40px rgba(26,107,78,.45), 0 4px 12px rgba(26,107,78,.25);
}

/* Paid card — white, neutral */
.lv-card--paid {
  background: var(--white);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--dark);
}
.lv-card--paid:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}

/* Pill badge */
.lv-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  white-space: nowrap;
}
.lv-pill--free {
  background: #fff;
  color: var(--green);
  box-shadow: 0 2px 8px rgba(26,107,78,.25);
}
.lv-pill--paid {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Emoji icon */
.lv-emoji {
  font-size: 2.6rem;
  line-height: 1;
  margin-top: var(--s3);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

/* Title */
.lv-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.lv-card--free .lv-title { color: #fff; }
.lv-card--paid .lv-title { color: var(--dark); }

/* Subtitle */
.lv-desc {
  font-size: .78rem;
  margin: 0;
  opacity: .75;
}
.lv-card--free .lv-desc { color: #fff; }
.lv-card--paid .lv-desc { color: var(--gray); }

/* Zone list */
.lv-zones {
  list-style: none;
  padding: 0;
  margin: var(--s2) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.lv-zones li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(4px);
}
.lv-zones li svg { flex-shrink: 0; opacity: .85; }

/* Note on paid card */
.lv-note {
  font-size: .78rem;
  line-height: 1.6;
  color: var(--gray);
  margin: var(--s2) 0 0;
  padding: var(--s3) var(--s4);
  background: var(--cream);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 520px) {
  .lv-cards { grid-template-columns: 1fr; gap: var(--s8); max-width: 360px; }
}

.livraison-free { color: var(--green) !important; font-weight: 700 !important; }
.livraison-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
  background: var(--white);
  padding: var(--s5) var(--s6);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  font-size: .86rem;
  color: var(--gray);
  border: 1px solid var(--border);
}
.livraison-conditions strong { color: var(--dark); }

/* =========================================
   PROMO
   ========================================= */
.promo-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s6); }
.promo-inner h2 { font-family: var(--font-head); font-size: 1.55rem; color: var(--white); letter-spacing: -.02em; }
.promo-inner p { color: rgba(255,255,255,.78); font-size: .9rem; margin-top: 4px; }
.promo-code-box { display: flex; align-items: center; gap: var(--s3); background: rgba(0,0,0,.2); border-radius: var(--r); padding: 12px var(--s5); }
#promo-code { font-size: 1.35rem; font-weight: 700; letter-spacing: 3px; color: var(--white); font-family: monospace; }
#btn-copy { background: var(--white); color: var(--red); border: none; padding: 8px 16px; border-radius: var(--r-sm); font-weight: 700; cursor: pointer; font-size: .8rem; transition: opacity var(--t-fast); touch-action: manipulation; }
#btn-copy:hover { opacity: .85; }

/* =========================================
   AVIS
   ========================================= */
.avis-score { display: flex; align-items: center; gap: var(--s5); justify-content: center; margin-bottom: var(--s10); }
.score-num { font-family: var(--font-head); font-size: 3.5rem; color: var(--green); line-height: 1; font-weight: 700; }
.stars { font-size: 1.35rem; color: #f59e0b; margin-bottom: 3px; }
.avis-score p { color: var(--gray); font-size: .84rem; }

.avis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s6); margin-bottom: var(--s10); }
.avis-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: var(--s6);
  border: 1px solid var(--border);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.avis-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.avis-stars { color: #f59e0b; font-size: .92rem; margin-bottom: var(--s2); }
.avis-criteria { display: flex; gap: var(--s3); font-size: .72rem; color: var(--gray); margin-bottom: var(--s3); }
.avis-criteria strong { color: var(--green); }
.avis-card p { font-size: .86rem; color: var(--dark); font-style: italic; margin-bottom: var(--s4); line-height: 1.75; }
.avis-author { display: flex; align-items: center; gap: var(--s3); }
.avis-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.avis-author strong { display: block; font-size: .84rem; }
.avis-author span { font-size: .72rem; color: var(--gray); }
.cart-min-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .3);
  border-radius: var(--r);
  padding: var(--s4) var(--s5);
  margin-top: var(--s3);
}
.cart-min-notice strong { color: #f87171; display: block; margin-bottom: 2px; }
.cart-min-notice p { font-size: .82rem; color: rgba(255,255,255,.65); margin: 0; line-height: 1.5; }

.cart-closed-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s2);
  background: rgba(251, 191, 36, .08);
  border: 1px solid rgba(251, 191, 36, .25);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: var(--r);
  padding: var(--s4) var(--s5);
  margin-top: var(--s3);
}
.closed-notice-icon { font-size: 1.6rem; line-height: 1; }
.closed-notice-title { color: #fbbf24; font-size: 1.05rem; font-weight: 700; }
.closed-notice-next {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 6px 18px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.15);
}
.closed-notice-sub { font-size: .76rem; color: rgba(255,255,255,.45); margin: 0; }

.promo-eligible-badge {
  margin-top: var(--s2);
  background: rgba(26,107,78,.12);
  color: var(--green);
  border: 1px solid rgba(26,107,78,.3);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 700;
}

.btn-avis { display: block; width: fit-content; margin: 0 auto; background: var(--green); color: var(--white); padding: 13px 28px; border-radius: var(--r); font-weight: 700; font-size: .88rem; transition: background var(--t-fast), transform var(--t-fast); box-shadow: 0 4px 14px rgba(26,107,78,.28); }
.btn-avis:hover { background: var(--green2); transform: translateY(-1px); }

/* =========================================
   CONTACT
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s10); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-items { display: flex; flex-direction: column; gap: var(--s5); margin-bottom: var(--s6); }
.contact-item { display: flex; gap: var(--s4); align-items: flex-start; }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.contact-item strong { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 3px; }
.contact-item p { font-size: .84rem; color: var(--gray); line-height: 1.65; }
.contact-item a { color: var(--green); font-weight: 600; }
.btn-maps { display: inline-block; background: var(--dark); color: var(--white); padding: 12px 22px; border-radius: var(--r-sm); font-size: .84rem; font-weight: 700; transition: background var(--t-fast), transform var(--t-fast); }
.btn-maps:hover { background: #333; transform: translateY(-1px); }
.contact-map iframe { border-radius: var(--r-lg); width: 100%; display: block; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--dark); color: rgba(255,255,255,.55); padding: var(--s12) 0 var(--s6); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: var(--s8); margin-bottom: var(--s8); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 2fr; } }
.footer-brand-top { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s2); }
.footer-logo-img { height: 40px; width: auto; flex-shrink: 0; }
.footer-brand .logo-text { font-size: 1.7rem; }
.footer-brand p { font-size: .82rem; line-height: 1.75; }
.footer-links { display: flex; flex-direction: column; gap: var(--s3); }
.footer-links a { font-size: .82rem; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: .74rem; }
.footer-legal p { margin-bottom: 3px; }

/* =========================================
   FLOATING CTA
   ========================================= */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: none;
  /* safe area pour iOS/Samsung OneUI */
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
}
@media (max-width: 899px) { .floating-cta { display: block; } }
.btn-floating {
  display: block;
  background: linear-gradient(135deg, var(--red), #991b1b);
  color: var(--white);
  padding: 15px 36px;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
  transition: transform var(--t-base), box-shadow var(--t-base);
  box-shadow: 0 6px 28px rgba(220,38,38,.5), 0 2px 8px rgba(0,0,0,.2);
  letter-spacing: .1px;
}
.btn-floating:hover { transform: scale(1.04) translateY(-1px); box-shadow: 0 10px 36px rgba(220,38,38,.6); }
.btn-floating:active { transform: scale(.98); }

/* =========================================
   GRADIENTS PIZZA
   ========================================= */
/* Tomate */
.pg-red       { background: linear-gradient(135deg, #e63946, #c1121f); }
.pg-orange    { background: linear-gradient(135deg, #f4a261, #e76f51); }
.pg-gold      { background: linear-gradient(135deg, #f4c542, #e9a825); }
.pg-brown     { background: linear-gradient(135deg, #6d4c41, #4e342e); }
.pg-green     { background: linear-gradient(135deg, #40916c, #2d6a4f); }
.pg-navy      { background: linear-gradient(135deg, #457b9d, #1d3557); }
.pg-purple    { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.pg-fire      { background: linear-gradient(135deg, #b71c1c, #ef5350); }
.pg-bbq       { background: linear-gradient(135deg, #4e2305, #974b1a); }
.pg-orient    { background: linear-gradient(135deg, #ff6f00, #e65100); }
.pg-italo     { background: linear-gradient(135deg, #388e3c, #1b5e20); }
.pg-forest    { background: linear-gradient(135deg, #5d4037, #3e2723); }
.pg-sicilian  { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.pg-bosca     { background: linear-gradient(135deg, #bf360c, #e64a19); }
.pg-bbqchick  { background: linear-gradient(135deg, #f57f17, #e65100); }
.pg-pepperoni { background: linear-gradient(135deg, #c1121f, #900b12); }
.pg-med       { background: linear-gradient(135deg, #0288d1, #01579b); }
.pg-savoy     { background: linear-gradient(135deg, #78909c, #37474f); }
.pg-poulet    { background: linear-gradient(135deg, #ffa726, #ef6c00); }
.pg-capri     { background: linear-gradient(135deg, #c62828, #7f1d1d); }
/* Crème */
.pg-cream     { background: linear-gradient(135deg, #fdf3e3, #e9c988); }
.pg-salmon    { background: linear-gradient(135deg, #fd79a8, #e17055); }
.pg-mont      { background: linear-gradient(135deg, #90a4ae, #455a64); }
.pg-miel      { background: linear-gradient(135deg, #fdcb6e, #e67e22); }
.pg-alsace    { background: linear-gradient(135deg, #ffd54f, #ff8f00); }
.pg-bleu      { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.pg-truffe    { background: linear-gradient(135deg, #2d3436, #636e72); }
.pg-burrata   { background: linear-gradient(135deg, #dfe6e9, #b0bec5); }
.pg-sauav     { background: linear-gradient(135deg, #00b09b, #70c93b); }
.pg-norm      { background: linear-gradient(135deg, #fab1a0, #c0392b); }
.pg-epinard   { background: linear-gradient(135deg, #00b894, #009a7a); }
.pg-pesto     { background: linear-gradient(135deg, #6ab04c, #1e8449); }
.pg-champ     { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.pg-tartif    { background: linear-gradient(135deg, #90caf9, #42a5f5); }
/* Sandwichs */
.pg-sand-classic { background: linear-gradient(135deg, #d4a574, #a0785a); }
.pg-sand-spicy   { background: linear-gradient(135deg, #ff6b35, #c0392b); }
.pg-sand-veg     { background: linear-gradient(135deg, #6ab04c, #1e8449); }
.pg-pan-regi     { background: linear-gradient(135deg, #e55039, #c0392b); }
.pg-pan-rust     { background: linear-gradient(135deg, #e67e22, #ca6f1e); }
.pg-pan-diav     { background: linear-gradient(135deg, #922b21, #c0392b); }
.pg-pan-bian     { background: linear-gradient(135deg, #f5cba7, #e59866); }
/* ── Panizza single-card selector ── */
.panizza-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}
.panizza-card-hero {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.panizza-card-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.panizza-card-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--s4) var(--s5);
}
.panizza-card-badge {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.panizza-options {
  display: flex;
  flex-direction: column;
}
.panizza-option {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background var(--t-fast);
}
.panizza-option:last-child { border-bottom: none; }
.panizza-option:hover { background: var(--cream); }
.panizza-option:hover .panizza-opt-cta {
  background: var(--green);
  color: #fff;
  transform: scale(1.05);
}
.panizza-opt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.panizza-opt-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.panizza-opt-body strong {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.panizza-opt-body span {
  font-size: .75rem;
  color: var(--gray);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.panizza-opt-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.panizza-opt-price {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green);
}
.panizza-opt-cta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(26,107,78,.2);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .panizza-opt-body span { max-width: 160px; }
  .panizza-card-hero { height: 140px; }
}

/* Desserts */
.pg-tiram { background: linear-gradient(135deg, #6d4c41, #3e2723); }
.pg-choco { background: linear-gradient(135deg, #3e2723, #4a2c2a); }
.pg-tart  { background: linear-gradient(135deg, #ff8f00, #ffd54f); }
.pg-panna { background: linear-gradient(135deg, #f8bbd0, #e91e63); }

/* =========================================
   ANIMATION UTILITAIRE
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE — ≥ 1200px (Dell G15)
   ========================================= */
@media (min-width: 1200px) {
  .hero-content h1   { font-size: 4.6rem; }
  .menu-grid         { grid-template-columns: repeat(4, 1fr); }
  .avis-grid         { grid-template-columns: repeat(3, 1fr); }
  .livraison-grid    { grid-template-columns: repeat(5, 1fr); }
  .formules-grid     { grid-template-columns: repeat(3, 1fr); }
  .hd-grid           { grid-template-columns: repeat(2, 1fr); }
  .drinks-grid       { grid-template-columns: repeat(6, 1fr); }
  .pizza-img         { aspect-ratio: 4 / 3; }
}

/* =========================================
   RESPONSIVE — 431px → 767px (petits mobiles)
   ========================================= */
@media (min-width: 431px) and (max-width: 767px) {
  .menu-grid    { grid-template-columns: repeat(2, 1fr); }
  .drinks-grid  { grid-template-columns: repeat(3, 1fr); }
  .hd-grid      { grid-template-columns: 1fr; }
}

/* =========================================
   RESPONSIVE — ≤ 430px (Samsung Note 20 5G)
   ========================================= */
@media (max-width: 430px) {
  :root { --s5: 16px; --s6: 20px; }

  .container { padding: 0 var(--s4); }

  /* Header */
  .header-inner { padding: 0 var(--s4); }

  /* Hero */
  .hero { padding: 80px var(--s4) 100px; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; gap: var(--s3); }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 16px 20px; }
  .hero-badges { gap: var(--s2); }
  .hero-badges span { font-size: .72rem; }

  /* Bandeau */
  .bandeau-inner { flex-direction: column; gap: 2px; font-size: .76rem; align-items: center; }
  .sep { display: none; }
  /* Statut ouvert/fermé plus visible sur mobile */
  #statut-ouvert { font-size: .85rem; margin: 2px 0; }
  /* Hero badge statut légèrement plus grand */
  #hero-statut { font-size: .78rem !important; }

  /* Offre exclusive */
  .offre-exclusive { flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s4); }
  .offre-badge-wrap { display: none; }
  .offre-headline { font-size: 1.1rem; }

  /* Menu */
  .menu-tabs { gap: 0; }
  .tab { padding: 11px 13px; font-size: .76rem; }
  .tab em { display: none; }

  /* Grilles */
  .menu-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .formules-grid { grid-template-columns: 1fr; }
  .hd-grid { grid-template-columns: 1fr; }
  .drinks-grid { grid-template-columns: repeat(3, 1fr); }
  .livraison-grid { grid-template-columns: repeat(2, 1fr); }
  .avis-grid { grid-template-columns: 1fr; }

  /* Pizza card */
  .pizza-img { aspect-ratio: 4 / 3; }
  .pizza-img::after { font-size: 2.6rem; }

  /* Subsection */
  .subsection-header { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .price-tag-header { margin-left: 0; }

  /* Formule */
  .formule-card { padding: var(--s6); }

  /* Promo */
  .promo-inner { flex-direction: column; text-align: center; }
  .promo-code-box { justify-content: center; }

  /* Avis */
  .avis-score { flex-direction: column; text-align: center; gap: var(--s3); }

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

/* =========================================
   ACCESSIBILITÉ
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-bg::before { animation: none; }
  .hero-floating span { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================
   MODAL PERSONNALISATION PIZZA
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
}
.modal-overlay.is-open {
  display: flex;
  animation: fadeOverlay .18s ease;
}

@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--s8);
  position: relative;
  animation: slideModal .22s ease;
  box-shadow: var(--shadow-xl);
}

@keyframes slideModal {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  background: var(--border);
  border: none;
  border-radius: var(--r-full);
  width: 32px; height: 32px;
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray2);
  transition: background var(--t-fast), color var(--t-fast);
}
.modal-close:hover { background: var(--red2); color: var(--white); }

.modal-header { margin-bottom: var(--s5); padding-right: var(--s8); }
.modal-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.modal-desc { font-size: .85rem; color: var(--gray2); line-height: 1.5; margin-bottom: 6px; }
.modal-base-price { font-size: .85rem; color: var(--gray2); }
.modal-base-price strong { color: var(--green); }

.modal-section { margin-bottom: var(--s5); }
.modal-section h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.modal-note {
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray2);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.modal-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.modal-check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: .8rem;
  color: var(--dark);
  transition: background var(--t-fast), border-color var(--t-fast);
  user-select: none;
}
.modal-check-label:hover { background: var(--bg); }
.modal-check-label input { display: none; }

/* Remove ingredient: turns red when checked */
#modal-remove .modal-check-label:has(input:checked) {
  background: #fef2f2;
  border-color: var(--red2);
  color: var(--red);
  text-decoration: line-through;
}
/* Add ingredient: turns green when checked */
#modal-add .modal-check-label:has(input:checked) {
  background: var(--green-bg);
  border-color: var(--green2);
  color: var(--green);
}
.modal-check-label em { color: var(--green); font-style: normal; font-weight: 600; font-size: .75rem; }

/* Extras compteurs +/- */
.extra-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 4px;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--dark);
}
.extra-row:last-child { border-bottom: none; }
.extra-name { flex: 1; }
.extra-name em { color: var(--green); font-style: normal; font-weight: 600; font-size: .75rem; margin-left: 4px; }
.extra-counter { display: flex; align-items: center; gap: 8px; }
.extra-count { min-width: 18px; text-align: center; font-weight: 700; font-size: .88rem; }
.extra-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
  touch-action: manipulation;
}
.extra-btn:hover { background: var(--bg); }
.extra-inc:hover { border-color: var(--green); color: var(--green); }
.extra-dec:hover { border-color: var(--red2); color: var(--red2); }
.extra-row:has(.extra-count:not(:empty)):not([data-extra-name]) .extra-count { color: var(--green); }
/* Surligner la ligne quand count > 0 */
.extra-row.has-qty { background: var(--green-bg); border-radius: var(--r-xs); }

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.modal-total-line {
  font-size: 1rem;
  color: var(--gray2);
}
.modal-total-line strong { font-size: 1.4rem; color: var(--dark); font-weight: 800; }
.modal-confirm { flex-shrink: 0; }

/* Cart item customizations */
.cart-item-name { display: flex; flex-direction: column; gap: 2px; }
.cart-item-custom {
  font-size: .72rem;
  margin-top: 1px;
  line-height: 1.5;
}
.cart-item-custom .removed { color: #fca5a5; }
.cart-item-custom .added   { color: #86efac; }
.cart-item-custom .added em { color: #4ade80; font-style: normal; font-weight: 700; }
.cart-item-meat { color: #fcd34d; font-weight: 600; }
.cart-item-desc { color: rgba(255,255,255,.55); font-style: italic; }

/* Boutons parfum Häagen-Dazs */
.hd-flavor-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--dark);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
}
.hd-flavor-btn:hover { border-color: var(--green2); background: var(--green-bg); }
.hd-flavor-btn.selected {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 430px) {
  .modal-box { padding: var(--s5); }
  .modal-footer { flex-direction: column; align-items: stretch; }
  .modal-total-line { text-align: center; }
}
