:root { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #f7f4ef; background: #090909; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
button:disabled { opacity: .45; cursor: not-allowed; }
[hidden] { display: none !important; }
.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; }
.welcome { min-height: 100svh; position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom)); }
.welcome-art { position: absolute; inset: 0; z-index: -2; }
.welcome-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.welcome::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0003, #090909b5 42%, #090909e8 75%, #090909); }
.welcome-inner { width: min(100%, 660px); text-align: center; }
.welcome-logo { width: clamp(150px, 22vw, 220px); height: auto; border-radius: 50%; filter: drop-shadow(0 6px 16px #000); }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.06; text-transform: uppercase; margin: 12px 0 25px; }
h1 em { color: #ed4334; font-style: normal; }
.restaurant-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.restaurant-list button { min-height: 70px; color: #fff; font-size: clamp(19px, 3vw, 25px); text-transform: uppercase; font-weight: 850; letter-spacing: .03em; background: #15100eef; border: 1px solid #ad372c; border-radius: 13px; box-shadow: 0 8px 25px #0008; }
.restaurant-list button:last-child { grid-column: 1 / -1; }
.restaurant-list button:hover { border-color: #ff6b53; background: #381b16; }
.restaurant-list button::after { content: "  ›"; color: #ed4334; }
.menu-view { padding-bottom: 86px; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 8px max(16px, calc((100vw - 1100px)/2)); border-bottom: 1px solid #44221c; background: #090909f4; backdrop-filter: blur(12px); }
.topbar img { border-radius: 50%; flex: none; }
.icon-button { border: 0; border-radius: 9px; background: #30201c; color: #fff; width: 42px; height: 42px; font-size: 27px; flex: none; }
.store-heading { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.store-heading small { color: #baa9a4; font-size: 10px; letter-spacing: .13em; }
.store-heading strong { font-size: 21px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.cart-top, .call-link { padding: 10px 14px; background: #b9281e; color: #fff; border: 0; border-radius: 10px; text-decoration: none; font-weight: 750; white-space: nowrap; }
.cart-top span { background: #fff; color: #9b1b14; border-radius: 50%; padding: 2px 6px; }
.menu-main { max-width: 1100px; margin: auto; padding: 20px 16px 30px; }
.store-details { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid #43312b; border-radius: 14px; background: #171311; }
.store-details p { color: #d9ccc6; margin: 7px 0 0; font-size: 14px; }
.menu-main h1 { margin: 30px 0 8px; }
.subline, .menu-note { color: #ccbfba; }
.search-label { display: block; font-weight: 700; margin: 24px 0 7px; }
input[type=search], form input:not([type=radio]), textarea { width: 100%; min-height: 46px; background: #211c1a; border: 1px solid #66514a; border-radius: 9px; padding: 10px 13px; color: white; }
.category-nav { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: thin; padding: 19px 0 12px; position: sticky; top: 76px; z-index: 4; background: #090909f5; }
.category-nav a { display: block; flex: none; border: 1px solid #6b3029; border-radius: 99px; padding: 9px 13px; color: white; text-decoration: none; background: #221714; font-size: 14px; font-weight: 700; }
.category-nav a:hover { background: #842b21; }
.category { scroll-margin-top: 140px; }
.category h2 { margin: 26px 0 4px; color: #ff624d; font-size: 28px; }
.category > p { color: #d7c5bd; margin: 0 0 12px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product { display: flex; flex-direction: column; gap: 10px; min-height: 146px; padding: 0 0 16px; overflow: hidden; background: #181412; border: 1px solid #40302a; border-radius: 12px; }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #211a17; }
.product h3, .product p, .product-bottom { margin-left: 16px; margin-right: 16px; }
.product h3 { margin: 0; font-size: 19px; }
.product p { margin: 0; color: #cfc2bd; line-height: 1.35; font-size: 14px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-bottom strong { font-size: 20px; }
.product button { padding: 9px 13px; background: #b9281e; color: white; border: 0; border-radius: 9px; font-weight: 700; }
.cart-bottom { display: none; position: fixed; left: 15px; right: 15px; bottom: max(15px, env(safe-area-inset-bottom)); z-index: 6; min-height: 56px; background: #c42b1e; color: white; border: 0; border-radius: 12px; box-shadow: 0 5px 20px #000b; font-weight: 800; }
.cart-dialog { width: min(100% - 24px, 590px); max-height: min(90dvh, 850px); padding: 20px; color: #fff; background: #171311; border: 1px solid #794136; border-radius: 16px; overflow-y: auto; }
.cart-dialog::backdrop { background: #000c; }
.dialog-head, .cart-line, .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-head h2 { margin: 0; }
#cart-store-label { color: #d4b7aa; }
.cart-line { border-bottom: 1px solid #3b2b26; padding: 12px 0; }
.cart-line strong { display: block; }
.cart-line small { color: #c6b9b4; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 33px; height: 33px; border: 1px solid #864037; border-radius: 7px; background: #2b1916; color: white; }
.qty output { min-width: 20px; text-align: center; }
.total { font-size: 19px; margin: 20px 0; }
fieldset { border: 1px solid #55403a; border-radius: 8px; display: grid; gap: 10px; margin: 0 0 15px; }
legend { font-weight: 700; }
form label:not(fieldset label) { display: block; margin: 13px 0 5px; font-weight: 650; }
.send-order { width: 100%; min-height: 51px; margin-top: 19px; border: 0; border-radius: 10px; background: #25a75b; color: #fff; font-weight: 800; }
.checkout-note { font-size: 13px; line-height: 1.45; color: #d0c0ba; }
@media(max-width:600px) {
  .welcome { place-items: start center; padding-top: max(36px, env(safe-area-inset-top)); }
  .welcome-art img { object-position: center; }
  .welcome::before { background: linear-gradient(#0004, #09090981 26%, #090909e9 59%, #090909); }
  .welcome-logo { width: 160px; }
  .welcome h1 { font-size: 29px; margin: 12px 0 18px; }
  .restaurant-list { grid-template-columns: 1fr; gap: 9px; }
  .restaurant-list button, .restaurant-list button:last-child { min-height: 59px; grid-column: auto; }
  .topbar { padding: 7px 12px; gap: 8px; }
  .topbar img { width: 42px; height: 42px; }
  .store-heading strong { font-size: 17px; }
  .cart-top { display: none; }
  .cart-bottom { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 120px; }
  .store-details { align-items: flex-start; flex-direction: column; }
  .category-nav { top: 65px; }
}
