/* ═══════════════════════════════════════════════════════════════
   JO'PIZZ — THÈME NUIT NAPOLITAINE
   Typographie : Playfair Display (titres) + DM Sans (corps)
   Identique à jopizz.fr
   ═══════════════════════════════════════════════════════════════ */

/* Playfair Display : serif élégant pour les titres
   DM Sans          : sans-serif moderne pour le corps */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,400;1,700;1,900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #0D0B09;
  --surface:     #181410;
  --surface2:    #221D17;
  --surface3:    #2E261C;
  --border:      #2E2620;
  --text-1:      #FAF7F4;
  --text-2:      #CDBEAB;
  --text-muted:  #8C7B6B;

  --flame:       #E8431A;
  --flame-dark:  #BF3414;
  --flame-glow:  #FF6540;
  --amber:       #F5A623;
  --green:       #3DAA72;
  --red-err:     #D84040;

  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   22px;
  --radius-xl:   28px;

  /* Typographie — miroir jopizz.fr */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font:       var(--font-sans);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  margin: 0; padding: 0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════
   HEADER / NAV
═══════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,11,9,.97);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}

/* ── Ligne principale : logo + actions ── */
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 16px;
  height: 56px;
  display: flex; align-items: center; gap: 12px;
  overflow: hidden;          /* empêche tout wrap */
}

/* Logo */
.header-logo {
  text-decoration: none; display: flex; flex-direction: column;
  flex-shrink: 0; line-height: 1.25; min-width: 0;
}
.header-logo strong {
  font-size: 17px; font-weight: 900; letter-spacing: -.3px;
  background: linear-gradient(135deg, var(--flame-glow), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  white-space: nowrap;
}
.header-logo small { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* Nav : occupe l'espace central, scroll horizontal, PAS de wrap */
.header-nav {
  flex: 1; display: flex; align-items: center; gap: 2px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  flex-shrink: 0; color: var(--text-2); text-decoration: none;
  font-size: 13px; font-weight: 600; padding: 6px 11px;
  border-radius: 10px; transition: all .18s; white-space: nowrap;
}
.header-nav a:hover { background: var(--surface2); color: var(--text-1); }
.header-nav a.active { background: var(--surface2); color: var(--flame-glow); }

/* Droite : compte + panier — toujours flex, jamais wrap */
.header-right {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; min-width: 0;
}
@media (max-width: 600px) {
  .header-right { gap: 4px; }
  .notif-wrapper { display: none; } /* cloche masquée sur mobile (notifs in-app via compte) */
}

.header-account-btn {
  padding: 7px 13px; border-radius: 11px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text-1);
  text-decoration: none; transition: all .18s; white-space: nowrap;
}
.header-account-btn:hover { border-color: var(--flame); color: var(--flame-glow); }

/* Bouton panier — toujours visible */
.header-cart-btn {
  position: relative; display: flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 11px;
  background: var(--flame); border: none; color: #fff;
  font-size: 14px; font-weight: 800; cursor: pointer;
  font-family: var(--font); transition: background .18s;
  white-space: nowrap; flex-shrink: 0;
}
.header-cart-btn:hover { background: var(--flame-dark); }
.header-cart-total { font-size: 13px; }

.header-cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--amber); color: var(--bg);
  border-radius: 50%; min-width: 18px; height: 18px;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ── Adaptations mobile ──
   Sur écran étroit : on cache le sous-titre du logo, le bouton connexion,
   et le montant du panier pour que tout tienne sur une seule ligne.         */
@media (max-width: 600px) {
  .header-inner    { padding: 0 10px; gap: 8px; height: 52px; }
  .header-logo small        { display: none; }
  .header-logo strong       { font-size: 15px; }
  .header-account-btn       { display: none; }          /* connexion masquée */
  .header-nav a             { font-size: 12px; padding: 5px 8px; }
  .header-cart-total        { display: none; }          /* juste l'icône 🛒 */
  .header-cart-btn          { padding: 8px 10px; font-size: 18px; }
}

/* ═══════════════════════════
   CART DRAWER
═══════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: -110vw; width: 420px; max-width: 100vw;
  height: 100vh; height: 100dvh;
  background: var(--surface); z-index: 310;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
  transition: right .3s cubic-bezier(.16,1,.3,1);
  overscroll-behavior: contain;
}
.cart-drawer.open { right: 0; }
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; border-left: none; border-top: 1px solid var(--border); }
}

.cart-drawer-header {
  padding: 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h2 { font-size: 18px; font-weight: 800; }
.cart-close {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 12px; cursor: pointer; color: var(--text-2); font-size: 18px;
  font-family: var(--font);
}
.cart-close:hover { background: var(--surface3); }

.cart-items-list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }

.cart-item {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px; display: flex; gap: 10px; align-items: flex-start;
}
.cart-item-thumb {
  width: 52px; height: 52px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0; background: var(--surface3);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
@media (max-width: 380px) {
  .cart-item { gap: 8px; padding: 10px; }
  .cart-item-thumb { width: 42px; height: 42px; font-size: 18px; }
  .cart-item-name { font-size: 13px; }
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 800; font-size: 14px; }
.cart-item-opts { font-size: 12px; color: var(--text-muted); }
.cart-item-price { font-weight: 900; font-size: 14px; color: var(--flame); margin-top: 4px; }
.cart-qty-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface3); cursor: pointer; color: var(--text-2);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font); transition: background .15s;
}
.qty-btn.plus { background: var(--flame); border: none; color: #fff; }
.qty-btn.plus:hover { background: var(--flame-dark); }
.qty-count { font-size: 15px; font-weight: 800; min-width: 24px; text-align: center; }
.qty-del { background: none; border: none; cursor: pointer; color: var(--red-err); font-size: 16px; padding: 4px; margin-left: auto; }
.qty-del:hover { opacity: .7; }

.cart-empty-state {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  padding: 40px; text-align: center;
}
.cart-empty-state .empty-icon { font-size: 60px; opacity: .5; }
.cart-empty-state p { color: var(--text-muted); font-size: 14px; }

.cart-footer {
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-summary { margin-bottom: 14px; }
.cart-summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; margin-bottom: 6px; color: var(--text-muted);
}
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 900;
}
.cart-total-row .total-val { color: var(--amber); }
.cart-footer-divider { height: 1px; background: var(--border); margin: 10px 0; }
.cart-checkout-btn {
  width: 100%; padding: 15px; border: none; border-radius: 14px;
  background: var(--flame); color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer; font-family: var(--font);
  transition: background .18s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-checkout-btn:hover { background: var(--flame-dark); }
.cart-checkout-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ═══════════════════════════
   HERO HOME
═══════════════════════════ */
.hp-hero {
  position: relative; margin: 12px; border-radius: var(--radius-xl);
  overflow: hidden; min-height: 280px;
}
.hp-hero-img {
  width: 100%; height: 300px; object-fit: cover; display: block;
}
.hp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,9,.2) 0%, rgba(13,11,9,.6) 45%, rgba(13,11,9,.95) 100%);
}
.hp-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(232,67,26,.88); border-radius: 20px;
  padding: 4px 12px; font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.hp-hero h1 {
  font-size: clamp(22px, 5vw, 34px); font-weight: 900; line-height: 1.15;
  margin-bottom: 8px;
}
.hp-hero-desc { font-size: 14px; color: var(--text-2); margin-bottom: 16px; }
.hp-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-flame {
  padding: 12px 20px; border: none; border-radius: 14px;
  background: var(--flame); color: #fff;
  font-size: 14px; font-weight: 800; cursor: pointer;
  transition: background .18s; font-family: var(--font); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-flame:hover { background: var(--flame-dark); color: #fff; }
.btn-flame-outline {
  padding: 11px 18px; border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 14px; background: transparent; color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font);
  transition: background .18s; text-decoration: none;
}
.btn-flame-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ═══════════════════════════
   HOME INFO STRIP
═══════════════════════════ */
.home-info-strip { padding: 18px 32px; display: flex; flex-direction: column; gap: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 20px; font-size: 12px; font-weight: 700; border: 1px solid;
}
.status-pill-open   { background: rgba(61,170,114,.12); border-color: rgba(61,170,114,.4); color: var(--green); }
.status-pill-closed { background: rgba(216,64,64,.12);  border-color: rgba(216,64,64,.4);  color: var(--red-err); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.badge-mini {
  display: inline-flex; align-items: center;
  background: rgba(232,67,26,.15); border: 1px solid rgba(232,67,26,.35);
  border-radius: 20px; padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--flame-glow);
}
.info-link {
  display: flex; align-items: center; gap: 7px;
  color: var(--flame-glow); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: color .15s;
}
.info-link:hover { color: var(--amber); }
.info-opening { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════
   DIVIDER
═══════════════════════════ */
.dark-divider { height: 1px; background: var(--border); margin: 0 32px; }

/* ═══════════════════════════
   SECTION HEADINGS
═══════════════════════════ */
.section-heading-dark { padding: 22px 32px 14px; }
.section-title-dark { font-size: 22px; font-weight: 900; color: var(--text-1); }
.section-sub-dark { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ═══════════════════════════
   CATEGORY PILLS SCROLL
═══════════════════════════ */
.cat-pills-row {
  display: flex; gap: 10px; padding: 0 32px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-pills-row::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding-right: 16px; cursor: pointer; overflow: hidden;
  text-decoration: none; transition: border-color .18s;
}
.cat-pill:hover { border-color: var(--flame); }
.cat-pill-emoji {
  width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
}
.cat-pill-img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.cat-pill-label { font-size: 13px; font-weight: 700; color: var(--text-1); }

/* ═══════════════════════════
   CATEGORY BIG GRID
═══════════════════════════ */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; padding: 0 32px 24px;
}
.cat-card {
  position: relative; height: 140px; border-radius: 20px;
  overflow: hidden; cursor: pointer; border: 1px solid var(--border);
  text-decoration: none; transition: transform .18s;
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,9,.05) 0%, rgba(13,11,9,.78) 100%);
}
.cat-card-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; }
.cat-card-name { font-size: 15px; font-weight: 900; color: #fff; }
.cat-card-desc { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════════════════════
   TRACK CARD
═══════════════════════════ */
.track-promo-card {
  margin: 0 32px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; transition: border-color .18s;
}
.track-promo-card:hover { border-color: var(--flame); }
.track-promo-icon { font-size: 32px; }
.track-promo-info { flex: 1; }
.track-promo-title { font-size: 14px; font-weight: 800; color: var(--text-1); }
.track-promo-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.track-promo-arrow {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--flame); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}

/* ═══════════════════════════
   MARQUEE TICKER
═══════════════════════════ */
.marquee-bar {
  overflow: hidden; background: var(--surface2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.marquee-inner { display: flex; gap: 48px; animation-name: marquee; animation-duration: var(--marquee-duration-desktop, 22s); animation-timing-function: linear; animation-iteration-count: infinite; white-space: nowrap; }
.marquee-inner[data-marquee-js="1"] { animation: none !important; will-change: transform; transform: translate3d(0,0,0); }
.marquee-inner:hover { animation-play-state: paused; }
@media (max-width: 700px) {
  .marquee-inner { animation-duration: var(--marquee-duration-mobile, 16s); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-size: 13px; font-weight: 600; color: var(--text-2); }

/* ═══════════════════════════
   REVIEWS SECTION
═══════════════════════════ */
.reviews-section { padding: 24px 32px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 16px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px;
}
.review-stars { color: var(--amber); font-size: 14px; margin-bottom: 8px; }
.review-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.review-body { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.review-author { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.google-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 700;
  color: var(--text-1); text-decoration: none; margin-top: 20px;
}

/* ═══════════════════════════
   NEWSLETTER
═══════════════════════════ */
.newsletter-section {
  margin: 0 32px 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.newsletter-title { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.newsletter-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1; min-width: 220px; padding: 12px 14px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-1); font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .2s;
}
.newsletter-input:focus { border-color: var(--flame); }
.newsletter-consent { font-size: 12px; color: var(--text-muted); margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; }
.newsletter-consent input { flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════════════
   MENU PAGE
═══════════════════════════ */
.menu-hero {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}
.menu-hero h2 { font-size: 26px; font-weight: 900; margin-bottom: 4px; }
.menu-hero p { font-size: 14px; color: var(--text-muted); }

.menu-toolbar {
  padding: 12px 32px 8px;
  display: flex; gap: 10px; align-items: center;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.search-wrap {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px; transition: border-color .2s;
}
.search-wrap:focus-within { border-color: var(--flame); }
.search-wrap .search-icon { color: var(--text-muted); font-size: 16px; }
.search-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text-1); font-size: 14px; font-family: var(--font);
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-clear { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; }
.menu-refresh-btn {
  background: none; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 12px; cursor: pointer; color: var(--text-muted);
  font-size: 16px; transition: all .15s;
}
.menu-refresh-btn:hover { border-color: var(--flame); color: var(--flame-glow); }

.category-filter {
  display: flex; gap: 8px; padding: 10px 32px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.category-filter::-webkit-scrollbar { display: none; }

.category-btn {
  flex-shrink: 0; padding: 8px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 700; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text-2);
  cursor: pointer; transition: all .15s; font-family: var(--font); white-space: nowrap;
}
.category-btn.active { background: var(--flame); color: #fff; border-color: transparent; }
.category-btn:hover:not(.active) { border-color: var(--flame); color: var(--flame-glow); }

.pizza-base-filter {
  display: flex; gap: 8px; padding: 8px 32px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.pizza-base-filter::-webkit-scrollbar { display: none; }
.pizza-base-filter.is-hidden { display: none; }

.pizza-base-btn {
  flex-shrink: 0; padding: 7px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text-2);
  cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap;
}
.pizza-base-btn.active { background: var(--amber); color: var(--bg); border-color: transparent; }

.menu-meta-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 32px; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.menu-meta-bar::-webkit-scrollbar { display: none; }
.menu-count { font-size: 13px; color: var(--text-muted); margin-right: 4px; white-space: nowrap; }
.sort-btn {
  flex-shrink: 0; padding: 6px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; border: 1px solid var(--border);
  background: var(--surface2); color: var(--text-2);
  cursor: pointer; font-family: var(--font); transition: all .15s; white-space: nowrap;
}
.sort-btn.active { border-color: var(--amber); color: var(--amber); }

.products-collection {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; padding: 16px 32px 60px;
}
.products-group-label {
  grid-column: 1 / -1;
  font-size: 17px; font-weight: 800; color: var(--text-1);
  padding: 8px 0 2px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; cursor: pointer;
  transition: border-color .18s, transform .18s;
}
.product-card:hover { border-color: rgba(232,67,26,.4); transform: translateY(-2px); }

.product-card-img-wrap { position: relative; }
.product-card-img {
  width: 100%; height: 160px; object-fit: cover; display: block;
}
.product-card-img-placeholder {
  width: 100%; height: 160px;
  background: radial-gradient(ellipse at 40% 40%, rgba(232,67,26,.25), var(--bg));
  display: flex; align-items: center; justify-content: center; font-size: 56px;
}
.product-card-img-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}
.product-popular-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--amber); border-radius: 20px;
  padding: 3px 9px; font-size: 11px; font-weight: 900; color: var(--bg);
}
.alcohol-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(13,11,9,.75); border-radius: 8px;
  padding: 3px 8px; font-size: 11px; font-weight: 700; color: var(--text-2);
}

.product-card-body { padding: 4px 13px 13px; display: flex; flex-direction: column; gap: 5px; }
.product-card-name { font-size: 14px; font-weight: 800; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-desc { font-size: 11px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.product-card-allergen { font-size: 11px; color: var(--amber); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.product-card-price { font-size: 16px; font-weight: 900; color: var(--amber); }
.product-card-add {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--flame); border: none; cursor: pointer;
  color: #fff; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.product-card-add:hover { background: var(--flame-dark); }

/* ═══════════════════════════
   PRODUCT MODAL
═══════════════════════════ */
.product-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 400;
  display: none; align-items: flex-end; justify-content: center;
}
.product-modal-backdrop.open { display: flex; }
.product-modal {
  width: 100%; max-width: 540px; max-height: 92vh;
  background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow-y: auto; animation: slideUp .25s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.product-modal-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.product-modal-placeholder {
  width: 100%; height: 220px;
  background: radial-gradient(ellipse, rgba(232,67,26,.2), var(--bg));
  display: flex; align-items: center; justify-content: center; font-size: 90px;
}
.product-modal-body { padding: 20px; }
.product-modal-name { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.product-modal-desc { font-size: 14px; color: var(--text-2); margin-bottom: 16px; line-height: 1.6; }
.product-modal-allergen { font-size: 12px; color: var(--amber); margin-bottom: 14px; }

.option-group { margin-bottom: 16px; }
.option-group-title { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.option-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 6px; cursor: pointer; transition: border-color .15s;
}
.option-row:hover { border-color: var(--flame); }
.option-row.selected { border-color: var(--flame); }
.option-row-label { font-size: 14px; font-weight: 600; }
.option-row-price { font-size: 13px; color: var(--text-muted); }
.option-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .15s;
}
.option-check.checked { background: var(--flame); border-color: var(--flame); color: #fff; font-size: 12px; }

.product-modal-footer {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  position: sticky; bottom: 0; background: var(--surface);
}
.modal-qty-stepper {
  display: flex; align-items: center; gap: 0;
  background: var(--surface2); border-radius: 50px; padding: 2px 4px;
}
.modal-qty-count { padding: 0 14px; font-size: 16px; font-weight: 800; }
.modal-price { font-size: 20px; font-weight: 900; color: var(--amber); flex: 1; }
.modal-add-btn {
  padding: 13px 22px; border: none; border-radius: 14px;
  background: var(--flame); color: #fff;
  font-size: 14px; font-weight: 800; cursor: pointer; font-family: var(--font);
  transition: background .18s;
}
.modal-add-btn:hover { background: var(--flame-dark); }

/* ═══════════════════════════
   CHECKOUT PAGE
═══════════════════════════ */
.checkout-shell { padding: 24px 0 60px; }
.checkout-headline { padding: 0 32px 20px; }
.checkout-headline h1 { font-size: 26px; font-weight: 900; margin-bottom: 4px; }
.checkout-headline p { font-size: 14px; color: var(--text-muted); }

.checkout-grid-pro {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px; align-items: start;
  padding: 0 32px;
}

.checkout-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px;
}
.checkout-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.checkout-block { margin-bottom: 22px; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .4px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-1); font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--flame); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C7B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; cursor: pointer;
}
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.payment-method-grid { display: flex; flex-direction: column; gap: 10px; }
.payment-method-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; cursor: pointer; transition: border-color .15s;
}
.payment-method-option.selected, .payment-method-option:hover { border-color: var(--flame); }
.payment-method-visual {
  background: var(--surface3); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-weight: 800; color: var(--text-2);
  flex-shrink: 0;
}
.payment-method-option input[type=radio] { display: none; }
.payment-method-option strong { font-size: 14px; display: block; margin-bottom: 2px; }
.payment-method-option small { font-size: 12px; color: var(--text-muted); }

#stripe-payment-element { margin: 12px 0; }

.checkout-submit-btn {
  width: 100%; padding: 16px; border: none; border-radius: 14px;
  background: var(--flame); color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer; font-family: var(--font);
  transition: background .18s; display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px;
}
.checkout-submit-btn:hover { background: var(--flame-dark); }
.checkout-submit-btn:disabled { opacity: .5; cursor: not-allowed; }

.cart-recap-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 80px;
}
.cart-recap-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.recap-item { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.recap-item-name { color: var(--text-2); }
.recap-item-price { font-weight: 700; }
.recap-divider { height: 1px; background: var(--border); margin: 12px 0; }
.recap-total { display: flex; justify-content: space-between; }
.recap-total-label { font-weight: 700; }
.recap-total-price { font-size: 18px; font-weight: 900; color: var(--amber); }

.checkout-alert {
  margin: 0 32px 16px; padding: 14px; background: rgba(216,64,64,.12);
  border: 1px solid rgba(216,64,64,.3); border-radius: 12px;
  color: var(--red-err); font-size: 14px;
}

.slot-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Stripe mount area */
.stripe-mount-area {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; margin: 8px 0;
  min-height: 60px;
}

/* ═══════════════════════════
   ORDER SUCCESS
═══════════════════════════ */
.success-shell {
  padding: 60px 32px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px;
  max-width: 560px; margin: 0 auto;
}
.success-icon { font-size: 80px; animation: pop .4s ease-out; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.success-title { font-size: 28px; font-weight: 900; }
.success-sub { font-size: 15px; color: var(--text-muted); }
.success-order-badge {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 28px;
  font-size: 22px; font-weight: 900; color: var(--flame-glow);
}
.success-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 340px; }

.order-receipt-detail {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  width: 100%; max-width: 480px; text-align: left;
}
.receipt-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--text-2); }
.receipt-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 900; color: var(--text-1); }

.stripe-processing-badge {
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3);
  border-radius: 10px; padding: 10px 16px; font-size: 13px; color: var(--amber);
  display: flex; align-items: center; gap: 8px;
}

/* ═══════════════════════════
   TRACKING PAGE
═══════════════════════════ */
.tracking-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-top: 20px;
  display: none;
}
.tracking-card.is-visible { display: block; }
.tracking-progress-shell {
  height: 6px; background: var(--surface2); border-radius: 3px;
  overflow: hidden; margin-bottom: 10px;
}
.tracking-progress-bar { height: 100%; background: var(--flame); border-radius: 3px; transition: width .6s ease; }
.tracking-progress-labels { display: flex; justify-content: space-between; margin-bottom: 16px; }
.tracking-progress-labels span { font-size: 11px; color: var(--text-muted); }
.tracking-progress-labels span.done { color: var(--amber); }
.tracking-summary { display: flex; flex-direction: column; gap: 8px; }
.tracking-summary > div { display: flex; justify-content: space-between; font-size: 14px; }
.tracking-summary strong { color: var(--text-muted); }

.tracking-form { display: flex; flex-direction: column; gap: 12px; }
.tracking-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.status-badge-inline {
  display: inline-flex; align-items: center;
  border-radius: 20px; padding: 5px 12px;
  font-size: 12px; font-weight: 700; border: 1px solid;
}
.status-pending   { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.3); color: var(--amber); }
.status-confirmed { background: rgba(232,67,26,.12);  border-color: rgba(232,67,26,.3);  color: var(--flame-glow); }
.status-preparing { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.3); color: var(--amber); }
.status-ready     { background: rgba(61,170,114,.12); border-color: rgba(61,170,114,.3); color: var(--green); }
.status-delivered { background: rgba(61,170,114,.12); border-color: rgba(61,170,114,.3); color: var(--green); }
.status-cancelled { background: rgba(216,64,64,.12);  border-color: rgba(216,64,64,.3);  color: var(--red-err); }

/* ═══════════════════════════
   PAGES SIMPLES
═══════════════════════════ */
.simple-page { padding: 32px; max-width: 800px; }
.simple-page-title { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.simple-page-intro { font-size: 16px; color: var(--text-2); margin-bottom: 28px; line-height: 1.7; }
.simple-page-section { margin-bottom: 28px; }
.simple-page-section h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text-1); }
.simple-page-section p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.simple-page-highlights { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.simple-page-highlight {
  background: rgba(232,67,26,.1); border: 1px solid rgba(232,67,26,.2);
  border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--flame-glow);
}

/* ═══════════════════════════
   FAQ
═══════════════════════════ */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 16px 18px; text-align: left; background: none; border: none;
  cursor: pointer; color: var(--text-1); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; font-family: var(--font);
}
.faq-arrow { font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .2s; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 18px 16px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ═══════════════════════════
   CONTACT PAGE
═══════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-info-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.contact-info-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.contact-info-label { font-weight: 700; color: var(--text-1); margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); }
.contact-info-value { color: var(--text-2); }
.contact-info-value a { color: var(--flame-glow); text-decoration: none; }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}
.contact-submit-btn {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: var(--flame); color: #fff; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: var(--font); transition: background .18s; margin-top: 8px;
}
.contact-submit-btn:hover { background: var(--flame-dark); }

/* ═══════════════════════════
   AUTH PAGES
═══════════════════════════ */
.auth-shell {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; width: 100%; max-width: 420px;
}
.auth-logo { text-align: center; margin-bottom: 24px; font-size: 52px; }
.auth-title { font-size: 24px; font-weight: 900; text-align: center; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }
.auth-link { color: var(--flame-glow); font-size: 13px; text-decoration: none; font-weight: 600; }
.auth-link:hover { color: var(--amber); }
.auth-divider { height: 1px; background: var(--border); margin: 20px 0; }
.auth-submit-btn {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: var(--flame); color: #fff; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: var(--font); transition: background .18s; margin-top: 8px;
}
.auth-submit-btn:hover { background: var(--flame-dark); }
.auth-error {
  background: rgba(216,64,64,.12); border: 1px solid rgba(216,64,64,.3);
  border-radius: 10px; padding: 12px; font-size: 13px; color: var(--red-err);
  margin-bottom: 14px;
}
.auth-success {
  background: rgba(61,170,114,.12); border: 1px solid rgba(61,170,114,.3);
  border-radius: 10px; padding: 12px; font-size: 13px; color: var(--green);
  margin-bottom: 14px;
}

/* ═══════════════════════════
   FLASH MESSAGES
═══════════════════════════ */
.flash-msg {
  padding: 14px 20px; border-radius: 12px; font-size: 14px;
  font-weight: 600; margin: 0 32px 16px;
}
.flash-success { background: rgba(61,170,114,.12); border: 1px solid rgba(61,170,114,.3); color: var(--green); }
.flash-error   { background: rgba(216,64,64,.12);  border: 1px solid rgba(216,64,64,.3);  color: var(--red-err); }
.flash-info    { background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3); color: var(--amber); }

/* ═══════════════════════════
   FOOTER — accordion (mobile + desktop)
═══════════════════════════ */
.footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 32px 0 0;
}
.footer-brand-row {
  padding: 0 32px 24px; border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-size: 18px; font-weight: 900; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--flame-glow), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Grille 3 colonnes desktop */
.footer-accordion-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.footer-acc-section { border-right: 1px solid var(--border); }
.footer-acc-section:last-child { border-right: none; }

/* Bouton toggle */
.footer-acc-toggle {
  width: 100%; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  cursor: pointer; font-family: var(--font); transition: color .18s;
  -webkit-tap-highlight-color: transparent;
}
.footer-acc-toggle:hover  { color: var(--text-1); }
.footer-acc-toggle.open   { color: var(--text-1); }

/* Icône + / × */
.footer-acc-icon {
  display: inline-block; font-size: 18px; font-style: normal; font-weight: 300;
  flex-shrink: 0; line-height: 1; transition: transform .28s ease;
  color: var(--text-muted);
}
.footer-acc-toggle.open .footer-acc-icon { transform: rotate(45deg); }

/* Corps fermé par défaut — max-height 0 + hidden overflow */
.footer-acc-body {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .28s ease, visibility 0s .35s;
}
/* Corps ouvert */
.footer-acc-body.open {
  max-height: 400px;
  visibility: visible;
  opacity: 1;
  transition: max-height .35s ease, opacity .28s ease, visibility 0s 0s;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; padding: 18px 24px; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: var(--flame-glow); }
.footer-addr { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* Barre du bas */
.footer-bottom {
  padding: 16px 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* Mobile : une colonne */
@media (max-width: 700px) {
  .footer-brand-row { padding: 0 16px 20px; }
  .footer-accordion-grid { grid-template-columns: 1fr; }
  .footer-acc-section { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-acc-section:last-child { border-bottom: none; }
  .footer-acc-toggle { padding: 14px 16px; }
  .footer-links { padding: 14px 16px; }
  .footer-bottom { padding: 14px 16px; }
}

/* ═══════════════════════════
   PAGE CARD (utility)
═══════════════════════════ */
.page-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.content-stack { display: flex; flex-direction: column; gap: 0; padding: 24px 32px 60px; }

/* ── Section badge ── */
.section-badge {
  display: inline-block; background: rgba(232,67,26,.15);
  border: 1px solid rgba(232,67,26,.3);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; color: var(--flame-glow); margin-bottom: 10px;
}

/* ═══════════════════════════
   TOASTS / SNACKBAR
═══════════════════════════ */
.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: var(--surface3); border: 1px solid var(--border);
  color: var(--text-1); padding: 12px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: toastIn .3s ease; pointer-events: all;
}
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ═══════════════════════════
   ADMIN — keep existing styles, just add dark overrides
═══════════════════════════ */
.admin-shell, .admin-layout { background: var(--bg); color: var(--text-1); }

/* ═══════════════════════════
   UTILITIES
═══════════════════════════ */
.text-muted { color: var(--text-muted); }
.text-flame  { color: var(--flame-glow); }
.text-amber  { color: var(--amber); }
.is-hidden   { display: none !important; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 900px) {
  .checkout-grid-pro { grid-template-columns: 1fr; }
  .cart-recap-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { padding: 0 14px; }
  .hp-hero { margin: 8px; }
  .home-info-strip, .dark-divider, .section-heading-dark, .cat-pills-row,
  .cat-grid, .track-promo-card, .newsletter-section { padding-left: 14px; padding-right: 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .products-collection { padding: 12px 14px 60px; }
  .menu-toolbar, .category-filter, .pizza-base-filter, .menu-meta-bar { padding-left: 14px; padding-right: 14px; }
  .checkout-shell .checkout-headline, .checkout-grid-pro, .content-stack { padding-left: 14px; padding-right: 14px; }
  .two-cols { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .menu-hero { padding: 20px 14px; }
  .flash-msg { margin: 0 14px 16px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hp-hero-actions { flex-direction: column; }
}

/* ═══════════════════════════
   COOKIE BANNER
═══════════════════════════ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--surface2); border-top: 1px solid var(--border);
  padding: 16px 24px; display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
#cookie-banner p { flex: 1; font-size: 13px; color: var(--text-2); min-width: 200px; }
.cookie-btn {
  padding: 9px 18px; border-radius: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; font-family: var(--font);
}
.cookie-accept { background: var(--flame); color: #fff; }
.cookie-accept:hover { background: var(--flame-dark); }
.cookie-decline { background: var(--surface3); color: var(--text-2); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHIE — Playfair Display sur tous les titres
   Miroir de jopizz.fr : serif élégant pour les h1/h2/h3,
   italique pour les accroches, DM Sans pour le corps.
   ═══════════════════════════════════════════════════════════════ */

/* ── Corps global ── */
body { font-family: var(--font-sans); }

/* ── Tous les titres → Playfair Display ── */
h1, h2, h3, h4, h5, h6,
.section-title-dark,
.hp-hero h1,
.menu-hero h2,
.checkout-headline h1,
.simple-page-title,
.auth-title,
.success-title,
.cart-title,
.tracking-card .order-num,
.product-modal-name,
.cart-drawer-header h2 {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
}

/* ── Hero home : grand titre avec italique sur le sous-titre ── */
.hp-hero h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(26px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

/* Kicker "🔥 Pizza artisanale" — DM Sans, petite casse */
.hero-kicker {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
}

/* Description hero → DM Sans italic comme jopizz.fr */
.hp-hero-desc {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 300;
}

/* ── Section headings ── */
.section-title-dark {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
}
.section-sub-dark {
  font-family: var(--font-sans);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Menu hero ── */
.menu-hero h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
}
.menu-hero p {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}

/* ── Nom du logo (header) — Playfair ── */
.header-logo strong {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 900;
  letter-spacing: -.02em;
}
.header-logo small {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
}

/* ── Noms produits dans les cartes ── */
.product-card-name {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  letter-spacing: -.01em;
}
.product-modal-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 900;
  letter-spacing: -.02em;
}
.product-card-desc,
.product-modal-desc {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  font-size: 12px;
  color: var(--text-2);
}

/* ── Prix → DM Sans bold, pas serif ── */
.product-card-price,
.modal-price,
.cart-total-row,
.recap-total-price,
.order-total-big {
  font-family: var(--font-sans);
  font-weight: 800;
}

/* ── Category cards labels ── */
.cat-card-name {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 900;
}
.cat-card-desc {
  font-family: var(--font-sans);
  font-style: italic; font-weight: 300; font-size: 12px;
}

/* ── Pill catégories labels ── */
.cat-pill-label {
  font-family: var(--font-sans);
  font-weight: 600;
}

/* ── Boutons — DM Sans (lisibilité) ── */
.btn-flame, .btn-flame-outline,
.header-cart-btn, .cart-checkout-btn,
.checkout-submit-btn, .modal-add-btn,
.contact-submit-btn, .auth-submit-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .01em;
}

/* ── Nav → DM Sans ── */
.header-nav a { font-family: var(--font-sans); }

/* ── Footer brand name → Playfair ── */
.footer-brand-name {
  font-family: var(--font-serif);
  font-weight: 900;
}

/* ── Section badges → DM Sans caps ── */
.section-badge {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ── Checkout / pages de formulaires ── */
.checkout-headline h1, .simple-page-title, .auth-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
}

/* ── Suivi de commande ── */
#tracking-card .order-num,
.order-num { font-family: var(--font-serif); font-weight: 900; }

/* ── Cart drawer ── */
.cart-item-name {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 14px;
}

/* ── Success screen ── */
.success-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
}

/* ── Reviews ── */
.review-title {
  font-family: var(--font-serif);
  font-weight: 700;
}
.review-body {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
}

/* ── FAQ ── */
.faq-question {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
}
.faq-answer-inner {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-2);
}


/* ===== V82 Hero accroches + bloc Android accueil ===== */
.hp-hero {
  min-height: 430px;
}

.hp-hero-img {
  height: 430px;
}

.hp-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.hp-hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
}

.home-android-bottom-section {
  width: min(1120px, calc(100% - 28px));
  margin: 22px auto 28px;
}

.home-android-bottom-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 20%, rgba(232,67,26,.25), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.home-android-bottom-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  background: rgba(232,67,26,.20);
  border: 1px solid rgba(232,67,26,.36);
  font-size: 27px;
}

.home-android-bottom-text strong {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.15;
}

.home-android-bottom-text p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.45;
}

.home-android-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  background: var(--flame);
  box-shadow: 0 12px 28px rgba(232,67,26,.34);
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.home-android-bottom-btn:hover {
  color: #fff;
  background: var(--flame-dark);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hp-hero {
    min-height: 560px;
  }

  .hp-hero-img {
    height: 560px;
  }

  .hp-hero-content {
    padding: 18px;
  }

  .hp-hero-highlights {
    gap: 7px;
  }

  .hp-hero-highlights span {
    font-size: 11px;
    min-height: 29px;
    padding: 6px 10px;
  }

  .home-android-bottom-section {
    width: min(100% - 22px, 1120px);
    margin: 18px auto 24px;
  }

  .home-android-bottom-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
    border-radius: 22px;
  }

  .home-android-bottom-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hp-hero {
    min-height: 590px;
  }

  .hp-hero-img {
    height: 590px;
  }
}

/* ── Sélecteur base pizza (modal menu) ─────────────────────────────────── */
.pizza-base-selector { margin-bottom: 16px; }
.pizza-base-choices  { display: flex; gap: 8px; flex-wrap: wrap; }
.base-choice-btn {
  flex: 1; min-width: 110px;
  padding: 10px 14px;
  background: var(--surface2, #1e1e1e);
  border: 2px solid var(--border, #333);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .15s, background .15s;
  text-align: center;
}
.base-choice-btn:hover  { border-color: #E8431A; background: rgba(232,67,26,.08); }
.base-choice-btn.active { border-color: #E8431A; background: rgba(232,67,26,.15); color: #E8431A; font-weight: 700; }

/* Base dans le récapitulatif panier */
.cart-item-base { font-size: 11px; color: var(--text-muted, #aaa); margin-bottom: 2px; }

/* ── Admin : formulaire option (select dropdowns) ───────────────────────── */
.panel-form select {
  width: 100%; padding: 9px 12px;
  background: var(--surface2, #1e1e1e);
  border: 1px solid var(--border, #444);
  border-radius: 8px;
  color: var(--text-primary, #fff);
  font-size: 14px; cursor: pointer;
}
.panel-form select:focus { outline: none; border-color: #E8431A; }
