:root{--red:#b5121b;--red-dark:#7e0d13;--cream:#f6f0e4;--paper:#fffdf8;--ink:#171515;--muted:#6f6963;--line:#ded6ca;--green:#1f8f4e;--shadow:0 22px 60px rgba(32,18,12,.18)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,system-ui,sans-serif;line-height:1.45}button,input,textarea{font:inherit}button,a{tap-highlight-color:transparent}.topbar{height:76px;padding:0 max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(246,240,228,.94);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(126,13,19,.1)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;font-family:'Archivo Black';font-size:25px;transform:rotate(-3deg)}.brand b{display:block;font-family:'Archivo Black';font-size:20px;letter-spacing:-.5px;line-height:1}.brand small{display:block;color:var(--red);font-size:10px;font-weight:800;letter-spacing:2.6px;margin-top:4px}.cart-button{border:0;background:var(--ink);color:#fff;border-radius:999px;padding:10px 13px;display:flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}.cart-button svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}.cart-button strong{width:24px;height:24px;border-radius:50%;background:var(--red);display:grid;place-items:center;font-size:12px}.hero{max-width:1180px;height:570px;margin:24px auto 0;position:relative;overflow:hidden;border-radius:34px;background:#40100e}.hero img{width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,8,7,.88) 0%,rgba(12,8,7,.62) 42%,rgba(12,8,7,.05) 78%)}.hero-copy{position:absolute;left:clamp(26px,6vw,76px);top:50%;transform:translateY(-50%);max-width:560px;color:#fff}.eyebrow,.section-kicker{font-size:12px;letter-spacing:2.5px;font-weight:800;color:var(--red)}.hero .eyebrow{color:#ffbbb8}.hero h1{font-family:'Archivo Black';font-size:clamp(42px,6vw,76px);line-height:.96;letter-spacing:-3px;margin:16px 0 20px;text-transform:uppercase}.hero h1 em{font-style:normal;color:#ffcc82}.hero p{font-size:18px;max-width:470px;margin:0 0 30px;color:#f3eae3}.primary-link{display:inline-flex;gap:16px;align-items:center;color:#fff;background:var(--red);padding:16px 21px;border-radius:12px;text-decoration:none;font-weight:800}.primary-link span{font-size:22px}.ordering-mode,.menu-section,.how-it-works{max-width:1180px;margin:0 auto}.ordering-mode{display:flex;align-items:end;justify-content:space-between;gap:36px;padding:68px 0 44px}.ordering-mode h2,.section-head h2,.how-it-works h2,.drawer-head h2{font-family:'Archivo Black';font-size:clamp(30px,4vw,48px);line-height:1.05;margin:8px 0 0;letter-spacing:-1.5px}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:520px}.mode-option{display:flex;align-items:center;gap:12px;border:2px solid var(--line);background:rgba(255,255,255,.55);padding:16px;border-radius:17px;text-align:left;cursor:pointer;color:var(--ink)}.mode-option.active{border-color:var(--red);background:#fff;box-shadow:0 10px 30px rgba(181,18,27,.11)}.mode-icon{width:43px;height:43px;border-radius:12px;background:var(--cream);display:grid;place-items:center;font-size:23px;font-weight:800}.mode-option.active .mode-icon{background:var(--red);color:#fff}.mode-option b,.mode-option small{display:block}.mode-option small{color:var(--muted);margin-top:2px}.menu-section{padding:54px;border-radius:34px;background:var(--paper);box-shadow:0 8px 30px rgba(50,30,20,.06)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-head p{max-width:350px;color:var(--muted);margin:0}.category-tabs{display:flex;gap:8px;overflow:auto;padding:28px 0 24px;scrollbar-width:none}.category-tabs button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:11px 18px;font-weight:700;color:var(--muted);cursor:pointer}.category-tabs button.active{background:var(--ink);border-color:var(--ink);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{min-height:215px;border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;background:#fff;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(43,23,15,.09)}.product-card.featured{grid-column:span 2;background:linear-gradient(105deg,rgba(20,14,12,.92),rgba(20,14,12,.45)),url('./assets/pizza-ponzio.png') center/cover;color:#fff;border:0}.product-card .tag{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:1.5px;color:var(--red);background:#fae8e7;padding:6px 9px;border-radius:99px}.product-card.featured .tag{color:#fff;background:var(--red)}.product-card h3{font-size:21px;line-height:1.15;margin:16px 0 7px}.product-card p{font-size:14px;color:var(--muted);margin:0 0 18px}.product-card.featured p{color:#eee}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.product-price{font-size:21px;font-weight:800}.add-button{border:0;border-radius:12px;background:var(--red);color:#fff;width:42px;height:42px;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 7px 16px rgba(181,18,27,.22)}.how-it-works{padding:70px 0 120px}.how-it-works ol{list-style:none;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.how-it-works li{display:flex;gap:16px;align-items:center;background:#ece2d3;border-radius:17px;padding:20px}.how-it-works li>strong{font-family:'Archivo Black';font-size:32px;color:var(--red)}.how-it-works b,.how-it-works small{display:block}.how-it-works small{color:var(--muted);margin-top:2px}.drawer-backdrop{position:fixed;inset:0;background:rgba(15,10,9,.48);backdrop-filter:blur(3px);z-index:39}.cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(480px,100%);background:var(--paper);z-index:40;padding:28px;transform:translateX(105%);transition:transform .3s ease;overflow:auto;box-shadow:var(--shadow)}.cart-drawer.open{transform:translateX(0)}.drawer-head{display:flex;align-items:start;justify-content:space-between;gap:24px}.drawer-head h2{font-size:36px}.close-button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:28px;line-height:1;cursor:pointer}.selected-mode{margin:24px 0;padding:14px 16px;background:#f2e9dc;border-radius:13px;display:flex;justify-content:space-between;gap:16px}.selected-mode span{color:var(--muted)}.cart-item{display:grid;grid-template-columns:1fr auto;gap:12px;border-bottom:1px solid var(--line);padding:16px 0}.cart-item h3{font-size:16px;margin:0 0 4px}.cart-item p{margin:0;color:var(--muted);font-size:14px}.qty-control{display:flex;align-items:center;gap:10px}.qty-control button{width:31px;height:31px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}.empty-cart{text-align:center;padding:50px 20px}.empty-cart span{font-size:56px}.empty-cart h3{margin:12px 0 6px}.empty-cart p{color:var(--muted);margin:0}.cart-summary{margin-top:20px}.cart-summary>div{display:flex;justify-content:space-between;font-size:20px}.cart-summary p{color:var(--muted);font-size:13px}.checkout-button,.whatsapp-button{width:100%;border:0;border-radius:14px;padding:16px;color:#fff;font-weight:800;cursor:pointer}.checkout-button{background:var(--red)}.checkout-modal{width:min(580px,calc(100% - 24px));max-height:92vh;border:0;border-radius:24px;padding:0;background:var(--paper);box-shadow:var(--shadow)}.checkout-modal::backdrop{background:rgba(15,10,9,.66);backdrop-filter:blur(4px)}.checkout-modal form{padding:28px;overflow:auto}.checkout-mode-note{margin:20px 0;padding:12px 14px;background:#f2e9dc;border-radius:12px}.checkout-modal label:not(.pay-option){display:block;font-weight:700;margin:15px 0}.checkout-modal input,.checkout-modal textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px 14px;color:var(--ink)}.checkout-modal input:focus,.checkout-modal textarea:focus{outline:3px solid rgba(181,18,27,.15);border-color:var(--red)}fieldset{border:1px solid var(--line);border-radius:14px;margin:16px 0;padding:14px}legend{font-weight:700;padding:0 5px}.pay-option{display:inline-flex;align-items:center;gap:7px;margin-right:20px}.form-error{min-height:20px;color:var(--red);font-size:14px}.whatsapp-button{background:var(--green);display:flex;align-items:center;justify-content:center;gap:10px}.whatsapp-button svg{width:23px;fill:#fff}.mobile-cart-bar{display:none}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;z-index:80;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.topbar{padding:0 18px}.hero{margin:0;border-radius:0;height:540px}.hero-copy{left:24px;right:24px;top:auto;bottom:42px;transform:none}.hero-shade{background:linear-gradient(0deg,rgba(12,8,7,.92),rgba(12,8,7,.1) 90%)}.ordering-mode,.how-it-works{padding-left:18px;padding-right:18px}.ordering-mode{align-items:stretch;flex-direction:column}.mode-switch{min-width:0}.menu-section{border-radius:26px 26px 0 0;padding:34px 18px}.product-grid{grid-template-columns:repeat(2,1fr)}.how-it-works ol{grid-template-columns:1fr}.cart-button span{display:none}}
@media(max-width:600px){body{padding-bottom:80px}.topbar{height:68px}.brand-mark{width:38px;height:38px}.hero{height:500px}.hero h1{letter-spacing:-2px}.hero p{font-size:16px}.ordering-mode{padding-top:42px;padding-bottom:34px}.mode-switch{grid-template-columns:1fr 1fr}.mode-option{padding:12px 10px;gap:8px}.mode-icon{width:36px;height:36px}.mode-option small{font-size:11px}.section-head{display:block}.section-head p{margin-top:12px}.product-grid{grid-template-columns:1fr}.product-card.featured{grid-column:auto;min-height:290px}.mobile-cart-bar{position:fixed;left:10px;right:10px;bottom:10px;z-index:30;background:var(--ink);color:#fff;border-radius:17px;padding:10px 12px 10px 16px;align-items:center;justify-content:space-between;box-shadow:0 14px 38px rgba(0,0,0,.3)}.mobile-cart-bar[hidden]{display:none}.mobile-cart-bar:not([hidden]){display:flex}.mobile-cart-bar small,.mobile-cart-bar strong{display:block}.mobile-cart-bar small{color:#d7d0ca;font-size:11px}.mobile-cart-bar button{border:0;border-radius:12px;background:var(--red);color:#fff;font-weight:800;padding:12px 16px}.how-it-works{padding-bottom:55px}.cart-drawer{padding:22px}.checkout-modal form{padding:21px}}
.product-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.product-options button{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700;cursor:pointer}.product-options button:hover{border-color:var(--red);color:var(--red)}.product-card.featured .product-options button{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.94)}.product-options button b{font-size:13px;color:var(--red)}
.cart-summary .delivery-cost{color:var(--muted);font-size:16px;padding-top:8px}.cart-summary .order-total{font-size:22px;border-top:1px solid var(--line);margin-top:8px;padding-top:14px}
.checkout-modal .pay-option{display:flex;align-items:center;gap:10px;margin:10px 0;padding:11px 12px;background:#fff;border:1px solid var(--line);border-radius:11px;cursor:pointer}.checkout-modal .pay-option input[type="radio"]{display:inline-block;width:20px;height:20px;min-width:20px;margin:0;padding:0;accent-color:var(--red)}

/* Mobile checkout: keep the form scrollable and the final action reachable. */
.checkout-modal{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}
.checkout-modal form{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.checkout-modal .whatsapp-button{position:sticky;bottom:0;z-index:2;box-shadow:0 -10px 20px var(--paper),0 8px 18px rgba(31,143,78,.25);text-decoration:none}
@media(max-width:600px){.checkout-modal{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}.checkout-modal form{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);padding-bottom:calc(21px + env(safe-area-inset-bottom))}}
