:root {
  --bg: #f7f4ef;
  --paper: #fffdfa;
  --ink: #171513;
  --muted: #746d64;
  --line: #e4ddd2;
  --sage: #78916f;
  --gold: #d39b43;
  --success: #58d141;
  --shadow: 0 22px 70px rgba(34, 26, 18, 0.12);
  --radius: 8px;
}

/* One-page mobile app flow */
.app-section {
  padding: 64px 0;
  background: #f7f7f8;
}

.app-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.app-step {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--restaurant-secondary);
  color: white;
  font-weight: 900;
}

.app-section-head h2 {
  margin-bottom: 0;
}

.onepage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.tracking-layout {
  grid-template-columns: 100%;
}

.app-summary {
  top: 104px;
}

@media (max-width: 640px) {
  .footer {
    display: none;
  }

  .app-section {
    padding: 26px 0 30px;
    background: #f7f7f8;
    scroll-margin-top: 82px;
  }

  .app-section-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .app-step {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 13px;
  }

  .app-section-head h2 {
    font-size: 30px;
  }

  .onepage-layout,
  .checkout-layout,
  .tracking-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-summary {
    position: static;
    margin-bottom: 70px;
  }

  .page-sheet #compte {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .cart-items {
    gap: 10px;
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .cart-item img {
    width: 74px;
    height: 74px;
  }

  .cart-item h3 {
    font-size: 15px;
  }

  .cart-item .tiny {
    display: none;
  }

  .qty {
    margin-top: 0;
  }

  .icon-button {
    width: 32px;
    height: 32px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    border-radius: 16px;
  }

  .status-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .status-number {
    font-size: 34px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(247,244,239,.92)),
    var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--restaurant-primary);
  box-shadow: 0 0 0 1px var(--restaurant-primary);
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid rgba(228, 221, 210, 0.8);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.cart-link {
  position: relative;
}

.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 999px;
  color: white;
  background: var(--restaurant-primary);
  font-size: 11px;
  font-weight: 800;
}

.top-cart {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 18px 55px rgba(26,34,56,.08);
  font-weight: 900;
}

.top-cart span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--restaurant-primary);
  color: white;
  font-size: 10px;
}

.app-step {
  display: none !important;
}

.qty {
  background: #fff !important;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 34px;
  align-items: center;
  padding: 62px 0 62px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  color: var(--restaurant-primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .91;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 54ch;
}

.hero-actions,
.actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  max-width: 590px;
  width: 100%;
  margin-top: 10px;
}

.hero-actions .button {
  width: 100%;
}

.button {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 21, 19, 0.16);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.ghost {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.hero-media {
  min-height: 580px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: #1d1a16;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.floating-ticket {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  color: white;
  background: rgba(23, 21, 19, 0.78);
  backdrop-filter: blur(16px);
  text-align: left;
}

.hero-media[data-open-customize],
.floating-ticket[data-open-customize] {
  cursor: pointer;
}

.ticket-title {
  font-weight: 850;
  margin-bottom: 4px;
}

.ticket-sub {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.ticket-price {
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
  margin-bottom: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card[data-open-customize] {
  cursor: pointer;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.price {
  font-weight: 900;
  color: var(--restaurant-primary);
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 13px;
  line-height: 1.45;
  margin: 0px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, .52);
}

.page-title {
  padding: 58px 0 26px;
}

.page-title h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: 80px;
}

.panel,
.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel {
  padding: 22px;
}

.summary {
  position: sticky;
  top: 100px;
  padding: 22px;
}

.summary .button {
  width: 100%;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.cart-item img {
  width: 86px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.qty strong {
  min-width: 22px;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  font-size: 23px;
  font-weight: 900;
  border-bottom: 0;
}

.empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 13px 12px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--restaurant-primary);
  box-shadow: 0 0 0 1px var(--restaurant-primary);
  outline: none;
}

.page-sheet input:focus,
.page-sheet textarea:focus,
.page-sheet select:focus,
.customize-sheet input:focus,
.customize-sheet textarea:focus,
.customize-sheet select:focus {
  border-color: var(--restaurant-primary);
  box-shadow: 0 0 0 1px var(--restaurant-primary);
  outline: none;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-direct-grid {
  grid-template-columns: 1fr;
}

.choice-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked) {
  border-color: var(--restaurant-primary);
  box-shadow: inset 0 0 0 1px var(--restaurant-primary);
}

.choice-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.order-mode-delay {
  font-weight: 400;
  margin-top: -4px;
}

.payment-choice-detail {
  font-weight: 400;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.timeline {
  display: grid;
  gap: 0px;
  margin-top: 10px;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 0px 0px 10px;
  position: relative;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  z-index: 1;
}

.step.done .step-dot,
.step.current .step-dot {
  color: white;
  border-color: var(--success);
  background: var(--success);
}

.step.current .step-dot {
  background: var(--restaurant-primary);
  border-color: var(--restaurant-primary);
}

.status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
}

.status-card p {
  color: rgba(255,255,255,.72);
  margin-bottom: 0;
}

.status-number {
  font-size: 42px;
  font-weight: 950;
  color: var(--gold);
}

.receipt-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.receipt-line span {
  display: grid;
  gap: 3px;
}

.receipt-line small {
  color: color-mix(in srgb, var(--restaurant-primary) 78%, white);
  font-size: 12px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--restaurant-primary);
  color: white;
  border-radius: 999px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 60;
  width: calc(100% - 20px);
}

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

.delivery-zone-status {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
}

.delivery-zone-status.ok {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--restaurant-primary);
  color: white;
}

.delivery-zone-status.ko {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--restaurant-primary);
  color: white;
}

.pac-container,
.pac-container * {
  color: var(--img-bg) !important;
  -webkit-text-fill-color: var(--img-bg) !important;
  font-family: "Outfit", sans-serif !important;
}

.pac-container {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  z-index: 2147483647 !important;
  color-scheme: light !important;
}

.pac-item {
  color: var(--img-bg) !important;
  -webkit-text-fill-color: var(--img-bg) !important;
  border-top: 1px solid var(--border) !important;
  padding: 8px 10px !important;
}

.pac-item-query {
  color: var(--img-bg) !important;
  -webkit-text-fill-color: var(--img-bg) !important;
}

.pac-logo::after {
  content: "" !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

.payment-status-alert {
  display: block;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--restaurant-primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-status-alert small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.86);
}

.delivery-zone-status small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.delivery-zone-status.ok small,
.delivery-zone-status.ko small {
  color: rgba(255, 255, 255, .78);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.bottom-nav {
  display: none;
}

.app-bottom-spacer {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 46px;
  }

  .section-head,
  .status-card,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .menu-grid,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    width: 100%;
    height: 180px;
  }

  .floating-ticket {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 38px 1fr;
  }

  .step > .muted {
    grid-column: 2;
  }
}

/* Restaurant color controls
   --restaurant-primary: couleur choisie pour les CTA, badges, prix, et accents.
   --restaurant-secondary: couleur choisie pour les gros titres et la section carte.
*/
:root {
  --restaurant-primary: #e76f3c;
  --restaurant-primary-soft: #fff4ee;
  --restaurant-secondary: #231815;
  --restaurant-secondary-soft: #f7f3ef;
}

body {
  background: #fff;
}

.site-header,
.hero-kpis span,
.panel,
.summary,
.empty-state,
.cart-item,
.product-card,
.category,
.button.secondary,
.button.ghost {
  background: rgba(255,255,255,.9);
}

.brand-mark {
  background: var(--restaurant-primary);
}

.nav-links a.active,
.nav-links a:hover,
.category.active,
.product-card .button.secondary {
  background: var(--restaurant-secondary);
  color: white;
}

h1,
h2,
.page-title h1,
.section h2,
.hero-kpis strong {
  color: var(--restaurant-secondary);
}

.eyebrow,
.section .eyebrow {
  background: color-mix(in srgb, var(--restaurant-primary) 20%, transparent);
  border-color: var(--restaurant-primary);
  color: var(--restaurant-primary);
}

.button {
  background: var(--restaurant-primary);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--restaurant-primary) 22%, transparent);
}

.cart-count,
.bottom-link b {
  background: var(--restaurant-primary);
}

.price {
  background: var(--restaurant-primary-soft);
  color: var(--restaurant-primary);
}

#carte {
  background:
    linear-gradient(180deg, #fff 0%, var(--restaurant-secondary-soft) 100%);
  border-top-color: color-mix(in srgb, var(--restaurant-secondary) 10%, transparent);
}

#carte h2,
#carte .eyebrow {
  color: var(--restaurant-secondary);
}

#carte .eyebrow {
  background: var(--restaurant-secondary-soft);
  border-color: color-mix(in srgb, var(--restaurant-secondary) 12%, transparent);
}

.status-card {
  background: linear-gradient(135deg, var(--restaurant-primary), var(--restaurant-secondary));
}

.bottom-nav {
  background: rgba(255,255,255,.96);
}

.bottom-link.active {
  background: color-mix(in srgb, var(--restaurant-primary) 20%, transparent);
  color: var(--restaurant-primary);
  border-color: var(--restaurant-primary);
}

.loyalty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.loyalty-card {
  min-height: 330px;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%),
    var(--restaurant-secondary);
  color: white;
  box-shadow: 0 18px 55px rgba(26,34,56,.14);
}

.loyalty-top,
.reward-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.loyalty-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--restaurant-primary);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.loyalty-points {
  display: grid;
  gap: 4px;
  margin: 12px 0 12px;
}

.loyalty-points strong {
  font-size: clamp(64px, 10vw, 104px);
  line-height: .8;
}

.loyalty-progress {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
  margin-bottom: 14px;
}

.loyalty-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--restaurant-primary);
}

.rewards-panel,
.account-panel {
  display: grid;
  gap: 12px;
}

.reward-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.reward-row:last-child {
  border-bottom: 0;
}

.reward-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Menu section: dark by default, filtered categories, compact mobile grid */
#carte {
  background: var(--restaurant-secondary);
  color: white;
  border-top: 0;
}

#carte h2,
#carte .eyebrow {
  color: white;
}

#carte h2 {
  margin-top: 10px;
  margin-bottom: -5px;
}

#carte .eyebrow {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.14);
}

#carte .section-head p,
#carte .muted {
  color: rgba(255,255,255,.68);
}

.menu-categories {
  margin: 0 0 18px;
}

#carte .category {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
}

#carte .category.active {
  background: white;
  color: var(--restaurant-secondary);
}

#carte .product-card {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: white;
  box-shadow: none;
}

#carte .product-card:hover {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.1);
}

#carte .product-card .muted,
#carte .product-card p {
  color: rgba(255,255,255,.66);
}

#carte .pill {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.68);
}

.personalize-pill {
  color: white;
  border-color: color-mix(in srgb, var(--restaurant-primary) 42%, transparent);
  background: color-mix(in srgb, var(--restaurant-primary) 28%, transparent);
}

.cart-options {
  margin-top: 6px;
  color: color-mix(in srgb, var(--restaurant-primary) 78%, white);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

body.sheet-open {
  overflow: hidden;
}

.page-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
}

.page-modal[hidden] {
  display: none !important;
}

.page-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.44);
  opacity: 0;
  transition: opacity .24s ease;
}

.page-sheet {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 28px));
  max-height: min(86vh, 820px);
  margin: 0 auto;
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 -24px 80px rgba(0,0,0,.24);
  transform: translateY(28px) scale(.98);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.page-sheet.is-dragging,
.customize-frame.is-dragging {
  transition: none !important;
}

.page-modal.is-open .page-backdrop {
  opacity: 1;
}

.page-modal.is-open .page-sheet {
  transform: translateY(0) scale(1);
}

.page-sheet .app-section {
  padding: 0;
  background: transparent;
}

.page-sheet .container {
  width: 100%;
}

.page-sheet .app-section-head {
  margin-bottom: 14px;
}

.customize-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.customize-modal[hidden] {
  display: none !important;
}

.customize-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.46);
  opacity: 0;
  transition: opacity .24s ease;
}

.customize-frame {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 28px));
  max-height: min(86vh, 760px);
  margin: 0 auto;
  transform: translateY(28px) scale(.98);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.customize-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: inherit;
  margin: 0;
  overflow: auto;
  padding: 18px 18px 104px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 -24px 80px rgba(0,0,0,.24);
}

.customize-modal.is-open .customize-backdrop {
  opacity: 1;
}

.customize-modal.is-open .customize-frame {
  transform: translateY(0) scale(1);
}

.stripe-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
}

.stripe-modal[hidden] {
  display: none !important;
}

.stripe-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.46);
}

.stripe-sheet {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 28px));
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 -24px 80px rgba(0,0,0,.24);
}

.stripe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stripe-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.stripe-head button {
  border: 0;
  background: transparent;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#stripe-checkout {
  min-height: 170px;
}

.stripe-card-label {
  display: block;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.stripe-card-box {
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d0d6de;
  border-radius: 7px;
  background: white;
  position: relative;
  z-index: 20;
  cursor: text;
  pointer-events: auto;
}

.stripe-card-box .__PrivateStripeElement,
.stripe-card-box iframe {
  width: 100% !important;
  min-width: 100% !important;
  pointer-events: auto !important;
}

.stripe-card-box.StripeElement--focus {
  border-color: var(--restaurant-primary);
  box-shadow: 0 0 0 1px var(--restaurant-primary);
}

.stripe-card-box.StripeElement--invalid {
  border-color: #b3261e;
}

.stripe-error {
  color: #b3261e;
}

.stripe-inline {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: -4px;
  margin-bottom: 8px;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.stripe-inline.is-direct {
  margin-top: 0;
  margin-bottom: 0;
}

.stripe-inline[hidden] {
  display: none !important;
}

.customize-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(to top, white 47.06%, rgba(255, 255, 255, 0));
  border-radius: 0 0 24px 24px;
}

.customize-fixed-action {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 3;
  width: auto;
  transform: translateY(105%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.customize-modal.is-open .customize-fixed-action {
  transform: translateY(0);
}

.customize-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.customize-head > div {
  align-self: center;
}

.customize-head img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
}

.customize-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1;
}

.customize-form {
  display: grid;
  gap: 14px;
}

[data-customize-content] {
  margin-bottom: 70px;
}

@media (min-width: 641px) {
  [data-customize-content] {
    margin-bottom: 0;
  }

  .customize-sheet {
    padding: 18px 18px 84px;
  }
}

.customize-group {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #f7f7f8;
}

.customize-group legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 900;
}

.customize-options {
  display: grid;
  gap: 8px;
}

.customize-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  background: white;
  font-weight: 800;
}

.customize-option input {
  accent-color: var(--restaurant-primary);
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
}

.customize-option strong {
  color: var(--restaurant-primary);
}

.customize-option-count {
  margin: 0 0 8px;
  font-size: 12px;
}

.customize-option-multiple {
  grid-template-columns: minmax(0, 1fr) auto;
}

.customize-option-name {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  overflow-wrap: anywhere;
  padding: 0;
  text-align: left;
}

.customize-option-name[aria-disabled="true"] {
  cursor: default;
}

.customize-option-name,
.customize-option-stepper button {
  -webkit-tap-highlight-color: transparent;
}

.customize-option-stepper {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}

.customize-option-stepper output {
  flex: none;
  width: 22px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.customize-option-stepper button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--restaurant-primary);
  color: var(--restaurant-primary-contrast, #fff);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
}

.customize-option-stepper button:disabled {
  cursor: default;
  opacity: .45;
}

.customize-submit {
  width: 100%;
}

#carte .price {
  background: var(--restaurant-primary);
  color: white;
}

#carte .product-card .button.secondary {
  background: white;
  color: var(--restaurant-secondary);
}

@media (max-width: 640px) {
  #carte .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #carte .product-body {
    padding: 10px;
    gap: 8px;
  }

  #carte .product-card img {
    aspect-ratio: 1;
  }

  #carte .product-top {
    display: grid;
    gap: 8px;
  }

  #carte .product-card h3 {
    font-size: 15px;
    line-height: 1.12;
    margin-bottom: 4px;
    text-align: center;
  }

  #carte .product-card p,
  #carte .pill-row {
    display: none;
  }

  #carte .price {
    justify-self: start;
  }

  #carte .product-card .button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Refined version inspired by developper/site, lighter and less bulky */
:root {
  --bg: #fcfaf7;
  --paper: rgba(255, 255, 255, 0.82);
  --ink: #231815;
  --muted: #727783;
  --line: rgba(35, 24, 21, 0.09);
  --sage: #0f9b7a;
  --gold: #efad44;
  --shadow: 0 18px 55px rgba(26, 34, 56, 0.08);
  --radius: 8px;
}

body {
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(252, 250, 247, .98), rgba(245, 247, 251, .96)),
    var(--bg);
}

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

.site-header {
  top: 18px;
  width: min(1180px, calc(100% - 32px));
  margin-top: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.nav {
  min-height: 70px;
  padding: 0 12px 0 16px;
}

.brand {
  letter-spacing: 0;
  text-transform: none;
  font-size: 16px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--restaurant-primary), #f0a16b);
  color: white;
  box-shadow: 0 14px 28px rgba(231, 111, 60, .18);
}

.nav-links {
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border-color: rgba(35,24,21,.06);
  box-shadow: none;
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--ink);
  color: white;
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 34px;
  padding: 62px 0 62px;
}

.hero::before {
  display: none;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  min-height: 30px;
  padding: 0 12px;
  background: var(--sc-accent-soft, #fff4ee);
  border-color: rgba(231,111,60,.18);
  color: var(--restaurant-primary);
  letter-spacing: .06em;
}

h1,
h2,
h3,
.ticket-title {
  font-family: Outfit, sans-serif;
}

h1 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .93;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: .96;
  letter-spacing: -.035em;
}

.lead {
  max-width: 590px;
  color: #59606b;
  font-size: 17px;
  line-height: 1.7;
}

.button {
  min-height: 48px;
  border-radius: 8px;
  border: 0;
  background: var(--restaurant-primary);
  box-shadow: 0 16px 32px rgba(231, 111, 60, .18);
}

.button.secondary,
.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  box-shadow: none;
}

.hero-kpis {
  max-width: 590px;
  margin-top: 24px;
  gap: 10px;
}

.hero-kpis span {
  min-height: 74px;
  border-color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 35px rgba(26,34,56,.06);
}

.hero-kpis strong {
  font-family: Outfit, sans-serif;
  color: var(--ink);
}

.category-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-subcategories {
  margin-bottom: 12px;
}

.menu-subcategories[hidden] {
  display: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.category.active {
  background: var(--ink);
  color: white;
}

.hero-media {
  min-height: 520px;
  border-radius: 8px;
  transform: none;
  border-color: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.hero-media::after {
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.58));
}

.hero-media img {
  min-height: 520px;
}

.floating-ticket {
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(35, 24, 21, .78);
}

.ticket-price {
  color: white;
  font-size: 32px;
}

.section {
  background: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 62px;
}

.section .eyebrow {
  background: #fff4ee;
  color: var(--restaurant-primary);
  border-color: rgba(231,111,60,.18);
}

.section-head p,
.section .muted {
  color: var(--muted);
}

.menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.82);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,111,60,.2);
  background: rgba(255,255,255,.94);
}

.product-card img {
  aspect-ratio: 1.25;
}

.product-body {
  padding: 16px;
}

.price {
  background: #fff4ee;
  color: var(--restaurant-primary);
}

.pill {
  border-color: var(--line);
  background: rgba(245,247,251,.82);
  color: var(--muted);
}

.product-card .button.secondary {
  width: 100%;
  background: var(--ink);
  color: white;
}

.page-title {
  padding-top: 96px;
}

.page-title h1 {
  font-size: clamp(42px, 5vw, 62px);
}

.panel,
.summary,
.empty-state,
.cart-item {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.status-card {
  background: linear-gradient(135deg, rgba(231,111,60,.95), rgba(35,24,21,.95));
}

.status-number {
  color: #fff;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 22px);
    margin-top: 10px;
    border-radius: 8px;
  }

  .nav {
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .nav-links a {
    justify-content: center;
    padding: 9px 0;
    font-size: 13px;
  }

  h1 {
    max-width: 10.6ch;
    font-size: 43px;
  }

  .lead {
    max-width: min(340px, calc(100vw - 34px));
  }

  .hero-kpis,
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Modern visual refresh */
:root {
  --bg: #f3f0e8;
  --paper: #fffaf1;
  --ink: #111111;
  --muted: #6e6a62;
  --line: rgba(17, 17, 17, 0.12);
  --sage: #83d475;
  --gold: #f6bd48;
  --shadow: 0 26px 80px rgba(17, 17, 17, 0.18);
}

body {
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fffaf1 0%, #f3f0e8 42%, #e8eee0 100%);
  background-size: 34px 34px, 34px 34px, auto;
  overflow-x: hidden;
}

.site-header {
  top: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 45px rgba(17, 17, 17, .08);
}

.nav {
  width: 100%;
  min-height: 66px;
  padding: 0 14px 0 18px;
}

.brand {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.brand-mark {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.nav-links {
  padding: 6px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
}

.nav-links a {
  border-radius: 999px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--restaurant-secondary);
  color: var(--paper);
}

.cart-count {
  background: var(--restaurant-primary);
  color: white;
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 34px;
  align-items: center;
  padding: 62px 0 62px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: -9vw;
  right: -9vw;
  bottom: 34px;
  height: 34%;
  background: var(--ink);
  transform: skewY(-2deg);
  z-index: -1;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 90, 54, .28);
  border-radius: 999px;
  background: rgba(255, 90, 54, .08);
  color: var(--restaurant-primary);
  font-size: 11px;
  letter-spacing: .13em;
}

h1,
h2 {
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 950;
  letter-spacing: -.04em;
}

h1 {
  max-width: 660px;
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: .83;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: .88;
}

h3 {
  font-weight: 900;
}

.lead {
  max-width: 620px;
  color: #504c45;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.button {
  min-height: 50px;
  border-color: var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, .12);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(17, 17, 17, .18);
}

.button.secondary {
  background: rgba(255,255,255,.58);
  color: var(--ink);
  box-shadow: none;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
  max-width: 620px;
}

.hero-kpis span {
  min-height: 78px;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .72);
  backdrop-filter: blur(16px);
  color: var(--muted);
  font-size: 13px;
}

.hero-kpis strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.hero-media {
  min-height: 640px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 35px 95px rgba(17,17,17,.28);
  transform: rotate(1.2deg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.52) 100%);
  pointer-events: none;
}

.hero-media img {
  min-height: 640px;
  filter: saturate(1.08) contrast(1.04);
  transition: transform .6s ease;
}

.hero-media:hover img {
  transform: scale(1.035);
}

.floating-ticket {
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(17,17,17,.76);
}

.ticket-title {
  font-size: 18px;
}

.ticket-price {
  color: var(--sage);
  font-size: 38px;
}

.section {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.section .eyebrow {
  border-color: rgba(131, 212, 117, .34);
  background: rgba(131, 212, 117, .12);
  color: var(--sage);
}

.section-head p,
.section .muted {
  color: rgba(255, 250, 241, .66);
}

.menu-grid {
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(255,255,255,.12);
  background: #1b1b1b;
  color: var(--paper);
  box-shadow: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(131, 212, 117, .42);
  background: #20201f;
}

.product-card img {
  aspect-ratio: 1.08;
  filter: saturate(1.06);
}

.product-body {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
}

.product-top {
  align-items: start;
}

.price {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sage);
  color: #10150f;
  font-size: 13px;
}

.pill {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255, 250, 241, .72);
}

.product-card .button.secondary {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
}

.page-title {
  padding: 82px 0 30px;
}

.page-title h1 {
  font-size: clamp(48px, 7vw, 92px);
}

.layout {
  gap: 18px;
}

.panel,
.summary,
.empty-state {
  border-color: rgba(17,17,17,.1);
  background: rgba(255, 250, 241, .78);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(17,17,17,.09);
}

.summary {
  top: 104px;
}

.cart-item {
  border-color: rgba(17,17,17,.1);
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 32px rgba(17,17,17,.06);
}

.cart-item img {
  border-radius: var(--radius);
}

input,
textarea,
select,
.choice-card {
  border-color: rgba(17,17,17,.13);
  background: rgba(255,255,255,.72);
}

.choice-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
}

.choice-card:has(input:checked) {
  border-color: var(--restaurant-primary);
  background: color-mix(in srgb, var(--restaurant-primary) 12%, white);
  box-shadow: inset 0 0 0 1px var(--restaurant-primary), 0 14px 36px color-mix(in srgb, var(--restaurant-primary) 12%, transparent);
}

.status-card {
  background:
    linear-gradient(135deg, rgba(131,212,117,.22), transparent 38%),
    var(--ink);
}

.step-dot {
  border-color: rgba(17,17,17,.12);
}

.toast {
  border-radius: 999px;
  background: var(--restaurant-primary);
}

@media (min-width: 641px) {
  .toast {
    bottom: 20px;
  }
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 24px;
  }

  .nav {
    padding: 12px;
  }

  .hero::before {
    height: 24%;
  }

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

  .hero-media {
    min-height: 460px;
    transform: none;
  }

  .hero-media img {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 22px);
    top: 8px;
    margin-top: 8px;
  }

  .nav-links {
    border-radius: 18px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  h1 {
    max-width: 9.8ch;
    font-size: 42px;
    line-height: .88;
  }

  .hero {
    padding-top: 38px;
    gap: 28px;
  }

  .lead {
    max-width: min(330px, calc(100vw - 34px));
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-media,
  .hero-kpis,
  .section-head,
  .panel,
  .summary {
    max-width: calc(100vw - 24px);
  }

  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .hero-media {
    border-radius: 18px 8px 18px 8px;
  }

  .section {
    padding-top: 58px;
  }
}

/* Final compact theme: keep the developper/site inspiration, without the bulky blocks */
body {
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(252,250,247,.98), rgba(245,247,251,.96)),
    #fcfaf7;
}

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

.site-header {
  top: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 18px 55px rgba(26,34,56,.08);
}

.nav {
  min-height: 70px;
  padding: 0 12px 0 16px;
}

.brand {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #e76f3c, #f0a16b);
  color: white;
  box-shadow: 0 14px 28px rgba(231,111,60,.18);
}

.nav-links {
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border-color: rgba(35,24,21,.06);
  box-shadow: none;
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 34px;
  padding: 62px 0 62px;
}

.hero::before {
  display: none;
}

.hero-copy {
  max-width: 650px;
}

h1,
h2,
h3,
.ticket-title {
  font-family: Outfit, sans-serif;
}

h1 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .93;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: .96;
  letter-spacing: -.035em;
}

.lead {
  max-width: 590px;
  color: #59606b;
  font-size: 17px;
  line-height: 1.7;
}

.eyebrow {
  min-height: 30px;
  padding: 0 12px;
  border-color: rgba(231,111,60,.18);
  background: #fff4ee;
  color: #e76f3c;
  letter-spacing: .06em;
}

.button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #e76f3c;
  box-shadow: 0 16px 32px rgba(231,111,60,.18);
}

.button.secondary,
.button.ghost {
  border: 1px solid rgba(35,24,21,.09);
  background: rgba(255,255,255,.78);
  color: #231815;
  box-shadow: none;
}

.hero-kpis {
  max-width: 590px;
  margin-top: 24px;
  gap: 10px;
}

.hero-kpis span,
.panel,
.summary,
.empty-state,
.cart-item,
.product-card {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 55px rgba(26,34,56,.08);
}

.hero-media {
  min-height: 520px;
  border-radius: 8px;
  transform: none;
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 18px 55px rgba(26,34,56,.08);
}

.hero-media img {
  min-height: 520px;
}

.ticket-price {
  color: white;
  font-size: 32px;
}

.section {
  background: transparent;
  color: #231815;
  border-top: 1px solid rgba(35,24,21,.09);
  padding-top: 62px;
}

.section .eyebrow {
  background: #fff4ee;
  color: #e76f3c;
  border-color: rgba(231,111,60,.18);
}

.section-head p,
.section .muted {
  color: #727783;
}

.menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  color: #231815;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231,111,60,.2);
  background: rgba(255,255,255,.94);
}

.product-card img {
  aspect-ratio: 1.25;
}

.price {
  background: #fff4ee;
  color: #e76f3c;
}

.pill {
  border-color: rgba(35,24,21,.09);
  background: rgba(245,247,251,.82);
  color: #727783;
}

.product-card .button.secondary {
  width: 100%;
  background: #231815;
  color: white;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 112px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 22px);
    margin-top: 10px;
    border-radius: 8px;
  }

  .nav-links {
    display: none;
  }

  .nav {
    min-height: 58px;
    padding: 8px 12px;
    align-items: center;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 12px;
    transform: none;
    width: auto;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 252, 248, 0.96);
    border: 1px solid rgba(255,255,255,0.96);
    box-shadow: 0 20px 40px rgba(26,34,56,0.14);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    z-index: 50;
  }

  .bottom-link {
    position: relative;
    min-height: 58px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #727783;
    font-size: 10px;
    font-weight: 900;
  }

  .bottom-link svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
  }

  .bottom-link.active {
    background: rgba(231,111,60,0.11);
    color: #e76f3c;
  }

  .bottom-link b {
    position: absolute;
    top: 7px;
    right: 9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e76f3c;
    color: white;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
  }

  .top-cart {
    gap: 2px;
  }

  .top-cart span {
    margin-left: -14px;
    transform: translateY(-8px);
  }

  .bottom-link b {
    top: 3px;
    right: calc(50% - 19px);
  }

  h1 {
    max-width: 10.6ch;
    font-size: 43px;
  }

  .lead {
    max-width: min(340px, calc(100vw - 34px));
    font-size: 16px;
  }

  .hero-kpis,
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile app polish */
@media (max-width: 640px) {
  :root {
    --app-gutter: 14px;
  }

  body {
    background: #f7f7f8;
    padding-bottom: 104px;
  }

  .container,
  .nav {
    width: calc(100% - var(--app-gutter) * 2);
  }

  .site-header {
    position: sticky;
    top: 8px;
    width: calc(100% - var(--app-gutter) * 2);
    margin: 8px auto 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav {
    min-height: 56px;
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .brand {
    width: 100%;
    min-height: 56px;
    padding: 7px 12px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.06);
    box-shadow: 0 14px 42px rgba(17,17,17,.08);
    gap: 10px;
    font-size: 15px;
    font-weight: 900;
  }

  .top-cart {
    display: inline-flex;
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.06);
    box-shadow: 0 14px 42px rgba(17,17,17,.08);
  }

  body[data-page="tracking"] .nav {
    grid-template-columns: 100%;
    gap: 0;
  }

  body[data-page="tracking"] .top-cart {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .hero {
    padding: 34px 0 30px;
    gap: 16px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 18px 0 0;
  }

  .eyebrow {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: .05em;
  }

  h1 {
    max-width: 11ch;
    margin: 14px 0 14px;
    font-size: 40px;
    line-height: .9;
    letter-spacing: -.04em;
  }

  .lead {
    max-width: 34ch;
    color: #646b77;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-radius: 14px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-kpis {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .hero-kpis span {
    min-width: 0;
    min-height: 70px;
    padding: 11px 10px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 12px 32px rgba(17,17,17,.06);
    font-size: 11px;
    overflow: hidden;
  }

  .hero-kpis strong {
    font-size: 19px;
  }

  .hero-media {
    min-height: 320px;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-media img {
    min-height: 320px;
  }

  .floating-ticket {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
    border-radius: 16px;
  }

  .ticket-title {
    font-size: 15px;
  }

  .ticket-sub {
    font-size: 12px;
  }

  .ticket-price {
    font-size: 28px;
  }

  .section {
    padding: 34px 0 42px;
  }

  #carte {
    border-radius: 28px 28px 0 0;
    margin-top: 10px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    max-width: 100%;
    font-size: 30px;
    line-height: .96;
  }

  .section-head > p {
    font-size: 13px;
    line-height: 1.45;
  }

  .menu-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 4px 0 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .menu-categories::-webkit-scrollbar {
    display: none;
  }

  #carte .category {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  #carte .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #carte .product-card {
    border-radius: 18px;
    overflow: hidden;
  }

  #carte .product-card img {
    aspect-ratio: 1.02;
  }

  #carte .product-body {
    padding: 10px;
  }

  #carte .product-card h3 {
    font-size: 15px;
    text-align: center;
    width: 100%;
  }

  #carte .product-top {
    justify-items: center;
  }

  #carte .product-top > div {
    width: 100%;
  }

  #carte .product-card .button {
    min-height: 36px;
    border-radius: 12px;
  }

  .page-title {
    padding: 38px 0 18px;
  }

  .page-title h1 {
    font-size: 42px;
  }

  .layout {
    gap: 14px;
    padding-bottom: 36px;
  }

  .panel,
  .summary,
  .empty-state,
  .cart-item {
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 32px rgba(17,17,17,.06);
  }

  .bottom-nav {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-radius: 19px 19px 0 0;
    background: #fff;
    border: 1px solid rgba(17,17,17,.06);
    border-bottom: 0;
    box-shadow: 0 -18px 52px rgba(17,17,17,.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bottom-link {
    min-width: 0;
    overflow: hidden;
    min-height: 58px;
    border-radius: 14px;
    color: var(--restaurant-secondary);
    opacity: 1;
    font-size: 10px;
    letter-spacing: 0;
  }

  .bottom-link svg {
    color: var(--restaurant-secondary);
    opacity: 1;
  }

  .bottom-link.active {
    background: color-mix(in srgb, var(--restaurant-primary) 20%, transparent);
    color: var(--restaurant-primary);
    border-color: var(--restaurant-primary);
  }

  .bottom-link.active svg {
    color: var(--restaurant-primary);
  }

  .bottom-link span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .loyalty-grid {
    gap: 12px;
  }

  .loyalty-card {
    min-height: 100px;
    border-radius: 22px;
  }
}

/* Final one-page app overrides */
.app-section {
  padding: 64px 0;
  background: #f7f7f8;
}

.app-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.app-step {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--restaurant-secondary);
  color: white;
  font-weight: 900;
}

.app-section-head h2 {
  margin-bottom: 0;
}

.onepage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.tracking-layout {
  grid-template-columns: 100%;
}

@media (max-width: 640px) {
  .footer {
    display: none;
  }

  .app-section {
    padding: 26px 0 30px;
    scroll-margin-top: 82px;
  }

  .app-section-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .app-step {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 13px;
  }

  .app-section-head h2 {
    font-size: 30px;
  }

  .onepage-layout,
  .checkout-layout,
  .tracking-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .cart-item img {
    width: 74px;
    height: 74px;
  }

  .cart-item .tiny {
    display: none;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final requested theme and tracking map */
:root {
  --restaurant-primary: rgb(255, 111, 0);
  --restaurant-primary-soft: rgba(255, 111, 0, .1);
  --restaurant-secondary: rgb(0, 0, 0);
  --restaurant-secondary-soft: rgba(0, 0, 0, .06);
}

.brand-mark,
.button,
.cart-count,
.top-cart span,
.bottom-link b,
.loyalty-badge,
.loyalty-progress span {
  background: var(--restaurant-primary);
}

h1,
h2,
.page-title h1,
.section h2,
.hero-kpis strong,
.app-section-head h2 {
  color: var(--restaurant-secondary);
}

.button {
  box-shadow: 0 16px 32px color-mix(in srgb, var(--restaurant-primary) 18%, transparent);
}

.eyebrow,
.section .eyebrow,
.bottom-link.active {
  background: color-mix(in srgb, var(--restaurant-primary) 20%, transparent);
  color: var(--restaurant-primary);
  border-color: var(--restaurant-primary);
}

#carte {
  background: var(--restaurant-secondary);
  color: white;
}

#carte h2,
#carte .eyebrow {
  color: white;
}

#carte .eyebrow {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.14);
}

#carte .section-head p,
#carte .muted {
  color: rgba(255,255,255,.68);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.product-image .price,
.loyalty-reward-cost {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: white;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.product-image .price {
  background: var(--restaurant-primary);
}

#carte .product-card {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: white;
  box-shadow: none;
}

#carte .product-card:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
}

#carte .product-card .button.secondary {
  background: white;
  color: var(--restaurant-secondary);
}

#carte .product-card.is-unavailable {
  opacity: .72;
}

#carte .product-card.is-unavailable img {
  filter: grayscale(.35) saturate(.85);
}

#carte .product-card.is-unavailable .button.secondary {
  background: rgba(255,255,255,.14);
  color: white;
  border-color: rgba(255,255,255,.18);
}

#carte .pill {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.68);
}

.tracking-screen {
  min-height: 100vh;
  background: #f7f7f8;
}

.tracking-screen h3 {
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 0;
}

.order-overview-card h3 {
  font-weight: 400;
  margin-bottom: -13px;
}

.tracking-map {
  position: relative;
  height: calc(100dvh - var(--tracking-sheet-height, 0px) + 100px);
  min-height: 460px;
  overflow: hidden;
  background: #111;
  margin-top: -150px;
}

.tracking-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18)),
    url("https://api.mapbox.com/styles/v1/mapbox/streets-v12/static/pin-s+ff6f00(2.3522,48.8566),pin-s+000000(2.3654,48.8528)/2.3588,48.8560,13,0/780x1050@2x?access_token=pk.eyJ1IjoibG92ZTJmb29kIiwiYSI6ImNtb2Z0MGU5aTBra3cycXM3Y3JkempoajcifQ.lCuV5zX7q1cpdwZCtA1zjw");
  background-size: cover;
  background-position: center;
}

.tracking-instant-pin {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--restaurant-primary);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transform: translate(-50%, -50%);
}

.tracking-map .mapboxgl-canvas-container {
  z-index: 1;
}

.mapboxgl-ctrl-bottom-left {
  display: none;
}

.tracking-map.map-ready .tracking-map-fallback {
  display: none;
}

.tracking-static-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.tracking-static-pin {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--restaurant-primary);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transform: translate(-50%, -50%);
}

.map-floating-card {
  position: absolute;
  left: 16px;
  bottom: 36px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.map-floating-card span {
  color: #6f7480;
  font-size: 12px;
  font-weight: 800;
}

.map-floating-card strong {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.tracking-sheet {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  width: min(720px, calc(100% - 28px));
  height: max-content;
  max-height: 50vh;
  margin: 0;
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 -24px 80px rgba(0,0,0,.24);
  transform: translateX(-50%);
}

.order-overview-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 15px;
  padding: 24px;
  border-radius: 18px;
  background: var(--restaurant-secondary);
  color: white;
  overflow: hidden;
}

.order-overview-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,.72);
}

.order-overview-card .order-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  grid-column: 1 / -1;
  color: white;
  font-size: 25px;
  font-weight: 900;
}

.order-overview-card .order-meta strong {
  color: var(--restaurant-primary);
  font-size: 25px;
  font-weight: 950;
}

.order-overview-footer {
  grid-column: 1 / -1;
  margin: 0 -24px -24px;
  padding: 10px 5px;
  border-radius: 0 0 17px 17px;
  background: var(--restaurant-primary);
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.timeline-card {
  margin-top: 0;
  padding: 0 10px;
  border-radius: 18px;
  background: white;
}

.tracking-status-stack {
  display: grid;
  gap: 12px;
}

.tracking-order-details {
  display: grid;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(17,17,17,.06);
  border: 1px solid rgb(238, 238, 238);
}

.tracking-order-details-head,
.tracking-order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tracking-order-details h3,
.tracking-order-line h4,
.tracking-order-line p {
  margin: 0;
}

.tracking-order-details h3 {
  font-size: 18px;
  letter-spacing: 0;
}

.tracking-order-details-head strong {
  color: var(--restaurant-primary);
  font-size: 18px;
  font-weight: 900;
}

.tracking-order-lines {
  display: grid;
  gap: 8px;
}

.tracking-order-line {
  padding-top: 8px;
  border-top: 1px solid rgb(238, 238, 238);
}

.tracking-order-line h4 {
  color: var(--restaurant-secondary);
  font-size: 14px;
  font-weight: 700;
}

.tracking-order-line p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.tracking-order-line strong {
  color: var(--restaurant-secondary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tracking-review-card {
  display: grid;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(17,17,17,.06);
  border: 1px solid rgb(238, 238, 238);
}

.tracking-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tracking-review-head h3,
.tracking-review-card p {
  margin: 0;
}

.tracking-review-head h3 {
  color: var(--restaurant-secondary);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.tracking-review-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tracking-review-card p {
  color: var(--restaurant-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.tracking-review-form {
  display: grid;
  gap: 10px;
}

.tracking-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.tracking-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: rgba(17,17,17,.18);
  font-size: 28px;
  line-height: 1;
  cursor: default;
  padding: 0;
}

.tracking-review-stars.interactive .tracking-star {
  cursor: pointer;
}

.tracking-star.is-selected {
  color: var(--restaurant-primary);
}

.tracking-review-form textarea {
  width: 100%;
  min-height: 82px;
  border: 0;
  border-radius: 12px;
  background: #f4f6f8;
  color: var(--restaurant-secondary);
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
  resize: vertical;
  outline: none;
}

.tracking-review-form textarea:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--restaurant-primary) 34%, transparent);
}

.tracking-review-submit {
  width: 100%;
}

.tracking-review-message {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #ffb347;
  background: rgba(255,179,71,.12);
  color: #b56500;
  font-size: 13px;
  font-weight: 700;
}

.tracking-review-message.ok {
  border-color: #48b461;
  background: rgba(72,180,97,.12);
  color: #27833c;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  margin: 0 auto 14px;
  cursor: grab;
  touch-action: none;
}

.sheet-handle:active {
  cursor: grabbing;
}

.map-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--restaurant-primary);
  border: 3px solid white;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
}

.map-marker.client {
  width: 22px;
  height: 22px;
  background: var(--restaurant-primary);
}

.map-marker.driver {
  background: var(--restaurant-secondary);
}

.map-marker img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.map-marker svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media,
.floating-ticket {
  border-radius: 14px;
}

.panel,
.summary,
.empty-state,
.cart-item {
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(17,17,17,.06);
  border: 1px solid rgb(238, 238, 238);
}

#checkout-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#checkout-form .field.full {
  grid-column: 1 / -1;
}

.floating-ticket {
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  border: 0;
  border-radius: 8px;
  background: var(--restaurant-secondary);
}

.ticket-price {
  color: var(--restaurant-primary);
  font-size: 32px;
}

@media (max-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .app-bottom-spacer {
    display: block;
    height: 80px;
    background: var(--restaurant-secondary);
  }

  .hero,
  .hero-copy {
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
  }

  .hero-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    border-radius: 14px;
  }

  .floating-ticket {
    border-radius: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .floating-ticket > div:first-child {
    min-width: 0;
  }

  #carte {
    border-radius: 0;
  }

  .section {
    padding: 34px 0 22px;
  }

  #carte .product-image img {
    aspect-ratio: 1.02;
  }

  #carte .product-image .price {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .tracking-map {
    height: calc(100dvh - var(--tracking-sheet-height, 0px) + 100px);
    min-height: 460px;
  }

  .map-floating-card {
    bottom: 36px;
  }

  .tracking-sheet {
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    height: max-content;
    max-height: 50dvh;
    margin: 0;
    padding: 16px 14px 0px;
    border-radius: 24px 24px 0px 0px;
    transform: none;
  }

  .customize-frame {
    width: 100%;
    max-height: calc(100dvh - 100px);
    margin: 0;
    transform: translateY(105%);
  }

  .customize-sheet {
    width: 100%;
    max-height: inherit;
    padding: 16px 14px 10px;
    border-radius: 24px 24px 0px 0px;
  }

  .customize-modal {
    place-items: end stretch;
  }

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

  .customize-frame::after {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    border-radius: 0;
  }

  .customize-fixed-action {
    left: 14px;
    right: 14px;
    width: auto;
    transform: translateY(105%);
  }

  .customize-modal.is-open .customize-fixed-action {
    transform: translateY(0);
  }

  .page-modal {
    place-items: end stretch;
  }

  .page-sheet {
    width: 100%;
    max-height: calc(100dvh - 82px);
    margin: 0px;
    padding: 16px 14px 0px;
    border-radius: 24px 24px 0px 0px;
    transform: translateY(105%);
  }

  .page-modal.is-open .page-sheet {
    transform: translateY(0);
  }

  .app-summary {
    position: static;
    margin-bottom: 15px !important;
  }

  .customize-head {
    grid-template-columns: 74px 1fr;
    align-items: center;
  }

  .customize-head img {
    width: 74px;
    height: 74px;
    border-radius: 14px;
  }

  .tracking-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tracking-screen .summary {
    display: none;
  }

  .order-overview-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* Ordering site loyalty account and checkout */
[data-loyalty-view] .loyalty-card {
  min-height: 0;
}
[data-loyalty-view] .loyalty-points strong {
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;
}
[data-loyalty-status]:empty {
  display: none;
}
.loyalty-alert {
  padding: 8px;
  border-radius: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
}
.loyalty-alert.alert-danger {
  color: #FF6961;
  background: rgba(255, 105, 97, 0.1);
}
.loyalty-alert.alert-warning {
  color: #FDA628;
  background: rgba(253, 166, 40, 0.1);
}
.loyalty-alert.alert-success {
  color: #58D141;
  background: rgba(88, 209, 65, 0.1);
}
.loyalty-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.loyalty-form .button {
  width: 100%;
}
.loyalty-auth {
  max-width: 480px;
  margin-inline: auto;
}
@media (min-width: 641px) and (hover: hover) and (pointer: fine) {
  .page-sheet:has(#compte:not([hidden]):not([data-loyalty-signed-in])) {
    width: min(516px, calc(100% - 28px));
  }
}
.loyalty-auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.loyalty-auth-actions .button {
  min-width: 0;
  padding-inline: 8px;
  text-align: center;
  white-space: normal;
}
.loyalty-card p {
  margin: 0;
}
.loyalty-checkout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px 12px;
  font-size: .9em;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--restaurant-secondary-soft);
}
.loyalty-checkout a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.cart-loyalty-reward {
  margin-top: 12px;
}
.loyalty-reward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.loyalty-reward-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--restaurant-secondary);
  color: white;
  text-align: center;
}
.loyalty-reward-image {
  position: relative;
}
.loyalty-reward-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.loyalty-reward-cost {
  top: 8px;
  right: 8px;
  padding: 4px 7px;
  background: color-mix(in srgb, var(--restaurant-secondary) 20%, transparent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.loyalty-reward-body {
  display: grid;
  gap: 6px;
  padding: 10px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.loyalty-reward-body h4,
.loyalty-reward-body p {
  margin: 0;
  color: inherit;
}
.loyalty-reward-body .button {
  min-width: 0;
  min-height: 36px;
  padding: 4px 6px;
  justify-content: center;
  color: white;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}
.loyalty-reward-body .button.secondary {
  background: rgb(255 255 255 / .12);
  border-color: rgb(255 255 255 / .24);
  color: white;
}
.loyalty-history {
  gap: 4px;
}
.loyalty-history .reward-row {
  padding: 8px 0;
}
.loyalty-history-entry {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}
.loyalty-history-entry time {
  font-size: calc(1em - 5px);
  opacity: .5;
}
.loyalty-history .reward-row strong {
  flex-shrink: 0;
  color: var(--restaurant-primary);
}
@media (min-width: 641px) {
  .loyalty-reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .loyalty-reward-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.loyalty-rewards summary {
  cursor: pointer;
  font-weight: 700;
}
.loyalty-rewards fieldset {
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.loyalty-rewards fieldset label {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
.loyalty-rewards fieldset input {
  width: auto;
  min-height: 0;
}

/* iOS zooms focused controls whose text is smaller than 16px. */
@media (any-pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  [contenteditable="true"] {
    font-size: max(16px, 1em) !important;
  }
}

.loyalty-rate {
  opacity: .5;
}

.loyalty-account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .loyalty-account-actions .button {
    flex: 1 0 100%;
  }
}
