/* Сайт «Патрики Паб» — та же стилистика, что у приложения: тёмный фон, золото, Oswald + IBM Plex Sans */
:root {
  --bg: #0E0E0D;
  --surface: #181816;
  --surface-2: #151513;
  --line: #2A2A27;
  --line-soft: #22211E;
  --text: #F2EFE8;
  --text-2: #C9C5BC;
  --muted: #A19D93;
  --accent: #D4A84B;
  --accent-hi: #E6C276;
  --danger: #E5735F;
  --ok: #7FC48A;
  --radius: 16px;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --head-h: 72px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main#app { flex: 1; }
.page { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; animation: fade .22s ease-out; }
@keyframes fade { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* типографика */
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); letter-spacing: 1.5px; text-transform: uppercase; margin: 0; line-height: 1.02; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: 1px; text-transform: uppercase; margin: 0; line-height: 1.1; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .8px; text-transform: uppercase; margin: 0; line-height: 1.15; }
.eyebrow { font-size: 12px; letter-spacing: 2.4px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.eyebrow.accent { color: var(--accent); }
.lead { font-size: 18px; color: var(--text-2); max-width: 640px; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.price { font-family: var(--display); font-weight: 500; font-size: 20px; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-head a { font-size: 14px; text-decoration: none; }

/* кнопки */
.btn { min-height: 50px; border-radius: 14px; border: none; padding: 0 22px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #0E0E0D; }
.btn-accent:hover { background: var(--accent-hi); }
.btn-accent:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-outline { background: transparent; border: 1px solid var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: #0E0E0D; }
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn-sm { min-height: 40px; border-radius: 10px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; position: relative; text-decoration: none; }
.icon-btn:hover { border-color: var(--muted); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #0E0E0D; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* шапка */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(14,14,13,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.site-head .wrap { height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.brand-sub { display: block; font-size: 10px; letter-spacing: 2.4px; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; letter-spacing: .3px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); }
.head-act { display: flex; gap: 10px; align-items: center; }
.login-btn { min-height: 44px; }
.burger { display: none; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .head-act { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand-sub { display: none; }
  .brand img { width: 40px; height: 40px; }
  .head-act { gap: 8px; }
  .site-head .wrap { gap: 10px; }
  .brand-name { font-size: 19px; }
  .login-btn span { display: none; }
  .login-btn { padding: 0 12px; }
}
.drawer-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); display: flex; justify-content: flex-end; animation: fade .15s; }
.drawer { width: min(360px, 88vw); height: 100%; background: var(--bg); border-left: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer a.dl { color: var(--text); text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
.drawer a.dl:hover { color: var(--accent); }

/* герой */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,13,.95) 0%, rgba(14,14,13,.7) 45%, rgba(14,14,13,.25) 100%), linear-gradient(0deg, rgba(14,14,13,1) 0%, rgba(14,14,13,0) 40%); }
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.hero .h1 { font-size: clamp(40px, 7vw, 84px); max-width: 860px; }
.hero .h1 em { font-style: normal; color: var(--accent); }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); color: var(--text-2); background: rgba(14,14,13,.5); }
.tag.gold { border-color: var(--accent); color: var(--accent); }

/* карточки и сетки */
.card { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card-link { text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.feature p { margin: 0; color: var(--text-2); font-size: 14px; }

/* фото */
.ph { background: repeating-linear-gradient(135deg, #22211E 0 2px, #151513 2px 8px); }
.photo { position: relative; overflow: hidden; background-color: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* блюда */
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.dish { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .15s; }
.dish:hover { border-color: #3a3934; }
.dish .photo { aspect-ratio: 4/3; cursor: pointer; border-bottom: 1px solid var(--line); }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-name { font-weight: 600; line-height: 1.3; cursor: pointer; }
.dish-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.dish-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish.off { opacity: .45; }
.hit { position: absolute; left: 10px; top: 10px; font-size: 11px; letter-spacing: 1.4px; font-weight: 700; text-transform: uppercase; background: var(--accent); color: #0E0E0D; padding: 4px 8px; border-radius: 8px; }
.add { min-width: 44px; height: 40px; border-radius: 10px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-size: 14px; font-weight: 600; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.add:hover { background: var(--accent); color: #0E0E0D; }
.qty { height: 40px; border-radius: 10px; background: var(--accent); color: #0E0E0D; display: inline-flex; align-items: center; font-weight: 600; }
.qty button { width: 38px; height: 40px; border: none; background: transparent; color: #0E0E0D; font-size: 20px; }
.qty span { min-width: 22px; text-align: center; }

.menu-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.cat-nav { position: sticky; top: calc(var(--head-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.cat-nav a { color: var(--text-2); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.cat-nav a:hover, .cat-nav a.on { background: var(--surface); color: var(--text); }
.cat-block { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; scroll-margin-top: calc(var(--head-h) + 70px); }
.chips { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--head-h); z-index: 10; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font-size: 14px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--text); border-color: var(--text); color: #0E0E0D; font-weight: 600; }
@media (max-width: 860px) { .menu-layout { grid-template-columns: minmax(0, 1fr); } .cat-nav { display: none; } .chips { display: flex; } }
@media (max-width: 520px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dish-body { padding: 10px 12px 12px; } .dish-name { font-size: 14px; } .add { padding: 0 10px; } .add .t { display: none; } }

/* переключатель паба */
.seg { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; padding: 4px; background: var(--surface-2); min-width: min(440px, 100%); }
.seg button { min-height: 52px; border: none; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 4px 10px; }
.seg button small { font-size: 11px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--text); color: #0E0E0D; }
.seg button[aria-pressed="true"] small { color: #4A4843; }
.seg.need { border-color: var(--accent); }

/* формы */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.input, .textarea, .select { width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 14px; color: var(--text); font-size: 15px; }
.textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; margin: 1px 0 0; }
.opt { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text-2); padding: 8px 14px; font-size: 14px; }
.opt[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: rgba(212,168,75,.08); }
.opt-wide { width: 100%; text-align: left; display: flex; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.error { color: var(--danger); font-size: 14px; margin: 0; min-height: 1px; }
.ok-note { color: var(--ok); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.two-col > aside { position: sticky; top: calc(var(--head-h) + 20px); }
@media (max-width: 920px) { .two-col { grid-template-columns: minmax(0, 1fr); } .two-col > aside { position: static; } }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.total b { font-family: var(--display); font-size: 26px; }
.line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.line .photo { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; }
.addr-opt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; }
.addr-opt[aria-checked="true"] { border-color: var(--accent); }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.addr-opt[aria-checked="true"] .radio-dot { border: 5px solid var(--accent); }

/* статусы */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.step .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.step.done { color: var(--text); }
.step.done .dot { background: var(--accent); border-color: var(--accent); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.pill.gold { border-color: var(--accent); color: var(--accent); }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.bad { border-color: var(--danger); color: var(--danger); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 16px; color: var(--muted); }

/* мероприятия */
.ev-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.ev-hero .hero-bg::after { background: linear-gradient(0deg, rgba(14,14,13,.97) 10%, rgba(14,14,13,.35) 100%); }
.ev-hero .in { position: relative; padding: 36px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.format { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.format .em { font-size: 30px; line-height: 1; }
.format p { margin: 0; color: var(--text-2); font-size: 14px; }
.format button { margin-top: auto; align-self: flex-start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); }
.checklist li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 9px; }
.steps-h { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps-h > div { counter-increment: s; display: flex; flex-direction: column; gap: 8px; }
.steps-h > div::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 34px; color: var(--accent); line-height: 1; }
.steps-h p { margin: 0; color: var(--text-2); font-size: 14px; }
@media (max-width: 860px) { .steps-h { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* новости */
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card .photo { aspect-ratio: 16/9; border-bottom: 1px solid var(--line); }
.news-card .nb { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card p { margin: 0; color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nb .between { margin-top: auto; }
.news-banner { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 30% 30%, rgba(212,168,75,.18), transparent 60%), var(--surface-2); }
.news-banner img { width: 96px; opacity: .85; }
.article { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.article .photo { border-radius: 20px; aspect-ratio: 16/9; border: 1px solid var(--line); }
.article .body { color: var(--text-2); font-size: 17px; line-height: 1.7; white-space: pre-line; }

/* заведения */
.venue-card { display: flex; flex-direction: column; gap: 10px; }
.venue-card .map { height: 260px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.venue-card .map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) brightness(.9); }

/* кабинет / карта гостя */
.loy-card { background: radial-gradient(circle at 85% 0%, rgba(212,168,75,.22), transparent 55%), linear-gradient(135deg, #1d1c19, #121210); border: 1px solid #3a352a; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.loy-balance { font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1; }
.loy-balance small { font-size: 18px; color: var(--muted); font-weight: 500; }
.loy-prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loy-prog span { display: block; height: 100%; background: var(--accent); }
.loy-no { font-family: var(--display); letter-spacing: 3px; color: var(--text-2); }
.loy-qr { background: #fff; padding: 12px; border-radius: 14px; width: fit-content; }
.loy-qr svg { display: block; width: 200px; height: 200px; }
.qr-fallback { color: #000; font-family: var(--display); font-size: 28px; letter-spacing: 3px; padding: 20px; }
.acc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.list-row:last-child { border-bottom: none; }

/* вход */
.login-box { max-width: 520px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.otp { text-align: center; font-family: var(--display); font-size: 30px; letter-spacing: 12px; }
.in-number { font-family: var(--display); font-size: 34px; text-align: center; letter-spacing: 2px; }
.tg-qr { display: flex; gap: 18px; align-items: center; }
.tg-qr .loy-qr svg { width: 150px; height: 150px; }
.demo-banner { font-size: 13px; color: var(--accent); border: 1px dashed var(--accent); padding: 10px 14px; border-radius: 12px; margin: 0; }

/* корзина-кнопка снизу на телефоне */
.cartbar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; display: none; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; border-radius: 16px; background: var(--accent); color: #0E0E0D; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
@media (max-width: 860px) { .cartbar.show { display: flex; } body.has-cartbar main#app { padding-bottom: 80px; } }

/* модальные окна */
.modal-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
.modal { width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; }
.modal .photo { aspect-ratio: 4/3; }
.modal .mb { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.modal .x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(14,14,13,.75); }
@media (max-width: 560px) { .modal-wrap { align-items: flex-end; padding: 0; } .modal { border-radius: 22px 22px 0 0; max-height: 92dvh; } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; background: var(--text); color: #0E0E0D; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: fade .2s; max-width: calc(100vw - 32px); }

/* подвал */
.site-foot { border-top: 1px solid var(--line-soft); background: var(--surface-2); padding: 48px 0 32px; color: var(--text-2); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 1.4px; font-size: 15px; color: var(--text); margin: 0 0 10px; }
.foot-grid a { color: var(--text-2); text-decoration: none; display: block; padding: 3px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* загрузка */
.pk-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 90px 0; color: var(--muted); }
.pk-loader img { width: 84px; height: 84px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.app-strip { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: radial-gradient(circle at 90% 50%, rgba(212,168,75,.16), transparent 50%), var(--surface); }

/* админка меню (/admin/) */
.adm-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.adm-row.off { opacity: .55; }
.adm-photo { position: relative; flex-shrink: 0; cursor: pointer; border-radius: 12px; overflow: hidden; }
.adm-thumb { width: 72px; height: 72px; border-radius: 12px; }
.adm-nophoto { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; text-align: center; }
.adm-photo-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; font-weight: 600; background: rgba(14,14,13,.72); color: var(--text); opacity: 0; transition: opacity .15s; padding: 4px; }
.adm-photo:hover .adm-photo-hint, .adm-photo:focus-within .adm-photo-hint { opacity: 1; }
.adm-name { background: none; border: none; padding: 0; color: var(--text); font-weight: 600; text-align: left; font-size: 15px; }
.adm-name:hover { color: var(--accent); }
.adm-price { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.adm-price .input { width: 96px; min-height: 42px; text-align: right; font-family: var(--display); font-size: 18px; }
.adm-saved { width: 16px; color: var(--ok); font-weight: 700; }
@media (max-width: 640px) {
  .adm-row { flex-wrap: wrap; }
  .adm-row > .stack { flex-basis: calc(100% - 90px); }
  .adm-thumb { width: 64px; height: 64px; }
}
