/* =========================================================
   Pizzeria Italia da Francesco – design + zamówienia online
   ========================================================= */
:root {
  /* design */
  --cream: #f8f1e5;
  --paper: #fffaf2;
  --ink: #231a15;
  --muted: #6d5d52;
  --tomato: #c8321f;
  --tomato-dark: #a12515;
  --basil: #2f5d3a;
  --crust: #d9a15b;
  --line: #e6d8c3;
  --radius: 18px;
  --wrap: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* aliasy używane przez moduł zamówień */
  --accent: var(--tomato);
  --bg: var(--cream);
  --surface: var(--paper);
  --ok: #2e7d4a;
  --err: #b3261e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tomato);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.flag { display: inline-flex; height: 6px; border: 1px solid var(--line); width: 54px; border-radius: 2px; overflow: hidden; }
.flag i { flex: 1; } .flag i:nth-child(1){background:var(--basil)} .flag i:nth-child(2){background:#fff} .flag i:nth-child(3){background:var(--tomato)}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--tomato); color: #fff;
  font: 700 16px var(--sans); text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--tomato-dark); }
.btn-primary { background: var(--tomato); color: #fff; box-shadow: 0 8px 24px -10px rgba(200,50,31,.7); }
.btn-primary:hover { background: var(--tomato-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.link-btn { border: 0; background: none; color: var(--tomato); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; align-self: flex-start; }

/* ---------- nagłówek ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,241,229,.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
header.site.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--tomato); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 22px;
}
.logo-text { line-height: 1.05; }
.logo-text strong { display: block; font-family: var(--serif); font-size: 19px; }
.logo-text span { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--tomato); }
.nav-links .btn { padding: 10px 18px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--tomato); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero .notice { max-width: 520px; margin: -12px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: 14px; color: var(--muted); }
.hero-meta strong { display: block; font-size: 16px; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta strong.status { display: flex; }
.status .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #9a8f86; }
.status.open .dot { background: #2e9e4f; box-shadow: 0 0 0 4px rgba(46,158,79,.18); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-art .board {
  position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7c49a, #c8955f 70%);
  box-shadow: 0 40px 80px -30px rgba(80,40,10,.5);
}
.hero-art .pizza { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(60,30,10,.35)); animation: spin 90s linear infinite; }
.hero-art .badge {
  position: absolute; right: -2%; top: 6%;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--basil); color: #fff; text-align: center;
  display: grid; place-content: center; line-height: 1.1;
  transform: rotate(10deg);
  box-shadow: 0 16px 30px -14px rgba(0,0,0,.45);
}
.hero-art .badge strong { font-family: var(--serif); font-size: 30px; display: block; }
.hero-art .badge span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sekcje ---------- */
.sec { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

.about { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about-text p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--tomato); margin-bottom: 16px; border: 1px solid var(--line); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- status zamówień + ogłoszenie ---------- */
.section-head p.open-state { margin: 22px 0 0; font-size: 14px; }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.open-state::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-state.is-open { background: #e3f1e7; color: var(--ok); }
.open-state.is-closed { background: #f7e4e0; color: var(--err); }
.notice { padding: 12px 16px; background: #fff1cf; border: 1px solid #f0dca6; border-radius: 12px; font-size: 15px; }

/* ---------- menu (zamówienia online) ---------- */
#menu { background: var(--cream); padding-bottom: 72px; border-top: 1px solid var(--line); }
#menu .section-head { margin-bottom: 28px; }
.cat-nav { position: sticky; top: 72px; z-index: 5; background: rgba(248,241,229,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap.cat-nav-inner { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 7px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; border: 1px solid var(--line); background: var(--paper); transition: border-color .15s, color .15s; }
.cat-nav a:hover { border-color: var(--tomato); color: var(--tomato); }

.wrap.menu { padding-top: 8px; padding-bottom: 24px; }
.cat { scroll-margin-top: 140px; }
.cat h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 44px 0 20px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.item { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .15s, box-shadow .15s; }
.item:hover { border-color: #dcc7a8; box-shadow: 0 10px 28px -18px rgba(80,40,10,.35); }
.item img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; flex: none; }
.item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.item h3 { font-size: 21px; margin: 0 0 6px; }
.desc { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.allergens { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.item-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.add { border: 0; background: var(--tomato); color: #fff; font: 700 14px var(--sans); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: transform .1s, background .2s; }
.add:hover { background: var(--tomato-dark); }
.add:active { transform: scale(.96); }
.add.added { background: var(--ok); }
.variants { margin-top: auto; padding-top: 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.variant { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 12px; white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--cream); color: var(--ink); font: 14px var(--sans); text-align: left; cursor: pointer; transition: border-color .15s, transform .1s; }
.variant span { color: var(--muted); }
.variant b { margin-left: auto; white-space: nowrap; }
.variant i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
button.variant:hover { border-color: var(--tomato); }
button.variant:active { transform: scale(.97); }
.variant.added { border-color: var(--ok); background: #e3f1e7; color: var(--ok); font-weight: 700; justify-content: center; }
.variant.static { cursor: default; }
p.soldout { margin: 6px 0 0; }
.unavailable { opacity: .55; }
.soldout { font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); padding: 32px 0; text-align: center; }

/* ---------- pas zamówień telefonicznych ---------- */
.order { background: var(--tomato); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.order::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.07);
}
.order-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.order h2 { font-size: clamp(32px, 4vw, 48px); }
.order p { margin: 10px 0 0; opacity: .9; font-size: 18px; }
.order .phone-big { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); text-decoration: none; display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--tomato); padding: 14px 28px; border-radius: 999px; transition: transform .15s; }
.order .phone-big:hover { transform: translateY(-2px); }
.order .phone-big svg { width: 28px; height: 28px; }

/* ---------- godziny + kontakt ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.card h3 { font-size: 26px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card h3 .status { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); background: var(--cream); padding: 6px 12px; border-radius: 999px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.today td { color: var(--tomato); }
.hours tr.today td:first-child::after { content: " · dziś"; font-weight: 500; font-size: 14px; }
.hours .closed { color: var(--muted); font-weight: 500; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--tomato); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 14px; }
.contact-list a, .contact-list span.val { font-weight: 700; text-decoration: none; font-size: 18px; }
.contact-list a:hover { color: var(--tomato); }
.pay-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-tags span { font-size: 14px; border: 1px solid var(--line); background: var(--cream); padding: 6px 14px; border-radius: 999px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ---------- stopka ---------- */
footer { background: var(--ink); color: #d8cbbd; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .logo-text strong { color: #fff; }
footer .logo-text span { color: #a8998b; }
footer h4 { color: #fff; font-family: var(--serif); font-size: 18px; margin: 0 0 14px; font-weight: 500; }
footer p { margin: 0 0 6px; }
footer a { text-decoration: none; } footer a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #a8998b; }

/* ---------- przyciski pływające (telefon / koszyk) ---------- */
.call-fab {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10;
  justify-content: center; background: var(--tomato); color: #fff; text-decoration: none;
  padding: 16px; border-radius: 999px; font-weight: 700; gap: 10px; align-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.call-fab svg { width: 20px; height: 20px; }

.cart-fab { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 11; width: min(480px, calc(100% - 32px));
  display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: 700 16px var(--sans); box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); cursor: pointer; }
.cart-fab:hover { background: #000; }
.cart-fab[hidden], body.drawer-open .cart-fab { display: none; }

/* ---------- szuflada koszyka ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(35, 26, 21, .5); z-index: 60; }
.drawer-backdrop[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); z-index: 61;
  transform: translateX(100%); transition: transform .25s ease, visibility .25s; display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.18); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 24px; }
.drawer-body { padding: 16px 22px 24px; overflow-y: auto; flex: 1; }
.drawer-body[hidden] { display: none; }
.icon-btn { border: 0; background: none; font-size: 20px; cursor: pointer; padding: 6px 10px; color: var(--muted); border-radius: 999px; }
.icon-btn:hover { background: var(--cream); color: var(--ink); }

/* ---------- okienko dodatków ---------- */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(35, 26, 21, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); border-radius: var(--radius); width: min(480px, 100%); max-height: min(660px, 100%); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.modal-body { overflow-y: auto; padding: 4px 22px 12px; }
.modal-hint { margin: 12px 0; font-size: 14px; }
.modal-foot { padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.addon-list { display: grid; gap: 6px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; font-size: 15px; }
.addon:has(input:checked) { border-color: var(--tomato); background: #fcefe9; }
.addon input { width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--tomato); flex: none; }
.addon b { margin-left: auto; font-weight: 700; white-space: nowrap; }
.line-addons { color: var(--tomato) !important; }

.cart-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.cart-lines.static li { grid-template-columns: 1fr auto; }
.cart-lines li.empty { display: block; }
.line-name small { display: block; color: var(--muted); font-size: 13.5px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 18px; cursor: pointer; line-height: 1; }
.qty button:hover { border-color: var(--tomato); color: var(--tomato); }
.qty span { min-width: 18px; text-align: center; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: 18px; }
.cart-total b { font-family: var(--serif); font-size: 24px; }

/* ---------- formularze ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form small { font-weight: 400; color: var(--muted); }
.form a, .prose a { color: var(--tomato); }
input, select, textarea { font: 16px var(--sans); padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--tomato); outline-offset: 1px; border-color: transparent; }
.form label.check, .form label.radio { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.check input, .radio input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--tomato); }
fieldset.pay { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.pay legend { font-weight: 700; font-size: 14px; padding: 0 4px; }
.pickup-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-error { margin: 0; padding: 10px 14px; background: #f7e4e0; color: var(--err); border-radius: 12px; font-size: 14px; }
.form-error[hidden] { display: none; }

/* ---------- podstrony: status zamówienia, regulamin ---------- */
.wrap.narrow { max-width: 680px; padding-top: 48px; padding-bottom: 72px; }
.narrow h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 20px; }
.narrow a:not(.btn) { color: var(--tomato); }
.note { padding: 12px 16px; border-radius: 12px; background: #fff1cf; }
.note.ok { background: #e3f1e7; color: var(--ok); font-weight: 700; }
.note.err { background: #f7e4e0; color: var(--err); }
.muted { color: var(--muted); }
.progress { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; counter-reset: s; }
.progress li { position: relative; padding: 0 0 18px 40px; color: var(--muted); counter-increment: s; }
.progress li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.progress li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.progress li.done { color: var(--ink); }
.progress li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.progress li.current { color: var(--ink); font-weight: 700; }
.progress li.current::before { border-color: var(--tomato); color: var(--tomato); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 16px; margin: 24px 0; }
.prose { line-height: 1.7; }

/* ---------- responsywność ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .info-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 72px; }
  .hero-art { max-width: 400px; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 72px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .hero-art { max-width: 260px; }
  .hero-art .badge { width: 88px; height: 88px; right: -6%; }
  .hero-art .badge strong { font-size: 20px; }
  .hero-art .badge span { font-size: 10px; }
  .call-fab { display: flex; }
  .cart-fab:not([hidden]) ~ .call-fab, body.drawer-open .call-fab { display: none; }
  footer { padding-bottom: 100px; }
  .foot-grid { grid-template-columns: 1fr; }
  .order .phone-big { width: 100%; justify-content: center; }
  .cat-nav-inner { justify-content: flex-start; }
  .items { grid-template-columns: 1fr; }
  .item { padding: 16px; }
  .item img { width: 84px; height: 84px; }
}
@media (max-width: 520px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { border-radius: var(--radius) var(--radius) 0 0; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .pizza { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
