﻿:root {
  --bg: #050505;
  --panel: #101010;
  --line: rgba(255,255,255,.17);
  --gold: #d49a34;
  --gold-2: #f1bd60;
  --text: #fff;
  --muted: #cfcfcf;
  --danger: #ee2534;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; width: 100%; min-height: 100%; background: var(--bg); color: var(--text); }
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { stroke-linecap: round; stroke-linejoin: round; }
select { color-scheme: dark; background: #171717; color: #fff; }
select option { background: #171717; color: #fff; }
select option:checked { background: #d29a35; color: #fff; }
input[type="file"] { min-height: 64px; padding: 10px 12px !important; color: #d8d8d8; cursor: pointer; }
input[type="file"]::file-selector-button { min-height: 42px; margin-right: 14px; padding: 0 18px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #d29a35, #edbd5c); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(213,154,52,.22); }
input[type="file"]::-webkit-file-upload-button { min-height: 42px; margin-right: 14px; padding: 0 18px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #d29a35, #edbd5c); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(213,154,52,.22); }

.shell-body { height: 100vh; overflow: hidden; background: var(--bg); }
.app-frame { position: fixed; inset: 0; width: 100vw; height: 100vh; border: 0; display: block; background: var(--bg); }
.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 20px;
  right: 20px;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: auto;
  max-width: 1160px;
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 31px;
  background: linear-gradient(180deg, rgba(21,21,21,.94), rgba(12,12,12,.94));
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
}
.nav-item {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 22px;
  color: #f4f4f4;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
}
.nav-item svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.85; fill: none; }
.nav-item span { font-size: 16px; line-height: 1; }
.nav-item.active { color: var(--gold-2); }
.nav-item.logged-in { color: var(--gold-2); }
.nav-item.logged-in span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.nav-item.active::before { content: ""; position: absolute; top: -12px; width: min(92px, 70%); height: 3px; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.nav-item[hidden] { display: none !important; }

.home-body { min-height: 100vh; padding-bottom: 126px; background: var(--bg); }
.hero { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; text-align: center; background: #0b0b0b; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.58)), var(--hero-image, url('https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1800&q=86')); background-size: cover; background-position: center; filter: saturate(1.04) contrast(1.02); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-top { position: absolute; z-index: 3; top: 31px; left: 42px; right: 34px; display: flex; justify-content: space-between; align-items: flex-start; }
.hamburger { width: 58px; height: 45px; display: grid; gap: 9px; padding: 6px 0; border: 0; background: transparent; cursor: pointer; }
.hamburger i { display: block; height: 4px; border-radius: 99px; background: #fff; box-shadow: 0 1px 10px rgba(0,0,0,.45); }
.bell { position: relative; width: 58px; height: 58px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.bell svg { width: 50px; height: 50px; stroke: #fff; stroke-width: 2; fill: none; }
.bell-count { position: absolute; top: -8px; right: -6px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--danger); color: #fff; font-size: 18px; font-weight: 900; }
.bell.has-notification .bell-count { background: var(--gold-2); }
.notification-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.72); }
.notification-modal[hidden] { display: none; }
.notification-box { position: relative; width: min(460px, 100%); padding: 28px; border: 1px solid rgba(241,189,96,.42); border-radius: 18px; background: #111; color: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.55); text-align: left; }
.notification-box h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.notification-box p { margin: 0; color: #e8e8e8; font-size: 20px; line-height: 1.45; }
.notification-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: #fff; font-size: 34px; cursor: pointer; }
.hero-brand { position: relative; z-index: 2; width: min(760px, calc(100% - 34px)); padding: 26px 0 28px; }
.company-logo { width: 156px; height: 156px; margin: 6px auto 10px; object-fit: contain; border-radius: 24px; }
.company-logo[hidden] { display: none; }
.logo-mark { position: relative; width: 184px; height: 34px; margin: 0 auto 5px; color: var(--gold); }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; top: 17px; width: 76px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.logo-mark::before { left: 0; }
.logo-mark::after { right: 0; transform: scaleX(-1); }
.logo-mark svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 50px; height: 32px; fill: var(--gold); stroke: none; }
.brand-small { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 66px); line-height: .95; font-weight: 500; text-shadow: 0 3px 18px rgba(0,0,0,.55); }
.restaurant-label { margin-top: 8px; color: var(--gold-2); letter-spacing: 0; font-size: clamp(32px, 5vw, 44px); line-height: 1; font-weight: 900; }
.welcome { margin-top: 0; color: var(--gold-2); font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(37px, 7vw, 58px); line-height: 1; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(66px, 10vw, 100px); line-height: 1; font-weight: 500; text-shadow: 0 5px 24px rgba(0,0,0,.55); }
.tagline { margin: 14px 0 0; color: #fff; font-size: clamp(20px, 3vw, 29px); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.ornament { margin-top: 17px; color: var(--gold); font-size: 34px; }
.home-wrap { width: min(1180px, calc(100% - 52px)); margin: 0 auto; padding: 34px 0 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 34px; letter-spacing: -.02em; }
.section-head h2::before { content: ""; display: inline-block; width: 6px; height: 30px; margin-right: 16px; border-radius: 99px; background: var(--gold-2); vertical-align: -5px; }
.section-head a { color: #bebebe; font-size: 21px; white-space: nowrap; }
.section-head a b { color: var(--gold-2); font-size: 36px; vertical-align: -4px; margin-left: 8px; }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.post-card { position: relative; min-height: 344px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #151515; box-shadow: 0 16px 42px rgba(0,0,0,.22); }
.post-card.featured { grid-column: 1 / -1; min-height: 386px; }
.post-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.post-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.50), rgba(0,0,0,.08)); }
.post-content { position: relative; z-index: 1; width: min(440px, 92%); padding: 34px; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border: 1px solid rgba(214,160,68,.86); border-radius: 999px; color: var(--gold-2); background: rgba(0,0,0,.20); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.badge svg { width: 17px; height: 17px; fill: var(--gold-2); stroke: none; }
.post-card h3 { margin: 24px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; font-weight: 600; }
.price-text { display: block; margin: 0 0 10px; color: var(--gold-2); font-size: 38px; font-weight: 900; letter-spacing: .02em; }
.post-card p { margin: 0; color: #eee; font-size: 20px; line-height: 1.45; }
.post-date { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); color: #c9c9c9; font-size: 16px; }
.empty-state { grid-column: 1 / -1; padding: 42px; border: 1px solid var(--line); border-radius: 24px; text-align: center; color: #ddd; background: #111; }
.drawer { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: rgba(0,0,0,.94); }
.drawer.open { display: grid; }
.drawer-links a { display: block; margin: 18px; text-align: center; font-size: 38px; }
.drawer-close { position: absolute; top: 25px; right: 34px; border: 0; background: none; color: #fff; font-size: 50px; cursor: pointer; }

@media (max-width: 760px) {
  .bottom-nav { left: 20px; right: 20px; width: auto; max-width: none; height: 78px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 8px 10px; border-radius: 28px; }
  .nav-item { gap: 6px; }
  .nav-item span { font-size: 13px; }
  .nav-item svg { width: 27px; height: 27px; }
  .hero { min-height: 430px; }
  .hero-top { top: 28px; left: 22px; right: 20px; }
  .hamburger { width: 44px; height: 38px; gap: 7px; }
  .hamburger i { height: 3px; }
  .bell { width: 48px; height: 48px; }
  .bell svg { width: 43px; height: 43px; }
  .bell-count { width: 31px; height: 31px; font-size: 16px; }
  .logo-mark { width: 150px; }
  .logo-mark::before, .logo-mark::after { width: 57px; }
  .brand-small { font-size: 44px; }
  .company-logo { width: 132px; height: 132px; }
  .restaurant-label { font-size: 32px; letter-spacing: 0; }
  .welcome { font-size: 38px; }
  .hero h1 { font-size: 62px; }
  .tagline { font-size: 20px; }
  .home-wrap { width: calc(100% - 28px); padding-top: 30px; }
  .section-head h2 { font-size: 28px; }
  .section-head a { font-size: 16px; }
  .posts-grid { grid-template-columns: 1fr; gap: 18px; }
  .post-card.featured { grid-column: auto; }
  .post-card { min-height: 330px; }
  .post-content { padding: 26px; }
  .post-card h3 { font-size: 34px; }
  .price-text { font-size: 31px; }
  .post-card p { font-size: 18px; }
}




/* MENU PUBLIC */
.menu-body { min-height: 100vh; padding-bottom: 128px; background: #050505; color: #fff; }
.menu-body:has(.menu-admin:not([hidden])) { height: 100vh; min-height: 0; padding-bottom: 0; overflow: hidden; }
.menu-hero { position: relative; min-height: 345px; padding: 34px 52px 34px; overflow: hidden; background: #080808; }
.menu-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.82)), url('https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1800&q=86'); background-size: cover; background-position: center; }
.menu-hero-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.mini-bag { position: relative; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 12px; }
.mini-bag svg { width: 39px; height: 39px; stroke: #fff; stroke-width: 1.8; fill: none; }
.mini-bag span { position: absolute; top: -17px; right: -14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-2); color: #fff; font-weight: 900; font-size: 18px; }
.menu-brand { position: absolute; z-index: 2; top: 34px; left: 50%; transform: translateX(-50%); text-align: center; }
.menu-brand .brand-small { font-size: 52px; }
.menu-title-block { position: relative; z-index: 2; margin-top: 62px; width: min(640px, 70%); }
.menu-title-block h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 8vw, 86px); font-weight: 500; }
.menu-title-block p { margin: 13px 0 0; max-width: 610px; color: #e8e8e8; font-size: 22px; line-height: 1.45; }
.daily-special { position: absolute; z-index: 2; right: 52px; bottom: 34px; display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 28px; border: 1px solid rgba(213,154,52,.85); border-radius: 999px; background: rgba(11,11,11,.72); color: #fff; font-size: 22px; }
.daily-special span { color: var(--gold-2); }
.menu-shell { position: relative; z-index: 3; width: min(1220px, 100%); margin: -1px auto 0; padding: 30px 34px 24px; display: grid; grid-template-columns: 300px 1fr; gap: 34px; border-radius: 28px 28px 0 0; background: radial-gradient(circle at 40% 0, rgba(255,255,255,.06), transparent 42%), #0d0d0d; }
.menu-categories { padding: 0 10px; }
.menu-cat { width: 100%; min-height: 104px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: #fff; text-align: left; cursor: pointer; }
.menu-cat.active { background: linear-gradient(135deg, #9a6a24, #e0aa4c); border-color: rgba(255,255,255,.18); color: #fff; }
.menu-cat svg { width: 40px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.menu-cat strong { display: block; font-size: 22px; }
.menu-cat small { display: block; margin-top: 7px; font-size: 16px; color: rgba(255,255,255,.82); }
.menu-list-panel { min-width: 0; }
.menu-list-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.menu-list-head h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 42px; font-weight: 500; }
.menu-list-head h2 small { color: var(--gold-2); font: 18px Inter, sans-serif; margin-left: 10px; }
.menu-search { width: min(370px, 45%); min-height: 64px; display: flex; align-items: center; gap: 15px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); }
.menu-search svg { width: 28px; height: 28px; stroke: #ddd; fill: none; stroke-width: 1.8; }
.menu-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 20px; }
.menu-items { display: grid; gap: 16px; }
.menu-item-card { position: relative; display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; min-height: 176px; padding: 14px 26px 14px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; }
.menu-item-card.unavailable { opacity: .58; }
.menu-item-card img { width: 160px; height: 148px; object-fit: cover; border-radius: 15px; }
.menu-item-card h3 { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 600; }
.menu-item-card p { margin: 0; color: #ddd; font-size: 19px; line-height: 1.5; }
.item-flags { display: flex; gap: 12px; margin-top: 16px; color: #97d64d; font-size: 24px; }
.item-flags .popular { color: var(--gold-2); }
.item-price { color: var(--gold-2); font-size: 25px; font-weight: 900; white-space: nowrap; }
.unavailable-pill { justify-self: end; padding: 13px 20px; border: 1px solid var(--line); border-radius: 14px; color: #ddd; font-size: 17px; }

/* MENU ADMIN */
.menu-admin { position: fixed; inset: 0; height: 100vh; min-height: 0; padding-bottom: 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.05), transparent 34%), #080808; color: #fff; }
.admin-sidebar { position: sticky; top: 0; height: 100%; min-height: 0; padding: 24px 18px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.admin-logo { text-align: center; margin-bottom: 42px; }
.admin-logo .logo-mark { width: 120px; }
.admin-logo strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 31px; font-weight: 500; }
.admin-logo span { display: block; margin: 0 0 6px; color: var(--gold-2); letter-spacing: .25em; font-size: 12px; }
.admin-sidebar small { display: block; margin: 0 0 18px 6px; color: #aaa; }
.admin-link { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: #eee; font-size: 16px; text-align: left; }
.admin-link.active { background: linear-gradient(90deg, rgba(213,154,52,.48), rgba(213,154,52,.22)); color: var(--gold-2); }
.admin-main { height: 100%; min-width: 0; min-height: 0; padding: 0 32px; overflow: hidden; }
.gold-btn { min-height: 58px; padding: 0 24px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #d29a35, #edbd5c); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 14px 34px rgba(213,154,52,.24); }
.dark-btn { min-height: 54px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.full { width: 100%; }
.admin-grid { height: 100%; min-height: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.admin-card, .admin-form-panel { border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); }
.admin-card { padding: 22px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.admin-card-head h2, .admin-items-head h2, .form-title h2 { margin: 0; font-size: 22px; }
.admin-card-head small, .admin-items-head small { margin-left: 8px; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.09); color: #bbb; }
.admin-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.admin-cat { position: relative; min-height: 145px; padding: 20px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.03); color: #fff; cursor: pointer; text-align: center; }
.admin-cat.active { background: linear-gradient(135deg, #9a6a24, #d9a343); }
.admin-cat svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.admin-cat strong { display: block; margin-top: 18px; }
.admin-cat small { display: block; margin-top: 8px; color: rgba(255,255,255,.8); }
.cat-menu-wrap { position: absolute; top: 10px; right: 10px; z-index: 3; }
.cat-kebab { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.20); border-radius: 9px; background: rgba(0,0,0,.18); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.cat-actions { position: absolute; top: 39px; right: 0; min-width: 118px; padding: 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: #151515; box-shadow: 0 18px 42px rgba(0,0,0,.35); }
.cat-actions[hidden] { display: none; }
.cat-actions span { width: 100%; min-height: 34px; display: flex; align-items: center; border-radius: 7px; color: #fff; text-align: left; padding: 0 10px; cursor: pointer; }
.cat-actions span:hover { background: rgba(255,255,255,.08); }
.cat-actions span[data-delete-category] { color: #ff9288; }
.admin-items-card { height: 100%; min-height: 0; margin-top: 0; display: flex; flex-direction: column; overflow: hidden; }
.admin-items-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.admin-items-head input { flex: 1; min-height: 46px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.035); color: #fff; padding: 0 14px; }
.admin-items { flex: 1 1 auto; min-height: 0; display: grid; align-content: start; gap: 0; padding-bottom: 150px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.admin-items::-webkit-scrollbar { width: 0; height: 0; display: none; }
.admin-item-row { display: grid; grid-template-columns: 112px 1fr auto 96px; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.09); cursor: pointer; }
.admin-item-row img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; }
.admin-item-row h3 { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; }
.admin-item-row p { margin: 0; color: #bbb; line-height: 1.45; }
.status-pill { display: inline-block; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(48,152,48,.20); color: #98e275; font-size: 13px; }
.status-pill.off { background: rgba(182,56,43,.28); color: #ff9288; }
.admin-price { color: var(--gold-2); font-size: 21px; font-weight: 900; white-space: nowrap; }
.row-actions { display: flex; gap: 8px; }
.row-actions button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); color: #fff; cursor: pointer; }
.admin-form-panel { padding: 0; overflow: hidden; }
.admin-item-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 22px; background: rgba(0,0,0,.76); }
.admin-item-modal[hidden] { display: none !important; }
.admin-modal-panel { width: min(760px, 100%); max-height: min(86vh, 760px); overflow: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #111; box-shadow: 0 28px 90px rgba(0,0,0,.58); }
.form-title { display: flex; justify-content: space-between; align-items: center; padding: 24px 22px; border-bottom: 1px solid var(--line); }
.form-title button { border: 0; background: transparent; color: #aaa; font-size: 30px; cursor: pointer; }
#menuForm { display: grid; gap: 18px; padding: 22px; }
#categoryForm { display: grid; gap: 18px; padding: 22px; }
#menuForm label, #categoryForm label { display: grid; gap: 9px; color: #fff; font-size: 15px; }
#menuForm input, #menuForm textarea, #menuForm select, #categoryForm input, #categoryForm select { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.035); color: #fff; padding: 0 14px; outline: none; }
#menuForm input, #menuForm select, #categoryForm input, #categoryForm select { min-height: 52px; }
#menuForm textarea { min-height: 108px; padding-top: 14px; resize: vertical; }
.check-row { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 10px !important; }
.check-row input { width: 18px !important; min-height: 18px !important; }
.photo-hint { color: #999; font-size: 13px; }

@media (max-width: 980px) {
  .menu-shell { grid-template-columns: 1fr; padding-inline: 20px; }
  .menu-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; }
  .menu-list-head { align-items: flex-start; flex-direction: column; }
  .menu-search { width: 100%; }
  .menu-admin { position: static; height: auto; min-height: 100vh; display: block; overflow: visible; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 0 20px 140px; overflow: visible; }
  .admin-grid { height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .admin-items-card { overflow: visible; }
  .admin-items { overflow: visible; }

}
@media (max-width: 640px) {
  .menu-hero { min-height: 338px; padding: 28px 22px; }
  .menu-brand { top: 22px; }
  .menu-brand .brand-small { font-size: 38px; }
  .menu-title-block { width: 100%; margin-top: 78px; }
  .menu-title-block h1 { font-size: 58px; }
  .menu-title-block p { font-size: 19px; }
  .daily-special { right: 20px; bottom: 24px; min-height: 52px; font-size: 17px; padding: 0 18px; }
  .menu-cat { min-height: 88px; padding: 14px; grid-template-columns: 40px 1fr; }
  .menu-cat strong { font-size: 17px; }
  .menu-cat small { font-size: 13px; }
  .menu-item-card { grid-template-columns: 116px 1fr; gap: 15px; padding: 12px; }
  .menu-item-card img { width: 116px; height: 116px; }
  .menu-item-card h3 { font-size: 23px; }
  .menu-item-card p { font-size: 16px; }
  .item-price, .unavailable-pill { grid-column: 2; justify-self: start; }
    .admin-card-head { align-items: stretch; flex-direction: column; }
  .admin-card-head .gold-btn { width: 100%; }
  .admin-cats { grid-template-columns: repeat(2, 1fr); }
  .admin-item-row { grid-template-columns: 86px 1fr; }
  .admin-item-row img { width: 86px; height: 86px; }
  .admin-price, .row-actions { grid-column: 2; justify-self: start; }
  .admin-item-modal { padding: 12px; align-items: end; }
  .admin-modal-panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  #menuForm { padding: 18px; }
}


/* LOGIN */
.login-body { min-height: 100vh; padding: 34px 24px 126px; background: radial-gradient(circle at 20% 10%, rgba(213,154,52,.14), transparent 28%), #050505; color: #fff; }
.login-page { width: min(1120px, 100%); min-height: calc(100vh - 160px); margin: 0 auto; display: grid; grid-template-columns: 1fr 430px; gap: 24px; align-items: center; }
.login-hero-card { min-height: 560px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.82)), url('https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1600&q=86'); background-size: cover; background-position: center; }
.login-hero-card .login-logo { margin: 0 0 12px; width: 90px; height: 90px; border-radius: 22px; }
.login-hero-card .brand-small { font-size: clamp(48px, 7vw, 72px); }
.login-hero-card h1 { margin: 28px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 6vw, 68px); line-height: 1; font-weight: 500; }
.login-hero-card p { max-width: 560px; margin: 0; color: #e5e5e5; font-size: 21px; line-height: 1.5; }
.login-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.login-card-head h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 42px; font-weight: 500; }
.login-card-head p { margin: 8px 0 24px; color: #bdbdbd; }
.login-form { display: grid; gap: 18px; }
.login-form label { display: grid; gap: 9px; color: #fff; font-size: 15px; }
.login-form input { width: 100%; min-height: 56px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.045); color: #fff; padding: 0 16px; outline: none; font-size: 16px; }
.login-form input:focus { border-color: rgba(241,189,96,.75); box-shadow: 0 0 0 3px rgba(241,189,96,.12); }
.login-status { min-height: 22px; margin-top: 18px; color: #f1bd60; line-height: 1.4; }
.login-status.error { color: #ff8178; }
.logged-panel { margin-top: 22px; padding: 22px; border: 1px solid rgba(241,189,96,.32); border-radius: 18px; background: rgba(213,154,52,.08); text-align: center; }
.logged-avatar { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, #d29a35, #edbd5c); font-weight: 900; color: #fff; }
.logged-panel h3 { margin: 0 0 6px; font-size: 24px; }
.logged-panel p { margin: 0 0 18px; color: #d7d7d7; }
.logged-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.logged-actions a, .logged-actions button { display: grid; place-items: center; text-align: center; text-decoration: none; }
@media (max-width: 860px) {
  .login-body { padding: 22px 18px 112px; }
  .login-page { grid-template-columns: 1fr; min-height: auto; }
  .login-hero-card { min-height: 300px; padding: 28px; }
  .login-card { padding: 22px; }
}


/* SETTINGS */
.settings-body { min-height: 100vh; padding: 34px 24px 126px; background: radial-gradient(circle at 80% 0, rgba(213,154,52,.13), transparent 30%), #050505; color: #fff; }
.settings-page { width: min(1180px, 100%); margin: 0 auto; }
.settings-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 26px; }
.settings-eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 800; }
.settings-header h1 { margin: 8px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 7vw, 78px); font-weight: 500; }
.settings-header p { margin: 0; max-width: 660px; color: #d0d0d0; font-size: 19px; line-height: 1.5; }
.settings-back { min-height: 48px; display: grid; place-items: center; padding: 0 18px; text-decoration: none; }
.notification-card { display: grid; gap: 16px; margin-bottom: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
.notification-card h2 { margin: 0; font-size: 24px; }
.notification-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.notification-form input { min-width: 0; min-height: 58px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.045); color: #fff; padding: 0 16px; outline: none; font-size: 16px; }
.notification-form input:focus { border-color: rgba(241,189,96,.75); box-shadow: 0 0 0 3px rgba(241,189,96,.12); }
.settings-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.settings-preview { position: sticky; top: 22px; min-height: 360px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); text-align: center; }
.settings-logo-preview { width: 130px; height: 130px; margin: 0 auto 16px; object-fit: contain; border-radius: 24px; background: rgba(255,255,255,.04); }
.settings-preview h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 42px; font-weight: 500; }
.settings-preview span { display: block; margin: 0 0 8px; color: var(--gold-2); letter-spacing: .28em; font-size: 13px; }
.settings-preview p { margin: 8px 0; color: #d7d7d7; }
.settings-form { display: grid; gap: 18px; }
.settings-card { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }
.settings-card h2 { margin: 0 0 4px; font-size: 24px; }
.settings-card label { display: grid; gap: 8px; color: #fff; font-size: 15px; }
.settings-card input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.045); color: #fff; padding: 0 14px; outline: none; }
.settings-card input:focus { border-color: rgba(241,189,96,.75); box-shadow: 0 0 0 3px rgba(241,189,96,.12); }
.settings-card small { color: #aaa; line-height: 1.4; }
.settings-locked { width: min(560px, calc(100% - 36px)); margin: 14vh auto; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.045); text-align: center; }
.settings-locked h1 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 46px; }
.settings-locked p { color: #d0d0d0; line-height: 1.5; }
.settings-locked a { min-height: 52px; display: inline-grid; place-items: center; padding: 0 22px; text-decoration: none; }
@media (max-width: 860px) {
  .settings-body { padding: 22px 18px 112px; }
  .settings-header { display: grid; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-preview { position: static; min-height: auto; }
  .notification-form { grid-template-columns: 1fr; }
}


/* CONTACT */
.contact-body { min-height: 100vh; padding-bottom: 126px; background: #050505; color: #fff; }
.contact-page { width: min(1180px, 100%); margin: 0 auto; }
.contact-hero { position: relative; min-height: 300px; display: grid; place-items: center; padding: 34px 42px 42px; overflow: hidden; border-radius: 0 0 32px 32px; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.88)), url('https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1800&q=86'); background-size: cover; background-position: center; }
.contact-brand { position: relative; z-index: 1; text-align: center; }
.contact-logo { width: 86px; height: 86px; margin-bottom: 8px; object-fit: contain; border-radius: 22px; }
.contact-brand .brand-small { font-size: clamp(42px, 7vw, 62px); }
.contact-title { position: relative; z-index: 1; max-width: 760px; }
.contact-title span { color: var(--gold-2); text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: 13px; }
.contact-title h1 { margin: 8px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 8vw, 88px); line-height: 1; font-weight: 500; }
.contact-title p { margin: 0; color: #e7e7e7; font-size: 22px; line-height: 1.45; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; padding: 28px 24px 24px; }
.contact-card { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); box-shadow: 0 18px 60px rgba(0,0,0,.20); }
.contact-main-card, .social-card { padding: 26px; }
.contact-card h2 { margin: 0 0 20px; font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 500; }
.contact-info-list { display: grid; gap: 16px; }
.contact-info-row { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; min-height: 76px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(0,0,0,.16); }
.contact-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: rgba(213,154,52,.16); color: var(--gold-2); }
.contact-icon svg, .social-link svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-info-row small { display: block; margin-bottom: 5px; color: #aaa; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-info-row strong { display: block; color: #fff; font-size: 19px; line-height: 1.35; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.social-link { min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 0 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: rgba(255,255,255,.035); color: #fff; font-weight: 800; }
.social-link.whatsapp { color: #71df8f; }
.social-link.instagram { color: #ff9ad3; }
.social-link.facebook { color: #8db8ff; }
.social-link.call { color: var(--gold-2); }
.map-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; min-height: 310px; }
.map-visual { position: relative; min-height: 310px; background: radial-gradient(circle at 50% 45%, rgba(213,154,52,.28), transparent 20%), linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); }
.map-visual::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; opacity: .5; }
.map-pin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 86px; height: 86px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #d29a35, #edbd5c); color: #fff; box-shadow: 0 18px 60px rgba(213,154,52,.35); }
.map-pin svg { width: 48px; height: 48px; fill: currentColor; stroke: none; }
.map-lines i { position: absolute; display: block; border-radius: 999px; background: rgba(241,189,96,.38); }
.map-lines i:nth-child(1) { width: 46%; height: 3px; left: 9%; top: 26%; transform: rotate(-12deg); }
.map-lines i:nth-child(2) { width: 40%; height: 3px; right: 6%; top: 64%; transform: rotate(18deg); }
.map-lines i:nth-child(3) { width: 3px; height: 58%; left: 23%; top: 22%; transform: rotate(18deg); }
.map-lines i:nth-child(4) { width: 3px; height: 52%; right: 28%; top: 19%; transform: rotate(-20deg); }
.map-content { padding: 34px; align-self: center; }
.map-content p { margin: 0 0 24px; color: #d3d3d3; font-size: 19px; line-height: 1.5; }
.map-button { min-height: 56px; display: inline-grid; place-items: center; padding: 0 24px; text-decoration: none; }
@media (max-width: 820px) {
  .contact-hero { min-height: 280px; padding: 28px 22px 32px; }
  .contact-grid { grid-template-columns: 1fr; padding-inline: 16px; }
  .map-card { grid-template-columns: 1fr; }
  .map-visual { min-height: 220px; }
}
@media (max-width: 560px) {
  .contact-title h1 { font-size: 54px; }
  .contact-title p { font-size: 18px; }
  .social-links { grid-template-columns: 1fr; }
  .contact-info-row { grid-template-columns: 50px 1fr; }
  .contact-icon { width: 50px; height: 50px; }
}










