/* Tablet-first catalog. Portrait moves navigation, not the guest's order. */
:root { --bg:#10100f; --panel:#1c1c1a; --ink:#f8f5ef; --muted:#b2afa6; --red:#df2837; --serif:Georgia,"Times New Roman",serif; }
body { background:var(--bg); }
.topbar { height:92px; padding:0 32px; display:flex; gap:24px; background:#121211; border-bottom:1px solid #30302b; }
.brand { order:-1; align-items:flex-start; min-width:190px; }
.brand-name { font-family:"Segoe UI",sans-serif; color:#f1434e; font-weight:800; font-size:30px; }
.brand-sub { color:#c3beb4; letter-spacing:.22em; }
.tb-left { flex:1; }
.tb-right { gap:18px; }
.status-pill { display:none; }
.lang-sep { display:none; }
.lang-btn { min-width:48px; min-height:48px; font-size:12px; padding:10px; }
.demo-label { color:#c3beb4; letter-spacing:.06em; white-space:nowrap; }
.header-cart { min-height:56px; padding:10px 18px; display:flex; align-items:center; gap:12px; background:var(--red); border-radius:12px; font-size:15px; font-weight:650; white-space:nowrap; }
.header-cart #cartTotal { border-left:1px solid #ffffff50; padding-left:12px; font-variant-numeric:tabular-nums; }
.header-cart .badge { background:#fff; color:#ad1522; box-shadow:none; }
.category-rail { position:fixed; top:92px; bottom:0; left:0; width:228px; padding:30px 18px; border-right:1px solid #30302b; background:#151513; overflow:auto; z-index:30; }
.rail-home { font-size:13px; text-transform:uppercase; letter-spacing:.17em; color:#c4bfb4; text-align:left; padding:0 16px 18px; min-height:48px; }
#categoryNav { display:flex; flex-direction:column; gap:7px; }
.rail-category { min-height:56px; padding:14px 16px; text-align:left; font-size:16px; line-height:1.35; color:#c4c0b7; border-radius:10px; }
.rail-category:hover { background:#24241f; color:#fff; }
.rail-category.active { background:#df2837; color:#fff; font-weight:650; }
.rail-note { border-top:1px solid #34342e; margin:30px 16px 0; padding-top:24px; font-size:10px; line-height:2; letter-spacing:.15em; color:#c4bfb4; }
.rail-note span { color:#9a978f; }
main { max-width:none; margin:0 0 0 228px; padding:124px 32px 40px; }
.hero { border-radius:16px; min-height:220px; margin-bottom:26px; background:linear-gradient(90deg,#080808dd,#08080810),url('../img/burger-cheese-hero.jpg') center 48%/cover; }
.hero-inner { padding:48px 32px; }
.hero-title { font-family:var(--serif); font-size:38px; font-weight:400; line-height:1.15; }
.hero-sub { font-size:16px; line-height:1.6; color:#e0dcd3; }
.cats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cat-card { background:#1d1d19; border-color:#34342f; border-radius:14px; }
.cat-media { aspect-ratio:1.7; }
.cat-media::after { background:linear-gradient(transparent 40%,#0006); }
.cat-name { font-family:"Segoe UI",sans-serif; font-size:16px; font-weight:650; letter-spacing:0; text-transform:none; }
.cat-body { padding:18px; }
.cat-count { display:block; font-size:11px; letter-spacing:0; margin-bottom:8px; color:#aaa69b; }
.cat-name { padding-right:28px; }
.cat-head { margin-bottom:22px; padding:0; }
.view-title { font-family:var(--serif); font-size:34px; font-weight:400; }
.filters { margin-bottom:24px; gap:10px; }
.pill { min-height:48px; font-size:12px; letter-spacing:.08em; border-radius:9px; padding:12px 20px; }
.dishes { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dish-card { border:1px solid #34342f; border-radius:14px; background:#1c1c19; }
.dish-media { aspect-ratio:1.45; }
.dish-body { padding:18px; gap:10px; }
.dish-name { font-family:"Segoe UI",sans-serif; font-size:18px; font-weight:650; }
.dish-desc { font-size:14px; line-height:1.6; color:#bdb9af; }
.dish-price { font-family:"Segoe UI",sans-serif; font-weight:700; font-size:22px; padding:9px 14px; background:#141411ed; }
.dish-price small { font-size:11px; color:#d7d2c7; }
.dish-info { letter-spacing:0; color:#b6b1a6; font-size:12px; }
.add-circle { min-width:52px; width:52px; height:52px; flex-basis:52px; }
button, [role=button] { touch-action:manipulation; }
button:focus-visible, [role=button]:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.stepper button { width:52px; height:52px; }
.modal-close { width:52px; height:52px; background:#171714df; color:#fff; }
.btn-accent,.btn-ghost { min-height:56px; font-size:13px; letter-spacing:.1em; }
.modal { padding:28px; }
.dialog { width:min(1120px,100%); grid-template-columns:1.05fr 1fr; max-height:calc(100dvh - 56px); background:#1d1d19; border-radius:18px; }
.dish-modal-info { padding:64px 32px 32px; gap:20px; }
.dish-modal-info h2 { font-family:var(--serif); font-weight:400; font-size:36px; }
.dish-modal-desc { font-size:17px; line-height:1.7; }
.dish-modal-media-col { min-height:510px; }
.dish-modal-buy .price { font-family:"Segoe UI",sans-serif; font-size:30px; }
.dish-modal-buy { justify-content:space-between; }
.dish-modal-buy .btn-accent { flex-basis:100%; }
.thumb { width:76px; height:76px; flex-basis:76px; }
.dialog-done { display:block; width:min(600px,100%); }
.cart-wrap { grid-template-columns:minmax(0,1fr) 310px; gap:24px; }
.cart-row { grid-template-columns:72px minmax(0,1fr); gap:14px; padding:20px; }
.cart-thumb { width:72px; height:72px; }
.cart-right { grid-column:2; justify-content:space-between; flex-wrap:wrap; }
.cart-name { font-family:"Segoe UI",sans-serif; font-size:18px; }
.cart-desc { font-size:14px; }
.cart-remove { width:48px; height:48px; }
.summary { top:120px; }
.toast { bottom:28px; font-size:15px; }
@media (orientation:portrait), (max-width:900px) {
  .topbar { height:96px; padding:0 24px; gap:14px; }
  .brand { min-width:150px; }
  .brand-name { font-size:25px; }
  .tb-left { display:none; }
  .tb-right { flex:1; justify-content:flex-end; gap:12px; flex-direction:row; align-items:center; }
  .demo-label { display:none; }
  .category-rail { top:96px; width:100%; height:80px; bottom:auto; padding:14px 20px; border-right:0; border-bottom:1px solid #34342e; display:flex; gap:12px; overflow-x:auto; }
  .rail-home { padding:0 16px; white-space:nowrap; border:1px solid #48483e; border-radius:10px; min-height:48px; }
  #categoryNav { flex-direction:row; gap:8px; flex-shrink:0; }
  .category-rail { overflow-y:hidden; }
  .rail-home, .rail-category { flex-shrink:0; }
  .rail-category { height:48px; }
  .rail-category { min-height:48px; white-space:nowrap; padding:12px 18px; font-size:15px; }
  .rail-note { display:none; }
  main { margin:0; padding:204px 24px 32px; }
  .cats,.dishes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .cat-media { aspect-ratio:1.65; }
  .cat-name { font-size:19px; }
  .hero-inner { padding:48px 32px; }
  .dialog { grid-template-columns:1fr; width:min(700px,100%); }
  .dish-modal-media-col { min-height:340px; }
  .dish-modal-media { min-height:300px; }
  .dish-modal-info { padding:32px; }
  .cart-wrap { grid-template-columns:1fr; }
  .summary { position:static; }
}
@media (max-width:600px) {
  .topbar { padding:12px 16px; height:112px; flex-wrap:wrap; gap:8px; }
  .brand { min-width:0; }
  .brand-name { font-size:22px; }
  .brand-sub { font-size:8px; }
  .tb-right { gap:8px; }
  .langs { position:absolute; top:66px; left:12px; }
  .lang-btn { min-width:48px; min-height:44px; }
  .header-cart { font-size:12px; padding:12px; gap:6px; }
  .header-cart #cartTotal { padding-left:6px; }
  .category-rail { top:112px; }
  main { padding:216px 16px 24px; }
  .hero-inner { padding:32px 22px; }
  .hero-title { font-size:28px; }
  .cats,.dishes { gap:12px; }
  .cat-name { font-size:15px; }
  .cat-body,.dish-body { padding:14px; }
  .dish-name { font-size:16px; }
  .dish-price { font-size:18px; }
  .dish-info { font-size:10px; }
  .dialog { max-height:94dvh; }
  .modal { padding:12px; }
}
@media (max-width:360px) { .dishes { grid-template-columns:1fr; } }
