
:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --text: #ffffff;
  --text-muted: #b0b0b0;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --red: #c41e3a;
  --green: #3fa565;
  --red-hover: #a01830;
  --border: #2a2a2a;
  /* Рамки полей, вкладок и кнопок-контуров: контраст с фоном не ниже 3:1 (WCAG 1.4.11) */
  --border-strong: #666;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
}

a { color: inherit; text-decoration: none; }

/* Видимый фокус с клавиатуры (мышью обводки нет — это и делает :focus-visible) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.logo-mark img {
  position: absolute;
  width: 185%;
  max-width: none;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -32%);
  -webkit-user-drag: none;
  pointer-events: none;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #1a1408;
}
.btn-gold:hover { background: var(--gold-light); color: #1a1408; transform: translateY(-1px); }
.header-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-right: 4px;
  line-height: 1.25;
  white-space: nowrap;
}
.header-hours-day {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.header-hours-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.header-hours-time { color: var(--text); }
.header-hours-status { font-weight: 600; }
.header-hours-status.is-open { color: #8fceaa; }
.header-hours-status.is-closed { color: var(--gold); }
.hero-closed-note,
.checkout-closed-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--gold-light);
  max-width: 28ch;
}
.checkout-closed-note { margin: 0 0 16px; max-width: none; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  font-size: 1.3rem;
}
.cart-count {
  position: absolute;
  top: 0; right: 0;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(30%, -30%);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.search-btn:hover,
.search-btn.is-open { background: var(--red-hover); }
.search-btn svg {
  display: block;
  pointer-events: none;
}
.header-search {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.98);
}
.header-search.is-open { display: block; }
.header-search-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 16px;
}
.header-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
}
.header-search-field:focus-within { border-color: var(--red); }
.header-search-field input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 12px 0;
}
.header-search-field input::placeholder { color: var(--text-muted); }
.header-search-field input:focus { outline: none; }
.header-search-field input::-webkit-search-decoration,
.header-search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.header-search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
}
.header-search-close:hover { color: var(--text); }
.header-search-results {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 12px;
  display: grid;
  gap: 4px;
}
.header-search-results:empty,
.header-search-results.hidden { display: none; }
.header-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 10px 14px;
}
.header-search-item:hover { border-color: var(--gold); }
.header-search-item span:last-child { color: var(--gold); white-space: nowrap; }
.header-search-hint,
.header-search-more {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 8px 4px 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1,
.hero-content .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
/* Название в H1 (для поиска «суши-ци»), визуально — надзаголовок */
.hero-brand {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 520px;
}
.hero-flag {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  width: 152%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-flag img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 10%, #000 26%, #000 94%, transparent 100%),
    radial-gradient(ellipse 92% 84% at 68% 50%, #000 46%, transparent 80%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 10%, #000 26%, #000 94%, transparent 100%),
    radial-gradient(ellipse 92% 84% at 68% 50%, #000 46%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: flag-breeze 18s ease-in-out infinite;
}
@keyframes flag-breeze {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4px, -2px, 0); }
}
.hero-decor {
  position: absolute;
  top: -40px; right: -20px;
  width: 120px;
  opacity: 0.7;
  pointer-events: none;
}

.campaign-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 108px 24px 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #050505;
}
.campaign-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.campaign-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.85) brightness(0.42);
}
.campaign-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(140, 18, 28, 0.38), transparent 70%),
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.28) 38%, rgba(5,5,5,0.72) 100%);
}
.campaign-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
/* Пока не пришли данные акций: без пустых кругов и нулей в счётчике, место на экране занято */
.campaign-hero-inner.is-loading { visibility: hidden; }
.campaign-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.campaign-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 14px;
  color: var(--gold);
  font-size: 0.7rem;
}
.campaign-ornament span {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.campaign-sub {
  color: var(--gold-light);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  margin-bottom: 28px;
}
.campaign-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 28px;
  gap: 24px;
}
.campaign-badges.is-single { justify-content: center; }
.campaign-badge {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 6px rgba(80, 10, 16, 0.35), 0 0 28px rgba(196, 30, 58, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(20, 8, 10, 0.2), rgba(0,0,0,0.55));
}
.campaign-badge strong {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
.campaign-badge span {
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 212, 139, 0.78);
}
.campaign-timer {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 8px auto 36px;
}
.campaign-timer-unit {
  min-width: 92px;
  padding: 0 18px;
  position: relative;
}
.campaign-timer-unit + .campaign-timer-unit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 22px;
  width: 1px;
  background: rgba(201, 162, 39, 0.45);
}
.campaign-timer-unit b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-light);
}
.campaign-timer-unit span {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 212, 139, 0.7);
}
.campaign-cats-wrap {
  margin-top: 8px;
}
.campaign-cats-kicker,
.campaign-cats-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.campaign-cats-kicker { margin-bottom: 22px; }
.campaign-cats-sign { margin-top: 26px; }
.campaign-cats-kicker svg,
.campaign-cats-sign svg {
  width: 36px;
  height: 22px;
  display: block;
}
.campaign-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: center;
  gap: 22px;
}
.campaign-cats[data-count="3"],
.campaign-cats[data-count="5"],
.campaign-cats[data-count="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.campaign-cats[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}
.campaign-cats[data-count="7"],
.campaign-cats[data-count="8"],
.campaign-cats.is-full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.campaign-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 268px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 70% at 18% 12%, rgba(201, 162, 39, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(22, 18, 12, 0.92), rgba(8, 8, 8, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 180, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.campaign-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 240' fill='none' stroke='%23c9a227' stroke-width='1'><path d='M-10 40c40 18 70-18 110 0s70-18 110 0 70-18 110 0'/><path d='M-10 78c40 18 70-18 110 0s70-18 110 0 70-18 110 0'/><path d='M-10 168c40 18 70-18 110 0s70-18 110 0 70-18 110 0'/><path d='M-10 206c40 18 70-18 110 0s70-18 110 0 70-18 110 0'/></svg>");
  background-size: cover;
}
.campaign-cat:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 180, 0.08),
    0 16px 36px rgba(201, 162, 39, 0.12);
}
.campaign-cat-photo {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(201, 162, 39, 0.72);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.1), 0 8px 18px rgba(0, 0, 0, 0.35);
  background: #14110c;
}
.campaign-cat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.campaign-cat-photo--symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--gold);
}
.campaign-cat-photo--symbol svg {
  width: 88px;
  height: 88px;
}
.campaign-cat-icon {
  position: relative;
  z-index: 1;
  color: var(--gold);
  margin-top: auto;
  padding-top: 18px;
}
.campaign-cat-icon svg {
  width: 40px;
  height: 32px;
  display: block;
}
.campaign-cat h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 18px 0 8px;
  padding-right: 64px;
}
.campaign-cat p {
  position: relative;
  z-index: 1;
  color: rgba(232, 212, 139, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
  margin-bottom: 0;
  /* Три блюда акции: длинные названия не растягивают карточку — не больше трёх строк */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 8px;
}
.campaign-cat-off {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 16px;
  padding: 5px 11px;
  border-radius: 10px;
  background: #c45a3c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}
.campaign-cat-hours {
  display: block;
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 0.82rem;
}
.campaign-cat-link {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.88rem;
}
.campaign-hero .hero-closed-note {
  margin: 22px auto 0;
  max-width: none;
}


.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
}
.section-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.section-ornament svg {
  width: 80px;
  height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}


.tabs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px 22px;
  flex-wrap: nowrap;
  margin-bottom: 44px;
  padding: 22px 16px 6px;
  overflow: visible;
}
.tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 92px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 1.05rem;
  cursor: pointer;
  transition: color 0.2s;
  font-family: var(--font-serif);
}
.tab:hover, .tab.active {
  background: transparent;
  border: 0;
  color: var(--gold-light);
}
.tab-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  display: block;
  position: relative;
  color: var(--gold);
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: box-shadow 0.2s;
}
.tab-photo-disk {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(201, 162, 39, 0.82);
  background: #0a0a0a;
  transition: border-color 0.2s;
}
.tab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tab-photo svg {
  width: 48px;
  height: 48px;
  display: block;
}
.tab-photo--mark svg {
  width: 50px;
  height: 50px;
}
.tab:hover .tab-photo-disk {
  border-color: var(--gold);
}
.tab.active .tab-photo {
  box-shadow:
    0 0 0 1px rgba(255, 96, 24, 0.45),
    0 0 10px 2px rgba(255, 84, 18, 0.85),
    0 0 22px 6px rgba(255, 64, 10, 0.38);
}
.tab.active .tab-photo-disk {
  border-color: rgba(255, 140, 48, 0.95);
}
.tab-label {
  line-height: 1.2;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 400;
  color: #e6c56a;
}
.tab-ornament {
  display: block;
  width: 48px;
  height: 12px;
  color: var(--gold);
  opacity: 0.8;
  margin-top: -2px;
}
.tab-ornament svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tab-drop {
  position: relative;
  z-index: 4;
}
.tab-drop:hover,
.tab-drop.open {
  z-index: 40;
}
.tab-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 248px;
  padding: 8px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 40;
  flex-direction: column;
  gap: 4px;
}
.tab-drop:hover .tab-drop-menu,
.tab-drop.open .tab-drop-menu {
  display: flex;
}
.tab-drop-menu .tab {
  width: 100%;
  min-width: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
.tab-drop-menu .tab:hover,
.tab-drop-menu .tab.active {
  background: rgba(201, 162, 39, 0.1);
}
.tab-drop-menu .tab.active .tab-photo {
  box-shadow: none;
}
.tab-drop-menu .tab.active .tab-photo-disk {
  border-color: var(--gold);
}
.tab-drop-menu .tab-photo {
  width: 36px;
  height: 36px;
  box-shadow: none;
}
.tab-drop-menu .tab-photo svg,
.tab-drop-menu .tab-photo--mark svg {
  width: 22px;
  height: 22px;
}
.tab-drop-menu .tab-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,162,39,0.12);
}
.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #a8841a 100%);
  color: #1a1408;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.product-weight {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.product-price {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.product-sale {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  width: 100%;
}
.product-sale-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  line-height: 1.3;
}
.product-sale .product-weight {
  margin-bottom: 0;
}
.product-sale-dot {
  color: var(--text-muted);
}
.product-benefit {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.product-price-sale {
  margin-bottom: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--gold-light);
}
.product-price-old {
  color: #8a8a8a;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: rgba(201, 162, 39, 0.75);
  text-decoration-thickness: 1.5px;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.product-card .btn {
  width: 100%;
  max-width: 160px;
}


.info-section {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.info-section h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 24px;
}
.info-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.yandex-map {
  margin: 0 auto 16px;
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8e8e8;
  color-scheme: light;
}
.yandex-map[data-mode="api"] {
  height: 480px;
}
.yandex-map iframe {
  display: block;
  width: 100% !important;
  height: 480px;
  max-width: 100%;
  border: 0;
  color-scheme: light;
}
.delivery-available {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 48px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.delivery-available-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature p { color: var(--text-muted); font-size: 0.95rem; }

.tab-sale .tab-label { color: #e6c56a; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.cart-close:hover { color: var(--text); }

.cart-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #0a0a0a;
}
.cart-scroll::-webkit-scrollbar { width: 8px; }
.cart-scroll::-webkit-scrollbar-track { background: #0a0a0a; }
.cart-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border: 2px solid #0a0a0a;
  border-radius: 999px;
}
.cart-items {
  padding: 16px 24px;
}
.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 500; margin-bottom: 4px; }
.cart-item-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.cart-item-price { color: var(--gold); font-size: 0.95rem; }
.cart-item-unit { display: block; color: var(--text-muted); font-size: 0.8rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 6px;
}
.cart-item-remove:hover { color: var(--red); }


.upsell {
  padding: 14px 24px 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
}
.upsell h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.upsell-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #0a0a0a;
}
.upsell-list::-webkit-scrollbar { height: 6px; }
.upsell-list::-webkit-scrollbar-track { background: #0a0a0a; }
.upsell-list::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}
.upsell-status {
  flex: 0 0 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px 0;
}
.upsell-item {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 8px 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0;
  text-align: center;
  scroll-snap-align: start;
  transition: border-color 0.2s, background 0.2s;
}
.upsell-item:hover {
  border-color: rgba(201, 162, 39, 0.55);
  background: var(--bg-card-hover)
}
.upsell-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #202020;
  font-size: 23px;
  line-height: 1;
}
.upsell-item-info {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}
.upsell-item-name {
  display: -webkit-box;
  min-height: 2.3em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.72rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.upsell-item-price {
  margin-top: 4px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.upsell-add {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  border-radius: 7px;
}
.upsell-add:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.cart-total span:last-child { color: var(--gold); font-weight: 600; }
.checkout-sum { margin-bottom: 20px; }
.checkout-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.checkout-sum .cart-total { margin-bottom: 0; }
.cart-footer .btn { width: 100%; }


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 24px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
}
.modal h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0a0a0a;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.pay-method {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.pay-method.active, .pay-method:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.checkout-callback-note { margin-top: 12px; text-align: center; }
.checkout-callback-note a { color: var(--gold); white-space: nowrap; }
.pay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.pay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #141414;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.pay-card:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
  transform: translateY(-1px);
}
.pay-card:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.pay-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(201,162,39,0.12);
  color: var(--gold);
}
.pay-card-icon svg {
  width: 22px;
  height: 22px;
}
.pay-card-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.pay-card-text small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.modal-actions .btn { flex: 1; }
.checkout-lead {
  color: var(--text-muted);
  text-align: center;
  margin: -12px 0 20px;
  line-height: 1.45;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
}
.auth-tab.active {
  border-color: var(--gold);
  color: var(--text);
  background: rgba(201,162,39,0.08);
}
.agree-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.agree-row input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background: #0a0a0a center / 12px 12px no-repeat;
  cursor: pointer;
}
.agree-row input:checked {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.6 9 10 3' fill='none' stroke='%231a1408' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.captcha-btn {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 168px;
  height: 52px;
}
.captcha-btn img {
  display: block;
  width: 168px;
  height: 52px;
  object-fit: contain;
}
.form-error {
  color: #e07070;
  font-size: 0.9rem;
  margin: 0 0 12px;
  line-height: 1.4;
}
.form-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}
/* Промокод в оформлении: применяется сам, статус под полем */
.promo-status--ok { color: #8fceaa; }
.promo-status--error { color: #e07070; }

/* Подсказка под полем — не перебивается крупным текстом страницы */
.form-group .form-hint {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 6px 0 0;
}
.street-group {
  position: relative;
}
.saved-addresses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
}
.saved-addresses-title {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.saved-address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.saved-address.active {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.saved-address-main {
  overflow-wrap: anywhere;
}
.saved-address-extra {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.saved-address-new {
  color: var(--text-muted);
}
.street-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.street-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
.street-option span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.street-option:hover {
  background: rgba(201,162,39,0.08);
}
.street-option.muted {
  color: var(--text-muted);
  cursor: default;
}


.success-msg {
  text-align: center;
  padding: 24px 0;
}
.success-msg .icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.success-msg h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.success-msg p { color: var(--text-muted); }
.success-pay { margin-top: 20px; }


.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo,
.logo--footer {
  margin-bottom: 12px;
}
.logo--footer .logo-mark {
  width: 64px;
  height: 64px;
}
.logo--footer .logo-name {
  font-size: 1.7rem;
}
.footer p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}


@media (max-width: 1100px) {
  .header-hours { display: none; }
  .tabs { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .campaign-cats,
  .campaign-cats[data-count="3"],
  .campaign-cats[data-count="5"],
  .campaign-cats[data-count="6"],
  .campaign-cats[data-count="7"],
  .campaign-cats[data-count="8"],
  .campaign-cats.is-full { grid-template-columns: 1fr 1fr; max-width: none; }
  .campaign-cat:only-child { grid-column: 1 / -1; }
  .campaign-badges { max-width: 420px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-closed-note { margin-left: auto; margin-right: auto; }
  .hero-line { margin-left: auto; margin-right: auto; }
  .hero-image {
    order: -1;
    justify-content: center;
    min-height: 320px;
  }
  .hero-flag {
    right: auto;
    left: 54%;
    width: 176%;
    transform: translate(-50%, -50%);
  }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--bg);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .logo { gap: 8px; }
  .logo-name { font-size: 1.15rem; }
  .logo-mark { width: 40px; height: 40px; }
  .logo--footer .logo-mark { width: 52px; height: 52px; }
  .logo--footer .logo-name { font-size: 1.35rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pay-actions { grid-template-columns: 1fr; }
  .cart-drawer { max-width: 100%; }
  .cart-header { padding: 16px 18px; }
  .cart-items { padding: 10px 16px; }
  .cart-footer { padding: 14px 16px; }
  .upsell { padding: 12px 16px; }
  .upsell h3 { margin-bottom: 8px; font-size: 0.9rem; }
  .upsell-list { gap: 6px; }
  .upsell-item { flex-basis: calc((100% - 18px) / 4); gap: 4px; padding: 7px 3px; }
  .upsell-item-icon { width: 30px; height: 30px; flex-basis: 30px; font-size: 21px; }
  .upsell-item-name { font-size: 0.68rem; }
  .upsell-item-price { font-size: 0.66rem; }
  .upsell-add { flex-basis: 27px; width: 27px; height: 27px; }
}


.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a1210 0%, #0a0a0a 70%);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}
.page-hero p { color: var(--text-muted); font-size: 1.1rem; }

.dish-overlay { z-index: 3100; }
.dish-modal {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.dish-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 2;
  font-size: 1.1rem;
}
.dish-close:hover { color: #fff; border-color: var(--gold); }
.dish-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  height: 100%;
  background: #161616;
  overflow: hidden;
}
.dish-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.dish-info {
  padding: 40px 36px 28px;
  overflow-y: auto;
  max-height: 90vh;
}
.dish-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--gold-light);
  text-align: left;
  margin-bottom: 8px;
}
.dish-diamond {
  color: var(--gold);
  text-align: center;
  margin: 4px 0 12px;
  letter-spacing: 0.3em;
}
.dish-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.dish-price-sale {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-size: 1rem;
}
.dish-benefit {
  flex: 1 0 100%;
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
}
.dish-price-now {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-light);
}
.dish-meta {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.dish-section {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 8px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2a2a;
}
.dish-ings, .dish-sets {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.dish-ings li, .dish-sets li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: #ddd;
  font-size: 0.95rem;
}
.dish-ings li::before, .dish-sets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.dish-sets > li.dish-set-roll {
  padding: 10px 0 14px;
  border-bottom: 1px solid #242424;
}
.dish-sets > li.dish-set-roll:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}
.dish-sets > li.dish-set-roll::before {
  content: none;
}
.dish-set-roll-name {
  color: var(--gold-light);
  font-size: 1.02rem;
  line-height: 1.35;
}
.dish-set-roll-qty {
  color: var(--gold);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.dish-set-roll-ings {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.dish-ings li.removed { color: #666; text-decoration: line-through; }
.ing-toggle {
  margin-left: 10px;
  border: 0;
  background: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
}
.dish-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.dish-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
}
.dish-qty button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.dish-footer .btn { flex: 1; }
@media (max-width: 800px) {
  .dish-modal { grid-template-columns: 1fr; }
  .dish-photo { min-height: 220px; max-height: 260px; }
}

.account-login-card {
  max-width: 460px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.account-card h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.account-lead {
  color: var(--text-muted);
  line-height: 1.5;
  margin: -8px 0 20px;
}
.account-shell {
  max-width: 1080px;
  margin: 0 auto 80px;
  padding: 120px 24px 40px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 52px;
}
.account-nav-btn {
  background: none;
  border: 0;
  text-align: left;
  padding: 10px 0;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.account-nav-btn:hover { color: var(--text); }
.account-nav-btn.active { color: var(--gold); }
.account-crumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.account-crumb a { color: var(--text-muted); }
.account-crumb a:hover { color: var(--gold); }
.account-crumb span { margin: 0 6px; }
.account-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 28px;
}
.account-profile {
  margin-bottom: 36px;
}
.account-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.account-list { margin-bottom: 8px; }
.account-address,
.account-promo,
.account-order {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  cursor: pointer;
}
.account-order:hover { border-color: var(--gold); }
.account-address:last-child,
.account-promo:last-child,
.account-order:last-child { margin-bottom: 0; }
.account-address {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.account-address p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}
.account-promo-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.account-promo-code {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.account-promo-off { color: var(--gold); }
.account-promo-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}
.account-promo-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}
.account-order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: flex-start;
}
.account-order-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.account-order-menu { position: relative; flex-shrink: 0; }
.account-order-dots {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.account-order-dots:hover,
.account-order-menu.open .account-order-dots {
  color: var(--text);
  background: var(--bg-card-hover);
}
.account-order-menu-list {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 30;
  min-width: 248px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.account-order-menu.open .account-order-menu-list { display: block; }
.account-order-menu-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}
.account-order-menu-list button:hover:not(:disabled) { background: var(--bg-card-hover); }
.account-order-menu-list button:disabled {
  opacity: 0.55;
  cursor: default;
}
.account-order-pay-methods {
  padding: 0 4px 4px 8px;
}
.account-order-pay-methods button { font-size: 0.85rem; color: var(--text-muted); }
.account-order-menu-note {
  margin: 4px 4px 6px;
  padding: 8px 8px 4px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}
.account-order-menu-note a { color: var(--gold); }
.order-status {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.order-status.is-new {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.5);
}
.order-status.is-confirmed {
  color: #8ec0ea;
  background: rgba(70, 140, 200, 0.14);
  border-color: rgba(90, 150, 210, 0.45);
}
.order-status.is-cooking {
  color: #e2a45c;
  background: rgba(200, 130, 50, 0.14);
  border-color: rgba(210, 140, 60, 0.45);
}
.order-status.is-ready,
.order-status.is-delivering {
  color: #7ec8bc;
  background: rgba(40, 150, 140, 0.14);
  border-color: rgba(70, 170, 160, 0.45);
}
.order-status.is-completed {
  color: #6dce7a;
  background: rgba(50, 160, 80, 0.16);
  border-color: rgba(70, 170, 90, 0.5);
}
.order-status.is-cancelled {
  color: #e07070;
  background: rgba(196, 90, 90, 0.14);
  border-color: rgba(196, 90, 90, 0.5);
}
.account-order-items {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 8px 0;
  line-height: 1.45;
}
.account-order-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.account-order-pay {
  margin-top: 12px;
}
.account-order-modal {
  max-width: 1180px;
  width: min(1180px, 100%);
  position: relative;
  padding: 0;
  background: #0c0a08;
  border: 1px solid rgba(201, 162, 39, 0.28);
}
.account-order-modal h2 {
  text-align: left;
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.account-order-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  margin: 8px 0 0;
  font-size: 0.9rem;
}
.account-order-dishes {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.account-order-dish {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
}
.account-order-dish-photo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #161616;
}
.account-order-dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-order-dish-name { font-weight: 500; }
.account-order-dish-note,
.account-order-dish-qty {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}
.account-order-dish-sum { white-space: nowrap; }
.account-order-sheet-block {
  margin: 16px 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.account-order-sheet-block h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.account-order-sheet-block p { margin: 0 0 4px; }
.account-order-sheet-comment { color: var(--text-muted); }
.account-order-sheet-text {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.account-order-sheet-muted {
  margin: 8px 0 0;
  color: #9a9288;
  font-size: 0.9rem;
}
.account-order-sheet .checkout-fulfill-btn { cursor: default; }
.checkout-field strong {
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.account-order-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.account-order-sheet-actions .btn { flex: 1 1 140px; }
.account-order-pay-status h4 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.account-order-pay-status p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}
.account-order-pay-status p.is-alert { color: #e07070; }
.account-order-sheet {
  padding: 32px 36px 40px;
}
.account-order-sheet .checkout-grid { gap: 28px 40px; }
.account-order-sheet .checkout-block {
  padding: 22px 24px 24px;
  margin-bottom: 18px;
}
.account-order-sheet .checkout-block h3 { margin-bottom: 18px; }
.account-order-sheet .checkout-fulfill { gap: 14px; }
.account-order-sheet .checkout-fulfill-btn { min-height: 56px; }
.account-order-sheet .checkout-contact { gap: 16px; }
.account-order-sheet .checkout-field {
  min-height: 64px;
  padding: 12px 16px;
}
.account-order-sheet .account-order-sheet-text {
  font-size: 1.05rem;
  line-height: 1.6;
}
.account-order-sheet .checkout-summary { padding: 24px 24px 22px; }
.account-order-sheet .checkout-items { gap: 16px; margin-bottom: 20px; }
.account-order-sheet .checkout-item { align-items: start; padding: 4px 0 12px; }
.account-order-sheet .checkout-sum-row { margin-bottom: 12px; }
.account-order-sheet .cart-total { margin-top: 14px; padding-top: 16px; }
@media (max-width: 600px) {
  .account-order-sheet { padding: 18px 16px 24px; }
}
/* Текущий способ оплаты: серая, не нажимается — видно, что выбрано сейчас */
.account-pay-choice:disabled {
  opacity: 0.5;
  cursor: default;
  border-style: dashed;
}
.account-empty { color: var(--text-muted); }
#account-orders-more,
#account-addresses-more,
#account-promos-more { margin-top: 12px; }
.account-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.account-tool-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
}
.account-tool-btn:hover { color: var(--text); }
.account-tool-danger { color: #9a6a6a; }
.account-tool-danger:hover { color: #e07070; }
.account-delete-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  max-width: 360px;
}
.account-delete-inline input {
  width: 160px;
  padding: 8px 12px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}
.account-delete-inline .form-error { width: 100%; margin: 0; text-align: right; }
.btn-danger {
  background: transparent;
  border: 1px solid #e07070;
  color: #e07070;
}
.btn-danger:hover {
  background: rgba(224, 112, 112, 0.12);
}
#account-login-form .btn,
#reset-password-form .btn { width: 100%; }
.account-forgot {
  margin: 16px 0 0;
  text-align: center;
}
.account-auth-links {
  margin: 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.account-forgot a,
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.account-forgot a:hover,
.link-btn:hover { text-decoration: underline; }
.account-email {
  padding: 12px 14px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  min-height: 46px;
}

.account-lk {
  max-width: 1180px;
  width: 100%;
  min-width: 0;
  gap: 0 36px;
  padding-top: 28px;
}
.page-hero + #account-page .account-lk {
  padding-top: 24px;
}
.account-lk-aside,
.account-main {
  min-width: 0;
  max-width: 100%;
}
.account-lk-aside {
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  background: #0c0a08;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 20px;
  align-self: start;
}
.account-lk-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}
.account-lk .account-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #8a8276;
  font-size: 1rem;
}
.account-lk .account-nav-btn svg { flex-shrink: 0; }
.account-lk .account-nav-btn:hover { color: var(--gold-light); }
.account-lk .account-nav-btn.active {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.7);
  background: rgba(201, 162, 39, 0.08);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.18);
}
.account-lk-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.account-lk .account-title {
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin-bottom: 6px;
}
.account-lk-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 42ch;
}
.account-lk .account-list,
.account-lk #account-orders,
.account-lk #account-promos {
  display: grid;
  gap: 16px;
}
.account-lk .account-address,
.account-lk .account-order,
.account-lk .account-promo {
  margin: 0;
  cursor: default;
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 16px;
  padding: 20px 22px 18px;
  min-width: 0;
  max-width: 100%;
}
.account-lk .account-address {
  flex-direction: column;
  align-items: stretch;
}
.account-lk .account-order { cursor: pointer; }
.account-lk .account-address.is-primary {
  border-color: rgba(201, 162, 39, 0.85);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 0 28px rgba(201, 162, 39, 0.12);
  position: relative;
}
.account-lk .account-address.is-primary::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.account-lk-address-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}
.account-lk-address-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 12rem;
}
.account-lk-pin {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold);
}
.account-lk-address-title strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.account-lk-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.7);
  color: var(--gold-light);
  font-size: 0.82rem;
}
.account-lk .account-address p {
  margin: 8px 0 16px 28px;
  color: #9a9288;
  font-size: 0.92rem;
}
.account-lk-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 28px;
}
.account-lk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #c45a5a;
  background: transparent;
  color: #e07070;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.account-lk-chip:hover { background: rgba(196, 90, 90, 0.12); }
.account-lk-chip svg { flex-shrink: 0; }
.account-lk-profile-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 500;
  margin: 28px 0 16px;
}
.account-lk .account-profile {
  margin: 0;
  padding: 0;
  border: 0;
}
.account-lk [data-account-panel="profile"] .account-tools {
  margin-top: 36px;
}
.account-lk .account-order-head { margin-bottom: 14px; }
.account-lk .account-order-items {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--text);
  font-size: 0.95rem;
}
.account-order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}
.account-order-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.account-order-line em {
  font-style: normal;
  color: #9a9288;
}
.account-lk .order-preorder {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-light);
  font-size: 0.85rem;
}
.account-lk .account-order-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  flex-wrap: wrap;
}
.account-order-meta-main,
.account-order-meta-pay {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-order-meta-main { color: #9a9288; font-size: 0.9rem; }
.account-order-meta-pay { text-align: right; align-items: flex-end; }
.account-order-meta-pay span { color: #9a9288; font-size: 0.9rem; }
.account-order-meta-pay strong { color: var(--gold-light); font-size: 1.05rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 800px) {
  .account-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 108px;
  }
  .account-shell.account-lk {
    padding-top: 16px;
  }
  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
  }
  .account-lk-aside {
    padding: 12px;
    width: 100%;
  }
  .account-lk-menu {
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .account-lk .account-nav-btn {
    flex: 1 1 auto;
  }
  .account-lk-head {
    flex-direction: column;
  }
  .account-lk .account-address p,
  .account-lk-address-actions { margin-left: 0; }
  .account-fields { grid-template-columns: 1fr; }
  .account-tools { flex-direction: column; }
  .account-delete-inline { justify-content: flex-start; max-width: none; }
  .account-delete-inline .form-error { text-align: left; }
}

.staff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gold);
  background: transparent;
  flex-shrink: 0;
}
.staff-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.staff-btn svg {
  display: block;
  pointer-events: none;
}
.staff-shell {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 120px 24px 40px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
}
.staff-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.staff-title-row .account-title { margin-bottom: 0; }
.staff-title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.staff-sound-warn,
.staff-sound-warn:hover {
  background: #d32f2f;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 0 2px #ff8a80;
  animation: staff-sound-warn 1.2s ease-in-out infinite;
}
@keyframes staff-sound-warn {
  50% { box-shadow: 0 0 0 5px rgba(255, 138, 128, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .staff-sound-warn { animation: none; }
}
.staff-date-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}
.staff-date-btn:focus-within,
.staff-date-btn.is-on {
  border-color: var(--gold);
  color: var(--gold);
}
.staff-date-btn input[type="date"] {
  width: 132px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
  color-scheme: dark;
}
.staff-date-btn input[type="date"]:focus {
  outline: none;
}
.staff-date-clear {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.staff-date-clear:hover { color: var(--gold); }
.staff-lead {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.staff-list { display: grid; gap: 12px; }
.staff-menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.staff-menu-toolbar input {
  flex: 1 1 220px;
  width: auto;
  max-width: 420px;
  padding: 12px 14px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.staff-menu-toolbar input::placeholder {
  color: var(--text-muted);
}
.staff-menu-toolbar input:focus {
  outline: none;
  border-color: var(--gold);
}
.staff-menu-toolbar input::-webkit-search-decoration,
.staff-menu-toolbar input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.staff-menu-toolbar .btn {
  flex: 0 0 auto;
  padding: 12px 22px;
}
.staff-menu-toolbar .btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}
.staff-menu-group {
  display: grid;
  gap: 8px;
}
.staff-menu-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin: 8px 0 4px;
  padding: 4px 4px 4px 0;
}
.staff-menu-group.is-off .staff-menu-group-title { opacity: 0.55; }
.staff-menu-group.is-dirty .staff-menu-group-title {
  outline: 1px solid var(--gold);
  border-radius: 12px;
  padding: 8px 12px;
}
.staff-menu-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: inherit;
}
.staff-menu-row:hover { border-color: var(--gold); }
.staff-menu-row.is-off { opacity: 0.55; }
.staff-menu-row.is-dirty { border-color: var(--gold); }
/* Удаление блюда — только во вкладке «Меню» панели персонала */
.staff-menu-remove {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(224, 112, 112, 0.45);
  border-radius: 8px;
  background: transparent;
  color: #e07070;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}
.staff-menu-remove:hover { background: rgba(196, 30, 58, 0.15); color: #fff; }
.staff-menu-remove:disabled { opacity: 0.5; cursor: default; }
.staff-product-preview {
  display: block;
  margin-top: 10px;
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.staff-product-preview.hidden { display: none; }
.staff-menu-actions { display: inline-flex; align-items: center; gap: 6px; }
.staff-menu-compo {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.staff-menu-compo:hover { border-color: var(--gold); color: var(--gold); }
/* Состав блюда: плашки ингредиентов и поиск по справочнику */
.staff-compo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.staff-compo-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px 4px 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #151515;
  font-size: 0.85rem;
}
.staff-compo-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-compo-chip.is-fixed { border-color: var(--gold); background: rgba(201, 162, 39, 0.12); }
.staff-compo-lock { display: inline-flex; align-items: center; justify-content: center; }
.staff-compo-chip.is-fixed .staff-compo-lock { color: var(--gold); }
.staff-compo-lock,
.staff-compo-del {
  width: 26px;
  height: 26px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}
.staff-compo-lock:hover,
.staff-compo-del:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.staff-compo-search { position: relative; }
.staff-compo-input { width: 100%; }
.staff-compo-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.staff-compo-list.hidden { display: none; }
.staff-compo-option { padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.staff-compo-option.is-active,
.staff-compo-option:hover { background: rgba(255, 255, 255, 0.08); }
.staff-compo-option.is-create { color: var(--gold); }
.staff-compo-option.is-empty { color: var(--text-muted); cursor: default; }
/* Конструктор сета: строки «блюдо – количество + ✕» */
.staff-compo-option[data-index] { display: flex; justify-content: space-between; gap: 10px; }
.staff-set-option-price { color: var(--text-muted); white-space: nowrap; }
.staff-set-rows { display: grid; gap: 6px; margin-bottom: 8px; }
.staff-set-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #151515;
}
.staff-set-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; }
.staff-set-qty { display: inline-flex; align-items: center; gap: 4px; }
.staff-set-step {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.staff-set-step:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.staff-set-step:disabled { opacity: 0.35; cursor: default; }
.staff-set-count { min-width: 22px; text-align: center; font-weight: 600; }
.staff-set-summary { margin-top: 2px; }
.staff-menu-name { font-weight: 500; }
.staff-menu-price {
  color: var(--gold);
  white-space: nowrap;
}
.staff-menu-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.staff-menu-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.staff-card {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.staff-card:hover { border-color: var(--gold); }
.staff-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.staff-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.staff-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  color: var(--gold);
}
.staff-pill-done { color: var(--text-muted); }
.staff-pill-cancel { color: #e07070; border-color: rgba(224,112,112,0.4); }
.staff-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: flex-end;
}
.staff-drawer {
  width: min(520px, 100%);
  height: 100%;
  background: #111;
  border-left: 1px solid var(--border);
  overflow: auto;
  padding: 24px;
}
.staff-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.staff-drawer-head h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}
.staff-kv {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.staff-kv .form-group { margin-bottom: 0; }
.staff-kv #staff-sale-product-query { margin-bottom: 8px; }
.staff-pick-list {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: #0a0a0a;
}
.staff-pick-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
}
.staff-pick-row:hover { background: var(--bg-card-hover); }
.staff-kv .staff-pick-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.staff-pick-meta {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.staff-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px;
}
.staff-items {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.staff-order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.staff-sum {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.95rem;
}
/* Блок «Оплата» в карточке заказа /staff: попытки оплаты, цвет по статусу */
.staff-pay-title { margin-top: 20px; }
.staff-pay-row {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 10px;
  background: #151515;
}
.staff-pay-row .staff-hint { margin-top: 4px; }
.staff-pay-row.is-paid { border-left-color: #3fae6a; }
.staff-pay-row.is-failed { border-left-color: #e07070; }
.staff-pay-row.is-refunded { border-left-color: var(--gold); }
.staff-pay-row.is-pending,
.staff-pay-row.is-closed { border-left-color: var(--text-muted); }
.staff-pay-row.is-closed { opacity: 0.75; }
.staff-pay-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; }
.staff-pay-bank { margin-top: 4px; font-size: 0.8rem; color: var(--text-muted); overflow-wrap: anywhere; }
.staff-pay-copy {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: underline dotted;
  overflow-wrap: anywhere;
  cursor: copy;
}
.staff-pay-copy:hover { color: var(--gold); }
.staff-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
}
.staff-ov-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.staff-ov-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.staff-ov-label { color: var(--text-muted); font-size: 0.9rem; }
.staff-ov-value { font-size: 2rem; font-weight: 700; margin: 6px 0 2px; color: var(--text); }
.staff-ov-sub { color: var(--text-muted); font-size: 0.8rem; }
.staff-ov-charts {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 16px;
}
@media (max-width: 760px) {
  .staff-ov-charts { grid-template-columns: 1fr; }
}
.staff-ov-chart-card { padding-bottom: 14px; }
.staff-ov-chart {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: 180px;
  margin-top: 16px;
}
.staff-ov-donut-card { display: flex; flex-direction: column; }
.staff-ov-donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 16px auto 14px;
  display: grid;
  place-items: center;
}
.staff-ov-donut-hole {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.staff-ov-donut-value { font-size: 1.4rem; font-weight: 700; }
.staff-ov-donut-caption { font-size: 0.75rem; color: var(--text-muted); }
.staff-ov-legend { list-style: none; display: grid; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.staff-ov-legend b { color: var(--text); font-weight: 600; }
.staff-ov-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.staff-ov-dot.is-done { background: var(--green); }
.staff-ov-dot.is-back { background: var(--red); }
.staff-ov-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.staff-ov-track {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 22px;
  min-height: 0;
}
.staff-ov-num { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.staff-ov-bar {
  display: block;
  width: 60%;
  max-width: 72px;
  background: var(--gold);
  border-radius: 6px 6px 0 0;
}
.staff-ov-cap {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.staff-hours-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}
.staff-hours-status.is-open {
  border-color: rgba(46, 125, 50, 0.45);
}
.staff-hours-status.is-closed {
  border-color: rgba(224, 112, 112, 0.45);
}
.staff-hours-block {
  margin-top: 28px;
}
.staff-hours-block h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.staff-hours-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.staff-hours-until {
  align-items: end;
}
.staff-hours-table {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}
.staff-hours-day {
  display: grid;
  grid-template-columns: 9.5rem 7.5rem auto 7.5rem minmax(7rem, 1fr);
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}
.staff-hours-name {
  font-weight: 500;
  min-width: 0;
}
.staff-hours-day input[type="time"] {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
}
.staff-hours-day input[type="time"]:disabled {
  opacity: 0.55;
}
.staff-hours-day > span:not(.staff-hours-name) {
  color: var(--text-muted);
  text-align: center;
}
.staff-hours-day .agree-row {
  margin: 0;
  justify-self: start;
}
@media (max-width: 800px) {
  .staff-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 108px;
  }
  .staff-menu-row {
    grid-template-columns: 1fr auto;
  }
  .staff-menu-check {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  /* «Изменить / Состав / ✕» на узком экране — своей строкой, иначе не помещаются */
  .staff-menu-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .staff-menu-row > * { min-width: 0; }
  .staff-hours-day {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .staff-hours-name,
  .staff-hours-day .agree-row {
    grid-column: 1 / -1;
  }
  .staff-hours-until {
    grid-template-columns: 1fr;
  }
}

.hidden { display: none !important; }


@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .header-inner {
    height: 68px;
    padding: 0 12px;
    gap: 8px;
  }
  .header-inner > div[style*="gap:16px"] {
    gap: 8px !important;
  }
  .logo {
    gap: 6px;
    flex-shrink: 0;
  }
  .logo-name {
    font-size: 1.02rem;
    letter-spacing: 0.03em;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }
  .nav.open {
    top: 68px;
    padding: 18px 16px;
    gap: 16px;
  }
  .cart-btn {
    padding: 6px;
    font-size: 1.1rem;
  }
  .search-btn,
  .staff-btn {
    width: 38px;
    height: 38px;
  }
  .header-search-inner {
    padding: 10px 12px 12px;
  }
  .header-search-results {
    padding: 0 12px 10px;
  }
  .btn {
    padding: 11px 20px;
    font-size: 0.92rem;
  }
  .campaign-hero {
    min-height: 0;
    padding: 88px 16px 32px;
  }
  .campaign-badges {
    max-width: 280px;
  }
  .campaign-badge {
    width: 92px;
    height: 92px;
  }
  .campaign-badge strong { font-size: 1.4rem; }
  .campaign-badge span { font-size: 0.52rem; }
  .campaign-timer-unit { min-width: 64px; padding: 0 8px; }
  .campaign-cats,
  .campaign-cats[data-count="3"],
  .campaign-cats[data-count="5"],
  .campaign-cats[data-count="6"],
  .campaign-cats[data-count="7"],
  .campaign-cats[data-count="8"],
  .campaign-cats.is-full { grid-template-columns: 1fr 1fr; gap: 12px; max-width: none; }
  .campaign-cat { min-height: 210px; padding: 16px 14px 14px; border-radius: 18px; }
  .campaign-cat h2 { font-size: 1.35rem; margin-top: 12px; padding-right: 0; }
  .campaign-cat p { font-size: 0.58rem; letter-spacing: 0.08em; }
  .campaign-cat-photo { width: 78px; height: 78px; }
  .campaign-cat-photo--symbol svg { width: 42px; height: 42px; }
  .campaign-cat-icon { padding-top: 12px; }
  .campaign-cat-icon svg { width: 26px; height: 22px; }
  .campaign-cat-off { top: 12px; right: 10px; padding: 4px 8px; font-size: 0.72rem; }
  .campaign-cats-kicker,
  .campaign-cats-sign { letter-spacing: 0.16em; font-size: 0.58rem; }
  .hero {
    min-height: 0;
    padding: 84px 16px 36px;
  }
  .hero-inner {
    gap: 16px;
  }
  .hero-image {
    min-height: 240px;
  }
  .hero-flag {
    width: 158%;
  }
  .hero-content h1,
  .hero-content .hero-title {
    font-size: clamp(2.1rem, 8.8vw, 2.7rem);
  }
  .hero-line {
    margin: 14px auto 16px;
  }
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .section {
    padding: 44px 16px;
  }
  .tabs {
    gap: 12px 14px;
    margin-bottom: 28px;
    padding: 18px 8px 4px;
  }
  .tab {
    min-width: 72px;
    gap: 8px;
    font-size: 0.82rem;
  }
  .tab-photo {
    width: 68px;
    height: 68px;
  }
  .tab-photo svg,
  .tab-photo--mark svg {
    width: 32px;
    height: 32px;
  }
  .tab-label {
    font-size: 0.88rem;
  }
  .tab-ornament {
    width: 28px;
    height: 8px;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-img {
    height: clamp(105px, 31vw, 145px);
  }
  .product-body {
    padding: 12px 10px 14px;
  }
  .product-name {
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .product-price {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  .product-badge {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 0.58rem;
    border-radius: 6px;
  }
  .product-sale {
    margin-bottom: 10px;
    gap: 2px;
  }
  .product-benefit {
    font-size: 0.72rem;
  }
  .product-price-sale {
    font-size: 1.02rem;
  }
  .product-price-old {
    font-size: 0.78rem;
  }
  .product-weight {
    font-size: 0.75rem;
  }
  .product-card .btn {
    max-width: none;
    padding: 10px 6px;
    font-size: 0.82rem;
  }
  .cart-header h2 {
    font-size: 1.3rem;
  }
  .cart-close {
    min-width: 40px;
    min-height: 40px;
  }
  .cart-items {
    min-height: 0;
    padding: 8px 14px;
  }
  .cart-item {
    gap: 10px;
    padding: 12px 0;
  }
  .cart-item img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }
  .cart-item-name {
    font-size: 0.9rem;
  }
  .cart-item-qty {
    gap: 8px;
  }
  .qty-btn {
    width: 34px;
    height: 34px;
  }
  .cart-item-remove {
    min-height: 32px;
    padding: 4px 0;
  }
  .upsell {
    padding: 10px 12px 12px;
  }
  .upsell h3 {
    font-size: 0.84rem;
    margin-bottom: 7px;
  }
  .upsell-list {
    gap: 5px;
  }
  .upsell-item {
    flex-basis: calc((100% - 15px) / 4);
    gap: 4px;
    padding: 6px 2px;
  }
  .upsell-item-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 21px;
  }
  .upsell-item-name {
    font-size: 0.63rem;
    line-height: 1.1;
    min-height: 2.2em;
  }
  .upsell-item-price {
    font-size: 0.62rem;
    white-space: nowrap;
  }
  .upsell-add {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    padding: 0;
    font-size: 1.1rem;
  }
  .cart-footer {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }
  .cart-total {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .cart-footer .btn {
    min-height: 44px;
    padding: 12px 14px;
  }
  .modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }
  .modal {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 22px 16px;
    border-radius: 12px;
  }
  .modal h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  .form-group {
    margin-bottom: 14px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px;
    font-size: 16px;
  }
  .modal-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .account-order-modal { padding: 0; }
  .account-order-dish {
    grid-template-columns: 56px 1fr;
  }
  .account-order-dish-photo {
    width: 56px;
    height: 56px;
  }
  .account-order-dish-sum { grid-column: 2; justify-self: start; }
  .account-login-card {
    padding: 0 16px;
    margin-bottom: 48px;
  }
  .account-card {
    padding: 20px 16px;
  }
  .account-shell,
  .staff-shell {
    padding: 92px 16px 24px;
    margin-bottom: 40px;
  }
  .account-shell.account-lk {
    padding-top: 16px;
  }
  .footer {
    padding: 32px 16px 24px;
    margin-top: 32px;
  }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 0.75rem;
  }
}

@media (max-width: 800px) {
  .dish-overlay {
    padding: 10px;
    overflow-y: auto;
    align-items: flex-start;
  }
  .dish-modal {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }
  .dish-photo {
    min-height: clamp(150px, 45vw, 190px);
    max-height: 200px;
  }
  .dish-info {
    max-height: none;
    overflow: visible;
    padding: 20px 16px 20px;
  }
  .dish-info h2 {
    font-size: 1.6rem;
  }
  .dish-price {
    font-size: 1.6rem;
  }
  .dish-price-now {
    font-size: 1.6rem;
  }
  .dish-benefit {
    font-size: 0.85rem;
  }
  .dish-meta {
    margin-bottom: 18px;
  }
  .dish-footer {
    gap: 10px;
    flex-wrap: wrap;
  }
  .dish-footer .btn {
    min-width: 0;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 0 10px;
  }
  .logo-name {
    font-size: 0.94rem;
  }
  .logo-mark {
    width: 30px;
    height: 30px;
  }
  .tab {
    min-width: 60px;
    gap: 6px;
  }
  .tab-photo {
    width: 58px;
    height: 58px;
  }
  .tab-label {
    font-size: 0.78rem;
  }
  .products-grid {
    gap: 8px;
  }
  .product-img {
    height: 104px;
  }
  .product-body {
    padding: 10px 8px 12px;
  }
}

.cart-cutlery {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 39, 0.7);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
  font-size: 1rem;
  color: var(--gold-light);
}
.cart-cutlery-text {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1.02rem;
}
.cart-cutlery-toggle { margin: 0; font-size: 0.95rem; color: var(--text); }

.cart-delivery-min {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 39, 0.7);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
}
.cart-delivery-min-text {
  margin: 0;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1.02rem;
}
.cart-delivery-min-left {
  margin: 4px 0 8px;
  color: var(--text);
  font-size: 0.92rem;
}
.cart-delivery-min-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.18);
  overflow: hidden;
}
.cart-delivery-min-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
}
.checkout-delivery-min { margin: 12px 0 0; }

/* «Рекомендуем добавить» — карусель в конце списка корзины */
.recommend {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.recommend h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.recommend-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #0a0a0a;
}
.recommend-list::-webkit-scrollbar { height: 6px; }
.recommend-list::-webkit-scrollbar-track { background: #0a0a0a; }
.recommend-list::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.recommend-card {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
}
.recommend-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}
.recommend-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recommend-img .product-badge {
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  font-size: 0.58rem;
  border-radius: 6px;
}
.recommend-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.5em;
  margin: 8px 10px 0;
  font-size: 0.85rem;
  line-height: 1.25;
}
.recommend-meta {
  margin: 2px 10px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.recommend-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding: 8px 10px 10px;
}
.recommend-foot strong { color: var(--gold-light); font-size: 0.9rem; white-space: nowrap; }
.recommend-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}
.recommend-price-sale {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.recommend-price-old {
  color: #8a8a8a;
  font-size: 0.72rem;
  text-decoration: line-through;
  text-decoration-color: rgba(201, 162, 39, 0.75);
  white-space: nowrap;
}
.recommend-add {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 8px;
}
.recommend-add:disabled { cursor: wait; opacity: 0.65; transform: none; }

/* Предзаказ */
.when-tabs { margin-bottom: 10px; }
.when-fields { margin-bottom: 0; }
.when-fields .form-group { margin-bottom: 0; }
.order-preorder { color: var(--gold-light); }
.staff-preorder {
  padding: 2px 8px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.78rem;
  white-space: nowrap;
}
.staff-preorder.is-soon {
  border-color: var(--red);
  background: rgba(196, 30, 58, 0.18);
  color: #fff;
}

/* Политика обработки персональных данных */
.legal-page { max-width: 820px; margin: 0 auto; line-height: 1.65; text-align: left; }
.legal-page h2 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--gold); }
.legal-page p { margin-bottom: 12px; color: var(--text-muted); }
.legal-page ul { margin: 0 0 12px 20px; color: var(--text-muted); }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--text); font-weight: 600; }
.legal-page a { color: var(--gold); }
.legal-page code { font-size: 0.9em; color: var(--gold-light); }
.agree-row a { color: var(--gold); text-decoration: underline; }

.staff-delete-btn { margin-top: 10px; width: 100%; color: #e07070; border-color: rgba(224,112,112,0.45); }
.staff-delete-btn:hover { background: rgba(196, 30, 58, 0.15); color: #fff; }

/* Тарифы восьми зон доставки */
.delivery-tariffs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin: 24px auto 48px;
}

.delivery-tariff-card {
    flex: 0 1 calc((100% - 32px) / 3);
    max-width: 320px;
    min-width: 0;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.delivery-tariff-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .delivery-tariff-heading h3 {
        font-family: var(--font-serif);
        font-size: 1.15rem;
    }

.delivery-tariff-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex: 0 0 14px;
}

.delivery-tariff-meta,
.delivery-tariff-minimum {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 2px;
}

.delivery-tariff-minimum {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.delivery-tariff-minimum strong {
    white-space: nowrap;
}

.delivery-tariff-rules {
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
}

    .delivery-tariff-rules > div {
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

.delivery-balloon-tariffs {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

.delivery-balloon-tariffs > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

.delivery-balloon-tariffs > div span {
    flex: 1 1 auto;
}

.delivery-balloon-tariffs > div strong {
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
}

.delivery-balloon-tariffs > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.delivery-map-unavailable {
    display: grid;
    min-height: 180px;
    place-items: center;
    padding: 24px;
    color: var(--text-muted);
    text-align: center;
}

.info-section > .delivery-available {
    margin-bottom: 12px;
}

.delivery-info-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.delivery-info-features > .feature {
    flex: 0 1 calc((100% - 64px) / 3);
    max-width: 280px;
    min-width: 0;
}

.delivery-tariff-card { text-align: left; }
.delivery-tariff-minimum-label-short { display: none; }

@media (max-width: 760px) {
    .delivery-tariff-card {
        flex-basis: calc((100% - 16px) / 2);
        max-width: 360px;
    }

    .delivery-info-features > .feature {
        flex-basis: calc((100% - 32px) / 2);
        max-width: 360px;
    }
}

@media (max-width: 520px) {
    .delivery-info-features {
        gap: 10px;
        margin-top: 32px;
    }

    .delivery-info-features > .feature {
        flex: 0 0 100%;
        max-width: none;
        min-width: 0;
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        align-items: start;
        padding: 14px 16px;
        text-align: left;
    }

    .delivery-info-features > .feature .feature-icon {
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 1.8rem;
        text-align: center;
    }

    .delivery-info-features > .feature h3 {
        margin: 0 0 4px;
        font-size: 1.05rem;
    }

    .delivery-info-features > .feature p {
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .delivery-tariffs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .delivery-tariffs .delivery-tariff-card {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 12px 10px;
    }

    .delivery-tariffs .delivery-tariff-heading { gap: 6px; margin-bottom: 6px; }
    .delivery-tariffs .delivery-tariff-heading h3 { font-size: 0.95rem; }

    .delivery-tariffs .delivery-tariff-meta,
    .delivery-tariffs .delivery-tariff-minimum {
        font-size: 0.72rem;
        line-height: 1.3;
        white-space: nowrap;
    }

    .delivery-tariffs .delivery-tariff-minimum {
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border);
    }

    .delivery-tariffs .delivery-tariff-minimum-label-full { display: none; }
    .delivery-tariffs .delivery-tariff-minimum-label-short { display: inline; }

    .delivery-tariffs .delivery-tariff-rules {
        gap: 6px;
        font-size: 0.75rem;
    }

    .delivery-tariffs .delivery-tariff-rules > div {
        align-items: baseline;
        gap: 4px;
    }

    .delivery-tariffs .delivery-tariff-rules > div span {
        flex: 1 1 auto;
        text-align: left;
        white-space: nowrap;
    }

    .delivery-tariffs .delivery-tariff-rules > div strong {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
    }
}

.page-hero + .info-section {
    padding-top: 24px;
}

@media (max-width: 600px) {
    .page-hero + .info-section {
        padding-top: 12px;
    }
}

.delivery-tariff-rules > .delivery-tariff-head {
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.delivery-tariff-head strong {
    font-weight: 500;
    text-align: right;
}

@media (max-width: 520px) {
    .delivery-tariffs .delivery-tariff-rules > .delivery-tariff-head {
        font-size: 0.62rem;
        letter-spacing: 0;
    }
}

/* Заказ принят: окошко под шапкой справа, примерно под лупой */
.active-order {
  position: fixed;
  top: 96px;
  right: max(16px, calc((100vw - 1280px) / 2 + 24px));
  z-index: 900;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: active-order-in 0.3s ease;
}
.active-order-title { font-weight: 600; margin-bottom: 6px; padding-right: 24px; }
.active-order-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.active-order-go { width: 100%; }
.active-order-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.active-order-close:hover { color: var(--text); }
@keyframes active-order-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .active-order { top: 76px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .active-order { animation: none; }
}

.contacts-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 72px;
  background: transparent;
}
.page-hero + .contacts-page {
  padding-top: 24px;
}
.contacts-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.contacts-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 14px 20px;
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 14px;
  color: inherit;
  min-height: 100%;
}
a.contacts-card:hover {
  border-color: var(--gold-light);
  background: #16120e;
}
.contacts-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 4px;
}
.contacts-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9288;
}
.contacts-card strong {
  color: var(--gold-light);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
  word-break: break-word;
}
.contacts-card span:last-child {
  color: #8a8276;
  font-size: 0.82rem;
  line-height: 1.4;
}
.contacts-form {
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 16px;
  padding: 22px 24px 20px;
}
.contacts-form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.contacts-form-head h2 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0;
}
.contacts-form-head p {
  color: #8a8276;
  font-size: 0.9rem;
  margin: 0;
}
.contacts-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(200px, 240px);
  grid-template-areas:
    "name email submit"
    "message message submit";
  gap: 12px 14px;
  align-items: stretch;
}
.contacts-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0908;
  border: 1px solid #2a2620;
  border-radius: 10px;
  padding: 0 14px;
  min-height: 48px;
  color: var(--gold);
}
.contacts-field:focus-within { border-color: var(--gold); }
.contacts-field input,
.contacts-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 12px 0;
  resize: vertical;
}
.contacts-field input:focus,
.contacts-field textarea:focus { outline: none; }
.contacts-field-message {
  grid-area: message;
  align-items: flex-start;
  padding-top: 12px;
}
.contacts-field-message textarea { min-height: 72px; }
.contacts-form-grid .contacts-field:nth-child(1) { grid-area: name; }
.contacts-form-grid .contacts-field:nth-child(2) { grid-area: email; }
.contacts-submit {
  grid-area: submit;
  align-self: end;
  height: 48px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
}
.contacts-form-extra {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.contacts-form-extra .form-group { margin: 0; }
.contacts-diamond {
  width: 14px;
  height: 14px;
  margin: 22px auto 0;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 980px) {
  .contacts-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-form-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name email"
      "message message"
      "submit submit";
  }
}
@media (max-width: 600px) {
  .contacts-page { padding: 12px 16px 48px; }
  .page-hero + .contacts-page { padding-top: 12px; }
  .contacts-cards { grid-template-columns: 1fr; }
  .contacts-form { padding: 18px 14px; }
  .contacts-form-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "email"
      "message"
      "submit";
  }
}

.about-story {
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px 24px 72px;
  background: transparent;
}
.about-story-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 36px 36px;
  align-items: stretch;
}
.about-story-photo {
  margin: 0;
  border: 1px solid rgba(201, 162, 39, 0.45);
  overflow: hidden;
  min-height: 100%;
  display: flex;
}
.about-story-photo img {
  width: 100%;
  flex: 1;
  height: 100%;
  object-fit: cover;
  object-position: 82% 50%;
  min-height: 420px;
}
.about-story-copy { min-width: 0; }
.about-story-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.about-story-title h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}
.about-story-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.85), rgba(201, 162, 39, 0.15));
}
.about-story-blossom { color: var(--gold); flex-shrink: 0; display: inline-flex; }
.about-story-lead {
  color: var(--gold-light);
  font-size: 1.12rem;
  margin: 0 0 28px;
}
.about-story-steps {
  display: grid;
  gap: 14px;
}
.about-story-step {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  padding: 14px 16px;
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 12px;
}
.about-story-num {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1.55rem;
  line-height: 1;
  min-width: 1.7em;
}
.about-story-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.about-story-step h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  font-family: var(--font-sans);
}
.about-story-step p {
  margin: 0;
  color: #b8b0a4;
  font-size: 0.88rem;
  line-height: 1.5;
}
.about-story-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 320px);
  gap: 28px 40px;
  align-items: center;
  margin-top: 44px;
}
.about-story-philosophy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
}
.about-story-philosophy-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  grid-row: 1 / 3;
}
.about-story-philosophy h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--gold-light);
  margin: 6px 0 0;
}
.about-story-philosophy p {
  margin: 8px 0 0;
  color: #c8c0b4;
  font-size: 0.95rem;
  line-height: 1.65;
  grid-column: 2;
}
.about-story-rating {
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 12px;
  padding: 22px 24px 18px;
  text-align: center;
  background: #100e0c;
}
.about-story-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.about-story-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--gold);
}
.about-story-rating strong {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
}
.about-story-rating p {
  margin: 8px 0 0;
  color: #9a9288;
  font-size: 0.9rem;
}
@media (max-width: 980px) {
  .about-story-main,
  .about-story-bottom {
    grid-template-columns: 1fr;
  }
  .about-story-photo { min-height: 0; }
  .about-story-photo img {
    min-height: 260px;
    height: 260px;
    flex: none;
  }
  .about-story-rating { max-width: 360px; }
}
@media (max-width: 600px) {
  .about-story { padding: 108px 16px 48px; }
  .about-story-step {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num icon"
      "text text";
  }
  .about-story-num { grid-area: num; }
  .about-story-step-icon { grid-area: icon; }
  .about-story-step > div { grid-area: text; }
  .about-story-philosophy {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .about-story-philosophy-icon { grid-row: auto; }
  .about-story-philosophy p { grid-column: auto; }
}

#checkout-modal .modal {
  max-width: 1180px;
  width: min(1180px, 100%);
  padding: 0;
  background: #0c0a08;
  border: 1px solid rgba(201, 162, 39, 0.28);
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
#checkout-modal.is-auth .modal,
#checkout-modal.is-success .modal {
  max-width: 480px;
  padding: 32px;
}
#checkout-modal .checkout-sheet {
  padding: 28px 28px 32px;
  min-width: 0;
}
.checkout-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.checkout-sheet-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  text-align: left;
  margin: 0;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 22px 28px;
  align-items: start;
}
.checkout-main,
.checkout-summary {
  min-width: 0;
}
.checkout-block {
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 16px;
  padding: 16px 18px 18px;
  margin-bottom: 14px;
}
.checkout-block:last-child { margin-bottom: 0; }
.checkout-block h3,
.checkout-summary h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-sans);
}
.checkout-block h3 svg { color: var(--gold); flex-shrink: 0; }
.checkout-fulfill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-fulfill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #2a2620;
  background: #0a0908;
  color: #9a9288;
  font: inherit;
  cursor: pointer;
}
.checkout-fulfill-btn.active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25);
}
.checkout-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkout-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #2a2620;
  border-radius: 12px;
  background: #0a0908;
  color: var(--gold);
}
.checkout-field span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.checkout-field em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8a8276;
}
.checkout-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 2px 0 4px;
}
.checkout-field input:focus { outline: none; }
.checkout-field:focus-within { border-color: var(--gold); }
.checkout-address-extra {
  grid-template-columns: 1fr 1fr 1fr;
}
.checkout-sheet .saved-addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.checkout-sheet .saved-address {
  position: relative;
  gap: 6px;
  padding: 14px 14px 12px 36px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  background: #0a0908;
  min-width: 0;
}
.checkout-sheet .saved-address.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}
.saved-address-check {
  position: absolute;
  top: 14px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.7);
}
.checkout-sheet .saved-address.active .saved-address-check {
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #0a0908;
}
.checkout-sheet .saved-address-main {
  color: var(--gold-light);
  font-size: 0.9rem;
  line-height: 1.35;
}
.saved-address-add {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.saved-address-add.active { color: var(--gold); }
.checkout-comment {
  position: relative;
  margin-bottom: 12px;
}
.checkout-comment textarea {
  width: 100%;
  min-height: 78px;
  padding: 12px 14px 28px;
  border: 1px solid #2a2620;
  border-radius: 12px;
  background: #0a0908;
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.checkout-comment textarea:focus { outline: none; border-color: var(--gold); }
#comment-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #8a8276;
  font-size: 0.78rem;
}
.checkout-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.checkout-promo input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #2a2620;
  border-radius: 12px;
  background: #0a0908;
  color: var(--text);
  font: inherit;
}
.checkout-promo input:focus { outline: none; border-color: var(--gold); }
.checkout-promo .btn { white-space: nowrap; }
.checkout-summary {
  background: #100e0c;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.checkout-summary h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.checkout-summary h3 svg { color: var(--gold); }
.checkout-items {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.checkout-item img,
.checkout-item-fallback {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #1a1612;
}
.checkout-item-info {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.checkout-item-info strong {
  font-size: 0.92rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.checkout-item-info span,
.checkout-item-info em {
  color: #8a8276;
  font-size: 0.8rem;
  font-style: normal;
}
.checkout-item b {
  color: var(--gold-light);
  font-weight: 500;
  white-space: nowrap;
}
.checkout-summary .checkout-sum { margin: 0 0 16px; }
.checkout-summary .checkout-sum-row {
  color: #c8c0b4;
}
.checkout-summary .cart-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  font-size: 1.15rem;
}
.checkout-summary .pay-actions {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}
.checkout-summary .pay-actions h4 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.checkout-summary .pay-card {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 12px;
  position: relative;
}
.checkout-summary .pay-card.active {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}
.checkout-summary .pay-card.active:disabled {
  opacity: 1;
  cursor: default;
}
.checkout-summary .pay-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.checkout-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
}
.checkout-secure {
  margin: 10px 0 0;
  color: #8a8276;
  font-size: 0.78rem;
  text-align: center;
}
.checkout-sheet .checkout-callback-note { text-align: left; }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 600px) {
  #checkout-modal .checkout-sheet { padding: 16px 14px 20px; }
  .checkout-contact,
  .checkout-fulfill,
  .checkout-address-extra,
  .checkout-promo,
  .checkout-summary .pay-actions { grid-template-columns: 1fr; }
  .checkout-sheet .saved-addresses { grid-template-columns: 1fr; }
}
