/* ============================================================
   Вкусно рядом — стиль сайта
   Палитра и настроение взяты из рекламного ролика:
   тёмный фон, оранжевое свечение, рукописный шрифт названия
   ============================================================ */

:root {
  --bg: #0d0907;
  --bg-2: #150e0a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --ink: #f8f1e8;
  --muted: #a3907c;
  --accent: #f7931e;
  --accent-2: #ffb347;
  --accent-deep: #c2650c;
  --green: #2e7d4f;
  --red: #c0392b;
  --line: rgba(247, 147, 30, 0.20);
  --glow: 0 0 28px rgba(247, 147, 30, 0.38);
  --glow-soft: 0 0 60px rgba(247, 147, 30, 0.14);
  --radius: 18px;
  --script: "Marck Script", "Segoe Script", cursive;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* декоративное свечение фона */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(700px 420px at 12% -5%, rgba(247, 147, 30, 0.13), transparent 65%),
    radial-gradient(600px 400px at 92% 12%, rgba(255, 179, 71, 0.09), transparent 65%);
}
body > *:not(.bg-glow) { position: relative; z-index: 1; }

::selection { background: var(--accent); color: #1a0f05; }

/* скроллбар */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #120c09; }
::-webkit-scrollbar-thumb { background: #3a281c; border-radius: 8px; border: 2px solid #120c09; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }

/* ==================== ВЕРХНЯЯ ПАНЕЛЬ ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 9, 7, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: var(--glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--script);
  font-size: 27px;
  color: #fff;
  letter-spacing: 0.5px;
}
.brand-name em { font-style: normal; color: var(--accent); }
.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  color: var(--muted);
}

.topnav { display: flex; gap: 26px; margin-left: auto; }
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { width: 100%; }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.top-phone {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s, text-shadow 0.2s;
}
.top-phone:hover { color: #fff; text-shadow: 0 0 16px rgba(247, 147, 30, 0.8); }

.cart-btn {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 1000;
  width: 50px; height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.cart-btn:hover { border-color: var(--accent); background: rgba(247, 147, 30, 0.12); }
.cart-btn:active { transform: scale(0.94); }
.cart-btn-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 24px; height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--accent);
  color: #1a0f05;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(247, 147, 30, 0.6);
}
.cart-btn-count.hidden { display: none; }

/* ВРЕМЕННАЯ кнопка входа в админку (убрать после получения домена) */
.staff-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.staff-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(247, 147, 30, 0.12); }

/* ==================== ГЕРОЙ ==================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
  filter: saturate(1.1);
}
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 9, 7, 0.66) 0%, rgba(13, 9, 7, 0.05) 42%, rgba(13, 9, 7, 0.94) 100%),
    radial-gradient(900px 500px at 50% 130%, rgba(247, 147, 30, 0.12), transparent 60%);
}

/* Массив гор под героем — из вашего видео (инейные волны) */
.hero-hills {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 190px;
  background:
    radial-gradient(100% 100% at 50% 100%, rgba(13, 9, 7, 0) 0%, rgba(13, 9, 7, 0.45) 47%),
    radial-gradient(90% 60px at 0% 100%, rgba(255, 147, 30, 0.16), transparent 70%),
    radial-gradient(90% 60px at 100% 100%, rgba(255, 147, 30, 0.16), transparent 70%),
    radial-gradient(70px 40px at 5% 100%, rgba(247, 147, 30, 0.4), transparent 100%);
  transform: skewY(0deg);
}
@media (prefers-reduced-motion) { .hero-hills { animation: none; } }
@keyframes hillsSway {
  0%, 100% { transform: translateX(-2%); }
  50% { transform: translateX(2%); }
}
.hero-content { position: relative; padding: 72px 20px 56px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-chips span {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13, 9, 7, 0.55);
  color: var(--accent-2);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--script);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}
.hero-title em { font-style: normal; color: var(--accent); text-shadow: 0 0 40px rgba(247, 147, 30, 0.55); }

.hero-lead {
  max-width: 600px;
  font-size: 18px;
  color: #e4d6c5;
  margin: 0 0 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #1a0f05;
  border: none;
  box-shadow: 0 8px 26px rgba(247, 147, 30, 0.38);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(247, 147, 30, 0.6); }
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent-2);
  background: rgba(247, 147, 30, 0.08);
}
.btn-outline:hover { background: rgba(247, 147, 30, 0.2); }

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.features {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow-soft); }
.f-emoji { font-size: 34px; display: block; margin-bottom: 8px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; font-size: 13px; color: var(--muted); }

/* ==================== ЗАГОЛОВКИ СЕКЦИЙ ==================== */
.section-head { text-align: center; margin: 58px 0 30px; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--script);
  font-size: clamp(32px, 5vw, 46px);
  margin: 0;
  color: #fff;
}

/* ==================== ПОПУЛЯРНОЕ ==================== */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.pop-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pop-card:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.pop-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pop-card:hover img { transform: scale(1.07); }
.pop-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(13, 9, 7, 0.92));
}
.pop-overlay h3 { margin: 0; font-size: 17px; color: #fff; }
.pop-overlay span { font-size: 12px; color: var(--accent-2); }

/* ==================== НАВИГАЦИЯ ПО КАТЕГОРИЯМ ==================== */
.category-nav {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(13, 9, 7, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(247, 147, 30, 0.1); }

/* ==================== МЕНЮ (2 колонки на широких экранах) ==================== */
main { padding-bottom: 40px; }

.items {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .items { grid-template-columns: repeat(3, 1fr); } }

.menu-section { margin-top: 42px; scroll-margin-top: 140px; }
.section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.section-title .emoji { font-size: 25px; }
.section-count { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

.item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 15px 18px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.item:hover { border-color: var(--line); background: var(--surface-2); transform: translateX(3px); }
.item:active { transform: scale(0.985); }

.item-info { flex: 1; min-width: 0; }
.item-name { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.item-note { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.item-price {
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
  color: var(--accent-2);
}

.add-btn {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(247, 147, 30, 0.1);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.add-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #1a0f05;
  border-color: transparent;
  box-shadow: var(--glow);
}
.add-btn:active { transform: scale(0.9); }

/* ==================== КОРЗИНА ==================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 4, 3, 0.68);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s;
  z-index: 70;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: #120c09;
  border-left: 1px solid var(--line);
  z-index: 80;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.6);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 20px; font-family: var(--script); font-size: 26px; color: #fff; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }

.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.cart-empty .emoji { font-size: 46px; display: block; margin-bottom: 12px; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 14.5px; }
.cart-item-note { color: var(--muted); font-size: 12px; }
.cart-item-price { color: var(--accent-2); font-size: 13px; margin-top: 3px; font-weight: 600; }

.stepper {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--surface);
}
.stepper button {
  width: 30px; height: 30px;
  border: none; background: none;
  color: var(--accent);
  cursor: pointer; font-size: 18px;
}
.stepper button:hover { background: rgba(247, 147, 30, 0.15); }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 700; font-size: 14px; }

.cart-item-remove {
  border: none; background: none;
  color: #d0574a; cursor: pointer;
  font-size: 14px; padding: 4px;
}
.cart-item-remove:hover { color: #ff6a5a; }

.cart-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; background: #120c09; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px;
}
.cart-total span:last-child { color: var(--accent-2); font-size: 22px; font-weight: 800; }

/* ==================== ФОРМА ==================== */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder, .field textarea::placeholder { color: #6d5c4c; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.16);
}
.field textarea { resize: vertical; min-height: 68px; }

.method-switch { display: flex; gap: 8px; margin-bottom: 15px; }
.method-btn {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 13px;
  padding: 12px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.18s;
}
.method-btn.active {
  border-color: var(--accent);
  background: rgba(247, 147, 30, 0.15);
  color: var(--accent-2);
}

.submit-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #1a0f05;
  padding: 16px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.12s;
}
.submit-btn:hover { box-shadow: 0 8px 26px rgba(247, 147, 30, 0.45); }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.form-error { color: #ff7a6b; font-size: 13px; margin: 8px 0 0; }

/* ====== Плавающий статус «Открыто / Закрыто» (сверху) ====== */
.hours-pill {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateY(-100%); opacity: 0; } }
.hours-pill.open { background: rgba(46, 125, 31, 0.18); color: var(--green); }
.hours-pill.closed { background: rgba(192, 57, 43, 0.15); color: #ff6b6b; }

/* Линия со стоимостью доставки (в корзине) */
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 0;
  font-size: 14px;
  color: #d9c6ae;
}
.cart-line span { color: #d9c6ae; }

/* ==================== УСПЕХ ==================== */
.success { text-align: center; padding: 30px 6px; }
.success .emoji { font-size: 58px; display: block; margin-bottom: 14px; }
.success h3 { margin: 0 0 10px; font-size: 21px; color: #fff; }
.success p { color: var(--muted); margin: 4px 0; }
.success .order-id { color: var(--accent-2); font-weight: 800; }

/* ==================== О НАС ==================== */
.about { padding: 70px 0 20px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--glow-soft);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-family: var(--script); font-size: clamp(34px, 5vw, 48px); margin: 0 0 14px; color: #fff; }
.about-text p { color: #cbb9a6; margin: 0 0 14px; font-size: 15.5px; }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }

/* ==================== КОНТАКТЫ ==================== */
.contacts { padding: 60px 0 70px; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.c-emoji { font-size: 30px; display: block; margin-bottom: 10px; }
.contact-card h3 { margin: 0 0 10px; font-size: 17px; color: #fff; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.contact-card a { color: var(--accent-2); text-decoration: none; font-weight: 700; font-size: 17px; }
.contact-card a:hover { text-decoration: underline; }
.schedule-line { display: block; color: var(--muted); font-size: 14.5px; }

/* ==================== ПОДВАЛ ==================== */
.site-footer {
  background: #0a0605;
  border-top: 1px solid var(--line);
  padding: 50px 0 26px;
  margin-top: 40px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .brand-name { font-family: var(--script); font-size: 30px; color: #fff; }
.footer-brand .brand-name em { font-style: normal; color: var(--accent); }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); margin-bottom: 12px; box-shadow: var(--glow); }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 50px; }
.footer-col h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); }
.footer-col a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-col a:hover { color: var(--accent-2); }
.footer-col .schedule-line { color: var(--muted); }

.admin-temp-wrap { margin-top: 28px; text-align: center; }
.admin-temp {
  display: inline-block;
  color: #5d5147;
  text-decoration: none;
  font-size: 12px;
  border-bottom: 1px dashed #4a4038;
  padding-bottom: 2px;
  opacity: 0.65;
  transition: all 0.2s;
}
.admin-temp:hover { color: var(--accent-2); opacity: 1; }
.footer-copy { text-align: center; color: #55493f; font-size: 12.5px; margin-top: 22px; }

/* ==================== УВЕДОМЛЕНИЕ ==================== */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 13, 9, 0.97);
  border: 1px solid var(--accent);
  color: #fff;
  padding: 13px 22px;
  border-radius: 13px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  z-index: 90;
  box-shadow: var(--glow);
  max-width: 90vw;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ==================== Страница корзины ==================== */
.cart-page-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: rgba(13, 9, 7, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.cart-page-header h1 { margin: 0; font-size: 20px; color: #fff; font-weight: 800; }
.cart-page-logo { margin-left: auto; font-family: var(--script); color: var(--accent); font-size: 20px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 700;
  transition: .2s;
}
.back-btn:hover { border-color: var(--accent); color: var(--accent-2); }

.cart-page-main { padding: 26px 20px 60px; min-height: 70vh; }
.cart-page-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.cart-items-panel, .cart-checkout-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius2); padding: 22px;
}
.cart-items-panel h2, .cart-checkout-panel h2 { margin: 0 0 16px; font-size: 19px; color: #fff; font-weight: 800; }
.cart-items { display: flex; flex-direction: column; }
.add-more { display: inline-block; margin-top: 14px; color: var(--accent-2); font-size: 14px; font-weight: 700; text-decoration: none; }
.add-more:hover { text-decoration: underline; }
.cart-empty-page { text-align: center; padding: 80px 20px; }
.cart-empty-page h2 { margin: 14px 0 8px; color: #fff; }
.cart-empty-page p { color: var(--muted); margin-bottom: 22px; }
.order-success { text-align: center; padding: 70px 20px; }
.order-success h2 { font-size: 26px; color: #fff; margin: 12px 0; }
.order-success p { color: var(--muted); margin: 6px 0 20px; }
.order-success b { color: var(--accent-2); }
.promo-info { font-size: 13px; margin: 6px 0 0; min-height: 16px; color: #ff7a6b; }
.promo-info.ok, .promo-info:not(.err) { color: var(--green); }

@media (max-width: 860px) {
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-page-logo { display: none; }
}

/* ---------- Фото блюда в меню ---------- */
.item-img, .item-emoji {
  width: 54px; height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: var(--surface2);
  border: 1px solid var(--line);
}

/* ---------- Баннер «Кафе закрыто» ---------- */
.closed-notice {
  max-width: 640px;
  margin: 40px auto 60px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  animation: fadeIn .4s;
}
.cn-icon { font-size: 44px; margin-bottom: 12px; }
.closed-notice h3 { font-size: 22px; margin: 0 0 10px; color: #fff; }
.cn-text { color: var(--muted); font-size: 15px; margin: 6px 0; }
.cn-time { color: var(--accent); font-size: 16px; font-weight: 700; margin: 8px 0 16px; }
.cn-hours { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 14px; text-align: left; background: var(--surface2); padding: 12px 14px; border-radius: 10px; }
.cn-row { padding: 4px 0; border-bottom: 1px solid var(--line); }
.cn-row:last-child { border-bottom: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==================== АДАПТИВ ==================== */

/* ---------- Планшет (600–899): 2 колонки, крупные тап-цели ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  .container { padding: 0 24px; }
  .topbar-inner { gap: 20px; }
  .brand-name { font-size: 26px; }
  .hero { min-height: 500px; }
  .hero-title { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature { padding: 22px 20px; }
  .items { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item { padding: 16px; gap: 14px; }
  .item-img, .item-emoji { width: 60px; height: 60px; flex-basis: 60px; }
  .add-btn { width: 48px; height: 48px; font-size: 26px; }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .contact-card { padding: 20px 16px; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ПК и планшеты (900–1100) ---------- */
@media (min-width: 900px) and (max-width: 1099px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1.15fr 1fr; }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); }
  .popular-grid { grid-template-columns: repeat(3, 1fr); }
  .items { grid-template-columns: repeat(2, 1fr); }
  .section-head h2 { font-size: 38px; }
}

/* ---------- Большие экраны (1100+) ---------- */
@media (min-width: 1100px) {
  .items { grid-template-columns: repeat(3, 1fr); }
  .item { padding: 18px 20px; gap: 20px; }
  .item-name { font-size: 17px; }
  .item-note { font-size: 13.5px; }
  .item-price { font-size: 17px; }
  .add-btn { width: 44px; height: 44px; font-size: 24px; }
  .cart-drawer { width: 530px; }
  .cart-head h2 { font-size: 26px; }
  .contacts-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .contact-card { padding: 30px 26px; }
}

/* ---------- Мобильный (до 900) ---------- */
@media (max-width: 899px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .topbar-right { margin-left: auto; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .items { gap: 12px; }
  .item { padding: 14px 12px; gap: 12px; }
  .item-name { font-size: 16px; }
  .item-note { font-size: 13px; }
  .item-price { font-size: 16px; }
  .add-btn { width: 44px; height: 44px; font-size: 24px; }
  .hero { min-height: 420px; }
  .hero-title { font-size: 34px; }
  .feature { padding: 20px 16px; }
  .pop-card { aspect-ratio: 3 / 2; }
  .cart-item { padding: 14px; gap: 12px; }
  .field input, .field textarea { padding: 13px; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 22px; }
  .brand-logo { width: 40px; height: 40px; }
  .top-phone { display: none; }
  .hero { min-height: 380px; }
  .hero-title { font-size: 28px; }
  .hero-lead { font-size: 16px; }
  .popular-grid { grid-template-columns: 1fr; }
  .pop-card { aspect-ratio: 16 / 10; }
  .footer-cols { gap: 28px; }
  .cart-empty .emoji { font-size: 40px; }
  .success .emoji { font-size: 48px; }
  .success h3 { font-size: 18px; }
}
