/* ============================================
   SMASH LAND - Direction Artistique Domino's
   Couleurs : Rouge Smash Land (#E50000)
   ============================================ */

:root {
  color-scheme: light only;
  --rouge-principal: #E50000;
  --rouge-fonce: #B30000;
  --rouge-clair: #FF1A1A;
  --rouge-pale: #FFE5E5;
  --noir: #1A1A1A;
  --gris-fonce: #333333;
  --gris-moyen: #666666;
  --gris-clair: #DDDDDD;
  --gris-bg: #F5F5F5;
  --blanc: #FFFFFF;
  --vert-promo: #00A859;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  --font-principal: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: var(--font-principal);
  color: var(--noir);
  background: var(--blanc) !important;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color-scheme: light only;
  forced-color-adjust: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* HEADER */
.main-header {
  background: var(--blanc);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { flex-shrink: 0; }
.logo img { height: 60px; width: auto; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--noir);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--rouge-principal); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rouge-principal);
  border-radius: 2px 2px 0 0;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.location-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gris-bg);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris-fonce);
  cursor: pointer;
  transition: background 0.2s ease;
}
.location-selector:hover { background: var(--gris-clair); }
.location-selector svg { width: 18px; height: 18px; fill: var(--rouge-principal); }
.profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile-icon:hover { background: var(--gris-clair); }
.profile-icon svg { width: 22px; height: 22px; fill: var(--gris-fonce); }

/* DELIVERY BAR */
.delivery-bar { background: var(--noir); }
.delivery-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 80px;
}
.delivery-title {
  color: var(--blanc);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.delivery-buttons {
  display: flex;
  align-items: center;
  background: var(--blanc);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  min-width: 520px;
}
.delivery-btn {
  flex: 1;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}
.delivery-btn.livraison { background: var(--rouge-principal); }
.delivery-btn.emporter {
  background: var(--noir);
  box-shadow: inset 0 0 0 2px var(--blanc);
  border-radius: 0 50px 50px 0;            /* arrondi côté droit pour que la bordure blanche suive la courbe */
}

.delivery-btn.livraison {
  border-radius: 50px 0 0 50px;            /* idem côté gauche */
}
.delivery-btn:hover { filter: brightness(1.1); }
.delivery-btn svg { width: 28px; height: 28px; fill: var(--blanc); }
.delivery-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--noir);
  z-index: 2;
  border: 3px solid var(--noir);
}

/* HOME HERO */
.home-hero {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.hero-main {
  background:
    linear-gradient(90deg, rgba(20, 0, 0, 0.55) 0%, rgba(20, 0, 0, 0.20) 45%, transparent 70%),
    url('../images/assets/smashburgerbg.jpg') center calc(55% - 30px) / cover no-repeat,
    #1a0000;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: var(--blanc);
}
.hero-main::before {
  /* L'effet "fire" est déjà dans smashburgerbg.jpg, on neutralise l'overlay rouge */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: none;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.hero-tag {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
  opacity: 0.95;
}
.hero-cta {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 0, 0, 0.6);
}
.hero-side { display: flex; flex-direction: column; gap: 24px; }
.promo-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 258px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--blanc);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card.discount {
  background:
    linear-gradient(90deg, rgba(20, 5, 5, 0.78) 0%, rgba(20, 5, 5, 0.45) 35%, rgba(20, 5, 5, 0.15) 60%, transparent 80%),
    url('../images/assets/menuetudiantbg.jpg') calc(100% + 100px) 60% / auto 130% no-repeat,
    #2a0000;
}
.promo-card.feature {
  background:
    linear-gradient(90deg, rgba(20, 10, 5, 0.86) 0%, rgba(20, 10, 5, 0.55) 35%, rgba(20, 10, 5, 0.18) 65%, transparent 90%),
    url('../images/assets/tartu.jpg') center center / cover no-repeat;
  background-color: #4a0a0a;
}
.promo-tag {
  position: absolute;
  top: 18px;
  right: 130px;
  background: var(--blanc);
  color: var(--rouge-principal);
  padding: 12px 20px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-15deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 4;
}
.promo-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.promo-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0.95;
}
.promo-button {
  display: inline-block;
  background: var(--blanc);
  color: var(--rouge-principal);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}
.home-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 30px;
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: var(--noir);
}
.section-title .accent { color: var(--rouge-principal); }

/* MENU SUBNAV */
.menu-subnav {
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-clair);
  position: sticky;
  top: 96px;
  z-index: 90;
}
.menu-subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  padding: 22px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-moyen);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.subnav-link:hover { color: var(--noir); }
.subnav-link.active { color: var(--rouge-principal); }
.subnav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rouge-principal);
}

/* MENU CATEGORIES */
.menu-categories {
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-clair);
  position: sticky;
  top: 96px; /* sous header */
  z-index: 89;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* offset pour que le clic sur sous-cat scroll bien sous les barres sticky */
.product-section {
  scroll-margin-top: 180px;
}
.menu-categories-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 32px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-categories-inner::-webkit-scrollbar { display: none; }
.cat-link {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gris-moyen);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.cat-link:hover { color: var(--noir); }
.cat-link.active { color: var(--rouge-principal); font-weight: 700; }
.cat-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rouge-principal);
}

/* MENU PAGE */
.menu-page {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
}
.menu-content { min-height: 600px; }
.menu-banner {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #4a0000 0%, var(--rouge-principal) 100%);
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  padding: 40px 50px;
  color: var(--blanc);
}
.menu-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: radial-gradient(circle at 70% 50%, rgba(255, 215, 0, 0.3) 0%, transparent 60%);
}
.menu-banner-content { position: relative; z-index: 2; max-width: 60%; }
.menu-banner h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.menu-banner p { font-size: 16px; margin-bottom: 20px; font-weight: 500; }
.menu-banner-cta {
  display: inline-block;
  background: var(--vert-promo);
  color: var(--blanc);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--noir);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.product-card {
  background: var(--blanc);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gris-clair);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--rouge-principal);
}
.product-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.product-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--noir);
  margin-bottom: 8px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.product-description {
  font-size: 12px;
  color: var(--gris-moyen);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--rouge-principal);
}
.product-price small {
  font-size: 13px;
  color: var(--rouge-principal);
  font-weight: 700;
  display: inline;
  margin-left: 2px;
}
.add-button {
  background: var(--rouge-principal);
  color: var(--blanc);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.add-button:hover {
  background: var(--rouge-fonce);
  transform: scale(1.1);
}

/* SIDEBAR */
.menu-sidebar {
  position: sticky;
  top: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gris-clair) transparent;
}

.menu-sidebar::-webkit-scrollbar {
  width: 6px;
}

.menu-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.menu-sidebar::-webkit-scrollbar-thumb {
  background: var(--gris-clair);
  border-radius: 3px;
}

.menu-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--gris-moyen);
}
.sidebar-card {
  background: var(--blanc);
  border-radius: 16px;
  border: 1px solid var(--gris-clair);
  padding: 20px;
  flex-shrink: 0;
}
.sidebar-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  color: var(--noir);
  margin-bottom: 16px;
  cursor: pointer;
}
.sidebar-card-title svg {
  width: 18px;
  height: 18px;
  fill: var(--gris-moyen);
}
.coupon-input-row { display: flex; gap: 10px; }
.coupon-input-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.coupon-input-row input:focus { border-color: var(--rouge-principal); }
.coupon-input-row button {
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.coupon-input-row button:hover { background: var(--rouge-fonce); }
.fidelite-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.fidelite-icon {
  width: 50px;
  height: 50px;
  background: var(--rouge-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fidelite-icon svg { width: 30px; height: 30px; fill: var(--rouge-principal); }
.fidelite-text { flex: 1; font-size: 13px; color: var(--gris-fonce); line-height: 1.4; }
.fidelite-actions { margin-top: 14px; }
.btn-create-account {
  width: 100%;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.2);
}

.btn-create-account:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}
.btn-login-link { text-align: center; font-size: 13px; color: var(--gris-moyen); }
.btn-login-link a { color: var(--rouge-principal); font-weight: 700; }
.order-empty { font-size: 13px; color: var(--gris-moyen); margin-bottom: 18px; }
.order-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gris-clair);
}
.order-total-label { font-size: 16px; font-weight: 800; color: var(--noir); }
.order-total-value { font-size: 18px; font-weight: 900; color: var(--rouge-principal); }
.order-progress {
  width: 100%;
  height: 6px;
  background: var(--gris-clair);
  border-radius: 3px;
  margin: 10px 0 6px;
  overflow: hidden;
}
.order-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--rouge-principal);
  transition: width 0.3s ease;
}
.order-progress-text { font-size: 12px; color: var(--gris-moyen); }
.checkout-button {
  width: 100%;
  background: var(--gris-clair);
  color: var(--gris-moyen);
  padding: 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: not-allowed;
  border: none;
  font-family: inherit;
}
.checkout-button.active {
  background: var(--rouge-principal);
  color: var(--blanc);
  cursor: pointer;
}
.checkout-button.active:hover { background: var(--rouge-fonce); }

/* FOOTER */
.main-footer {
  background: var(--noir);
  color: var(--blanc);
  padding: 60px 30px 30px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: var(--rouge-principal);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--blanc); }
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.footer-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--rouge-principal); }
.footer-social svg { width: 18px; height: 18px; fill: var(--blanc); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* MODE OVERLAY */
.mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mode-overlay.active { opacity: 1; visibility: visible; }
.mode-modal {
  background: var(--blanc);
  border-radius: 24px;
  padding: 48px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
}
.mode-modal h2 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--noir);
}
.mode-modal > p {
  font-size: 16px;
  color: var(--gris-moyen);
  margin-bottom: 32px;
}
.mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode-option {
  border: 2px solid var(--gris-clair);
  border-radius: 16px;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--blanc);
}
.mode-option:hover {
  border-color: var(--rouge-principal);
  background: var(--rouge-pale);
  transform: translateY(-2px);
}
.mode-option svg {
  width: 60px;
  height: 60px;
  fill: var(--rouge-principal);
  margin: 0 auto 16px;
  display: block;
}
.mode-option h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mode-option p {
  font-size: 13px;
  color: var(--gris-moyen);
  margin: 0;
}
.mode-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gris-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--gris-fonce);
  border: none;
}

/* ============================================
   FIX HERO LAYOUT - texte ne doit PAS être recouvert
   ============================================ */

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 50px 60px;
  overflow: hidden;
}

.hero-content {
  max-width: 100%;
  position: relative;
  z-index: 3;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;        /* aligne le plateau bois en bas */
  justify-content: center;
  height: 100%;
  /* Petit décalage vers le bas pour faire matcher avec le sol du background */
  margin-bottom: -30px;
}

.hero-image {
  position: relative;
  right: auto;
  bottom: 0;
  width: 100%;
  max-width: 624px;             /* +20% — burger encore plus présent */
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.6));
  pointer-events: none;
  /* Animation subtile uniquement sur le contenu (pas sur le plateau) */
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.hero-main {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-main:hover {
  transform: translateY(-4px);
}

.hero-main:hover .hero-image {
  animation-play-state: paused;
  transform: scale(1.08) rotate(-3deg);
}

/* PROMO CARDS - photo bien positionnée sans chevaucher */
.promo-card {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  min-height: 258px;
  padding: 0;
}

.promo-content {
  padding: 28px 30px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 60%;
  max-width: 60%;
}

.promo-image {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
  pointer-events: none;
  transition: transform 0.4s ease;
}

.promo-card:hover .promo-image {
  transform: translateY(-50%) scale(1.08) rotate(-5deg);
}

/* ============================================
   MOBILE NAV (Hamburger style Domino's)
   ============================================ */

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--gris-bg);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
  fill: var(--noir);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--blanc);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gris-clair);
}

.mobile-drawer-header img { height: 50px; }

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 22px;
  color: var(--noir);
}

.mobile-drawer-nav {
  padding: 16px 0;
}

.mobile-drawer-nav a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--noir);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gris-bg);
  transition: background 0.2s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: var(--rouge-pale);
  color: var(--rouge-principal);
}

.mobile-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--gris-clair);
  margin-top: auto;
}

.mobile-drawer-footer .location-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-drawer-footer .location-info svg {
  width: 22px;
  height: 22px;
  fill: var(--rouge-principal);
}

.mobile-drawer-footer .location-info span {
  font-size: 14px;
  font-weight: 700;
  color: var(--noir);
}

.mobile-drawer-footer .phone {
  font-size: 14px;
  color: var(--gris-moyen);
  font-weight: 600;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   BOTTOM CART BAR mobile (style Domino's app)
   ============================================ */

.mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blanc);
  border-top: 1px solid var(--gris-clair);
  padding: 12px 16px;
  z-index: 95;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 12px;
}

.mobile-cart-info {
  flex: 1;
}

.mobile-cart-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gris-moyen);
  font-weight: 600;
}

.mobile-cart-info-top strong {
  color: var(--rouge-principal);
}

.mobile-cart-info-progress {
  width: 100%;
  height: 4px;
  background: var(--gris-clair);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.mobile-cart-info-progress-bar {
  height: 100%;
  background: var(--rouge-principal);
  width: 0%;
  transition: width 0.3s ease;
}

.mobile-cart-button {
  background: var(--gris-clair);
  color: var(--gris-moyen);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: not-allowed;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.mobile-cart-button.active {
  background: var(--rouge-principal);
  color: var(--blanc);
  cursor: pointer;
}

.mobile-cart-button.active:hover {
  background: var(--rouge-fonce);
}

.mobile-cart-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blanc);
  color: var(--rouge-principal);
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 800;
  margin-right: 4px;
}

.mobile-cart-button:not(.active) .mobile-cart-count {
  background: var(--gris-bg);
  color: var(--gris-moyen);
}

/* ============================================
   RESPONSIVE - REFONTE COMPLÈTE MOBILE
   ============================================ */

@media (max-width: 1024px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
    min-height: 400px;
  }

  .hero-image {
    max-width: 432px;
  }

  .hero-title { font-size: 56px; }

  .menu-page {
    grid-template-columns: 1fr;
  }

  /* Tablette portrait : sidebar normale, sans scroll interne pour ne pas bloquer le scroll page */
  .menu-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    overflow-x: visible;
    width: 100%;
  }

  /* Permettre le scroll natif au touch et a la souris sur tablette */
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  .menu-page {
    padding-bottom: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* HEADER MOBILE */
  .header-top {
    padding: 12px 16px;
  }

  .logo img {
    height: 44px;
  }

  .main-nav {
    display: none;
  }

  .header-actions .location-selector {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* DELIVERY BAR MOBILE */
  .delivery-bar-inner {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .delivery-title {
    display: none;
  }

  .delivery-buttons {
    min-width: 100%;
    width: 100%;
  }

  .delivery-btn {
    padding: 14px 16px;
    font-size: 14px;
    gap: 8px;
  }

  .delivery-btn svg {
    width: 22px;
    height: 22px;
  }

  .delivery-divider {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  /* HERO MOBILE - Image PAS SUR le texte */
  .home-hero {
    margin: 16px 0;
    padding: 0 16px;
    gap: 16px;
  }

  .hero-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0;
    min-height: auto;
    border-radius: 20px;
  }

  .hero-content {
    padding: 30px 28px 20px;
    text-align: center;
    order: 1;
  }

  .hero-content .hero-tag {
    margin-bottom: 14px;
  }

  .hero-image-wrap {
    order: 2;
    padding: 0 20px 30px;
    height: auto;
  }

  .hero-image {
    max-width: 336px;
    width: 92%;
    margin: 0 auto;
    display: block;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-tag {
    font-size: 11px;
    padding: 5px 14px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 14px;
  }

  /* PROMO CARDS MOBILE */
  .hero-side {
    gap: 12px;
  }

  .promo-card {
    min-height: 180px;
  }

  .promo-content {
    width: 60%;
    max-width: 60%;
    padding: 24px 22px;
  }

  .promo-image {
    width: 156px;
    right: 8px;
  }

  .promo-title {
    font-size: 22px;
  }

  .promo-subtitle {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .promo-button {
    padding: 8px 18px;
    font-size: 12px;
  }

  .promo-tag {
    width: 54px;
    height: 54px;
    font-size: 14px;
    top: 12px;
    right: 90px;
  }

  /* SECTIONS HOME MOBILE */
  .home-section {
    margin: 40px auto;
    padding: 0 16px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 22px;
  }

  /* GRID PRODUITS MOBILE - 2 colonnes */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-image-wrap {
    padding: 12px;
  }

  .product-info {
    padding: 12px 14px 14px;
  }

  .product-name {
    font-size: 13px;
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .product-description {
    font-size: 11px;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }

  .product-price {
    font-size: 16px;
  }

  .add-button {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  /* MENU PAGE MOBILE */
  .menu-categories {
    top: 68px; /* sous header mobile */
  }

  .menu-categories-inner {
    padding: 0 16px;
    gap: 22px;
    justify-content: flex-start;
  }

  .product-section {
    scroll-margin-top: 130px;
  }

  .cat-link {
    padding: 14px 0;
    font-size: 13px;
  }

  .menu-page {
    margin: 16px 0;
    padding: 0 16px;
    gap: 0;
  }

  .menu-banner {
    height: auto;
    min-height: 180px;
    padding: 28px 24px;
    margin-bottom: 22px;
    border-radius: 16px;
  }

  .menu-banner h2 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .menu-banner p {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .menu-banner-content {
    max-width: 100%;
  }

  .menu-banner-cta {
    padding: 10px 20px;
    font-size: 13px;
  }

  .section-header {
    font-size: 22px;
    margin-bottom: 16px;
  }

  /* SIDEBAR -> caché sur mobile, remplacé par mobile cart bar */
  .menu-sidebar {
    display: none;
  }

  /* MOBILE CART BAR ACTIF */
  .menu-page.has-mobile-cart {
    padding-bottom: 80px;
  }

  .mobile-cart-bar {
    display: flex;
  }

  /* FOOTER MOBILE */
  .main-footer {
    padding: 40px 20px 24px;
    margin-top: 40px;
    margin-bottom: 80px; /* place pour la cart bar */
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* HOMEPAGE INFO BLOCKS */
  .home-section [style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .home-section [style*="padding: 32px"] {
    padding: 20px 14px !important;
  }

  .home-section [style*="font-size: 18px"] {
    font-size: 13px !important;
  }

  .home-section [style*="font-size: 14px"] {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 38px;
    letter-spacing: 1px;
  }

  .promo-content {
    width: 65%;
    padding: 20px 18px;
  }

  .promo-title {
    font-size: 20px;
  }

  .promo-image {
    width: 120px;
    right: 8px;
  }

  .product-grid {
    gap: 10px;
  }

  .footer-logo {
    padding: 0;
  }
  .footer-logo img { height: 50px; }
}

/* ============================================
   MOBILE CATEGORIES BAR (5 catégories sur mobile)
   ============================================ */
.mobile-categories {
  display: none;
}

@media (max-width: 768px) {
  .mobile-categories {
    display: flex;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-clair);
    position: sticky;
    top: 68px;
    z-index: 91;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 16px;
    gap: 24px;
  }
  .mobile-categories::-webkit-scrollbar { display: none; }
  .mobile-categories a {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gris-moyen);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
  }
  .mobile-categories a:hover,
  .mobile-categories a.active {
    color: var(--rouge-principal);
  }
  .mobile-categories a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rouge-principal);
  }

  /* Sub-categories now stick under the mobile-categories bar */
  .menu-categories {
    top: 116px; /* header (68px) + mobile-cats (~48px) */
  }

  .product-section {
    scroll-margin-top: 180px;
  }
}

/* ============================================
   MODAL CUSTOMISATION (Tasty Crousty etc.)
   ============================================ */
.customize-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.customize-overlay.open {
  opacity: 1;
  visibility: visible;
}

.customize-modal {
  background: var(--blanc);
  border-radius: 24px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.customize-overlay.open .customize-modal {
  transform: translateY(0);
}

.customize-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: var(--noir);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.customize-close:hover {
  background: var(--gris-bg);
}

.customize-header {
  background: linear-gradient(135deg, #4a0000 0%, var(--rouge-principal) 100%);
  color: var(--blanc);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.customize-header img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.customize-header-info {
  flex: 1;
  min-width: 0;
}

.customize-header-info h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  line-height: 1.1;
}

.customize-header-info p {
  font-size: 14px;
  opacity: 0.95;
  margin: 0 0 8px;
  line-height: 1.4;
}

.customize-base-price {
  font-size: 13px !important;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.customize-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.customize-section-title {
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customize-section-title .required {
  background: var(--blanc);
  color: var(--rouge-principal);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.customize-section {
  padding: 20px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  border-bottom: 1px solid var(--gris-clair);
}

.customize-option {
  border: 2px solid var(--gris-clair);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  background: var(--blanc);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.customize-option:hover {
  border-color: var(--rouge-principal);
  background: var(--rouge-pale);
}

.customize-option.selected {
  border-color: var(--rouge-principal);
  background: var(--rouge-pale);
  box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.1);
}

.customize-option.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--rouge-principal);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.customize-option-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 4px;
}

.customize-option-size {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris-bg);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
  color: var(--rouge-principal);
  margin-bottom: 4px;
}

.customize-option-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--noir);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-align: center;
}

.customize-option-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--rouge-principal);
}

.customize-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  border-top: 1px solid var(--gris-clair);
  background: var(--blanc);
}

.customize-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gris-bg);
  border-radius: 30px;
  padding: 8px 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--noir);
}

.qty-btn:hover { background: var(--rouge-pale); border-color: var(--rouge-principal); color: var(--rouge-principal); }

.customize-quantity span {
  font-size: 16px;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.customize-add {
  flex: 1;
  background: var(--gris-clair);
  color: var(--gris-moyen);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: not-allowed;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}

.customize-add:not(:disabled) {
  background: var(--rouge-principal);
  color: var(--blanc);
  cursor: pointer;
}

.customize-add:not(:disabled):hover {
  background: var(--rouge-fonce);
}

.customize-total {
  font-size: 18px;
  font-weight: 900;
}

/* MODAL MOBILE */
@media (max-width: 768px) {
  .customize-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .customize-modal {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .customize-overlay.open .customize-modal {
    transform: translateY(0);
  }

  .customize-header {
    padding: 22px 20px 22px 20px;
    gap: 14px;
  }

  .customize-header img {
    width: 90px;
    height: 90px;
  }

  .customize-header-info h2 {
    font-size: 20px;
  }

  .customize-header-info p {
    font-size: 12px;
  }

  .customize-section-title {
    padding: 12px 20px;
    font-size: 13px;
  }

  .customize-section {
    padding: 14px 16px;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }

  .customize-option {
    padding: 10px;
  }

  .customize-option-img,
  .customize-option-size {
    width: 56px;
    height: 56px;
  }

  .customize-option-size { font-size: 20px; }

  .customize-option-name { font-size: 11px; }

  .customize-option-price { font-size: 12px; }

  .customize-footer {
    padding: 14px 16px;
    gap: 10px;
  }

  .customize-add {
    padding: 14px 14px;
    font-size: 13px;
  }

  .customize-total { font-size: 15px; }
}

/* Inclus label dans la modal */
.customize-option-included {
  font-size: 12px;
  font-weight: 800;
  color: var(--vert-promo);
  background: rgba(0, 168, 89, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   PAGE IDENTIFICATION
   ============================================ */

.checkout-stepper {
  background: var(--gris-bg);
  padding: 22px 30px;
  border-bottom: 1px solid var(--gris-clair);
}

.stepper-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gris-moyen);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--gris-moyen);
}

.step.active {
  color: var(--rouge-principal);
}

.step.active .step-num {
  background: var(--rouge-principal);
  color: var(--blanc);
  border-color: var(--rouge-principal);
}

.step.done {
  color: var(--noir);
}

.step.done .step-num {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}

.step.done .step-num::before {
  content: '✓';
  font-size: 14px;
}

.step.done .step-num {
  font-size: 0;
}

.step-line {
  flex: 0 0 60px;
  height: 2px;
  background: var(--gris-clair);
}

/* Identification main */
.identification-page {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 30px;
}

.identification-title {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--noir);
  margin-bottom: 8px;
}

.identification-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--gris-moyen);
  margin-bottom: 40px;
}

.identification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.ident-card {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.ident-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--gris-bg);
}

.ident-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--rouge-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ident-icon-add {
  background: linear-gradient(135deg, var(--rouge-pale) 0%, #FFD0D0 100%);
}

.ident-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--rouge-principal);
}

.ident-card-header h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 4px;
}

.ident-card-header p {
  font-size: 13px;
  color: var(--gris-moyen);
  margin: 0;
}

/* FORMS */
.ident-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gris-fonce);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label.required::after {
  content: '*';
  color: var(--rouge-principal);
  font-weight: 900;
  font-size: 14px;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border: 1.5px solid var(--gris-clair);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: var(--blanc);
  color: var(--noir);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--rouge-principal);
  box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='14' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint {
  font-size: 12px;
  color: var(--gris-moyen);
  margin-top: 4px;
}

.form-row-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gris-fonce);
}

.form-checkbox-row {
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--rouge-principal);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox span {
  flex: 1;
}

.form-checkbox a {
  color: var(--rouge-principal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.required-mark {
  color: var(--rouge-principal);
  font-style: normal;
  font-weight: 900;
}

.form-link {
  font-size: 13px;
  color: var(--rouge-principal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-link:hover {
  color: var(--rouge-fonce);
}

.form-submit {
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(229, 0, 0, 0.25);
}

.form-submit:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

/* Divider */
.ident-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.ident-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gris-clair);
}

.ident-divider span {
  position: relative;
  background: var(--blanc);
  padding: 0 16px;
  font-size: 12px;
  color: var(--gris-moyen);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social */
.ident-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1.5px solid var(--gris-clair);
  border-radius: 10px;
  background: var(--blanc);
  font-size: 14px;
  font-weight: 700;
  color: var(--gris-fonce);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.social-btn:hover {
  border-color: var(--noir);
  background: var(--gris-bg);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

/* GUEST OPTION */
.guest-option {
  text-align: center;
  margin-top: 36px;
  padding: 24px;
  background: var(--gris-bg);
  border-radius: 16px;
}

.guest-option p {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 0 0 8px;
}

.guest-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--rouge-principal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guest-link:hover {
  color: var(--rouge-fonce);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .identification-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .checkout-stepper {
    padding: 14px 16px;
  }

  .stepper-inner {
    gap: 6px;
  }

  .step {
    font-size: 11px;
    gap: 6px;
  }

  .step-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .step-line {
    flex: 0 0 20px;
  }

  .identification-page {
    margin: 24px 0 40px;
    padding: 0 16px;
  }

  .identification-title { font-size: 28px; }
  .identification-subtitle { font-size: 13px; margin-bottom: 24px; }

  .ident-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .ident-card-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
    gap: 12px;
  }

  .ident-card-header h2 { font-size: 17px; }
  .ident-card-header p { font-size: 12px; }

  .ident-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .ident-icon svg {
    width: 22px;
    height: 22px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-submit { padding: 14px 20px; font-size: 14px; }

  .guest-option { padding: 18px; }
  .guest-option p { font-size: 13px; }
}

/* Emoji icon for nappages/toppings */
.customize-option-emoji {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 4px;
  line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.customize-option-included.gratuit {
  color: var(--rouge-principal);
  background: var(--rouge-pale);
}

@media (max-width: 768px) {
  .customize-option-emoji {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}

/* Sans items styling */
.customize-option-sans .customize-option-name {
  position: relative;
}

.customize-option-sans.selected .customize-option-name {
  color: var(--rouge-fonce);
  text-decoration: line-through;
  text-decoration-color: var(--rouge-principal);
  text-decoration-thickness: 2px;
}

.sans-emoji {
  background: #FFE5E5 !important;
  color: var(--rouge-principal) !important;
  font-weight: 900;
  font-family: var(--font-principal) !important;
}

.customize-option-sans.selected .sans-emoji {
  background: var(--rouge-principal) !important;
  color: var(--blanc) !important;
}

.customize-option-sans.selected::after {
  background: var(--rouge-principal) !important;
}

/* Toast on home page after add to cart */
.home-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--noir);
  color: var(--blanc);
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  z-index: 1100;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-toast::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--vert-promo);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.home-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .home-toast {
    bottom: 20px;
    font-size: 13px;
    padding: 12px 20px;
  }
}

/* Price "Dès" label for customizable products */
.product-price .from-label {
  font-size: 11px;
  color: var(--gris-moyen);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
  display: inline;
}

/* ============================================
   CART REVIEW MODAL (récapitulatif commande)
   ============================================ */

.cart-review-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-review-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-review-modal {
  background: var(--blanc);
  border-radius: 24px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cart-review-overlay.open .cart-review-modal {
  transform: translateY(0);
}

.cart-review-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: var(--gris-bg);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: var(--noir);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-review-close:hover {
  background: var(--gris-clair);
}

.cart-review-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--gris-clair);
}

.cart-review-header h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 6px;
}

.cart-review-header p {
  font-size: 13px;
  color: var(--gris-moyen);
  margin: 0;
}

.cart-review-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 30px;
  min-height: 100px;
}

.cr-empty {
  text-align: center;
  color: var(--gris-moyen);
  padding: 40px 0;
}

.cr-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gris-bg);
}

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

.cr-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--gris-bg);
  border-radius: 12px;
  padding: 4px;
}

.cr-item-info h4 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
  color: var(--noir);
}

.cr-item-desc {
  font-size: 12px;
  color: var(--gris-moyen);
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cr-qty {
  display: flex;
  align-items: center;
  background: var(--gris-bg);
  border-radius: 24px;
  padding: 4px;
  gap: 4px;
}

.cr-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cr-qty button:hover {
  background: var(--rouge-pale);
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
}

.cr-qty span {
  font-size: 14px;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
}

.cr-remove {
  background: transparent;
  border: 1px solid var(--gris-clair);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--gris-moyen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cr-remove:hover {
  background: var(--rouge-pale);
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
}

.cr-item-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cr-item-unit {
  font-size: 11px;
  color: var(--gris-moyen);
  font-weight: 600;
}

.cr-item-price strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--rouge-principal);
}

.cart-review-summary {
  padding: 18px 30px;
  background: var(--gris-bg);
  border-top: 1px solid var(--gris-clair);
}

.cr-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--gris-fonce);
  margin-bottom: 6px;
}

.cr-line.cr-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--gris-clair);
  font-size: 18px;
  font-weight: 900;
  color: var(--noir);
}

.cr-line.cr-total span:last-child {
  color: var(--rouge-principal);
}

.cr-note {
  font-size: 12px;
  color: var(--gris-moyen);
  margin: 12px 0 0;
}

.cr-note strong {
  color: var(--noir);
  font-weight: 700;
}

.cart-review-actions {
  display: flex;
  gap: 12px;
  padding: 18px 30px;
  background: var(--blanc);
  border-top: 1px solid var(--gris-clair);
}

.cr-btn-secondary {
  flex: 1;
  background: var(--blanc);
  color: var(--noir);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid var(--gris-clair);
  font-family: inherit;
  transition: all 0.2s ease;
}

.cr-btn-secondary:hover {
  border-color: var(--noir);
  background: var(--gris-bg);
}

.cr-btn-primary {
  flex: 2;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(229, 0, 0, 0.25);
}

.cr-btn-primary:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}

.cr-btn-primary svg {
  fill: currentColor;
}

@media (max-width: 768px) {
  .cart-review-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .cart-review-modal {
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .cart-review-overlay.open .cart-review-modal {
    transform: translateY(0);
  }

  .cart-review-header {
    padding: 22px 20px 16px;
  }

  .cart-review-header h2 {
    font-size: 22px;
  }

  .cart-review-body {
    padding: 12px 16px;
  }

  .cr-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .cr-item-img {
    width: 64px;
    height: 64px;
  }

  .cr-item-info h4 {
    font-size: 13px;
  }

  .cr-item-desc {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  .cr-item-price {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .cart-review-summary {
    padding: 14px 16px;
  }

  .cart-review-actions {
    padding: 12px 16px;
    gap: 8px;
  }

  .cr-btn-secondary, .cr-btn-primary {
    padding: 12px 14px;
    font-size: 12px;
  }

  .cr-btn-secondary { flex: 1; }
  .cr-btn-primary { flex: 1.5; }
}

/* Min order warning inside cart review modal */
.cr-min-warning {
  margin-top: 12px;
  padding: 12px 14px;
  background: #FFF3CD;
  border: 1px solid #FFEAA7;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #856404;
  line-height: 1.4;
}

.cr-min-warning svg {
  fill: #856404;
  flex-shrink: 0;
  margin-top: 1px;
}

.cr-min-warning strong {
  color: #856404;
  font-weight: 800;
}

/* Disabled state in modal */
.cr-btn-primary.disabled,
.cr-btn-primary:disabled {
  background: var(--gris-clair);
  color: var(--gris-moyen);
  cursor: not-allowed;
  box-shadow: none;
}

.cr-btn-primary.disabled:hover,
.cr-btn-primary:disabled:hover {
  background: var(--gris-clair);
  transform: none;
}

/* Checkout button (desktop sidebar) - active state when items exist but below min */
.checkout-button.active[data-below-min="1"] {
  background: #FFA726;
}

.checkout-button.active[data-below-min="1"]:hover {
  background: #FB8C00;
}

/* Mobile cart button - clickable even below min */
.mobile-cart-button.active[data-below-min="1"] {
  background: var(--rouge-principal);
  color: var(--blanc);
  cursor: pointer;
}

.mobile-cart-button.active[data-below-min="1"] .mobile-cart-count {
  background: rgba(255, 255, 255, 0.3);
  color: var(--blanc);
}


/* Force light backgrounds (override OS dark mode) */
.customize-modal,
.customize-body,
.customize-section,
.customize-option,
.customize-footer,
.cart-review-modal,
.cart-review-body,
.cart-review-summary,
.cart-review-actions,
.product-card,
.sidebar-card,
.menu-banner,
body {
  color-scheme: light only;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background: var(--blanc) !important;
    color: var(--noir) !important;
  }
  .product-card, .customize-modal, .customize-option, .cart-review-modal,
  .sidebar-card, .ident-card, .form-field input, .form-field textarea, .form-field select {
    background: var(--blanc) !important;
  }
  .customize-body { background: var(--blanc) !important; }
  .customize-footer { background: var(--blanc) !important; }
  .product-name, .customize-option-name, .cr-item-info h4, .form-label {
    color: var(--noir) !important;
  }
  .product-description, .customize-option-price, .cr-item-desc {
    color: var(--gris-moyen) !important;
  }
}

/* Customize add-to-cart button - label can wrap to 2 lines, total stays on right */
.customize-add {
  flex-wrap: nowrap;
  align-items: center;
}

.customize-add #customizeAddLabel {
  flex: 1;
  text-align: center;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
}

.customize-total {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Desktop: keep on one line */
@media (min-width: 769px) {
  .customize-add #customizeAddLabel {
    white-space: nowrap;
  }
}

/* Mobile: allow label to wrap on 2 lines */
@media (max-width: 768px) {
  .customize-footer {
    padding: 12px 14px;
    gap: 8px;
  }

  /* Smaller quantity selector on mobile to leave more room for the button */
  .customize-quantity {
    padding: 5px 8px;
    gap: 8px;
  }
  .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .customize-quantity span {
    font-size: 14px;
    min-width: 18px;
  }

  /* Bigger button takes more space */
  .customize-add {
    flex: 1;
    padding: 12px 14px;
    font-size: 13px;
    gap: 10px;
    min-height: 56px;
  }
  .customize-add #customizeAddLabel {
    font-size: 13px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }
  .customize-total {
    font-size: 15px;
    line-height: 1.15;
    text-align: right;
  }
}

@media (max-width: 380px) {
  .customize-add {
    padding: 10px 12px;
    font-size: 12px;
  }
  .customize-add #customizeAddLabel {
    font-size: 12px;
  }
  .customize-total {
    font-size: 13px;
  }
}

/* Section header with logo (Tasty Crousty) - wider aspect ratio */
.section-header.section-header-logo {
  margin: 8px 0 24px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.section-header.section-header-logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(229, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .section-header.section-header-logo {
    margin: 4px 0 16px;
    justify-content: center;
  }
  .section-header.section-header-logo img {
    height: 50px;
    max-width: 90%;
  }
}

/* ============================================
   LEGAL PAGES (mentions légales, CGV, confidentialité)
   ============================================ */
.legal-page {
  background: var(--gris-bg);
  padding: 40px 20px 80px;
  min-height: 60vh;
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
  background: var(--blanc);
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.legal-title {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--noir);
  margin-bottom: 6px;
  border-bottom: 4px solid var(--rouge-principal);
  padding-bottom: 14px;
}

.legal-updated {
  font-size: 13px;
  color: var(--gris-moyen);
  font-style: italic;
  margin-bottom: 36px;
}

.legal-section {
  margin-bottom: 32px;
  scroll-margin-top: 120px;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--rouge-principal);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gris-fonce);
  margin-bottom: 12px;
}

.legal-section a {
  color: var(--rouge-principal);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.legal-section a:hover {
  color: var(--rouge-fonce);
}

.legal-card {
  background: var(--gris-bg);
  border-left: 4px solid var(--rouge-principal);
  padding: 18px 24px;
  border-radius: 8px;
  margin: 16px 0;
}

.legal-card p {
  margin-bottom: 6px;
  font-size: 14px;
}

.legal-list {
  margin: 12px 0 16px 24px;
  list-style: disc;
}

.legal-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gris-fonce);
  margin-bottom: 6px;
}

.legal-list li strong {
  color: var(--noir);
}

.legal-zones {
  font-size: 13px !important;
  color: var(--gris-moyen) !important;
  background: var(--gris-bg);
  padding: 14px 18px;
  border-radius: 8px;
  line-height: 1.8 !important;
}

.legal-note {
  font-size: 13px !important;
  color: var(--gris-moyen) !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .legal-page { padding: 24px 14px 50px; }
  .legal-container { padding: 28px 22px; border-radius: 16px; }
  .legal-title { font-size: 26px; padding-bottom: 10px; }
  .legal-section h2 { font-size: 18px; }
  .legal-section p, .legal-list li { font-size: 14px; }
  .legal-card { padding: 14px 18px; }
}

/* ============================================
   MODE SELECTOR POPUP (Livraison / À emporter)
   ============================================ */
.mode-selector-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mode-selector-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mode-selector-modal {
  background: var(--blanc);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.mode-selector-overlay.open .mode-selector-modal {
  transform: translateY(0);
}

.mode-selector-header {
  text-align: center;
  margin-bottom: 28px;
}

.mode-selector-header h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 8px;
  line-height: 1.15;
}

.mode-selector-header p {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 0;
}

.mode-selector-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mode-selector-option {
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  border-radius: 16px;
  padding: 24px 18px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mode-selector-option:hover {
  border-color: var(--rouge-principal);
  background: var(--rouge-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 0, 0, 0.15);
}

.mode-selector-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rouge-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.mode-selector-option:hover .mode-selector-icon {
  background: var(--rouge-principal);
}

.mode-selector-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--rouge-principal);
  transition: fill 0.2s ease;
}

.mode-selector-option:hover .mode-selector-icon svg {
  fill: var(--blanc);
}

.mode-selector-option h3 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0;
}

.mode-selector-option p {
  font-size: 12px;
  color: var(--gris-moyen);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .mode-selector-modal {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .mode-selector-header h2 {
    font-size: 20px;
  }
  .mode-selector-header p {
    font-size: 12px;
  }
  .mode-selector-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mode-selector-option {
    padding: 18px;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .mode-selector-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .mode-selector-icon svg {
    width: 26px;
    height: 26px;
  }
  .mode-selector-option h3 {
    font-size: 15px;
  }
  .mode-selector-option p {
    font-size: 11px;
  }
}

/* Promo card title with logo (replaces text) */
.promo-title.promo-title-logo {
  margin-bottom: 8px;
  padding: 0;
  text-shadow: none;
}

.promo-title.promo-title-logo img {
  height: 70px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1024px) {
  .promo-title.promo-title-logo img {
    height: 56px;
  }
}

@media (max-width: 768px) {
  .promo-title.promo-title-logo img {
    height: 44px;
  }
}

/* ============================================
   COUPON CARD OPTIMIZED
   ============================================ */
.sidebar-card-coupon {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blanc) 0%, var(--rouge-pale) 100%);
  border: 1px solid var(--gris-clair);
}

.sidebar-card-coupon::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(229, 0, 0, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.coupon-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  cursor: default;
}

.coupon-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coupon-icon {
  width: 32px;
  height: 32px;
  background: var(--rouge-principal);
  color: var(--blanc);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(229, 0, 0, 0.25);
  transform: rotate(-8deg);
}

.coupon-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--blanc);
}

.coupon-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rouge-principal);
  background: var(--blanc);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--rouge-pale);
}

.coupon-input-row {
  display: flex;
  gap: 0;
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  border-radius: 12px;
  padding: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.coupon-input-row:focus-within {
  border-color: var(--rouge-principal);
  box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.08);
}

.coupon-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: transparent;
  color: var(--noir);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.coupon-input-row input::placeholder {
  color: var(--gris-moyen);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.coupon-input-row button {
  width: 40px;
  height: 40px;
  background: var(--rouge-principal);
  color: var(--blanc);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-family: inherit;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
}

.coupon-input-row button:hover {
  background: var(--rouge-fonce);
  transform: scale(1.05);
}

.coupon-input-row button svg {
  fill: currentColor;
}

.coupon-hint {
  font-size: 11px;
  color: var(--gris-moyen);
  margin: 10px 0 0;
  text-align: center;
  font-style: italic;
}

@media (max-width: 768px) {
  .coupon-title { font-size: 14px; }
  .coupon-icon { width: 28px; height: 28px; }
  .coupon-icon svg { width: 16px; height: 16px; }
  .coupon-badge { font-size: 9px; padding: 3px 8px; }
}

/* Themed card with background image (e.g., Original Tasty Luffy) */
.product-card-themed .product-image-wrap {
  position: relative;
  overflow: hidden;
}

.product-card-themed .product-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  filter: saturate(0.85);
}

.product-card-themed .product-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.product-card-themed:hover .product-image-wrap::before {
  opacity: 0.5;
}

.product-card-themed .product-image-wrap > * {
  position: relative;
  z-index: 1;
}


/* Position main image at bottom for themed cards (so character background is visible at top) */
.product-card-themed .product-image-wrap {
  align-items: flex-end;
  padding-bottom: 8px;
  padding-top: 16px;
}

.product-card-themed .product-image-wrap img {
  margin-top: auto;
  max-height: 72%;
  max-width: 110%;
  transform: translateY(8%) scale(1.2);
  transform-origin: center bottom;
}

@media (max-width: 768px) {
  .product-card-themed .product-image-wrap img {
    max-height: 66%;
  }
}

/* Menu banner with image on the right */
.menu-banner-with-image {
  position: relative;
  overflow: hidden;
}

.menu-banner-image {
  position: absolute;
  right: 10px;
  bottom: 50%;
  transform: translateY(50%);
  height: 88%;
  width: auto;
  max-width: 40%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s ease;
}

.menu-banner-with-image:hover .menu-banner-image {
  transform: translateY(50%) scale(1.05) rotate(-2deg);
}

.menu-banner-with-image .menu-banner-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
}

@media (max-width: 768px) {
  .menu-banner-image {
    height: 72%;
    max-width: 36%;
    right: 6px;
    opacity: 0.85;
  }
  .menu-banner-with-image .menu-banner-content {
    max-width: 64%;
  }
}

@media (max-width: 480px) {
  .menu-banner-image {
    max-width: 32%;
    height: 64%;
    opacity: 0.7;
  }
}

/* Burger banner specific: image 15% smaller than others */
.menu-banner[data-tab="burger"] .menu-banner-image {
  height: 75%;
  max-width: 34%;
}

@media (max-width: 768px) {
  .menu-banner[data-tab="burger"] .menu-banner-image {
    height: 61%;
    max-width: 31%;
  }
}

@media (max-width: 480px) {
  .menu-banner[data-tab="burger"] .menu-banner-image {
    height: 54%;
    max-width: 27%;
  }
}

/* Per-tab mobile size adjustments for banner images */
@media (max-width: 768px) {
  /* Desserts: +20% on mobile (72% → 86%, 36% → 43%) */
  .menu-banner[data-tab="desserts"] .menu-banner-image {
    height: 86%;
    max-width: 43%;
  }

  /* Drinks: +10% on mobile (72% → 79%, 36% → 40%) */
  .menu-banner[data-tab="drinks"] .menu-banner-image {
    height: 79%;
    max-width: 40%;
  }

  /* Menu: +10% on mobile */
  .menu-banner[data-tab="menu"] .menu-banner-image {
    height: 79%;
    max-width: 40%;
  }
}

@media (max-width: 480px) {
  .menu-banner[data-tab="desserts"] .menu-banner-image {
    height: 78%;
    max-width: 39%;
  }
  .menu-banner[data-tab="drinks"] .menu-banner-image {
    height: 71%;
    max-width: 36%;
  }
  .menu-banner[data-tab="menu"] .menu-banner-image {
    height: 71%;
    max-width: 36%;
  }
}

/* "Personnaliser" label on bestseller cards (replaces price for customizable products) */
.product-price.product-price-custom {
  font-size: 13px;
  font-weight: 800;
  color: var(--rouge-principal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--rouge-principal);
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--rouge-pale);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 768px) {
  .product-price.product-price-custom {
    font-size: 10px;
    padding: 5px 8px;
    letter-spacing: 0.3px;
    border-width: 1.5px;
  }
}

@media (max-width: 480px) {
  .product-price.product-price-custom {
    font-size: 9px;
    padding: 4px 7px;
  }
}

/* Sub-category tab with logo (Tasty Crousty) */
.cat-link.cat-link-logo {
  padding: 12px 0 14px;
  display: inline-flex;
  align-items: center;
}

.cat-link.cat-link-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(60%) opacity(0.7);
  transition: filter 0.2s ease;
}

.cat-link.cat-link-logo:hover img,
.cat-link.cat-link-logo.active img {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .cat-link.cat-link-logo {
    padding: 10px 0 12px;
  }
  .cat-link.cat-link-logo img {
    height: 22px;
  }
}

/* ============================================
   MEAT FILTER PILLS (Smash Burger)
   ============================================ */
.meat-filter {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.meat-pill {
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  border-radius: 30px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gris-fonce);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.meat-pill span {
  font-size: 16px;
  line-height: 1;
}

.meat-pill:hover {
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
}

.meat-pill.active {
  background: var(--rouge-principal);
  border-color: var(--rouge-principal);
  color: var(--blanc);
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.25);
}

/* Meat group sub-sections */
.meat-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.meat-group {
  display: flex;
  flex-direction: column;
}

.meat-subtitle {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 14px;
  padding: 10px 16px;
  background: var(--gris-bg);
  border-left: 4px solid var(--rouge-principal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.meat-icon {
  font-size: 22px;
  line-height: 1;
}

.meat-count {
  margin-left: auto;
  background: var(--rouge-principal);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 14px;
  min-width: 28px;
  text-align: center;
}

@media (max-width: 768px) {
  .meat-filter {
    gap: 6px;
    margin-bottom: 18px;
  }
  .meat-pill {
    padding: 7px 14px;
    font-size: 12px;
  }
  .meat-pill span { font-size: 14px; }
  .meat-subtitle { font-size: 16px; padding: 8px 12px; }
  .meat-icon { font-size: 18px; }
  .meat-count { font-size: 11px; padding: 2px 8px; }
}

/* ============================================
   CART DRAWER (Kiosk style — slide from right)
   ============================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.cart-drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 100%;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--gris-clair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer-header h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 4px;
}

.cart-drawer-header p {
  font-size: 13px;
  color: var(--gris-moyen);
  margin: 0;
}

.cart-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gris-bg);
  border: none;
  font-size: 22px;
  color: var(--noir);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-drawer-close:hover {
  background: var(--gris-clair);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
}

.cart-drawer-empty {
  text-align: center;
  color: var(--gris-moyen);
  padding: 40px 20px;
  font-size: 14px;
}

.cd-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gris-bg);
  animation: cd-slide-in 0.3s ease;
}

@keyframes cd-slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.cd-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--gris-bg);
  border-radius: 10px;
  padding: 4px;
}

.cd-item-info h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--noir);
  line-height: 1.2;
}

.cd-item-desc {
  font-size: 11px;
  color: var(--gris-moyen);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.cd-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gris-bg);
  border-radius: 18px;
  padding: 2px;
}

.cd-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-qty button:hover {
  background: var(--rouge-pale);
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
}

.cd-qty span {
  font-size: 12px;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

.cd-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gris-moyen);
}

.cd-remove:hover {
  color: var(--rouge-principal);
}

.cd-item-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--rouge-principal);
  text-align: right;
  white-space: nowrap;
}

.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--gris-clair);
  background: var(--gris-bg);
  flex-shrink: 0;
}

.cart-drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-drawer-total span {
  font-size: 16px;
  font-weight: 700;
  color: var(--noir);
}

.cart-drawer-total strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--rouge-principal);
}

.cart-drawer-actions {
  display: flex;
  gap: 10px;
}

.cart-drawer-btn {
  flex: 1;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.cart-drawer-btn-secondary {
  background: var(--blanc);
  color: var(--noir);
  border: 2px solid var(--gris-clair);
}

.cart-drawer-btn-secondary:hover {
  border-color: var(--noir);
}

.cart-drawer-btn-primary {
  background: var(--rouge-principal);
  color: var(--blanc);
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.25);
}

.cart-drawer-btn-primary:hover {
  background: var(--rouge-fonce);
}

/* CART TOAST */
.cart-toast {
  position: fixed;
  top: 110px;
  right: 30px;
  background: var(--noir);
  color: var(--blanc);
  padding: 14px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  z-index: 1200;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast svg {
  background: var(--vert-promo);
  border-radius: 50%;
  padding: 3px;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .cart-drawer {
    width: 100%;
  }
  .cart-drawer-header { padding: 18px 18px 14px; }
  .cart-drawer-header h2 { font-size: 18px; }
  .cart-drawer-body { padding: 12px 14px; }
  .cart-drawer-footer { padding: 14px 16px; }
  .cart-drawer-total strong { font-size: 18px; }
  .cart-drawer-btn { padding: 12px 10px; font-size: 12px; }
  .cart-toast {
    top: 78px;
    right: 14px;
    left: 14px;
    font-size: 13px;
    padding: 12px 18px;
  }
}

/* ============================================
   À EMPORTER LOGIN POPUP
   ============================================ */
.emporter-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.emporter-login-overlay.open {
  opacity: 1;
  visibility: visible;
}

.emporter-login-modal {
  background: var(--blanc);
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.emporter-login-overlay.open .emporter-login-modal {
  transform: translateY(0);
}

.emporter-login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gris-bg);
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
}

.emporter-login-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE5E5, var(--rouge-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rouge-principal);
  box-shadow: 0 8px 20px rgba(229, 0, 0, 0.15);
}

.emporter-login-icon svg {
  width: 36px;
  height: 36px;
}

.emporter-login-modal h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--noir);
  margin: 0 0 8px;
  line-height: 1.2;
}

.emporter-login-subtitle {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 0 0 22px;
}

.emporter-login-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  background: var(--gris-bg);
  border-radius: 14px;
  padding: 18px 18px;
}

.emporter-login-perks li {
  font-size: 14px;
  color: var(--gris-fonce);
  margin: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.emporter-login-perks li span {
  font-size: 18px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.emporter-login-perks li strong {
  color: var(--noir);
  font-weight: 700;
}

.emporter-login-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.emporter-btn-login {
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(229, 0, 0, 0.3);
}

.emporter-btn-login:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}

.emporter-btn-guest {
  background: var(--blanc);
  color: var(--gris-fonce);
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--gris-clair);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.emporter-btn-guest:hover {
  border-color: var(--noir);
  background: var(--gris-bg);
}

.emporter-login-note {
  font-size: 11px;
  color: var(--gris-moyen);
  font-style: italic;
  margin: 0;
}

@media (max-width: 768px) {
  .emporter-login-modal {
    padding: 30px 22px 22px;
    border-radius: 20px;
  }
  .emporter-login-modal h2 { font-size: 18px; }
  .emporter-login-subtitle { font-size: 13px; }
  .emporter-login-perks li { font-size: 13px; }
  .emporter-login-icon { width: 56px; height: 56px; }
  .emporter-login-icon svg { width: 30px; height: 30px; }
}

/* ============================================
   CROSS-SELL SUGGESTIONS in cart review modal
   ============================================ */
.cr-suggestions {
  padding: 18px 30px;
  background: linear-gradient(180deg, var(--blanc) 0%, var(--rouge-pale) 200%);
  border-top: 1px solid var(--gris-clair);
}

.cr-suggestions-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cr-suggestions-title::before {
  content: '✨';
  font-size: 18px;
}

.cr-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cr-suggestion-card {
  background: var(--blanc);
  border: 1.5px solid var(--gris-clair);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
}

.cr-suggestion-card:hover {
  border-color: var(--rouge-principal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 0, 0, 0.12);
}

.cr-suggestion-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  background: var(--gris-bg);
  border-radius: 8px;
  padding: 3px;
}

.cr-suggestion-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--noir);
  line-height: 1.2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-suggestion-price {
  font-size: 12px;
  font-weight: 900;
  color: var(--rouge-principal);
}

.cr-suggestion-add {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: var(--rouge-principal);
  color: var(--blanc);
  border-radius: 50%;
  border: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cr-suggestion-add:hover {
  background: var(--rouge-fonce);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .cr-suggestions { padding: 14px 16px; }
  .cr-suggestions-grid { gap: 8px; }
  .cr-suggestion-card { padding: 8px; }
  .cr-suggestion-img { width: 44px; height: 44px; }
  .cr-suggestion-name { font-size: 10px; }
  .cr-suggestion-price { font-size: 11px; }
}

/* ============================================
   OFFRES & FIDÉLITÉ PAGE
   ============================================ */
.offres-page {
  background: var(--gris-bg);
  padding-bottom: 60px;
}

.offres-hero {
  background: linear-gradient(135deg, #1a0000 0%, #4a0000 50%, var(--rouge-principal) 100%);
  color: var(--blanc);
  padding: 60px 30px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offres-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.offres-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offres-hero-tag {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.offres-hero h1 {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  line-height: 1.1;
}

.offres-hero p {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
}

.offres-section {
  max-width: 1300px;
  margin: 50px auto 0;
  padding: 0 30px;
}

.offres-section-title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--noir);
  margin: 0 0 28px;
  text-align: center;
}

.offres-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--rouge-principal);
  margin: 12px auto 0;
  border-radius: 2px;
}

.offres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.offre-card {
  background: var(--blanc);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.offre-card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

@media (max-width: 768px) {
  .offre-card-feature { grid-template-columns: 1fr; }
}

.offre-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.4);
}

.offre-card-badge-secondary {
  background: var(--noir);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.offre-card-image {
  background: linear-gradient(135deg, var(--rouge-pale) 0%, #FFD0D0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  min-height: 200px;
}

.offre-card-feature .offre-card-image {
  background: linear-gradient(135deg, #4a0000, var(--rouge-principal));
  min-height: 320px;
}

.offre-card-image img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.offre-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offre-card-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rouge-principal);
  margin-bottom: 8px;
}

.offre-card-body h3 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--noir);
  margin: 0 0 12px;
  line-height: 1.15;
}

.offre-card-body p {
  font-size: 14px;
  color: var(--gris-fonce);
  line-height: 1.5;
  margin: 0 0 16px;
}

.offre-card-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.offre-card-perks li {
  font-size: 13px;
  color: var(--gris-fonce);
  padding: 4px 0 4px 22px;
  position: relative;
}

.offre-card-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vert-promo);
  font-weight: 800;
}

.offre-card-cta {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  align-self: flex-start;
  margin-top: auto;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(229, 0, 0, 0.3);
}

.offre-card-cta:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}

/* LOYALTY SECTION */
.loyalty-section {
  max-width: 1300px;
  margin: 70px auto 0;
  padding: 0 30px;
}

.loyalty-header {
  text-align: center;
  margin-bottom: 40px;
}

.loyalty-tag {
  display: inline-block;
  background: var(--rouge-pale);
  color: var(--rouge-principal);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.loyalty-header h2 {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--noir);
  letter-spacing: 1px;
}

.loyalty-header p {
  font-size: 16px;
  color: var(--gris-moyen);
  max-width: 600px;
  margin: 0 auto;
}

.loyalty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.loyalty-step {
  background: var(--blanc);
  padding: 28px 24px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}

.loyalty-step-num {
  width: 50px;
  height: 50px;
  background: var(--rouge-principal);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(229, 0, 0, 0.3);
}

.loyalty-step h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--noir);
}

.loyalty-step p {
  font-size: 13px;
  color: var(--gris-moyen);
  margin: 0;
  line-height: 1.5;
}

.loyalty-tiers {
  background: var(--blanc);
  border-radius: 24px;
  padding: 36px 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.loyalty-tiers-title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
  color: var(--noir);
}

.loyalty-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.loyalty-tier {
  background: var(--gris-bg);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.loyalty-tier:hover {
  border-color: var(--rouge-principal);
  transform: translateY(-2px);
}

.loyalty-tier-points {
  font-size: 24px;
  font-weight: 900;
  color: var(--rouge-principal);
  margin-bottom: 6px;
}

.loyalty-tier p {
  font-size: 13px;
  color: var(--gris-fonce);
  margin: 0;
  line-height: 1.4;
}

.loyalty-tier-feature {
  background: linear-gradient(135deg, var(--rouge-pale) 0%, #FFD0D0 100%);
  border-color: var(--rouge-principal);
}

.loyalty-tier-feature .loyalty-tier-points {
  font-size: 26px;
}

.loyalty-cta {
  background: var(--noir);
  color: var(--blanc);
  border-radius: 24px;
  padding: 36px 30px;
  text-align: center;
}

.loyalty-cta h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loyalty-cta-btn {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.loyalty-cta-btn:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 0, 0, 0.6);
}

/* FAQ */
.offres-faq {
  max-width: 800px;
  margin: 70px auto 0;
  padding: 0 30px;
}

.faq-item {
  background: var(--blanc);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--noir);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--rouge-principal);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--gris-fonce);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .offres-hero { padding: 40px 20px 50px; }
  .offres-hero h1 { font-size: 26px; }
  .offres-hero p { font-size: 14px; }
  .offres-section { margin: 36px auto 0; padding: 0 16px; }
  .offres-section-title { font-size: 22px; }
  .offre-card-feature { grid-template-columns: 1fr; }
  .offre-card-image { min-height: 180px; padding: 20px; }
  .offre-card-body { padding: 18px; }
  .offre-card-body h3 { font-size: 18px; }
  .loyalty-section { margin: 50px auto 0; padding: 0 16px; }
  .loyalty-header h2 { font-size: 26px; }
  .loyalty-steps { grid-template-columns: 1fr; gap: 14px; }
  .loyalty-tiers { padding: 24px 18px; }
  .loyalty-cta { padding: 24px 20px; }
  .loyalty-cta h3 { font-size: 18px; }
  .offres-faq { margin: 50px auto 0; padding: 0 16px; }
}

/* ============================================
   FINGER FOODS — cartes groupées avec pills X4/X6/X8
   ============================================ */
.finger-foods-grid {
  /* hérite de .product-grid : pas de surcharge nécessaire */
}

.finger-foods-card .product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ff-pill {
  flex: 1 1 auto;
  min-width: 64px;
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  border-radius: 14px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.18s ease;
  color: var(--gris-fonce);
}

.ff-pill-size {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
}

.ff-pill-price {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ff-pill-price small {
  font-size: 10px;
  font-weight: 700;
  margin-left: 1px;
}

.ff-pill:hover {
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
  transform: translateY(-1px);
}

.ff-pill.active {
  background: var(--rouge-principal);
  border-color: var(--rouge-principal);
  color: var(--blanc);
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.25);
}

.ff-pill.active .ff-pill-size,
.ff-pill.active .ff-pill-price { color: var(--blanc); }

.ff-price-row {
  margin-top: auto;
}

.ff-current-price .from-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gris-moyen);
  margin-right: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .ff-pills { gap: 6px; }
  .ff-pill {
    min-width: 56px;
    padding: 7px 8px;
    border-radius: 12px;
  }
  .ff-pill-size { font-size: 12px; }
  .ff-pill-price { font-size: 12px; }
}

/* ============================================
   BANNIÈRE FOND IMAGE — image complète en background
   (Desserts : nouveau visuel orange/jaune, texte HTML au-dessus)
   ============================================ */
.menu-banner.menu-banner-bg {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* Légère ombre interne pour lisibilité du texte sur le côté gauche */
}

.menu-banner.menu-banner-bg::before {
  /* Voile dégradé qui assombrit le côté gauche pour la lisibilité du titre blanc */
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, transparent 60%);
}

@media (max-width: 768px) {
  .menu-banner.menu-banner-bg::before {
    background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.20) 50%, transparent 75%);
  }
}

/* ============================================
   Badge "Signature" pour promo Tartufesta home
   ============================================ */
.promo-tag-signature {
  background: linear-gradient(135deg, #ffd700 0%, #c9a52a 100%);
  color: #1a0e00;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 4px;
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;                    /* override .promo-tag right:130px */
  width: auto;                    /* override .promo-tag width:70px */
  height: auto;                   /* override .promo-tag height:70px */
  transform: none;                /* override .promo-tag rotate(-15deg) */
  display: inline-block;          /* override .promo-tag flex */
  z-index: 3;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* ============================================
   Promo Tartufesta : image plus grande de 30 %
   ============================================ */
.promo-card.feature .promo-image {
  width: 234px;             /* 180 * 1.3 */
}

@media (max-width: 768px) {
  .promo-card.feature .promo-image {
    width: 203px;           /* 156 * 1.3 */
  }
}

@media (max-width: 480px) {
  .promo-card.feature .promo-image {
    width: 156px;           /* 120 * 1.3 */
  }
}

/* ============================================
   Lisibilité texte sur la promo Menu Étudiant
   (fond image bleu, le texte blanc a besoin d'un peu d'ombre)
   ============================================ */
.promo-card.discount .promo-title {
  text-shadow: 0 2px 6px rgba(0, 30, 70, 0.45);
}
.promo-card.discount .promo-subtitle {
  text-shadow: 0 1px 3px rgba(0, 30, 70, 0.4);
}

/* ============================================
   Footer enrichi : 5 colonnes + bande paiements
   ============================================ */
.main-footer .footer-inner {
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.1fr;
}

.footer-payments {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.footer-payments-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.footer-payments-list {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-icon {
  height: 32px;
  width: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 4px;
  transition: transform 0.2s;
}

.payment-icon:hover {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .main-footer .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .main-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .payment-icon { height: 26px; }
  .footer-payments-list { gap: 10px; }
}

/* ============================================
   Badge BEST-SELLER — typo titrage premium
   ============================================ */
.product-badge.bestseller-badge {
  background: linear-gradient(135deg, #d4af37 0%, #f5d76e 50%, #b8941f 100%);
  color: #1a0a00;
  font-family: 'Anton', 'Montserrat', sans-serif;
  font-weight: 400;          /* Anton est déjà très lourd */
  font-size: 13px;
  letter-spacing: 1.2px;
  padding: 6px 14px 5px;
  border-radius: 14px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow:
    0 4px 14px rgba(212, 175, 55, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.12);
  border: 1px solid #b8941f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(-2deg);
  z-index: 2;
}

.product-badge.bestseller-badge .badge-star {
  font-size: 12px;
  color: #1a0a00;
  margin-right: 1px;
  margin-top: -1px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Légère animation d'entrée pour qu'on remarque le badge */
@keyframes bestsellerPop {
  0%   { transform: rotate(-2deg) scale(1); }
  50%  { transform: rotate(-2deg) scale(1.06); }
  100% { transform: rotate(-2deg) scale(1); }
}

.product-card:hover .product-badge.bestseller-badge {
  animation: bestsellerPop 0.5s ease;
}

@media (max-width: 480px) {
  .product-badge.bestseller-badge {
    font-size: 11px;
    padding: 5px 11px 4px;
    letter-spacing: 1px;
  }
  .product-badge.bestseller-badge .badge-star { font-size: 10px; }
}

/* ============================================
   POLICE TITRAGE — Anton (allongée + grasse)
   Override sur tous les titres importants.
   On garde Montserrat pour body/sous-titres/boutons.
   ============================================ */
:root {
  --font-titrage: 'Anton', 'Bebas Neue', 'Impact', 'Helvetica Neue Condensed', sans-serif;
}

/* HERO HOME */
.hero-title {
  font-family: var(--font-titrage);
  font-weight: 400;          /* Anton est déjà très lourd */
  letter-spacing: 1.5px;
  line-height: 0.95;
}

/* TITRES DE SECTION */
.section-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.2px;
}

.section-header {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.5px;
}

/* BANDEAUX MENU (SNACKS / MENU / DESSERTS) */
.menu-banner h2 {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.8px;
  line-height: 1;
}

/* CARDS PRODUITS */
.product-name {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 0.8px;
  font-size: 18px;          /* Anton plus condensé : on peut élargir un poil */
}

/* PROMOS HOME (Menu Étudiant, Tartufesta) */
.promo-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 0.95;
}

/* PAGES LÉGALES & DEDIÉES (Mentions, CGV, FAQ, Allergènes, Confidentialité) */
.legal-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.5px;
}

.legal-section h2 {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1px;
}

/* TITRES SUB-SECTIONS PRODUITS (ex: "Bœuf · Black Angus") */
.meat-subtitle {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1px;
}

/* SECTION CARDS HOME (style "Pourquoi Smash Land") */
.home-section h2,
.home-section h3 {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1px;
}

/* FOOTER : titres de colonnes */
.main-footer .footer-col h4 {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1.5px;
  font-size: 15px;
}

/* CART DRAWER */
.cart-drawer-title,
.cart-drawer-empty-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1px;
}

/* POPUPS DE CUSTOMISATION */
.customize-popup-title,
.customize-section-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  letter-spacing: 1px;
}

/* On garde Montserrat partout ailleurs, notamment :
   - body, p, .product-description, .product-price
   - .hero-subtitle, .promo-subtitle, .menu-banner p
   - .hero-cta, .promo-button, .menu-banner-cta (boutons)
   - .hero-tag, .promo-tag (badges)
   - .add-button, .checkout-button
   - inputs, formulaires
*/

/* ============================================
   Bannière Burger — décalage du bg pour montrer le mot "SMASH"
   (hauteur standard 240px conservée, on baisse juste l'image)
   ============================================ */
.menu-banner.menu-banner-bg[data-tab="burger"] {
  background-position: center center;
}

@media (max-width: 768px) {
  .menu-banner.menu-banner-bg[data-tab="burger"] {
    background-position: center center;
  }
}

/* Bannière Burger : retirer l'ombre portée bizarre sur l'image */
.menu-banner[data-tab="burger"] .menu-banner-image {
  filter: none;
}

/* ============================================
   BANNIÈRE ENGAGEMENTS — Viande / Produits frais / Livraison
   ============================================ */
.commitments-section {
  position: relative;
  width: 100vw;
  max-width: none !important;
  padding: 50px 30px 60px;
  margin: 40px calc(-50vw + 50%) 0;          /* zéro bas pour coller au footer */
  background:
    linear-gradient(180deg, rgba(15, 5, 5, 0.78) 0%, rgba(15, 5, 5, 0.55) 50%, rgba(15, 5, 5, 0.78) 100%),
    url('../images/assets/engagement.jpg') center / cover no-repeat;
  border-radius: 0;
  overflow: hidden;
}

/* Quand commitments-section est immédiatement suivie du footer, on supprime le margin-top du footer */
.commitments-section + .main-footer {
  margin-top: 0;
}

/* Le titre "Nos Engagements" passe en blanc pour ressortir sur le fond rouge */
.commitments-section .section-title {
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}
.commitments-section .section-title .accent {
  color: #fff;            /* tout en blanc comme demandé */
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
}

.commitment-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 30px 22px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;             /* VERTICAL : badge | titre | texte */
  align-items: center;
  gap: 14px;
}

.commitment-card::before {
  /* Liseret retiré dans le format compact */
  display: none;
}

.commitment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(229, 0, 0, 0.5) inset;
  border-color: rgba(229, 0, 0, 0.4);
}

.commitment-icon {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  background: none;                   /* plus de bloc rouge */
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.commitment-icon svg,
.commitment-icon img {
  width: 67px;            /* 56 * 1.2 = +20% */
  height: 67px;
  object-fit: contain;
  display: block;
}

.commitment-title {
  font-family: var(--font-titrage);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--noir);
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.05;
}

.commitment-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gris-fonce);
  max-width: 100%;
  margin: 0;
}

.commitment-text strong {
  color: var(--rouge-principal);
  font-weight: 800;
}

@media (max-width: 900px) {
  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .commitment-card {
    padding: 28px 22px;
  }
  .commitment-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }
  .commitment-icon svg {
    width: 32px;
    height: 32px;
  }
  .commitment-title {
    font-size: 21px;
  }
}

/* ============================================
   MANIFESTO BAND — bannière contrastée sous delivery-bar
   Style street/burger joint, scroll horizontal infini
   ============================================ */
.manifesto-band {
  /* Fond noir avec subtil dégradé radial rouge en arrière-plan + texture grain */
  background:
    radial-gradient(ellipse at 30% 50%, rgba(229, 0, 0, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(229, 0, 0, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #0d0606 0%, #1a0a0a 50%, #0d0606 100%);
  border-top: 2px solid var(--rouge-principal);
  border-bottom: 2px solid var(--rouge-principal);
  overflow: hidden;
  position: relative;
}

.manifesto-band::before,
.manifesto-band::after {
  /* Gradient de fade aux extrémités pour effet "ruban" sans coupure brutale */
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.manifesto-band::before {
  left: 0;
  background: linear-gradient(90deg, #0d0606 0%, transparent 100%);
}
.manifesto-band::after {
  right: 0;
  background: linear-gradient(-90deg, #0d0606 0%, transparent 100%);
}

.manifesto-marquee {
  padding: 18px 0;
  white-space: nowrap;
  overflow: hidden;
}

.manifesto-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-left: 56px;
  animation: manifestoScroll 38s linear infinite;
  will-change: transform;
}

.manifesto-band:hover .manifesto-track {
  /* Pause au survol pour laisser lire */
  animation-play-state: paused;
}

.manifesto-item {
  font-family: var(--font-titrage);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 2px;
  color: #f5f0eb;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.manifesto-star {
  color: var(--rouge-principal);
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(229, 0, 0, 0.6));
}

@keyframes manifestoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .manifesto-marquee { padding: 14px 0; }
  .manifesto-item { font-size: 18px; letter-spacing: 1.5px; gap: 9px; }
  .manifesto-track { gap: 40px; padding-left: 40px; animation-duration: 30s; }
  .manifesto-star { font-size: 15px; }
  .manifesto-band::before,
  .manifesto-band::after { width: 50px; }
}

@media (max-width: 480px) {
  .manifesto-marquee { padding: 12px 0; }
  .manifesto-item { font-size: 16px; letter-spacing: 1.2px; }
  .manifesto-track { gap: 32px; padding-left: 32px; animation-duration: 26s; }
}

/* Respect des préférences d'animation réduite */
@media (prefers-reduced-motion: reduce) {
  .manifesto-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 0 24px;
  }
}

/* ============================================
   Bestsellers home : pleine largeur + 3 cards agrandies (+50%)
   ============================================ */
.bestsellers-section {
  /* Casser le max-width:1400px du home-section pour aller full-bleed */
  width: 100vw;
  max-width: none !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 50px 60px 60px;
}

.bestsellers-section .section-title {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.bestsellers-grid {
  /* 3 colonnes égales, plus larges */
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
}

.bestsellers-grid .product-card {
  /* Cards agrandies */
  border-radius: 22px;
}

.bestsellers-grid .product-image-wrap {
  /* Image +50% en hauteur */
  min-height: 360px;
  padding: 28px;
}

.bestsellers-grid .product-card img {
  max-height: 320px;
}

.bestsellers-grid .product-info {
  padding: 24px 28px 28px;
}

.bestsellers-grid .product-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.bestsellers-grid .product-description {
  font-size: 14px;
  line-height: 1.5;
}

.bestsellers-grid .product-price {
  font-size: 24px;
}

.bestsellers-grid .add-button {
  width: 48px;
  height: 48px;
  font-size: 26px;
}

/* Tablette : 2 colonnes */
@media (max-width: 1024px) {
  .bestsellers-section {
    padding: 40px 30px 50px;
  }
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px;
  }
  .bestsellers-grid .product-image-wrap {
    min-height: 300px;
  }
  .bestsellers-grid .product-card img {
    max-height: 270px;
  }
}

/* Mobile : grille 2 colonnes en taille standard (comme menu, pas +50%) */
@media (max-width: 600px) {
  .bestsellers-section {
    padding: 30px 16px 40px;
  }
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  /* Taille standard cards (override des +50% desktop) */
  .bestsellers-grid .product-card {
    border-radius: 16px;
  }
  .bestsellers-grid .product-image-wrap {
    min-height: 0;
    aspect-ratio: 1;
    padding: 12px;
  }
  .bestsellers-grid .product-card img {
    max-height: none;
  }
  .bestsellers-grid .product-info {
    padding: 12px 14px 14px;
  }
  .bestsellers-grid .product-name {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .bestsellers-grid .product-description {
    font-size: 11px;
    line-height: 1.4;
  }
  .bestsellers-grid .product-price {
    font-size: 16px;
  }
  .bestsellers-grid .add-button {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

/* ============================================
   TITRES DE SECTION — taille
   ============================================ */
.section-title {
  font-size: 44px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }
}

/* ============================================
   POLICE TITRAGE — Allotrope Ex Condensed Heavy
   - Si fonts/Allotrope-ExCondensedHeavy.woff2 est présent, c'est utilisé.
   - Sinon, fallback Big Shoulders Display 900 (Google Fonts) qui imite
     l'aspect extra-condensé heavy.
   ============================================ */
@font-face {
  font-family: 'Allotrope Ex Condensed';
  src: url('../fonts/Allotrope-ExCondensedHeavy.woff2') format('woff2'),
       url('../fonts/Allotrope-ExCondensedHeavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-titrage: 'Teko', 'Allotrope Ex Condensed', 'Anton', 'Impact', sans-serif;
}

/* Override sur tous les titres existants */
.hero-title,
.section-title,
.section-header,
.menu-banner h2,
.product-name,
.promo-title,
.legal-title,
.legal-section h2,
.meat-subtitle,
.home-section h2,
.home-section h3,
.main-footer .footer-col h4,
.cart-drawer-title,
.cart-drawer-empty-title,
.customize-popup-title,
.customize-section-title,
.commitment-title {
  font-family: var(--font-titrage) !important;
  font-weight: 700 !important;          /* Teko Bold sur les gros titres */
  letter-spacing: 0.5px;
}

/* Sous-titres / textes secondaires en SemiBold (Teko 600) */
.product-name,
.legal-section h2,
.commitment-title,
.cart-drawer-title,
.customize-section-title,
.main-footer .footer-col h4 {
  font-weight: 600 !important;
}

/* ============================================
   Nav principale (header) — Teko Bold
   ============================================ */
.main-nav a {
  font-family: var(--font-titrage);
  font-weight: 700 !important;
  font-size: 18px;            /* Teko est plus condensée, on peut agrandir un peu */
  letter-spacing: 0.8px;
}

@media (max-width: 1024px) {
  .main-nav a { font-size: 16px; }
}

/* Mobile drawer nav cohérente */
.mobile-drawer-nav a {
  font-family: var(--font-titrage);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Mobile categories bar (sticky) cohérente */
.mobile-categories a {
  font-family: var(--font-titrage);
  font-weight: 700;
}

.commitment-card-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Bloc texte (titre + description) centré horizontalement à droite de l'icône */
.commitment-card .commitment-title,
.commitment-card .commitment-text {
  text-align: center;
}

@media (max-width: 600px) {
  .commitment-card {
    padding: 24px 18px 22px;
    gap: 12px;
  }
}

/* ============================================
   Bannière Snacks : zoom bg pour mettre les produits en avant
   ============================================ */
.menu-banner.menu-banner-bg[data-tab="snacks"] {
  background-size: auto 130%;     /* hauteur 130% pour zoom + remplissage complet */
  background-position: right center;
}

@media (max-width: 768px) {
  .menu-banner.menu-banner-bg[data-tab="snacks"] {
    background-size: auto 140%;
  }
}

/* ============================================
   Bannière Menu : zoom bg pour mettre les produits en avant
   ============================================ */
.menu-banner.menu-banner-bg[data-tab="menu"] {
  background-size: auto 130%;
  background-position: right center;     /* déplacer vers la droite pour cacher l'artifact gauche */
}

@media (max-width: 768px) {
  .menu-banner.menu-banner-bg[data-tab="menu"] {
    background-size: auto 140%;
    background-position: right center;
  }
}

/* ============================================
   Bannières menu (Burger/Menu/Snacks/Desserts) :
   full-bleed sur mobile + tablet (occupent toute la largeur)
   ============================================ */
@media (max-width: 1024px) {
  /* Padding parent .menu-page = 0 30px à ce breakpoint */
  .menu-banner {
    margin-left: -30px;
    margin-right: -30px;
    width: calc(100% + 60px);
    border-radius: 0;
    padding: 24px 24px;
  }
}

@media (max-width: 768px) {
  /* Padding parent passe à 0 16px à ce breakpoint */
  .menu-banner {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    padding: 22px 20px;
  }
}

@media (max-width: 480px) {
  .menu-banner {
    padding: 20px 18px;
  }
  .menu-banner-with-image {
    padding: 18px 16px;
  }
}

/* Card "feature" Menu Étudiant : image en cover plein cadre */
.offre-card-feature .offre-card-image {
  padding: 0;
  background: transparent;
  overflow: hidden;
}
.offre-card-feature .offre-card-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: none;
  display: block;
}

/* ============================================
   OFFRES DE LA SEMAINE — 2 cards Mardi & Jeudi
   Animations respectant la DA Smash Land (rouge, edgy, smashed)
   ============================================ */
.weekly-offers-section {
  padding-top: 24px;
  padding-bottom: 40px;
}

.weekly-offers-intro {
  text-align: center;
  font-size: 16px;
  color: var(--gris-fonce);
  margin: -10px auto 32px;
  max-width: 720px;
  line-height: 1.5;
}
.weekly-offers-intro strong {
  color: var(--rouge-principal);
  font-weight: 700;
}

.weekly-offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.weekly-offer {
  position: relative;
  background:
    linear-gradient(135deg, #1a0000 0%, #3d0000 50%, var(--rouge-principal) 100%);
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 410px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
  box-shadow: 0 16px 42px rgba(229, 0, 0, 0.2);
  isolation: isolate;
}

.weekly-offer::before {
  /* halftone pattern subtil */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: 1;
  pointer-events: none;
}

.weekly-offer-glow {
  /* halo rouge animé qui pulse derrière le visuel */
  position: absolute;
  top: 50%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 80, 80, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  transform: translateY(-50%);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateY(-50%) scale(1.08); }
}

.weekly-offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(229, 0, 0, 0.32);
}

.weekly-offer:hover .weekly-offer-image img {
  transform: scale(1.06) rotate(-2deg);
}

.weekly-offer:hover .weekly-offer-day {
  transform: rotate(-6deg) scale(1.04);
}

/* === Badge JOUR (Mardi/Jeudi) ============== */
.weekly-offer-day {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 4;
  background: var(--blanc);
  color: var(--rouge-principal);
  padding: 10px 17px 8px;
  border-radius: 14px;
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: 0 5px 17px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s ease;
  font-family: var(--font-titrage);
  line-height: 1;
}
.weekly-offer-day-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--noir);
  text-transform: uppercase;
}
.weekly-offer-day-name {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* === Image gauche ============== */
.weekly-offer-image {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.weekly-offer-image img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mardi : image transparente sur fond gradient brand — agrandie + descendue */
.weekly-offer.mardi .weekly-offer-image {
  padding: 60px 16px 24px;          /* + de padding-top pour laisser le badge respirer */
  align-items: flex-end;            /* image alignée en BAS du conteneur */
}
.weekly-offer.mardi .weekly-offer-image img {
  width: 110%;                      /* déborder un peu pour grossir */
  height: auto;
  max-height: none;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
  transform: translateY(8px);       /* pousse l'image légèrement hors-cadre vers le bas */
}

/* === Texte droite ============== */
.weekly-offer-content {
  position: relative;
  z-index: 3;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--blanc);
}
.weekly-offer-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.weekly-offer-title {
  font-family: var(--font-titrage);
  font-size: 29px;
  font-weight: 700 !important;
  letter-spacing: 0.6px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 17px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}
.weekly-offer-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.weekly-offer-price-from {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.85;
}
.weekly-offer-price-value {
  font-family: var(--font-titrage);
  font-size: 53px;
  font-weight: 700 !important;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: priceWobble 3s ease-in-out infinite;
}
.weekly-offer-price-value small {
  font-size: 29px;
  margin-left: 2px;
}

@keyframes priceWobble {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-2deg); }
  75%      { transform: rotate(2deg); }
}

.weekly-offer-desc {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 19px;
  opacity: 0.92;
}
.weekly-offer-cta {
  font-family: var(--font-titrage);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--blanc);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.weekly-offer:hover .weekly-offer-cta {
  transform: translateX(6px);
  color: #ffe5e5;
}

/* Jeudi : barquette quasi-carrée — descendre +30px et fixe au hover */
.weekly-offer.jeudi .weekly-offer-image {
  padding: 90px 24px 20px;
  align-items: flex-end;
  overflow: visible;
}
.weekly-offer.jeudi .weekly-offer-image img {
  width: auto;
  height: 100%;
  max-height: 230px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
  transform: translateY(-26px);
}
.weekly-offer.jeudi:hover .weekly-offer-image img {
  transform: translateY(-26px);
}

/* === Variantes par jour ============== */
.weekly-offer.jeudi {
  background:
    linear-gradient(135deg, #2a0a00 0%, #6b1500 50%, #ff5722 100%);
}

.weekly-offer.jeudi .weekly-offer-day {
  /* Jeudi en couleur orange de la sauce dynamite/buffalo */
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  color: #2a0a00;
}
.weekly-offer.jeudi .weekly-offer-day-label,
.weekly-offer.jeudi .weekly-offer-day-name {
  color: #2a0a00;
}

/* === Responsive ============== */
@media (max-width: 900px) {
  .weekly-offers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .weekly-offer {
    min-height: 280px;
  }
  .weekly-offer-title {
    font-size: 20px;
  }
  .weekly-offer-price-value {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .weekly-offer {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .weekly-offer-image {
    height: 200px;
    padding: 16px;
  }
  .weekly-offer-content {
    padding: 24px 22px 26px;
  }
}

/* Reduce motion : pas d'animations qui pulsent */
@media (prefers-reduced-motion: reduce) {
  .weekly-offer-glow,
  .weekly-offer-price-value {
    animation: none;
  }
}

/* Footer "Powered by" link */
.footer-powered {
  font-size: 11px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.footer-powered a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s, border-color 0.2s;
}
.footer-powered a:hover {
  color: var(--rouge-principal);
  border-bottom-color: var(--rouge-principal);
}

/* Mobile : cards mardi & jeudi — image bien centrée entre badge et bloc texte */
@media (max-width: 480px) {
  .weekly-offer.mardi .weekly-offer-image,
  .weekly-offer.jeudi .weekly-offer-image {
    height: 240px;
    padding: 70px 16px 18px;
    align-items: center;
  }
  .weekly-offer.mardi .weekly-offer-image img {
    width: 80%;
    max-width: 280px;
    transform: none;
  }
  .weekly-offer.jeudi .weekly-offer-image {
    padding: 80px 16px 14px;
    align-items: flex-end;
  }
  .weekly-offer.jeudi .weekly-offer-image img {
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 175px;
    transform: translateY(20px);
  }
  .weekly-offer.jeudi:hover .weekly-offer-image img {
    transform: translateY(20px);
  }
}

/* Mobile : badge SIGNATURE sur la promo Tartufesta -> à droite */
@media (max-width: 600px) {
  .promo-tag-signature {
    left: auto !important;
    right: 14px !important;
  }
}

/* ============================================
   FOOTER HORAIRES
   ============================================ */
.footer-hours ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 3px 0;
  font-size: 14px;
  white-space: nowrap;
}
.footer-hours ul li span {
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}
.footer-hours ul li strong {
  color: var(--blanc);
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

/* Mobile — version compacte */
@media (max-width: 768px) {
  .footer-hours ul li {
    font-size: 13.5px;
    padding: 4px 0;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .footer-hours ul {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 16px;
    width: 100%;
    max-width: 320px;
  }
  .footer-hours ul li {
    display: contents;
    font-size: 13px;
    padding: 0;
  }
  .footer-hours ul li span {
    grid-column: 1;
    padding: 4px 0;
    font-size: 12.5px;
    letter-spacing: 0.3px;
  }
  .footer-hours ul li strong {
    grid-column: 2;
    padding: 4px 0;
    text-align: left;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
  }
}

/* ============================================
   BADGE OUVERT / FERMÉ — header
   ============================================ */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-titrage);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.04);
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.open-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
  position: relative;
}

.open-badge-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.75;
  margin-left: 2px;
}

/* État OUVERT — vert */
.open-badge.is-open {
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.30);
}
.open-badge.is-open .open-badge-dot {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseGreen 1.6s ease-out infinite;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

/* État FERMÉ — rouge */
.open-badge.is-closed {
  background: rgba(229, 0, 0, 0.10);
  color: var(--rouge-principal);
  border-color: rgba(229, 0, 0, 0.30);
}
.open-badge.is-closed .open-badge-dot {
  background: var(--rouge-principal);
}

/* Mobile : version compacte (cacher le sub-text au besoin) */
@media (max-width: 900px) {
  .open-badge { font-size: 12px; padding: 6px 11px; }
  .open-badge-sub { display: none; }
}
@media (max-width: 600px) {
  .open-badge {
    /* Garder visible en mobile mais ultra compact */
    font-size: 11px;
    padding: 5px 9px;
  }
  .open-badge-dot {
    width: 8px;
    height: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SMASH KING - Programme Fidélité Premium
   ═══════════════════════════════════════════════════════════════════ */

/* SECTION WRAPPER */
.loyalty-section {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(229,0,0,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  margin: 80px auto 0;
  max-width: 1400px;
  padding: 70px 30px 70px;
  border-radius: 36px;
  overflow: hidden;
}
.loyalty-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--rouge-principal) 50%, transparent 100%);
}

/* ── HEADER ───────────────────────────────────────────────────── */
.loyalty-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.loyalty-tag {
  display: inline-block;
  background: var(--noir);
  color: #FFD700;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  margin: 14px 0 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  text-transform: uppercase;
}
.loyalty-header h2 {
  font-family: var(--font-titrage);
  font-size: 84px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--noir);
  letter-spacing: 2.5px;
  line-height: 0.95;
  display: block;
}
.loyalty-header .loyalty-crown {
  font-size: 70px;
  filter: drop-shadow(0 4px 12px rgba(255, 200, 0, 0.55));
  animation: crownFloat 3s ease-in-out infinite;
}
@keyframes crownFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}
.loyalty-slogan {
  font-size: 18px;
  color: var(--gris-fonce);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.loyalty-slogan strong {
  color: var(--rouge-principal);
  font-weight: 900;
  position: relative;
  padding: 0 3px;
}
.loyalty-slogan strong::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 5px;
  background: rgba(229, 0, 0, 0.14);
  z-index: -1;
  border-radius: 3px;
}

/* ── MECANIQUE PRINCIPALE : 1€ = 2 SMASH POINTS ──────────────── */
.loyalty-mechanic {
  background: linear-gradient(135deg, var(--noir) 0%, #2A2A2A 100%);
  border-radius: 32px;
  padding: 50px 40px 36px;
  text-align: center;
  color: var(--blanc);
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.loyalty-mechanic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
/* halo removed */
.loyalty-mechanic-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.loyalty-mechanic-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 160px;
}
.loyalty-mechanic-value {
  font-family: var(--font-titrage);
  font-size: 96px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--blanc);
  letter-spacing: 1px;
}
.loyalty-mechanic-side-red .loyalty-mechanic-value {
  color: var(--rouge-principal);
}
.loyalty-mechanic-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.loyalty-mechanic-equals {
  font-family: var(--font-titrage);
  font-size: 80px;
  color: rgba(255,255,255,0.4);
  line-height: 0.9;
  padding-bottom: 16px;
}
.loyalty-mechanic-examples {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.loyalty-mechanic-examples span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.loyalty-mechanic-examples span em {
  font-style: normal;
  color: rgba(255,255,255,0.45);
  margin: 0 4px;
}
.loyalty-mechanic-examples span strong {
  color: #FFD700;
  font-weight: 900;
}

/* ── 3 STEPS ──────────────────────────────────────────────────── */
.loyalty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
  position: relative;
}
.loyalty-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--rouge-pale) 0,
    var(--rouge-pale) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}
.loyalty-step {
  background: var(--blanc);
  padding: 38px 26px 28px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
}
.loyalty-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(229,0,0,0.12);
}
.loyalty-step-num {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--rouge-principal) 0%, #FF3030 100%);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titrage);
  font-size: 36px;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 8px 22px rgba(229, 0, 0, 0.35);
  position: relative;
}
.loyalty-step-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--rouge-pale);
  z-index: -1;
}
.loyalty-step h3 {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--noir);
  letter-spacing: 0.6px;
}
.loyalty-step p {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 0;
  line-height: 1.55;
}
.loyalty-step p strong {
  color: var(--rouge-principal);
  font-weight: 900;
}

/* ── TIERS (5 paliers) ────────────────────────────────────────── */
.loyalty-tiers {
  background: var(--blanc);
  border-radius: 28px;
  padding: 42px 36px 38px;
  margin-bottom: 56px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.04);
}
.loyalty-tiers-title {
  font-family: var(--font-titrage);
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 32px;
  color: var(--noir);
  letter-spacing: 1.5px;
  position: relative;
}
.loyalty-tiers-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--rouge-principal);
  margin: 12px auto 0;
  border-radius: 2px;
}
.loyalty-tiers-grid-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.loyalty-tier {
  background: linear-gradient(180deg, #FAFAFA 0%, #F0F0F0 100%);
  border-radius: 22px;
  padding: 28px 18px 22px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.loyalty-tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gris-clair);
  transition: background 0.3s ease;
}
.loyalty-tier:nth-child(1)::before { background: #CED4DA; }
.loyalty-tier:nth-child(2)::before { background: #FFB084; }
.loyalty-tier:nth-child(3)::before { background: #FF6B6B; }
.loyalty-tier:nth-child(4)::before { background: var(--rouge-principal); }
.loyalty-tier:nth-child(5)::before { background: linear-gradient(90deg, #FFD700, #FFA500); }

.loyalty-tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(229,0,0,0.14);
  border-color: var(--rouge-principal);
}
.loyalty-tier-points {
  font-family: var(--font-titrage);
  font-size: 38px;
  font-weight: 700;
  color: var(--rouge-principal);
  margin-bottom: 12px;
  letter-spacing: 1.2px;
  line-height: 1;
}
.loyalty-tier p {
  font-size: 12.5px;
  color: var(--gris-fonce);
  margin: 0;
  line-height: 1.5;
}
.loyalty-tier p em {
  font-style: normal;
  color: var(--rouge-principal);
  font-weight: 700;
}
.loyalty-tier-feature {
  background: linear-gradient(180deg, var(--rouge-pale) 0%, #FFD0D0 100%);
  border-color: rgba(229,0,0,0.25);
}
.loyalty-tier-feature .loyalty-tier-points {
  font-size: 42px;
}
.loyalty-tier-king {
  background: linear-gradient(135deg, #FFF6D6 0%, #FFE7A8 50%, #FFD56B 100%);
  border-color: rgba(255, 165, 0, 0.45);
  box-shadow: 0 8px 24px rgba(255, 165, 0, 0.18);
}
.loyalty-tier-king .loyalty-tier-points {
  color: var(--noir);
  background: linear-gradient(135deg, #8B6914 0%, #BF7E00 50%, #5C4500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.loyalty-tier-king p { color: #5C4500; }
.loyalty-tier-king p em { color: #BF7E00; }
.loyalty-tier-crown {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  filter: drop-shadow(0 2px 6px rgba(255, 165, 0, 0.5));
}

/* ── BONUS ────────────────────────────────────────────────────── */
.loyalty-bonus {
  margin-bottom: 56px;
}
.loyalty-bonus-title {
  font-family: var(--font-titrage);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 28px;
  color: var(--noir);
  letter-spacing: 1.4px;
}
.loyalty-bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.loyalty-bonus-card {
  background: var(--blanc);
  border-radius: 22px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.25s ease;
}
.loyalty-bonus-card:hover {
  transform: translateY(-4px);
}
.loyalty-bonus-icon {
  font-size: 42px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}
.loyalty-bonus-amount {
  font-family: var(--font-titrage);
  font-size: 30px;
  font-weight: 700;
  color: var(--rouge-principal);
  letter-spacing: 1px;
  margin-bottom: 8px;
  line-height: 1;
}
.loyalty-bonus-card p {
  font-size: 13.5px;
  color: var(--gris-moyen);
  margin: 0;
  line-height: 1.5;
}

/* Placeholder card — VISIBLE EN SURBRILLANCE */
.loyalty-bonus-placeholder {
  background: linear-gradient(135deg, #FFF8DC 0%, #FFEAA7 100%);
  border: 3px dashed #F9A825;
  position: relative;
  animation: placeholderPulse 2.5s ease-in-out infinite;
}
@keyframes placeholderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 168, 37, 0.0); }
  50%      { box-shadow: 0 0 0 8px rgba(249, 168, 37, 0.18); }
}
.loyalty-bonus-placeholder .loyalty-bonus-amount {
  color: #B8770A;
}
.loyalty-bonus-placeholder p {
  color: #6B4906;
}
.loyalty-bonus-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #F9A825;
  color: var(--noir);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 168, 37, 0.4);
}
.placeholder-field {
  display: inline-block;
  background: var(--blanc);
  border: 2px solid #F9A825;
  border-radius: 8px;
  padding: 2px 12px;
  font-weight: 900;
  color: #B8770A;
  font-family: var(--font-titrage);
  font-size: 16px;
  margin: 0 2px;
  min-width: 50px;
  letter-spacing: 1px;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.loyalty-cta {
  background: linear-gradient(135deg, var(--noir) 0%, #2A2A2A 100%);
  color: var(--blanc);
  border-radius: 28px;
  padding: 46px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.22);
}
.loyalty-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,215,0,0.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.loyalty-cta::after {
  content: '👑';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  line-height: 1;
}
.loyalty-cta h3 {
  font-family: var(--font-titrage);
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}
.loyalty-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rouge-principal) 0%, #FF3030 100%);
  color: var(--blanc);
  padding: 18px 44px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(229,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}
.loyalty-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(229,0,0,0.55);
}

/* ── CONDITIONS ───────────────────────────────────────────────── */
.loyalty-conditions {
  background: var(--blanc);
  border-radius: 28px;
  padding: 42px 38px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.loyalty-conditions-title {
  font-family: var(--font-titrage);
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--noir);
  letter-spacing: 1.4px;
  text-align: center;
}
.loyalty-conditions-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--rouge-principal);
  margin: 10px auto 0;
  border-radius: 2px;
}
.condition-item {
  border-bottom: 1px solid #EEE;
  padding: 0;
}
.condition-item:last-child {
  border-bottom: none;
}
.condition-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--noir);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
  user-select: none;
}
.condition-item summary::-webkit-details-marker { display: none; }
.condition-item summary::after {
  content: '+';
  margin-left: auto;
  width: 28px;
  height: 28px;
  background: var(--gris-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--gris-fonce);
  transition: all 0.25s ease;
}
.condition-item[open] summary::after {
  content: '−';
  background: var(--rouge-principal);
  color: var(--blanc);
  transform: rotate(180deg);
}
.condition-item summary:hover {
  color: var(--rouge-principal);
}
.condition-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--rouge-pale);
  color: var(--rouge-principal);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}
.condition-item[open] .condition-num {
  background: var(--rouge-principal);
  color: var(--blanc);
}
.condition-item ul,
.condition-item > p {
  margin: 0 0 18px 42px;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
  color: var(--gris-fonce);
  line-height: 1.65;
}
.condition-item ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.condition-item ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--rouge-principal);
  border-radius: 50%;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .loyalty-tiers-grid-five {
    grid-template-columns: repeat(3, 1fr);
  }
  .loyalty-tier:nth-child(4),
  .loyalty-tier:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .loyalty-section {
    padding: 50px 18px 50px;
    margin-top: 50px;
    border-radius: 24px;
  }
  .loyalty-header h2 { font-size: 56px; gap: 12px; }
  .loyalty-header .loyalty-crown { font-size: 48px; }
  .loyalty-slogan { font-size: 15px; }
  .loyalty-mechanic {
    padding: 38px 22px 28px;
    border-radius: 24px;
  }
  .loyalty-mechanic-value { font-size: 64px; }
  .loyalty-mechanic-equals { font-size: 50px; padding-bottom: 8px; }
  .loyalty-mechanic-examples span { font-size: 12.5px; padding: 6px 14px; }
  .loyalty-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .loyalty-steps::before { display: none; }
  .loyalty-tiers {
    padding: 28px 18px 24px;
    border-radius: 22px;
  }
  .loyalty-tiers-title { font-size: 28px; }
  .loyalty-tiers-grid-five {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .loyalty-tier { min-height: 200px; padding: 22px 14px 18px; }
  .loyalty-tier-points { font-size: 30px; }
  .loyalty-tier-feature .loyalty-tier-points { font-size: 32px; }
  .loyalty-bonus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .loyalty-bonus-title { font-size: 24px; }
  .loyalty-cta {
    padding: 36px 24px;
    border-radius: 22px;
  }
  .loyalty-cta h3 { font-size: 24px; }
  .loyalty-cta-btn { font-size: 13.5px; padding: 16px 32px; }
  .loyalty-conditions {
    padding: 28px 20px;
    border-radius: 22px;
  }
  .loyalty-conditions-title { font-size: 24px; }
  .condition-item summary { font-size: 14px; gap: 10px; padding: 14px 0; }
  .condition-item ul, .condition-item > p { margin-left: 34px; font-size: 13px; }
}
@media (max-width: 480px) {
  .loyalty-tiers-grid-five {
    grid-template-columns: 1fr;
  }
  .loyalty-tier { min-height: auto; }
  /* Force 1€ = 2 sur une seule ligne en mobile */
  .loyalty-mechanic-inner {
    gap: 14px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .loyalty-mechanic-side { min-width: 0; flex: 0 1 auto; }
  .loyalty-mechanic-value { font-size: 56px; }
  .loyalty-mechanic-equals { font-size: 40px; padding-bottom: 16px; }
  .loyalty-mechanic-label { font-size: 11px; letter-spacing: 1.8px; }
}

/* Sidebar King card */
.sidebar-card-king .sidebar-king-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sidebar-card-king .sidebar-king-crown {
  font-size: 16px;
  filter: drop-shadow(0 1px 3px rgba(255, 200, 0, 0.5));
}
.sidebar-card-king .fidelite-text strong {
  color: var(--rouge-principal);
  font-weight: 900;
}

/* ── FRITES (popup customize) : images +30% pour meilleure visibilite ── */
.customize-option[data-fries-id] .customize-option-img {
  width: 91px;   /* 70px × 1.30 */
  height: 91px;
}
@media (max-width: 600px) {
  .customize-option[data-fries-id] .customize-option-img {
    width: 73px;  /* 56px × 1.30 */
    height: 73px;
  }
}

/* Frites Twister apparait plus petite — boost via CSS */
.customize-option[data-fries-id="frites-twister"] .customize-option-img {
  transform: scale(1.10); /* desktop +10% */
  transform-origin: center center;
}
@media (max-width: 600px) {
  .customize-option[data-fries-id="frites-twister"] .customize-option-img {
    transform: scale(1.15); /* mobile +15% */
  }
}

/* Mention exclusion offre Mardi */
.weekly-offer-fineprint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════════════════════════════
   COMPTE — Espace client Smash King
   ═══════════════════════════════════════════════════════════════════ */

.compte-page {
  max-width: 1280px;
  margin: 30px auto 70px;
  padding: 0 30px;
  font-family: var(--font-principal);
}

/* ── HERO GREETING ─────────────────────────────────────────── */
.compte-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  padding: 0 4px;
}
.compte-hero-tag {
  display: inline-block;
  background: var(--noir);
  color: #FFD700;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.compte-hero h1 {
  font-family: var(--font-titrage);
  font-size: 54px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--noir);
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.compte-hero-wave {
  font-size: 40px;
  animation: waveHand 2.2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes waveHand {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
}
.compte-hero-sub {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 6px 0 0;
}
.compte-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blanc);
  color: var(--noir);
  border: 1px solid #E5E5E5;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.compte-logout:hover {
  border-color: var(--rouge-principal);
  color: var(--rouge-principal);
  background: var(--rouge-pale);
}

/* ── CARTE DIGITALE ───────────────────────────────────────── */
.compte-card-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.compte-card {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(255, 100, 100, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #1A1A1A 0%, #3a0a0a 55%, var(--rouge-principal) 130%);
  border-radius: 28px;
  padding: 30px 32px 30px;
  color: var(--blanc);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(229, 0, 0, 0.28), 0 4px 12px rgba(0,0,0,0.18);
  isolation: isolate;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.compte-card-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
.compte-card > * { position: relative; z-index: 1; }

.compte-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.compte-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compte-card-logo {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.compte-card-program {
  font-family: var(--font-titrage);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #FFD700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.compte-card-status {
  background: rgba(255, 215, 0, 0.22);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.compte-card-points {
  text-align: center;
  margin: 8px 0 18px;
}
.compte-card-points-value {
  font-family: var(--font-titrage);
  font-size: 96px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFD700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(255, 200, 0, 0.25));
}
.compte-card-points-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-top: 4px;
}

.compte-card-progress {
  margin-bottom: 22px;
}
.compte-card-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.78);
}
.compte-card-progress-info strong {
  color: var(--blanc);
  font-weight: 700;
}
.compte-card-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.14);
  border-radius: 10px;
  overflow: hidden;
}
.compte-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700 0%, #FF6B35 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.5);
}

.compte-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.compte-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.compte-card-info-label {
  font-size: 9.5px;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.compte-card-info-value {
  font-family: var(--font-titrage);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blanc);
}

.compte-card-qr {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 86px;
  height: 86px;
  background: white;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 2;
}
.compte-card-qr svg { width: 100%; height: 100%; }

/* ── WALLET BUTTONS ───────────────────────────────────────── */
.compte-wallet {
  background: var(--blanc);
  border-radius: 28px;
  padding: 32px 30px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compte-wallet-title {
  font-family: var(--font-titrage);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 8px;
  color: var(--noir);
}
.compte-wallet-sub {
  font-size: 13.5px;
  color: var(--gris-moyen);
  margin: 0 0 22px;
  line-height: 1.5;
}
.compte-wallet-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wallet-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--noir);
  color: var(--blanc);
  border-radius: 14px;
  padding: 14px 22px;
  text-decoration: none;
  font-family: var(--font-principal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}
.wallet-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.wallet-btn small {
  font-size: 10.5px;
  letter-spacing: 0.4px;
  opacity: 0.7;
  margin-bottom: 2px;
}
.wallet-btn strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.wallet-btn-google {
  background: linear-gradient(135deg, #4285F4 0%, #1A56DB 100%);
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.compte-section {
  margin-bottom: 50px;
}
.compte-section-header {
  margin-bottom: 22px;
}
.compte-section-header h2 {
  font-family: var(--font-titrage);
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--noir);
  letter-spacing: 1.2px;
}
.compte-section-header p {
  font-size: 14px;
  color: var(--gris-moyen);
  margin: 0;
}

/* ── REWARDS GRID ─────────────────────────────────────────── */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.reward-card {
  background: var(--blanc);
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  position: relative;
}
.reward-card.unlocked:hover {
  transform: translateY(-4px);
  border-color: var(--rouge-principal);
  box-shadow: 0 14px 30px rgba(229,0,0,0.14);
}
.reward-card.locked {
  opacity: 0.65;
  filter: grayscale(40%);
}
.reward-tier {
  display: inline-block;
  font-family: var(--font-titrage);
  font-size: 32px;
  font-weight: 700;
  color: var(--rouge-principal);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.reward-card-king .reward-tier {
  background: linear-gradient(135deg, #BF7E00 0%, #FFD700 50%, #BF7E00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reward-desc {
  font-size: 13px;
  color: var(--gris-fonce);
  margin: 0 0 18px;
  line-height: 1.55;
  min-height: 60px;
}
.reward-desc em {
  font-style: normal;
  color: var(--rouge-principal);
  font-weight: 700;
}
.reward-btn {
  display: inline-block;
  width: 100%;
  background: var(--rouge-principal);
  color: var(--blanc);
  border: none;
  padding: 11px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reward-btn:hover:not(:disabled) {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
}
.reward-btn:disabled {
  background: #DDD;
  color: #888;
  cursor: not-allowed;
  font-weight: 600;
}
.reward-btn strong {
  color: var(--rouge-principal);
  font-weight: 900;
}

/* ── HISTORY ──────────────────────────────────────────────── */
.history-table {
  background: var(--blanc);
  border-radius: 22px;
  padding: 8px 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}
.history-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #F0F0F0;
}
.history-row:last-child { border-bottom: none; }
.history-date {
  font-size: 12.5px;
  color: var(--gris-moyen);
  font-weight: 600;
  line-height: 1.4;
}
.history-date small {
  color: var(--gris-clair);
  font-size: 11px;
}
.history-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.history-label strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--noir);
}
.history-label small {
  font-size: 12px;
  color: var(--gris-moyen);
}
.history-amount {
  font-family: var(--font-titrage);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.history-row-credit .history-amount { color: #00A859; }
.history-row-debit .history-amount { color: var(--rouge-principal); }
.history-row-bonus .history-amount { color: #FFA500; }

/* ── INFO FORM ────────────────────────────────────────────── */
.compte-info-form {
  background: var(--blanc);
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── EMPTY STATE ──────────────────────────────────────────── */
.compte-empty {
  background: var(--blanc);
  border-radius: 22px;
  padding: 50px 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  color: var(--gris-moyen);
}
.compte-empty svg {
  color: var(--gris-clair);
  margin-bottom: 14px;
}
.compte-empty h3 {
  font-family: var(--font-titrage);
  font-size: 22px;
  font-weight: 700;
  color: var(--noir);
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0.8px;
}
.compte-empty p {
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.5;
}
.compte-empty-cta {
  display: inline-block;
  background: var(--rouge-principal);
  color: var(--blanc);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.compte-empty-cta:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
}

/* ── PROFILE ICON STATES ──────────────────────────────────── */
a.profile-icon {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}
.profile-icon-active {
  position: relative;
}
.profile-icon-active::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 8px;
  height: 8px;
  background: var(--rouge-principal);
  border-radius: 50%;
  border: 2px solid var(--blanc);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .compte-card-section { grid-template-columns: 1fr; gap: 20px; }
  .compte-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .compte-logout { align-self: flex-start; }
}
@media (max-width: 600px) {
  .compte-page { padding: 0 16px; margin-top: 18px; }
  .compte-hero h1 { font-size: 38px; }
  .compte-hero-wave { display: none; }                /* masqué sur mobile pour éviter le break avec prénoms longs */
  .compte-card { padding: 24px 22px; min-height: 340px; }
  .compte-card-program { font-size: 18px; }
  .compte-card-points-value { font-size: 76px; }
  .compte-card-qr { width: 70px; height: 70px; bottom: 18px; right: 18px; }
  .compte-card-bottom { padding-right: 80px; flex-wrap: wrap; }
  .compte-wallet { padding: 24px 20px; border-radius: 22px; }
  .compte-section-header h2 { font-size: 24px; }
  .rewards-grid { grid-template-columns: 1fr; gap: 14px; }
  .reward-desc { min-height: auto; }
  .history-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 14px 16px;
  }
  .history-date {
    grid-column: 1 / 3;
    font-size: 11.5px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 4px;
    margin-bottom: 4px;
  }
  .history-amount { font-size: 18px; }
  .compte-info-form { padding: 22px 18px; }
}

/* ── Banner Smash King sur page Identification ── */
.ident-king-banner {
  max-width: 1280px;
  margin: 0 auto 30px;
  padding: 0 30px;
}
.ident-king-banner-content {
  background: linear-gradient(135deg, var(--noir) 0%, #2a0a0a 60%, var(--rouge-principal) 130%);
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--blanc);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(229, 0, 0, 0.20);
}
.ident-king-banner-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.ident-king-banner-icon {
  font-size: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(255, 200, 0, 0.4));
  position: relative;
  z-index: 1;
}
.ident-king-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.ident-king-banner-text strong {
  font-family: var(--font-titrage);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #FFD700;
}
.ident-king-banner-text span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.ident-king-banner-cta {
  background: var(--blanc);
  color: var(--noir);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 22px rgba(0,0,0,0.20);
}
.ident-king-banner-cta:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.45);
}
@media (max-width: 768px) {
  .ident-king-banner { padding: 0 16px; }
  .ident-king-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 14px;
  }
  .ident-king-banner-text strong { font-size: 18px; }
  .ident-king-banner-text span { font-size: 12.5px; }
}

/* Sous-titres dans le formulaire "Mes informations" */
.compte-info-subtitle {
  font-family: var(--font-titrage);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--noir);
  letter-spacing: 0.8px;
  margin: 8px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #EEE;
}
.compte-info-subtitle:not(:first-child) {
  margin-top: 18px;
}
.compte-info-form input[readonly] {
  background: #F5F5F5;
  color: var(--gris-moyen);
  cursor: not-allowed;
}

/* =====================================================
   Homogénéisation taille images : THE BILL seul et TASTY SMASH seul
   Les versions seul (sans menu) ont le sujet centré plus petit
   que les autres burgers. Les versions menu ont été refaites par
   le client pour être à la bonne taille nativement.
   ===================================================== */
.product-image-wrap img[src*="1633915.png"],
.product-image-wrap img[src*="1639312.png"] {
  transform: scale(1.45);
  transform-origin: center 60%;
}

/* Bestsellers grid (taille différente, scale ajusté) */
.bestsellers-grid .product-image-wrap img[src*="1633915.png"],
.bestsellers-grid .product-image-wrap img[src*="1639312.png"] {
  transform: scale(1.35);
  transform-origin: center 60%;
}

/* Mobile : scale légèrement réduit pour éviter overflow */
@media (max-width: 768px) {
  .product-image-wrap img[src*="1633915.png"],
  .product-image-wrap img[src*="1639312.png"] {
    transform: scale(1.35);
  }
}

/* =====================================================
   Décalage vertical 3px vers le bas pour les anciennes
   images menu (frites/coca trop haut dans la compo).
   ===================================================== */
.product-image-wrap img[src*="1657419.png"], /* TERIYAKI */
.product-image-wrap img[src*="1633929.png"], /* BACONIC */
.product-image-wrap img[src*="1633933.png"], /* MANGO */
.product-image-wrap img[src*="1633932.png"], /* MICHOACAN */
.product-image-wrap img[src*="1633936.png"], /* SMASH DUCK */
.product-image-wrap img[src*="1633927.png"], /* SMASH LAND */
.product-image-wrap img[src*="1633931.png"], /* SMASH MONTAIN */
.product-image-wrap img[src*="1633935.png"], /* SMASH ORIENT */
.product-image-wrap img[src*="1633930.png"], /* TARTUFESTA */
.product-image-wrap img[src*="1633928.png"], /* THE GOAT */
.product-image-wrap img[src*="1633934.png"]  /* VEGGIE */
{
  transform: translateY(3px);
}

/* =====================================================
   État INDISPONIBLE sur les cards produit
   Badge rouge + opacity réduite + désactivation du bouton
   ===================================================== */
.product-card.product-unavailable {
  position: relative;
  pointer-events: none;
}
.product-card.product-unavailable > * {
  filter: grayscale(0.7);
  opacity: 0.55;
}
.product-card.product-unavailable::after {
  content: "INDISPONIBLE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: var(--rouge-principal, #E50000);
  color: #FFFFFF;
  font-family: 'Anton', 'Archivo Black', 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 22px;
  border-radius: 6px;
  z-index: 5;
  pointer-events: none;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(229, 0, 0, 0.4);
  border: 3px solid #FFFFFF;
  white-space: nowrap;
}
/* Mobile : badge plus compact */
@media (max-width: 600px) {
  .product-card.product-unavailable::after {
    font-size: 16px;
    padding: 8px 16px;
    letter-spacing: 1.5px;
  }
}
/* Désactivation explicite du bouton + */
.product-card.product-unavailable .add-button,
.product-card.product-unavailable .ff-add {
  cursor: not-allowed;
  background: #BDBDBD !important;
}

/* Toast temporaire affiché au clic sur produit indispo */
.availability-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 90vw;
  text-align: center;
  border-left: 4px solid #E50000;
}
.availability-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   Cookie Banner RGPD
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #1A1A1A;
  color: #FFFFFF;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  font-family: 'Montserrat', sans-serif;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner-content { flex: 1; min-width: 0; }
.cookie-banner-content h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cookie-banner-content p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.88;
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.cookie-btn:active { transform: scale(0.97); }
.cookie-btn-primary {
  background: #E50000;
  color: #FFFFFF;
}
.cookie-btn-primary:hover { background: #C00000; }
.cookie-btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.cookie-btn-secondary:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 800px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 18px;
    gap: 12px;
  }
  .cookie-banner-content h3 { font-size: 14px; margin-bottom: 4px; }
  .cookie-banner-content p { font-size: 12px; line-height: 1.45; }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "primary primary"
      "reject custom";
    gap: 8px;
  }
  .cookie-banner-actions .cookie-btn {
    padding: 12px 14px;
    font-size: 12.5px;
    letter-spacing: 0.4px;
  }
  /* Tout accepter en pleine largeur en haut */
  .cookie-banner-actions .cookie-btn-primary {
    grid-area: primary;
    padding: 14px;
    font-size: 13px;
  }
  /* Les 2 secondaires côte à côte en bas */
  .cookie-banner-actions [data-action="reject"]    { grid-area: reject; }
  .cookie-banner-actions [data-action="customize"] { grid-area: custom; }
}

@media (max-width: 380px) {
  .cookie-banner-actions {
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "custom"
      "reject";
  }
}

/* Modal préférences cookies */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}
.cookie-modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.35);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.cookie-modal.show .cookie-modal-card { transform: scale(1); }
.cookie-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1A1A1A;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #757575;
  cursor: pointer;
  padding: 0 6px;
}
.cookie-modal-close:hover { color: #1A1A1A; }
.cookie-modal-body {
  padding: 16px 24px 20px;
  overflow-y: auto;
  flex: 1;
}
.cookie-category {
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
}
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-category-head > div:first-child { flex: 1; }
.cookie-category h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.cookie-category p {
  font-size: 12.5px;
  color: #616161;
  line-height: 1.45;
  margin: 0;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle .cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #D0D0D0;
  border-radius: 26px;
  transition: background 0.2s;
}
.cookie-toggle .cookie-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-slider { background: #2E7D32; }
.cookie-toggle input:checked + .cookie-slider:before { transform: translateX(20px); }
.cookie-toggle.disabled .cookie-slider { background: #BDBDBD; cursor: not-allowed; }
.cookie-modal-link {
  margin-top: 14px;
  font-size: 12.5px;
  text-align: center;
}
.cookie-modal-link a {
  color: #E50000;
  text-decoration: underline;
}
.cookie-modal-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid #E0E0E0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-footer .cookie-btn-secondary {
  background: transparent;
  color: #424242;
  border: 1.5px solid #BDBDBD;
}
.cookie-modal-footer .cookie-btn-secondary:hover { background: #F5F5F5; }

@media (max-width: 480px) {
  .cookie-modal-footer { flex-direction: column-reverse; }
  .cookie-modal-footer .cookie-btn { width: 100%; }
}

/* =====================================================
   Bénéfices inscription (identification.html)
   ===================================================== */
.signup-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signup-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 4px solid var(--rouge-principal, #E50000);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.signup-benefits li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.08);
}
.signup-benefits .benefit-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  width: 40px;
  text-align: center;
}
.signup-benefits .benefit-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.signup-benefits .benefit-text strong {
  color: var(--noir, #1A1A1A);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.signup-benefits .benefit-text span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--gris-fonce, #424242);
}

/* =====================================================
   Rappel carte fidélité sur suivi commande
   ===================================================== */
.loyalty-reminder {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #1A1A1A;
  box-shadow: 0 4px 16px rgba(255, 165, 0, 0.25);
}
.loyalty-reminder .loyalty-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.loyalty-reminder .loyalty-content { flex: 1; }
.loyalty-reminder h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  color: #1A1A1A;
}
.loyalty-reminder p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  color: #1A1A1A;
}
.loyalty-reminder .loyalty-link {
  display: inline-block;
  margin-top: 8px;
  color: #1A1A1A;
  text-decoration: underline;
  font-size: 12.5px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .loyalty-reminder { flex-direction: column; text-align: center; padding: 16px; gap: 10px; }
  .loyalty-reminder .loyalty-icon { font-size: 30px; }
  .loyalty-reminder h3 { font-size: 14px; }
}

/* =====================================================
   Offre journalière automatique (mardi / jeudi 9,90€)
   ===================================================== */
.product-card.product-card-day-offer {
  position: relative;
  border: 2px solid #FFD700;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.3), 0 4px 14px rgba(255, 165, 0, 0.15);
}
.product-card.product-card-day-offer:hover {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.5), 0 8px 20px rgba(255, 165, 0, 0.25);
}

.product-badge.day-offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  color: #1A1A1A;
  font-family: 'Anton', 'Archivo Black', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: dayOfferPulse 2s ease-in-out infinite;
}
@keyframes dayOfferPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.product-price.product-price-offer {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.product-price.product-price-offer .price-orig {
  font-size: 13px;
  color: #9E9E9E;
  text-decoration: line-through;
  font-weight: 600;
}
.product-price.product-price-offer .price-orig small {
  font-size: 10px;
}
.product-price.product-price-offer .price-new {
  font-size: 17px;
  font-weight: 800;
  color: #E50000;
  font-family: 'Anton', sans-serif;
}
.product-price.product-price-offer .price-new small {
  font-size: 13px;
}

@media (max-width: 600px) {
  .product-badge.day-offer-badge {
    font-size: 9.5px;
    padding: 4px 7px;
    top: 6px;
    left: 6px;
  }
  .product-price.product-price-offer .price-orig { font-size: 11px; }
  .product-price.product-price-offer .price-new { font-size: 15px; }
}


/* ===========================================
   SELECTEUR VILLE LIVRAISON STYLE BUBBLE
   =========================================== */
.sl-city-bubble-wrap {
  position: relative;
  width: 100%;
}
.sl-city-bubble-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #FFF;
  border: 2px solid #E50000;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  transition: all 0.2s ease;
  text-align: left;
}
.sl-city-bubble-trigger:hover {
  background: #FFF8F8;
  box-shadow: 0 4px 12px rgba(229, 0, 0, 0.15);
}
.sl-city-bubble-wrap.open .sl-city-bubble-trigger {
  background: #FFF;
  box-shadow: 0 6px 24px rgba(229, 0, 0, 0.2);
}
.sl-city-pin {
  font-size: 18px;
  line-height: 1;
}
.sl-city-name {
  flex: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sl-city-min {
  font-size: 12px;
  font-weight: 700;
  background: #FFE5E5;
  color: #C8102E;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.sl-city-caret {
  font-size: 14px;
  color: #888;
  transition: transform 0.2s ease;
  margin-left: 4px;
}
.sl-city-bubble-wrap.open .sl-city-caret {
  transform: rotate(180deg);
}

.sl-city-bubble-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  border: 1px solid #f0f0f0;
  z-index: 100;
  max-height: 70vh;
  overflow-y: auto;
  padding: 14px;
}
.sl-city-bubble-wrap.open .sl-city-bubble-dropdown {
  display: block;
}

.sl-city-bubble-group + .sl-city-bubble-group {
  margin-top: 16px;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}
.sl-city-bubble-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}
.sl-city-zone-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C8102E;
}
.sl-city-zone-min {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  background: #f5f5f5;
  padding: 3px 10px;
  border-radius: 999px;
}

.sl-city-bubble-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sl-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fafafa;
  border: 1.5px solid #e8e8e8;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: all 0.15s ease;
}
.sl-city-chip:hover {
  background: #FFF5F5;
  border-color: #E50000;
  color: #C8102E;
  transform: translateY(-1px);
}
.sl-city-chip.selected {
  background: #E50000;
  border-color: #E50000;
  color: #FFF;
  box-shadow: 0 4px 10px rgba(229,0,0,0.3);
}
.sl-city-chip-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sl-city-chip-cp {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 600;
}
.sl-city-chip.selected .sl-city-chip-cp {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .sl-city-bubble-trigger { padding: 12px 14px; font-size: 13px; }
  .sl-city-min { font-size: 11px; }
  .sl-city-chip { font-size: 12px; padding: 7px 12px; }
}


/* ===========================================
   DROPDOWN VILLE/CP CUSTOM (fond blanc)
   =========================================== */
.sl-city-search {
  position: relative;
  width: 100%;
}
.sl-city-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #FFF;
  color: #1a1a1a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sl-city-search input:focus {
  outline: none;
  border-color: #E50000;
  box-shadow: 0 0 0 3px rgba(229,0,0,0.1);
}
.sl-city-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1500;
  padding: 6px;
}
.sl-city-search.open .sl-city-list {
  display: block;
}
.sl-city-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.sl-city-item:hover {
  background: #FFF5F5;
}
.sl-city-item-name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
}
.sl-city-item-cp {
  font-size: 12px;
  color: #757575;
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.sl-city-item-min {
  font-size: 11px;
  color: #C8102E;
  background: #FFE5E5;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.sl-city-item-empty {
  padding: 16px;
  text-align: center;
  color: #999;
  font-size: 13px;
}


/* ===========================================
   POPUP INCONTOURNABLES (cart sous le min livraison)
   =========================================== */
.co-below-min {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  border-left: 4px solid #F57C00;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 14px;
}
.co-below-min-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #F57C00;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.co-below-min-text {
  flex: 1;
}
.co-below-min-text strong { color: #E65100; }
.co-below-min-text p { margin: 4px 0 10px; font-size: 14px; color: #5D4037; }
.co-below-min-btn {
  background: #E50000;
  color: #FFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.co-below-min-btn:hover { background: #C70000; transform: translateY(-1px); }

/* Overlay popup */
.mh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mh-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mh-modal {
  background: #FFF;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}
.mh-overlay.open .mh-modal { transform: translateY(0); }
.mh-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: #757575;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.mh-close:hover { background: #FFE5E5; color: #E50000; }
.mh-title {
  font-family: 'Anton', 'Bebas Neue', 'Impact', sans-serif;
  font-size: 28px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #E50000;
  margin: 0 0 6px;
}
.mh-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 18px;
}
.mh-subtitle strong { color: #E50000; }

.mh-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .mh-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .mh-grid { grid-template-columns: repeat(2, 1fr); }
}
.mh-card {
  background: #FAFAFA;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mh-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.mh-img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
}
.mh-name {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  min-height: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.mh-price {
  font-size: 14px;
  font-weight: 800;
  color: #E50000;
}
.mh-add {
  background: #E50000;
  color: #FFF;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}
.mh-add:hover { background: #C70000; }
.mh-add:disabled { background: #2E7D32; cursor: default; }

@media (max-width: 480px) {
  .mh-modal { padding: 20px 16px; }
  .mh-title { font-size: 22px; }
  .mh-grid { grid-template-columns: repeat(2, 1fr); }
  .mh-img { height: 70px; }
}


/* ===========================================
   FIX SCROLL MOBILE
   Empeche les rebonds iOS qui peuvent declencher
   des resets de scroll et des comportements non desires.
   =========================================== */
html, body {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  html, body {
    scroll-behavior: auto;  /* pas de smooth qui peut etre interrompu */
  }
}


/* Feedback visuel section obligatoire non remplie (flash rouge) */
@keyframes section-required-flash-anim {
  0%   { background-color: rgba(229, 0, 0, 0.0); box-shadow: 0 0 0 0 rgba(229, 0, 0, 0); }
  20%  { background-color: rgba(229, 0, 0, 0.12); box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.25); }
  100% { background-color: rgba(229, 0, 0, 0.0); box-shadow: 0 0 0 0 rgba(229, 0, 0, 0); }
}
.section-required-flash {
  animation: section-required-flash-anim 1.4s ease-out;
  border-radius: 12px;
}


/* ===========================================
   FIX SCROLL UNIVERSEL MOBILE (Samsung S20, Pixel, iPhone SE, etc.)
   Garantit le scroll natif sur tous les petits ecrans
   et empeche les blocages causes par les modals oubliees.
   =========================================== */
@media (max-width: 480px) {
  html {
    overflow-x: hidden;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    -webkit-overflow-scrolling: touch;
  }
  body {
    overflow-x: hidden;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    /* dvh pour Chrome Android, fallback vh */
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
    position: relative;
  }
  /* Empeche qu'un parent fixe la hauteur et bloque le scroll */
  .home-page,
  .menu-page,
  .checkout-page,
  .offres-page,
  .compte-page,
  .identification-page,
  .allergenes-page,
  .faq-page,
  .cgv-page,
  .mentions-legales-page,
  .confidentialite-page {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto !important;
    overflow: visible !important;
  }
}

/* Quand aucun modal n'est ouvert, force le body a etre scrollable
   au cas ou un JS oublie de reset overflow apres fermeture d'un overlay */
body:not(.modal-open):not(.no-scroll) {
  overflow-y: auto !important;
}

/* ═══════════════════════════════════════════════════════════
   POPUP OFFRE DU JOUR (mardi / jeudi)
   ═══════════════════════════════════════════════════════════ */
.daily-offer-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.daily-offer-popup.show {
  opacity: 1;
  visibility: visible;
}
body.daily-offer-open {
  overflow: hidden;
}

.daily-offer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 0, 0.66);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.daily-offer-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, var(--rouge-principal) 100%);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 380px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}
.daily-offer-popup.show .daily-offer-card {
  transform: translateY(0) scale(1);
}
.daily-offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  z-index: 1;
  pointer-events: none;
}
.daily-offer-glow {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 80, 80, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  transform: translateY(-50%);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

.daily-offer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--blanc);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.daily-offer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.daily-offer-day {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  background: var(--blanc);
  color: var(--rouge-principal);
  padding: 10px 16px 8px;
  border-radius: 14px;
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: 0 5px 17px rgba(0, 0, 0, 0.32);
  font-family: var(--font-titrage);
  line-height: 1;
}
.daily-offer-day-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--noir);
  text-transform: uppercase;
}
.daily-offer-day-name {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.daily-offer-image {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px 16px 20px;
  overflow: hidden;
}
.daily-offer-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
}
.daily-offer-card.mardi .daily-offer-image img {
  width: 112%;
  max-height: none;
  transform: translateY(8px);
}
.daily-offer-card.jeudi .daily-offer-image {
  padding: 70px 24px 18px;
}
.daily-offer-card.jeudi .daily-offer-image img {
  width: auto;
  height: 100%;
  max-height: 220px;
  transform: translateY(-14px);
}

.daily-offer-content {
  position: relative;
  z-index: 3;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--blanc);
}
.daily-offer-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.daily-offer-title {
  font-family: var(--font-titrage);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}
.daily-offer-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.daily-offer-price-from {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.85;
}
.daily-offer-price-value {
  font-family: var(--font-titrage);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: priceWobble 3s ease-in-out infinite;
}
.daily-offer-price-value small {
  font-size: 28px;
  margin-left: 2px;
}
.daily-offer-desc {
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.92;
}
.daily-offer-fineprint {
  opacity: 0.7;
  font-size: 12px;
}
.daily-offer-cta {
  align-self: flex-start;
  background: var(--blanc);
  color: var(--rouge-principal);
  font-family: var(--font-titrage);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.daily-offer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

@media (max-width: 560px) {
  .daily-offer-card {
    grid-template-columns: 1fr;
    max-width: 380px;
    min-height: 0;
  }
  .daily-offer-image {
    padding: 56px 16px 8px;
  }
  .daily-offer-image img,
  .daily-offer-card.mardi .daily-offer-image img {
    max-height: 180px;
    width: auto;
    transform: none;
  }
  .daily-offer-card.jeudi .daily-offer-image img {
    max-height: 170px;
    transform: none;
  }
  .daily-offer-content {
    padding: 22px 24px 30px;
    text-align: center;
    align-items: center;
  }
  .daily-offer-tag,
  .daily-offer-cta {
    align-self: center;
  }
  .daily-offer-price {
    justify-content: center;
  }
  .daily-offer-day {
    top: 14px;
    left: 14px;
  }
}
