:root {
    --green: #173c32;
    --green-soft: #e5f0eb;
    --orange: #ef7038;
    --cream: #f5f1e9;
    --ink: #18221e;
    --muted: #6e7974;
    --line: #e2e7e4;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.demo-topbar { min-height: 44px; padding: 8px max(18px, calc((100% - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #dce8e3; background: #0e2a22; font-size: 11px; }
.demo-topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.restaurant-hero { height: 310px; position: relative; overflow: hidden; background: #111; }
.restaurant-cover-image { width: 100%; height: 100%; object-fit: cover; }
.restaurant-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,12,.84), rgba(5,16,12,.35) 60%, rgba(5,16,12,.12)); }
.restaurant-info { width: min(1200px, calc(100% - 36px)); margin: 0 auto; position: absolute; inset: auto 0 34px; display: flex; align-items: center; gap: 18px; color: #fff; }
.restaurant-info > img { width: 92px; height: 92px; border: 4px solid #fff; border-radius: 22px; object-fit: cover; background: #111; }
.open-badge { display: inline-block; margin-bottom: 7px; color: #bfe68e; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.restaurant-info h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 5vw, 48px); font-weight: 500; }
.restaurant-info p { margin: 7px 0 0; color: #d0ddd7; font-size: 13px; }
.menu-shell { width: min(1200px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.menu-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.eyebrow { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.menu-intro h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.03em; }
.search { width: 240px; height: 43px; padding: 0 13px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; font-size: 12px; }
.categories { display: flex; gap: 8px; margin: 27px 0 22px; overflow-x: auto; scrollbar-width: none; }
.categories button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.categories button.active { color: #fff; border-color: var(--green); background: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 25px rgba(25,53,43,.05); }
.product-card[hidden] { display: none; }
.product-image { height: 180px; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-image span { position: absolute; left: 12px; top: 12px; padding: 6px 9px; color: #fff; background: var(--orange); border-radius: 15px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.product-copy { padding: 17px; }
.product-copy small { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-copy h3 { margin: 5px 0 7px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.product-copy p { min-height: 42px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.product-copy > div { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; }
.product-copy strong { color: var(--green); font-size: 16px; }
.add-product { width: 34px; height: 34px; border: 0; border-radius: 10px; color: #fff; background: var(--orange); font-size: 20px; }
.cart { position: sticky; top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 16px 45px rgba(25,53,43,.08); }
.cart-heading { padding: 19px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-heading span, .cart-heading strong { display: block; }
.cart-heading span { font-family: Georgia, serif; font-size: 21px; }
.cart-heading strong { margin-top: 4px; color: var(--muted); font-size: 9px; }
.cart-heading button { display: none; border: 0; background: none; font-size: 27px; }
.cart-empty { padding: 65px 25px; text-align: center; }
.cart-empty > span { width: 45px; height: 45px; margin: 0 auto 13px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; }
.cart-empty strong { display: block; font-size: 13px; }
.cart-empty p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.cart-items { padding: 0 20px; }
.cart-item { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 9px; border-bottom: 1px solid var(--line); }
.cart-item strong, .cart-item small { display: block; }
.cart-item strong { font-size: 11px; }
.cart-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.quantity span { font-size: 10px; font-weight: 800; }
.cart-footer { padding: 18px 20px; }
.cart-footer > div { display: flex; justify-content: space-between; font-size: 13px; }
.cart-footer > div strong { font-size: 18px; }
.cart-footer > button { width: 100%; min-height: 45px; margin-top: 16px; border: 0; border-radius: 10px; color: #fff; background: var(--green); font-size: 11px; font-weight: 800; }
.cart-footer > small { display: block; margin-top: 9px; color: var(--muted); text-align: center; font-size: 8px; }
.mobile-cart { display: none; }
.cart-backdrop { display: none; }
.demo-toast { position: fixed; left: 50%; bottom: 25px; z-index: 50; width: min(420px, calc(100% - 30px)); padding: 19px; border-radius: 14px; color: #fff; background: var(--green); box-shadow: 0 20px 60px rgba(0,0,0,.25); transform: translate(-50%, 150%); transition: transform .25s; }
.demo-toast.show { transform: translate(-50%, 0); }
.demo-toast strong { font-family: Georgia, serif; font-size: 18px; }
.demo-toast p { margin: 7px 0 12px; color: #bed0c8; font-size: 11px; line-height: 1.5; }
.demo-toast button { padding: 8px 13px; border: 0; border-radius: 7px; color: var(--green); background: #cce184; font-size: 10px; font-weight: 800; }
@media (max-width: 880px) {
    .menu-shell { grid-template-columns: 1fr; padding-bottom: 120px; }
    .cart { position: fixed; inset: auto 0 0; z-index: 40; max-height: 82vh; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s; }
    .cart.open { transform: translateY(0); }
    .cart-heading button { display: block; }
    .mobile-cart { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 30; min-height: 55px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 13px; color: #fff; background: var(--green); box-shadow: 0 12px 35px rgba(13,54,41,.25); font-size: 10px; }
    .mobile-cart strong { font-size: 11px; }.mobile-cart i { font-style: normal; }
    .cart-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(8,22,17,.52); }
    .cart-backdrop.show { display: block; }
}
@media (max-width: 600px) {
    .demo-topbar { justify-content: center; }.demo-topbar > span { display: none; }
    .restaurant-hero { height: 280px; }
    .restaurant-info { align-items: flex-end; }.restaurant-info > img { width: 72px; height: 72px; }
    .restaurant-info h1 { font-size: 28px; }.restaurant-info p { font-size: 10px; }
    .menu-intro { align-items: stretch; flex-direction: column; }.search { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }.product-image { height: 210px; }
}

