:root {
  --red: #AA120F; --red-dark: #7E0D0B; --yellow: #F1B907; --cream: #F3E8CC; --ink: #1F1A14;
  --hdr: 68px; --a2hs: 0px; --gray: #5E584F; --surface: #F3F1EC; --line: #E7E3DA;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + var(--a2hs) + 62px); }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Work Sans', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.4; }
/* While webfonts load (display=swap), keep layout stable with system fallbacks */
.hero-copy h1, .tile b, .pts-chip, .lv-main b { font-family: Anton, Impact, Haettenschweiler, sans-serif; }
button { font-family: inherit; }
.page { max-width: 520px; margin: 0 auto; padding: 0 16px 130px; }

/* PWA / iOS install banner */
.a2hs-banner { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 52; margin: 0 -16px; padding: 8px 10px; background: #E8E8E8; border-bottom: 1px solid #ddd; }
.a2hs-banner[hidden] { display: none !important; }
.a2hs-row { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.a2hs-ico { flex: 0 0 auto; color: var(--red); display: grid; place-items: center; }
.a2hs-text { flex: 1; min-width: 0; font: 600 12.5px/1.25 'Work Sans', sans-serif; color: var(--ink); }
.a2hs-install { flex: 0 0 auto; border: 0; border-radius: 8px; padding: 8px 12px; background: var(--red); color: #fff; font: 700 13px/1 'Work Sans', sans-serif; cursor: pointer; white-space: nowrap; }
.a2hs-install:active { background: var(--red-dark); }
.a2hs-close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 700 20px/1 'Work Sans', sans-serif; cursor: pointer; }
.a2hs-ios-tip { margin: 6px 0 0 30px; padding: 8px 10px; border-radius: 8px; background: #fff; color: var(--gray); font: 600 12px/1.35 'Work Sans', sans-serif; }
.a2hs-ios-tip[hidden] { display: none !important; }

/* top bar */
.topbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--a2hs)); z-index: 50; height: var(--hdr); margin: 0 -16px; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; padding: 0 16px; background: #fff; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 51; }
.topbar .brand-logo { justify-self: center; }
.topbar-spacer { width: 46px; height: 46px; }
.icon-btn { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.brand-logo { width: 84px; height: 84px; display: block; }
.topbar .brand-logo { width: 60px; height: 60px; }
.pill-btn { background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; }
.addr-pill { display: flex; align-items: center; gap: 10px; max-width: 100%; border: 0; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 11px 16px; font-weight: 700; font-size: 15px; cursor: pointer; text-align: left; }
.addr-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.addr-pill svg { flex: none; }
.store { padding-top: 18px; }
.store h1 { font-size: 30px; line-height: 1.1; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.store-meta { margin: 0 0 2px; font-size: 14px; color: var(--gray); }
.status-banner { display: none; margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; text-align: center; }
.status-banner.show { display: block; }

/* tabs */
.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + var(--a2hs)); z-index: 40; display: flex; gap: 24px; margin: 16px -16px 0; padding: 0 16px; background: #fff; border-bottom: 4px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 6px 10px -8px rgba(0,0,0,.25); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 15px 0 12px; margin-bottom: -4px; font-size: 16px; font-weight: 500; color: var(--gray); text-decoration: none; border-bottom: 4px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

section h2 { font-size: 24px; line-height: 1.15; font-weight: 700; margin: 30px 0 14px; letter-spacing: -.01em; }

/* promo cards */
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.card { flex: 0 0 150px; scroll-snap-align: start; cursor: pointer; }
.card-img { position: relative; width: 150px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Image shimmer (hero + menu cards) — visible until img gets .is-loaded */
@keyframes pb-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.car-slide,
#promotions .card-img,
#menu-pates .card-img,
#menu-boissons .card-img,
#menu-desserts .card-img {
  isolation: isolate;
}
.car-slide:has(img.pb-shine:not(.is-loaded))::before,
#promotions .card-img:has(img.pb-shine:not(.is-loaded))::before,
#menu-pates .card-img:has(img.pb-shine:not(.is-loaded))::before,
#menu-boissons .card-img:has(img.pb-shine:not(.is-loaded))::before,
#menu-desserts .card-img:has(img.pb-shine:not(.is-loaded))::before,
.car-slide.is-loading::before,
#promotions .card-img.is-loading::before,
#menu-pates .card-img.is-loading::before,
#menu-boissons .card-img.is-loading::before,
#menu-desserts .card-img.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #E4E0D8;
}
.car-slide:has(img.pb-shine:not(.is-loaded))::after,
#promotions .card-img:has(img.pb-shine:not(.is-loaded))::after,
#menu-pates .card-img:has(img.pb-shine:not(.is-loaded))::after,
#menu-boissons .card-img:has(img.pb-shine:not(.is-loaded))::after,
#menu-desserts .card-img:has(img.pb-shine:not(.is-loaded))::after,
.car-slide.is-loading::after,
#promotions .card-img.is-loading::after,
#menu-pates .card-img.is-loading::after,
#menu-boissons .card-img.is-loading::after,
#menu-desserts .card-img.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%);
  width: 100%;
  animation: pb-shimmer 1s ease-in-out infinite;
}
.car-slide img.pb-shine:not(.is-loaded),
#promotions .card-img img.pb-shine:not(.is-loaded),
#menu-pates .card-img img.pb-shine:not(.is-loaded),
#menu-boissons .card-img img.pb-shine:not(.is-loaded),
#menu-desserts .card-img img.pb-shine:not(.is-loaded),
.car-slide.is-loading img,
#promotions .card-img.is-loading img,
#menu-pates .card-img.is-loading img,
#menu-boissons .card-img.is-loading img,
#menu-desserts .card-img.is-loading img {
  opacity: 0;
}
.car-slide img.pb-shine,
#promotions .card-img img.pb-shine,
#menu-pates .card-img img.pb-shine,
#menu-boissons .card-img img.pb-shine,
#menu-desserts .card-img img.pb-shine {
  transition: opacity .3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .car-slide:has(img.pb-shine:not(.is-loaded))::after,
  #promotions .card-img:has(img.pb-shine:not(.is-loaded))::after,
  #menu-pates .card-img:has(img.pb-shine:not(.is-loaded))::after,
  #menu-boissons .card-img:has(img.pb-shine:not(.is-loaded))::after,
  #menu-desserts .card-img:has(img.pb-shine:not(.is-loaded))::after,
  .car-slide.is-loading::after,
  #promotions .card-img.is-loading::after,
  #menu-pates .card-img.is-loading::after,
  #menu-boissons .card-img.is-loading::after,
  #menu-desserts .card-img.is-loading::after { animation: none; opacity: .35; background: rgba(255,255,255,.4); }
  .car-slide img.pb-shine,
  #promotions .card-img img.pb-shine,
  #menu-pates .card-img img.pb-shine,
  #menu-boissons .card-img img.pb-shine,
  #menu-desserts .card-img img.pb-shine { transition: none; }
}
.badge { position: absolute; top: 8px; left: 8px; background: #D5132B; color: #fff; font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; }
.card .slot { position: absolute; right: 8px; bottom: 8px; z-index: 4; }
.card-name { font-size: 15px; font-weight: 500; line-height: 1.25; margin: 9px 0 3px; }
.card-price { margin: 0; font-size: 15px; }
.card-price b { font-weight: 600; }
.card-price s { color: var(--gray); font-size: 13px; margin-left: 4px; }

/* list rows */
.row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.row-text { flex: 1; min-width: 0; }
.row h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; line-height: 1.25; }
.row .desc { margin: 0 0 8px; font-size: 13.5px; color: var(--gray); line-height: 1.4; }
.rprice { margin: 0; font-size: 15px; font-weight: 600; }
.row-img { position: relative; flex: none; width: 112px; height: 112px; }
.row-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; background: var(--surface); }
.row .slot { position: absolute; right: 6px; bottom: 6px; }
.row.noimg { align-items: center; }
.row.noimg .row-img { width: auto; height: auto; position: static; }
.row.noimg .slot { position: static; }

.round-plus { min-width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 24px; line-height: 1; font-weight: 500; box-shadow: 0 1px 6px rgba(0,0,0,.28); cursor: pointer; }
.row.noimg .round-plus { background: var(--surface); box-shadow: none; }
.round-plus.count { background: var(--red); color: #fff; font-size: 16px; font-weight: 700; }
.stepper-pill { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: 0 1px 6px rgba(0,0,0,.28); }
.row.noimg .stepper-pill { background: var(--surface); box-shadow: none; }
.stepper-pill button { width: 36px; height: 40px; border: 0; background: transparent; font-size: 21px; font-weight: 500; color: var(--ink); cursor: pointer; }
.stepper-pill span { min-width: 16px; text-align: center; font-weight: 700; font-size: 15px; }
.row-img .stepper-pill button { width: 32px; }

/* buttons */
.btn-primary { display: block; width: 100%; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 17px; padding: 16px 18px; cursor: pointer; text-align: center; }
.btn-primary:active { background: var(--red-dark); }
.btn-primary:disabled { background: #D9D5CC; color: #7B756B; cursor: not-allowed; }
.link-btn { border: 0; background: none; color: var(--red); font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px 2px; }
.link-btn.center { display: block; margin: 14px auto 0; color: var(--gray); font-weight: 600; text-decoration: underline; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* cart bar */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgba(255,255,255,1) 60%, rgba(255,255,255,0)); transform: translateY(120%); transition: transform .25s ease; pointer-events: none; }
.cart-bar.show { transform: none; pointer-events: auto; }
.cart-pill { max-width: 488px; margin: 0 auto; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 6px 18px rgba(170,18,15,.35); }
.cart-pill .cnt { min-width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: 14px; }

/* sheets */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: none; }
.overlay.open { display: block; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; height: min(94vh, 820px); background: #fff; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.sheet[hidden] { display: none; }
#sheet-cart, #sheet-addr, #sheet-done, #sheet-acct, #sheet-hist, #sheet-loyal, #sheet-promo { height: auto; max-height: 94vh; }
.sheet-scroll { flex: 1; overflow-y: auto; position: relative; -webkit-overflow-scrolling: touch; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 0; }
.sheet-head h2 { margin: 0; font-size: 24px; }
.it-photo { height: 210px; background: var(--surface); }
.it-photo[hidden] { display: none; }
.it-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.close-circle { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.close-circle.flat { position: static; }
.it-body { padding: 16px 16px 20px; }
.it-body h2, #it-title { margin: 4px 0 6px; font-size: 28px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.it-price { margin: 0 0 8px; font-size: 20px; }
.it-price b { font-weight: 700; }
.it-price s { color: var(--gray); font-size: 17px; margin-left: 6px; }
.it-desc { margin: 0 0 6px; color: var(--gray); font-size: 15.5px; }
.grp { margin-top: 26px; }
.grp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.grp h4 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 700; }
.tag { flex: none; background: var(--surface); border-radius: 6px; padding: 4px 9px; font-size: 13px; font-weight: 600; }
.tag.req { background: var(--red); color: #fff; }
.tag.req.done { background: var(--surface); color: var(--ink); }
.grp-sub { margin: 4px 0 4px; color: var(--gray); font-size: 14.5px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; cursor: pointer; }
.opt input { width: 26px; height: 26px; accent-color: var(--red); flex: none; }
.opt.dim { opacity: .45; }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: 999px; flex: none; }
.qty button { width: 44px; height: 52px; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 17px; }

/* cart sheet */
.line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .l-main { flex: 1; min-width: 0; }
.l-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.l-opts { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.line .stepper-pill { box-shadow: none; background: var(--surface); }
.line .stepper-pill button { width: 34px; height: 36px; }
.l-total { min-width: 62px; text-align: right; font-weight: 600; font-size: 14px; }
.empty { text-align: center; padding: 20px 0; font-weight: 600; }
.trow { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0 0; font-size: 16px; }
.trow.muted { padding-top: 4px; font-size: 13px; color: var(--gray); text-align: right; }
.lbl { display: block; margin: 18px 0 6px; font-weight: 700; font-size: 14px; }
.inp { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 2px solid transparent; border-radius: 12px; padding: 13px 14px; }
.inp:focus { border-color: var(--ink); outline: none; background: #fff; }
textarea.inp { resize: vertical; }
.deliv { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; background: var(--surface); border-radius: 12px; }
.lbl2 { display: block; font-size: 12.5px; color: var(--gray); font-weight: 600; }
.deliv-text { font-weight: 600; font-size: 15px; }
.pay { margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: var(--gray); }
.form-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBE3E1; color: var(--red-dark); font-size: 14px; font-weight: 600; }
.form-error[hidden] { display: none; }

/* drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 95; width: min(82vw, 320px); background: #fff; transform: translateX(-102%); transition: transform .25s ease; padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 20px; overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer-links a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }

/* info blocks (reused channel markup) */
.info h2 { font-size: 22px; }
.channels, .social-row { display: flex; flex-direction: column; gap: 10px; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; }
.social-row .channel.wide { grid-column: 1 / -1; }
.channel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.channel .txt { flex: 1; min-width: 0; line-height: 1.2; }
.channel .sub { display: block; font-size: 12px; font-weight: 400; color: var(--gray); margin-top: 3px; line-height: 1.3; }
.channel .arrow { opacity: .5; }
.app-icon { width: 42px; height: 42px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.app-icon svg { width: 23px; height: 23px; }
.app-icon.whatsapp { background: #25D366; }
.app-icon.instagram { background: linear-gradient(135deg, #833AB4, #E1306C 55%, #FCAF45); } .app-icon.facebook { background: #1877F2; } .app-icon.google { background: #fff; border: 1px solid var(--line); }
.social-row .channel { padding: 10px 12px; font-size: 14px; } .social-row .app-icon { width: 36px; height: 36px; } .social-row .app-icon svg { width: 20px; height: 20px; }
.map img { width: 100%; height: auto; display: block; border-radius: 14px; background: var(--surface); }
.zone-areas { margin: 12px 0 0; font-size: 13.5px; font-weight: 600; color: var(--gray); line-height: 1.5; }
.zone-info { margin: 6px 0 0; font-size: 13.5px; font-weight: 700; }
.zone-link { display: inline-block; margin-top: 8px; color: var(--red); font-weight: 700; font-size: 14px; }
footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
footer .brand { font-weight: 700; font-size: 16px; color: var(--ink); margin: 0 0 4px; }
footer p { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cart-bar, .drawer, .drawer-overlay { transition: none; } }
.opt-name small { display: block; color: var(--gray); font-size: 13px; margin-top: 2px; }
.opt { align-items: center; }

.trow.total { padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }

.geo-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 14px; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; }
.geo-btn:active { background: var(--surface); }
.geo-btn:disabled { opacity: .6; cursor: wait; }
.geo-btn.ok { border-color: var(--red); color: var(--red-dark); }
.geo-status { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--surface); font-size: 13.5px; font-weight: 600; }
.geo-status.err { background: #FBE3E1; color: var(--red-dark); }
.geo-status[hidden], .link-btn[hidden] { display: none; }
.geo-note { margin: 10px 0 0; font-size: 12.5px; color: var(--gray); }
.three-col3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.three-col3 .inp { margin: 4px 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-tag { font-weight: 500; color: var(--gray); }
.sec-title { margin: 26px 0 2px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.sec-sub { margin: 0; color: var(--gray); font-size: 14.5px; }
.sec-title + .sec-sub + .geo-btn { margin-top: 12px; }
.inp.bad { border-color: var(--red); background: #fff; }
.dn-ref { margin: 4px 0 0; font-size: 17px; }
.track { list-style: none; margin: 18px 0 0; padding: 0; }
.track li { position: relative; padding: 0 0 18px 34px; color: var(--gray); font-weight: 600; font-size: 15.5px; }
.track li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.track li::after { content: ''; position: absolute; left: 9px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.track li:last-child { padding-bottom: 0; } .track li:last-child::after { display: none; }
.track li.on { color: var(--ink); } .track li.on::before { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px #fff; }
.track li.now { font-weight: 700; }
.track.cancelled { display: none; }
.drawer-links a[hidden] { display: none; }
.acct-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--gray); }
.inp[readonly] { background: var(--surface); color: var(--gray); }
.icon-btn[hidden] { display: none; }
.link-btn:disabled { opacity: .5; cursor: default; }
.ac-cta { margin: 18px 0 0; padding: 14px; border-radius: 14px; background: var(--surface); }
.ac-cta b { display: block; font-size: 16px; }
.ac-cta p { margin: 4px 0 12px; color: var(--gray); font-size: 14px; }
.ac-card { margin: 14px 0 0; padding: 14px; border: 2px solid var(--line); border-radius: 14px; }
.ac-card h4 { margin: 0 0 4px; font-size: 13.5px; color: var(--gray); font-weight: 700; }
.ac-card p { margin: 0; font-size: 15px; }
.ac-hello { margin: 2px 0 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.login-title { margin: 6px 0 0; text-align: center; font-size: 26px; font-weight: 800; }
.login-sub { margin: 6px 0 18px; text-align: center; color: var(--gray); }
.phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 10px; margin-bottom: 12px; }
.phone-row .inp { margin: 0; border-color: var(--ink); }
.prefix { display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); border-radius: 12px; font-size: 17px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--gray); margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.alt-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.alt-btn:disabled { opacity: .6; cursor: wait; }
.legal { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: var(--gray); }
.geo-status:empty { display: none; }
.track-pill { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + var(--a2hs) + 8px); z-index: 30; display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0 0; padding: 13px 16px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.track-pill[hidden] { display: none; }
.track-pill .tp-dot { width: 10px; height: 10px; border-radius: 50%; background: #F1B907; flex: none; animation: tp 1.4s ease-in-out infinite; }
.track-pill.finished .tp-dot { background: #1E8E4E; animation: none; }
.track-pill .tp-go { margin-left: auto; opacity: .85; white-space: nowrap; }
@keyframes tp { 50% { opacity: .35; } }
.promo-box { margin: 14px 0 0; }
.promo-row { display: flex; gap: 8px; align-items: stretch; }
.promo-row .inp { margin: 0; flex: 1; text-transform: uppercase; }
.alt-btn.small { width: auto; padding: 0 18px; font-size: 14.5px; }
.promo-msg { margin: 6px 0 0; font-size: 13.5px; color: var(--gray); }
.promo-msg.bad { color: #7E0D0B; font-weight: 600; }
.trow.disc { color: #1E8E4E; font-weight: 700; }
.trow.disc .link-btn { font-size: 13px; padding: 0 0 0 6px; }
[hidden] { display: none !important; }
.lo-card { margin: 4px 0 0; padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; }
.lo-pts { display: flex; align-items: baseline; gap: 8px; }
.lo-pts b { font-size: 42px; line-height: 1; }
.lo-next { margin: 8px 0 12px; font-size: 14.5px; opacity: .92; min-height: 1.2em; }
.lo-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.lo-bar i { display: block; height: 100%; width: 0; background: #F1B907; border-radius: 99px; transition: width .4s; }
.ac-orders li.rw-card { display: flex; align-items: center; gap: 12px; }
.rw-main { flex: 1; min-width: 0; }
.rw-name { font-weight: 700; }
.rw-sub { color: var(--gray); font-size: 13.5px; margin-top: 2px; }
.rw-card.locked { opacity: .7; }
.rw-card .btn-primary { padding: 10px 16px; font-size: 14.5px; white-space: nowrap; }
.rw-card .btn-primary:disabled { background: var(--line); color: var(--gray); }
.loc-block { margin-top: 14px; }
#f-addr { margin-top: 0; }
.loc-block .geo-btn { margin-top: 6px; }
.ac-intro { margin: 4px 0 0; color: var(--gray); font-size: 14.5px; }
.ac-orders { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ac-orders li { border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ac-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.ac-sub { margin: 4px 0 0; color: var(--gray); font-size: 14px; }
#recaptcha-box { min-height: 0; }


/* accueil façon app fidélité */
.topbar { display: flex; justify-content: space-between; align-items: center; }
.topbar .brand-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.topbar-right { display: flex; align-items: center; gap: 6px; margin-left: auto; position: relative; z-index: 1; max-width: calc(50% - 40px); }
.cart-top { position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: opacity .2s; }
.cart-top.empty { opacity: .45; }
.cart-top .cnt-top { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cart-top .cnt-top[hidden] { display: none; }
.pts-chip { display: flex; align-items: center; gap: 6px; border: 0; background: none; font: 400 26px Anton, sans-serif; color: var(--ink); cursor: pointer; padding: 6px; }
.lv-card { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 14px; align-items: center; width: 100%; margin: 14px 0 0; padding: 16px; border: 0; border-radius: 22px; background: #F5F0E9; text-align: left; color: var(--ink); cursor: pointer; }
.lv-main b { display: block; font: 400 28px/1.05 Anton, sans-serif; }
.lv-main small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: #8C857B; }
.lv-next { position: relative; display: grid; justify-items: center; align-self: end; }
.lv-bubble { position: absolute; bottom: 100%; right: -4px; margin-bottom: 8px; white-space: nowrap; padding: 6px 10px; border: 2px solid #9AA7B5; border-radius: 12px; background: #E6E6E6; font-weight: 700; font-size: 12.5px; }
.lv-txt { grid-column: 1 / 3; font-weight: 600; font-size: 14.5px; margin-top: 8px; }
.lv-bar { grid-column: 1 / 3; height: 20px; border-radius: 99px; background: #E8DED8; overflow: hidden; }
.lv-bar i { display: block; height: 100%; min-width: 20px; border-radius: 99px; background: #A9583A; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.tile { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 112px; padding: 0 16px; border: 0; border-radius: 26px; text-decoration: none; cursor: pointer; }
body:not(.logged-in) #tile-repeat { display: none; }
body.logged-in #tile-join { display: none; }
.guest-pts { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; font-size: 14px; line-height: 1.35; }
.tile b { position: relative; z-index: 1; font: 400 25px/1.05 Anton, sans-serif; text-align: left; }
.t-order { background: var(--yellow); color: var(--ink); justify-content: center; }
.t-order b { text-align: center; }
.t-repeat { background: var(--cream); color: var(--red); }
.t-repeat:disabled { opacity: .6; }
#earn h2 { margin-top: 34px; }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.earn-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; padding: 16px 14px 14px; border-radius: 22px; }
.earn-card h3 { margin: 0; font: 400 21px/1.15 Anton, sans-serif; }
.earn-card h3 span { color: var(--red); }
.ea { background: #F5E8DE; }
.eb { background: var(--red-dark); color: #fff; }
.eb h3 span { color: var(--yellow); }
.earn-phone { align-self: center; display: grid; place-items: center; width: 90px; height: 120px; margin: 10px 0; border: 3px solid var(--ink); border-radius: 14px; background: #A9583A; color: #fff; transform: rotate(10deg); font: 400 22px Anton, sans-serif; }
.earn-tiers { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 0; font-size: 14px; }
.earn-pill { display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 700 14px 'Work Sans', sans-serif; }
.earn-pill b { padding: 8px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.eb .earn-pill { justify-content: center; }
.rw-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 10px; color: var(--tc); }
.rw-head h3 { margin: 0; font: 400 24px Anton, sans-serif; }
.rw-head button { border: 0; background: none; color: var(--tc); font: 400 22px Anton, sans-serif; cursor: pointer; }
.rw-row { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rw-row::-webkit-scrollbar { display: none; }
.rw-tile { position: relative; flex: none; width: 150px; height: 130px; padding: 10px; border: 0; border-radius: 14px; scroll-snap-align: start; background: var(--tg, #A9583A) center / cover; color: #fff; text-align: left; cursor: pointer; overflow: hidden; }
.rw-tile.lock { opacity: .55; }
.rw-n { display: block; font-weight: 800; font-size: 15px; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.rw-p { position: absolute; left: 0; bottom: 0; padding: 5px 14px 5px 10px; border-radius: 0 12px 0 0; background: #2F6B3A; font-weight: 800; font-size: 15px; }
.rw-l { position: absolute; right: 8px; bottom: 6px; font-size: 18px; }
.promo-big { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 28px 0 0; padding: 26px 22px; border: 0; border-radius: 20px; background: var(--red-dark); color: #fff; font: 400 24px Anton, sans-serif; cursor: pointer; }

.card-img.noimg { display: grid; place-items: center; background: var(--surface); }
.card-img.noimg::before { content: '🥤'; font-size: 46px; }
.rw-row.wrap { flex-wrap: wrap; overflow: visible; }
.toast { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 300; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-align: center; }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.more-btn { border: 0; background: none; color: var(--red); font: 400 22px Anton, sans-serif; cursor: pointer; padding: 6px 0 6px 12px; }
.hscroll.wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; overflow: visible; margin: 0; padding: 2px 0 6px; }
.hscroll.wrap .card { flex: none; }
.hscroll.wrap .card-img { width: 100%; }

.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#menu-pates .card-img, #menu-boissons .card-img { aspect-ratio: 1 / 1; }

.t-order b { font-size: clamp(36px, 11vw, 46px); line-height: 1; }
.rw-empty { margin: 0; color: var(--gray); font-size: 14px; }
.rw-tile { background-image: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,0) 55%), var(--tg, #A9583A); background-size: cover; background-position: center; background-color: #A9583A; }
.rw-tile { height: auto; padding: 0; background: none; color: var(--ink); }
.rw-tile.lock { opacity: 1; }
.rw-img { display: block; position: relative; width: 150px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--tg, #A9583A) center / cover; }
.rw-tile.lock .rw-img { opacity: .55; }
.rw-n { margin: 9px 0 3px; font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--ink); text-shadow: none; }
.lv-exp { grid-column: 1 / -1; margin-top: 2px; font-size: 13px; font-weight: 600; color: #8C857B; }

.perks { display: flex; flex-direction: column; gap: 6px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.perk.on { background: #F5F0E9; }
.perk b { display: block; font: 400 20px Anton, sans-serif; }
.perk span { display: block; font-size: 13.5px; color: var(--gray); line-height: 1.3; }

/* logged-out hero + carousel; loyalty card and points chip only after login */
body:not(.logged-in) .lv-card, body:not(.logged-in) #pts-chip { display: none; }
body.logged-in .hero { display: none; }
.hero { margin: 14px 0 0; }
/* Full page width (same inset as .page / carousel) — no max-width or the title looks off-grid */
.hero-copy h1 {
  margin: 0;
  width: 100%;
  font: 400 clamp(26px, 7.2vw, 38px)/1.08 Anton, Impact, Haettenschweiler, sans-serif;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero-copy p { margin: 8px 0 0; color: var(--gray); font-size: 15px; font-weight: 500; }
.carousel { position: relative; margin-top: 14px; border-radius: 22px; overflow: hidden; background: var(--surface); }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: var(--surface); }
.car-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.car-dots i.on { background: #fff; }
html[lang=fr] .t-order{padding:0 10px}
html[lang=fr] .t-order b{font-size:30px;white-space:nowrap}
html[lang=fr] .tiles .tile b { font-size: clamp(16px, 4.8vw, 21px); line-height: 1.1; overflow-wrap: normal; hyphens: none; }
/* language switch in the menu */
.lang-row { display: flex; align-items: center; gap: 8px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.lang-row span { flex: 1; }
.lang-row button { border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font: 700 14px 'Work Sans', sans-serif; cursor: pointer; }
.lang-row button.on { background: var(--ink); color: #fff; }
.rv-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.rv { flex: none; width: 78%; max-width: 300px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #fff; }
.rv .st { color: #F5A623; letter-spacing: 2px; font-size: 15px; } .rv p { margin: 8px 0 10px; font-size: 15px; line-height: 1.4; } .rv b { font-size: 14px; color: var(--gray); font-weight: 600; }
.brand-logo, .drawer-logo { border-radius: 50%; object-fit: cover; }
