/* Parco – site styles. Dark + gold, from the logo. RTL, mobile first. */
:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --card: #171717;
  --card-2: #1f1f1f;
  --line: #2b2b2b;
  --text: #ffffff;
  --muted: #b9b4aa;
  --gold: #f4b63f;
  --gold-2: #d99a2b;
  --gold-grad: linear-gradient(100deg, #f7c65a 0%, #f4b63f 45%, #d99a2b 100%);
  --danger: #ff6b5b;
  --ok: #5fd38d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --head: 'Rubik', 'Heebo', system-ui, sans-serif;
  --body: 'Heebo', 'Rubik', system-ui, sans-serif;
  --wrap: 1520px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - clamp(32px, 5vw, 96px), var(--wrap)); margin-inline: auto; }

/* ---------- headings: bold, slanted, like the logo ---------- */
h1, h2, h3, .display {
  font-family: var(--head); font-weight: 800; line-height: 1.15; margin: 0 0 .4em;
  letter-spacing: -.01em;
}
.slant { font-style: italic; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }

/* speed lines from the logo, used as a heading accent */
.speed {
  display: inline-flex; flex-direction: column; gap: 5px; vertical-align: middle; margin-inline-start: 12px;
}
.speed i { display: block; height: 5px; border-radius: 3px; background: var(--gold-grad); transform: skewX(-25deg); }
.speed i:nth-child(1) { width: 46px; }
.speed i:nth-child(2) { width: 36px; }
.speed i:nth-child(3) { width: 26px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title h2 { margin: 0; display: flex; align-items: center; }
.section { padding: 44px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 1rem; cursor: pointer;
  text-decoration: none !important; transition: transform .15s ease, background .15s ease, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold-grad); color: #111; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(244, 182, 63, .1); }
.btn-ghost { background: var(--card-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #444; }
.btn-wa { background: #25d366; color: #062b14; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .55); color: var(--text); cursor: pointer;
  backdrop-filter: blur(6px);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(11, 11, 11, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a {
  color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 500; text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--card-2); color: var(--gold); }
.header-cta { display: flex; gap: 8px; }
.menu-toggle { display: none; margin-inline-start: auto; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .header-cta .btn-label { display: none; }
  .header-cta .btn { padding: 0 12px; min-height: 42px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav a { padding: 14px 10px; border-radius: 10px; font-size: 1.1rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 48px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(244, 182, 63, .18), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(217, 154, 43, .12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero-logo { width: min(100%, 520px); margin-bottom: 18px; }
.hero h1 { margin-bottom: 12px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-art .plate {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #2a2116 0 40%, #1a1510 41% 62%, transparent 63%);
  box-shadow: 0 0 0 2px rgba(244, 182, 63, .35), 0 30px 80px rgba(0, 0, 0, .6);
}
.hero-art .hero-ph { position: absolute; inset: 22%; display: grid; place-items: center; }
.hero-art .hero-ph svg { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(244,182,63,.25)); }
.hero-art .slide {
  position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; border-radius: 50%;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-art .slide.on { opacity: 1; }
.hero-art.has-slides .hero-ph { display: none; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: .92rem; margin-bottom: 16px;
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); }
.status-pill.open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 211, 141, .18); }
@media (max-width: 860px) {
  .hero { padding: 28px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-art.has-slides { display: block; max-width: 300px; margin-top: 8px; }
  .hero-logo { width: min(100%, 360px); }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(244, 182, 63, .55); transform: translateY(-2px); }
.card a.cover-link { position: absolute; inset: 0; z-index: 1; }
.card .media { position: relative; aspect-ratio: 4 / 3; background: var(--card-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .desc { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.price { font-family: var(--head); font-weight: 800; color: var(--gold); font-size: 1.15rem; white-space: nowrap; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.card .share-btn { position: absolute; top: 10px; left: 10px; z-index: 2; }
.card.soldout .media img, .card.soldout .media .ph { filter: grayscale(1) brightness(.6); }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; background: var(--card-2); border: 1px solid var(--line); color: var(--muted);
}
.badge.gold { background: rgba(244, 182, 63, .14); border-color: rgba(244, 182, 63, .45); color: var(--gold); }
.badge.soldout { position: absolute; top: 10px; right: 10px; z-index: 2; background: #000; color: #fff; border-color: #444; font-size: .85rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* image placeholder when a dish has no photo yet */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 70% 30%, rgba(244, 182, 63, .16), transparent 55%), linear-gradient(135deg, #1c1c1c, #121212);
}
.ph svg { width: 34%; height: auto; opacity: .85; }

/* horizontal scroller (promotions, featured on mobile) */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }

/* promotion card: the image on top, whole (promo images are flyers with their own text), the text in its own box below */
.promo {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px;
  border: 1px solid rgba(244, 182, 63, .45); background: linear-gradient(135deg, #20190f, #121212 70%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.promo:has(.media) { justify-content: flex-start; min-height: 0; background: var(--card); }
.promo .media { background: #000; border-bottom: 1px solid rgba(244, 182, 63, .35); }
.promo .media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.promo .body { position: relative; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.promo .body .promo-price { margin-top: auto; padding-top: 6px; }
.promo .kicker { font-family: var(--head); font-weight: 800; font-style: italic; color: var(--gold); font-size: .95rem; }
.promo h3 { font-size: 1.3rem; margin: 0; line-height: 1.25; }
.promo .promo-price { font-family: var(--head); font-weight: 900; font-size: 1.8rem; color: var(--gold); line-height: 1; }
.promo .share-btn { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-tile {
  display: flex; align-items: center; justify-content: center; min-height: 86px; padding: 12px;
  border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); color: var(--text);
  font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.15rem; text-align: center;
  position: relative; overflow: hidden; text-decoration: none !important;
}
.cat-tile::after {
  content: ""; position: absolute; left: -10px; bottom: 12px; width: 40px; height: 5px; border-radius: 3px;
  background: var(--gold-grad); transform: skewX(-25deg); box-shadow: 6px 10px 0 -1px rgba(244,182,63,.6);
}
.cat-tile:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- menu page ---------- */
.menu-tools { display: grid; gap: 12px; margin: 8px 0 6px; }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 16px; min-height: 48px;
}
.search svg { width: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; background: transparent; border: 0; color: var(--text); font: inherit; outline: none; min-width: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; font-weight: 500; text-decoration: none !important; font-size: .95rem;
}
.chip[aria-pressed="true"], .chip.active { background: var(--gold-grad); color: #111; border-color: transparent; font-weight: 700; }
.cat-bar {
  position: sticky; top: var(--header-h); z-index: 30; background: rgba(11,11,11,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); padding: 10px 0;
}
.menu-cat { scroll-margin-top: calc(var(--header-h) + 70px); padding-top: 26px; }
.menu-cat h2 { display: flex; align-items: center; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* ---------- item page ---------- */
.item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; padding: 32px 0 48px; align-items: start; }
.item-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.item .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); border: 1px solid var(--line); }
.item-pizza { display: grid; justify-items: center; gap: 6px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(244,182,63,.12), transparent 65%), var(--card); }
.item-pizza svg { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); }
.item-pizza .note { margin: 0; }
@media (min-width: 861px) { .b-pizza-wrap .b-pizza { display: none; } }
.item .media img { width: 100%; height: 100%; object-fit: cover; }
.item h1 { font-size: clamp(2rem, 5vw, 3rem); }
.item .lead { color: var(--muted); font-size: 1.1rem; }
.size-prices { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 18px; }
.size-price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 18px; text-align: center; min-width: 120px; }
.size-price .label { display: block; color: var(--muted); font-size: .9rem; }
.size-price .price { font-size: 1.5rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 10px; }
.ing-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ing-list li { padding: 6px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: .95rem; }
.ing-list li .opt { color: var(--muted); font-size: .8rem; margin-inline-start: 4px; }
.opt-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.opt-table th, .opt-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: start; }
.opt-table th { color: var(--muted); font-weight: 500; }
.opt-table td.num, .opt-table th.num { text-align: center; white-space: nowrap; }
.item-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.note { color: var(--muted); font-size: .9rem; }
.breadcrumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs a { color: var(--muted); }
@media (max-width: 860px) {
  .item { grid-template-columns: 1fr; gap: 18px; padding-top: 14px; }
  .item-side { position: static; }
  .item-pizza { display: none; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.hours tr.today td { color: var(--gold); font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; background: #070707; border-top: 1px solid var(--line); padding: 40px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 1.05rem; color: var(--gold); margin-bottom: 12px; }
.site-footer .logo { height: 56px; width: auto; margin-bottom: 10px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.socials a:hover { color: #111; background: var(--gold-grad); border-color: transparent; }
.socials svg { width: 22px; height: 22px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); }
.legal a { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); left: 18px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .5), 0 0 0 4px rgba(37, 211, 102, .18);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .tip {
  position: absolute; left: 70px; white-space: nowrap; background: #fff; color: #111; font-weight: 600;
  font-size: .9rem; padding: 6px 12px; border-radius: 10px; opacity: 0; transform: translateX(-6px);
  transition: .2s; pointer-events: none;
}
.wa-float:hover .tip, .wa-float:focus-visible .tip { opacity: 1; transform: none; }

/* ---------- share dialog ---------- */
dialog.share-dialog {
  border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); color: var(--text);
  padding: 22px; width: min(420px, calc(100% - 24px)); box-shadow: var(--shadow);
}
dialog.share-dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
.share-dialog h2 { font-size: 1.2rem; margin: 0 0 4px; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.share-grid a, .share-grid button {
  display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: .85rem; text-decoration: none !important;
}
.share-grid a:hover, .share-grid button:hover { border-color: var(--gold); }
.share-grid svg { width: 26px; height: 26px; }
.share-copy { display: flex; gap: 8px; }
.share-copy input { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); padding: 0 10px; font: inherit; font-size: .85rem; direction: ltr; }
.dialog-close { position: absolute; top: 12px; left: 12px; }

.toast {
  position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 80;
  background: #fff; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 600; opacity: 0;
  transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

.dev-banner { background: #3a1d6e; color: #e6dcff; text-align: center; font-size: .85rem; font-weight: 700; padding: 5px 12px; border-bottom: 1px solid #7c4dff; }
.sample-banner {
  background: repeating-linear-gradient(-45deg, #2a2110, #2a2110 12px, #1f190c 12px, #1f190c 24px);
  color: var(--gold); text-align: center; font-size: .88rem; padding: 6px 12px; border-bottom: 1px solid #3a2e14;
}

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.skeleton { background: linear-gradient(90deg, #161616, #1f1f1f, #161616); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 280px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- map ---------- */
.map-box { position: relative; margin-top: 14px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); pointer-events: none; }
.map-open { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px; text-decoration: none !important; }
.map-open:hover .map-cta, .map-open:focus-visible .map-cta { transform: translateY(-2px); filter: brightness(1.06); }
.map-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-grad); color: #111; font-family: var(--head); font-weight: 700; padding: 8px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .15s; }
.map-cta svg { width: 18px; height: 18px; }
.nav-apps { display: grid; gap: 10px; margin-top: 16px; }
.nav-apps .btn { justify-content: flex-start; }

/* ---------- dish builder ---------- */
.builder { margin-top: 18px; }
.builder h2 { font-size: 1.5rem; }
.b-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.b-step legend { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.12rem; margin-bottom: 10px; padding: 0; }
.b-step legend small { font-family: var(--body); font-weight: 400; color: var(--muted); font-size: .85rem; }
.b-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-grad); color: #111; font-size: .95rem; font-style: normal; }
.b-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.b-card {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  background: var(--card-2); border: 2px solid var(--line); min-height: 56px;
}
.b-card input { position: absolute; opacity: 0; pointer-events: none; }
.b-card:has(input:checked) { border-color: var(--gold); background: rgba(244,182,63,.1); }
.b-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.b-card-name { font-weight: 700; flex: 1; }
.b-card-price { color: var(--gold); font-weight: 700; white-space: nowrap; font-size: .95rem; }
.t-art { flex: none; border-radius: 8px; background: rgba(255,255,255,.06); padding: 2px; object-fit: cover; }
.b-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex: none; }
.b-pizza-wrap { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.b-pizza-wrap .note { margin: 0; max-width: 28em; }
.b-pizza svg { display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.b-tops { display: grid; gap: 8px; }
.b-top {
  display: grid; grid-template-columns: minmax(120px, 1fr) auto; align-items: center; gap: 8px 12px;
  padding: 10px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line);
}
.b-top.on { border-color: rgba(244,182,63,.7); background: rgba(244,182,63,.07); }
.b-top-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b-top-price { color: var(--gold); font-weight: 700; font-size: .9rem; }
.b-seg { display: flex; gap: 4px; align-items: center; }
.b-place, .b-q, .b-clear {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border-radius: 10px; cursor: pointer;
  background: #101010; border: 1px solid #333; color: var(--muted); font-size: .85rem; font-weight: 600;
}
.b-place svg, .b-q svg { width: 20px; height: 20px; }
.b-place[aria-pressed="true"], .b-q[aria-pressed="true"] { background: var(--gold-grad); color: #111; border-color: transparent; }
.b-place:hover, .b-q:hover { border-color: var(--gold); color: var(--text); }
.b-place[aria-pressed="true"]:hover, .b-q[aria-pressed="true"]:hover { color: #111; }
.b-clear { padding: 0 8px; }
.b-clear[hidden], .b-q-hint[hidden] { display: none; }
.b-clear svg { width: 16px; height: 16px; }
.b-quarters { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.b-q-hint { margin: 0 0 0 6px; }
.b-quarters[hidden] { display: none; }
.b-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b-chip { cursor: pointer; }
.b-chip input { position: absolute; opacity: 0; pointer-events: none; }
.b-chip > span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.b-chip input:checked + span { background: rgba(244,182,63,.14); border-color: var(--gold); color: var(--gold); }
.b-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.b-note { width: 100%; background: #101010; border: 1px solid #333; border-radius: 12px; color: var(--text); padding: 10px 12px; font: inherit; resize: vertical; }
.b-summary h3 { margin-bottom: 8px; }
.b-summary ul { list-style: none; padding: 0; margin: 0; }
.b-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.b-missing { color: var(--danger); font-weight: 600; }
.b-bar {
  position: fixed; inset: auto 0 0 0; z-index: 45; display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(12px, 4vw, 48px) max(10px, env(safe-area-inset-bottom)); background: rgba(14,14,14,.97);
  border-top: 2px solid var(--gold); backdrop-filter: blur(8px);
}
.b-mini svg { display: block; }
.b-total { display: grid; line-height: 1.15; margin-inline-end: auto; }
.b-total strong { font-family: var(--head); font-size: 1.6rem; color: var(--gold); white-space: nowrap; }
.b-total small { color: var(--muted); }
.b-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.b-qty button { width: 40px; height: 40px; background: var(--card-2); border: 0; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.b-qty output { min-width: 32px; text-align: center; font-weight: 700; }
.b-bar .btn.disabled { opacity: .5; }
body.has-bar .site-footer { padding-bottom: 150px; }
body.has-bar .wa-float { bottom: 92px; }
@media (max-width: 600px) {
  .b-top { grid-template-columns: 1fr; }
  .b-seg { display: grid; grid-template-columns: repeat(4, 1fr) auto; }
  .b-place { justify-content: center; padding: 0 4px; gap: 3px; }
  .b-place span { font-size: .78rem; }
  .b-pizza-wrap { flex-direction: column; }
  .b-bar .btn-wa span { display: none; }
  .b-bar [data-add] span { font-size: .9rem; }
  .b-bar [data-add] { padding: 0 12px; gap: 6px; }
  .b-bar .btn { padding: 0 14px; }
}

/* ---------- cart & checkout ---------- */
.cart-link { position: relative; }
.cart-count { position: absolute; top: -6px; left: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #111; font-size: .78rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.cart-count[hidden] { display: none; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 24px; align-items: start; padding: 24px 0 48px; }
.co-grid .panel { margin-top: 0; margin-bottom: 18px; }
.co-side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .co-grid { grid-template-columns: 1fr; } .co-side { position: static; } }
.c-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-item:last-child { border-bottom: 0; }
.c-item h3 { margin: 0; font-size: 1.05rem; }
.c-item ul { list-style: none; padding: 0; margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.c-item .c-actions { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; }
.c-item .c-err { color: var(--danger); grid-column: 1 / -1; font-weight: 600; }
.c-link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.f-grid .wide { grid-column: 1 / -1; }
.f-field { display: grid; gap: 6px; }
.f-field > span { font-weight: 600; font-size: .92rem; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid #3a3a3a; background: #101010; color: var(--text); font: inherit;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(244,182,63,.2); }
.f-field input[type=tel] { direction: ltr; text-align: right; }
.f-field.invalid input, .f-field.invalid select { border-color: var(--danger); }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--head); font-weight: 800; font-size: 1.35rem; }
.sum-row.total span:last-child { color: var(--gold); }
.co-errors { background: rgba(255,107,91,.1); border: 1px solid rgba(255,107,91,.5); color: #ffd2cc; border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.co-errors ul { margin: 6px 0 0; padding-inline-start: 20px; }
.secure-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .85rem; margin-top: 10px; }
.status-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.status-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.status-steps li .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #444; flex: none; }
.status-steps li.done { color: var(--text); }
.status-steps li.done .dot { background: var(--gold); border-color: var(--gold); }
.status-steps li.current { color: var(--gold); font-weight: 800; }
.status-steps li.current .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(244,182,63,.25); }

/* ---------- add to home screen ---------- */
.nav-install[hidden], [data-install][hidden] { display: none !important; }
@media (min-width: 861px) { .nav-install { display: none !important; } }
.install-steps { margin: 6px 0 0; padding-inline-start: 22px; display: grid; gap: 10px; font-size: 1.05rem; line-height: 1.5; }
.install-bar { position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #161616; border: 1px solid var(--gold); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.install-bar img { border-radius: 10px; flex: none; }
.install-bar span { display: grid; flex: 1; line-height: 1.25; }
.install-bar small { color: var(--muted); }
.install-x { background: none; border: 0; color: var(--muted); font-size: 1.2rem; width: 40px; height: 40px; }
body.has-install-bar .wa-float { bottom: 96px; }
body.has-install-bar .b-bar ~ .install-bar, body:has(.b-bar) .install-bar { bottom: calc(96px + env(safe-area-inset-bottom)); }

.legal .credit a { color: var(--gold); font-weight: 700; }

/* ---------- hot promo popup ---------- */
dialog.hot-dialog { width: min(440px, calc(100% - 28px)); max-height: 86vh; overflow: auto; padding: 0 0 18px; }
.hot-dialog > :not(.hot-img):not(.dialog-close):not(.hot-tag) { margin-inline: 20px; }
.hot-dialog .dialog-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; background: rgba(0,0,0,.65); width: 48px; height: 48px; }
.hot-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px 22px 0 0; margin-bottom: 14px; }
.hot-tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: var(--gold); color: #111; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.hot-dialog h2 { font-size: 1.5rem; }
.hot-price { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--gold); margin: 4px 0; }
.hot-until { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.hot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hot-actions .btn { flex: 1 1 160px; }

/* ---------- upsell window (before payment) ---------- */
dialog.upsell-dialog { width: min(640px, calc(100% - 24px)); max-height: 90vh; overflow: auto; }
.up-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.up-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.up-card .ph, .up-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.up-card .ph { display: grid; place-items: center; background: #151515; color: var(--gold); }
.up-card .ph svg { width: 40px; height: 40px; }
.up-card .up-body { padding: 10px 12px 4px; }
.up-card h3 { font-size: 1rem; margin: 0 0 4px; }
.up-card .up-price strong { color: var(--gold); font-size: 1.1rem; }
.up-card .up-price s { color: var(--muted); margin-inline-start: 6px; font-size: .85rem; unicode-bidi: isolate; }
.up-card .btn { margin: 8px 12px 12px; min-height: 44px; }
.up-card .btn.added { background: #1f3b2a; color: #9ff0be; border-color: #2f6d47; }
.up-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.up-foot .total { font-family: var(--head); font-weight: 800; font-size: 1.25rem; }
.up-foot .total span { color: var(--gold); }

/* ---------- club ---------- */
.club-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1.05rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- date fields: calendar opens on any tap, icon visible on the dark theme ---------- */
input[type="date"], input[type="datetime-local"], input[type="time"] { color-scheme: dark; cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: 1; filter: invert(78%) sepia(60%) saturate(600%) hue-rotate(350deg); width: 22px; height: 22px;
}

/* ---------- deal builder ---------- */
#deal-root { margin-top: 26px; scroll-margin-top: calc(var(--header-h) + 10px); }
.deal-steps { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.deal-steps button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #3a3a3a; background: #141414; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.deal-steps button:disabled { opacity: .5; cursor: default; }
.deal-steps li.on button { background: var(--gold); color: #111; border-color: var(--gold); }
.deal-steps li.done button { color: var(--text); border-color: var(--gold); }
.deal-unit { font-size: 1.4rem; margin: 6px 0 10px; }
.deal-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 12px 0; }
.deal-choice { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 10px; border: 2px solid #2e2e2e; border-radius: 16px; background: #141414; cursor: pointer; font-weight: 700; }
.deal-choice input { position: absolute; opacity: 0; pointer-events: none; }
.deal-choice img, .deal-choice .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: grid; place-items: center; background: #1b1b1b; color: var(--gold); }
.deal-choice .ph svg { width: 44px; height: 44px; }
.deal-choice:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,182,63,.2); }
.deal-choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.deal-done { font-size: 1.15rem; font-weight: 700; color: #9ff0be; }
.deal .builder.panel { margin-top: 14px; padding: 0; border: 0; background: none; box-shadow: none; }
.deal-bar [data-back][hidden] { display: none; }

/* ---------- punch card ---------- */
.pc-head { display: flex; gap: 14px; align-items: center; }
.pc-head img { border-radius: 14px; }
.pc-head h1 { font-size: clamp(1.4rem, 5vw, 2rem); margin: 0; }
.pc-head p { margin: 4px 0 0; }
.pc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 20px 0 8px; }
.pc-dot { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #4a4a4a; display: grid; place-items: center; color: #5c5c5c; font-weight: 800; font-size: 1.1rem; background: #121212; }
.pc-dot.on { border: 2px solid var(--gold); background: radial-gradient(circle, #3a2a0a, #1b1408); }
.pc-dot svg { width: 64%; height: 64%; }
.pc-left { text-align: center; font-size: 1.1rem; margin: 6px 0; }
.pc-left strong { color: var(--gold); font-size: 1.35rem; }
.pc-gift { text-align: center; font-size: 1.3rem; font-weight: 800; background: linear-gradient(135deg, #ffd36b, #f4b63f 55%, #d99a1e); color: #111; border-radius: 14px; padding: 12px; margin: 10px 0; }
.pc-qr { display: grid; justify-items: center; gap: 6px; margin-top: 14px; text-align: center; }
.pc-qr p { margin: 0; color: var(--muted); }
.pc-hist { list-style: none; padding: 0; margin: 0; }
.pc-hist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pc-hist time { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.pc-staff { border-color: var(--gold); }
.pc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin: 12px 0; }
.pc-big { min-height: 64px; font-size: 1.15rem; }
.pc-redeem { background: #1f3b2a; color: #b8f5cf; border: 1px solid #2f6d47; }
.pc-mini .pc-grid { gap: 6px; margin: 4px 0; }
/* register screen */
.reg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.reg-top h1 { font-size: 1.3rem; margin: 0; margin-inline-end: auto; }
.reg-top img { border-radius: 10px; }
.reg-scan { width: 100%; min-height: 76px; font-size: 1.35rem; margin-bottom: 14px; }
.reg-find { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.reg-new summary { cursor: pointer; padding: 4px 0; }
.reg-new form { margin-top: 12px; }
.reg-cam { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; text-align: center; }
.reg-cam video { width: min(92vw, 460px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 3px solid var(--gold); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-inline: 52px !important; unicode-bidi: plaintext; }
.pw-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #bdbdbd; cursor: pointer; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: #f4b63f; }

/* punch card: "save to home screen" button with the card icon; hidden when already opened from the home screen */
.pc-save { text-align: center; margin: 18px 0 8px; }
.pc-save .btn { display: inline-flex; align-items: center; gap: 10px; }
.pc-save img { border-radius: 8px; }
@media (display-mode: standalone) { .pc-save { display: none; } }

/* ---------- welcome window: delivery or pickup ---------- */
.btn-link { background: none; border: 0; color: var(--gold); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 4px; min-height: 44px; }
dialog.welcome-dialog { width: min(460px, calc(100% - 28px)); max-height: 90vh; overflow: auto; text-align: center; }
.welcome-dialog h2 { font-size: 1.5rem; margin: 6px 40px 6px; }
.welcome-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.welcome-choice { display: grid; gap: 4px; justify-items: center; padding: 20px 12px; border-radius: 18px; border: 2px solid var(--line); background: var(--card); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.welcome-choice:hover, .welcome-choice:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.welcome-choice .w-ico { font-size: 2.4rem; line-height: 1; }
.welcome-choice strong { font-size: 1.25rem; }
.welcome-choice small { color: var(--muted); font-size: .85rem; }
.welcome-form { display: grid; gap: 10px; text-align: start; margin-top: 14px; }
.welcome-form .f-field { display: grid; gap: 4px; }
.welcome-form .f-field span { font-weight: 700; font-size: .92rem; }
.welcome-form input, .welcome-form select { width: 100%; }
.welcome-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
.welcome-zone { color: var(--gold); font-weight: 700; margin: 0; min-height: 1.4em; }
.welcome-err { color: var(--danger, #ff6b6b); margin: 0; font-weight: 700; }
.mode-bar { background: #151515; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mode-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 4px 10px; flex-wrap: wrap; padding-block: 2px; }
.mode-bar .btn-link { min-height: 36px; padding: 4px; }

/* register: club members found by name / phone / email */
.reg-members h2 { font-size: 1.1rem; margin: 0 0 10px; }
.reg-members ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reg-members li { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card-2); }
.reg-members li > div { flex: 1 1 180px; display: grid; }
.reg-members small { color: var(--muted); text-align: start; }
.reg-members .m-phone { width: 150px; }
