/* Палитра — нейтральный серый (под логотип). Чтобы сменить оттенок, достаточно поменять переменные ниже. */
:root {
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #737373;
  --line: #e6e6e6;
  --line-2: #d6d6d6;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --bg-soft-2: #ededed;
  --accent: #4a4a4a;
  --accent-dark: #2e2e2e;
  --accent-soft: #f2f2f2;
  --silver: linear-gradient(135deg, #fafafa 0%, #d6d6d6 45%, #f4f4f4 60%, #a3a3a3 100%);
  --green: #059669;
  --danger: #dc2626;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06);
  --shadow: 0 10px 30px -12px rgba(26, 26, 26, 0.2);
  --shadow-lg: 0 30px 60px -20px rgba(26, 26, 26, 0.3);
  --header-h: 76px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(26, 26, 26, .7); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f4f4f4; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center;
  color: var(--ink-2); transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--bg-soft-2); color: var(--ink); }


/* ---------- верхняя строка ---------- */
.topbar { background: var(--ink); color: #a3a3a3; font-size: 13px; }
.topbar__inner { display: flex; gap: 28px; align-items: center; height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { width: 15px; height: 15px; color: #737373; }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 700; }
.topbar__mail { color: #d6d6d6; }
.topbar__phone:hover, .topbar__mail:hover { color: #fff; }
.topbar__phone:hover .icon, .topbar__mail:hover .icon { color: #d6d6d6; }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(26, 26, 26, .45); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { display: block; height: 46px; width: auto; max-width: 360px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.burger span { top: 21px; }
.burger span::before, .burger span::after { content: ''; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(163, 163, 163, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(214, 214, 214, .35), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(26, 26, 26, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 26, 26, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; justify-content: center; text-align: center; padding-top: 88px; padding-bottom: 88px; }
.hero__content { max-width: 820px; display: flex; flex-direction: column; align-items: center; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }

.hero__title { margin-top: 22px; font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hero__subtitle { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.hero__stats { display: flex; justify-content: center; margin: 48px 0 0; padding: 0; }
.hero__stats div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.hero__stats div:first-child { border-left: 0; }
.hero__stats dt { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.hero__stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- секции ---------- */
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { margin-bottom: 44px; max-width: 640px; }
.section__head h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section__head .btn { margin-top: 24px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section__head--row > div:first-child { max-width: 620px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #575757, #d6d6d6); }
.eyebrow--light { color: #a3a3a3; }
.eyebrow--light::before { background: linear-gradient(90deg, #f4f4f4, #737373); }
.section__head--center .eyebrow { justify-content: center; }

/* ---------- каталог-меню ---------- */
.menu-head-actions { display: flex; gap: 10px; flex: none; }

.menu-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.menu-nav a {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font-size: 14px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; white-space: nowrap;
}
.menu-nav a:hover { border-color: var(--ink); color: var(--ink); }
.menu-nav a span { font-size: 12px; opacity: .55; }

.menu { display: grid; gap: 64px; }
.menu-group { scroll-margin-top: calc(var(--header-h) + 20px); }
.menu-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.menu-group__head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.menu-group__head span { color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }

.menu-item {
  display: grid; grid-template-columns: 116px 1fr auto; gap: 20px; align-items: center; width: 100%;
  padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left;
}
.menu-item.is-in-cart .menu-item__img { border-color: var(--ink-2); }
.menu-item__img {
  display: block; width: 116px; height: 88px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #f0f0f0 75%); transition: border-color .2s;
}
button.menu-item__name { text-align: left; }
.menu-item__buy { display: flex; align-items: center; justify-content: flex-end; min-width: 44px; }
.menu-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; transition: transform .35s; }
.menu-item:hover .menu-item__img img { transform: scale(1.07); }
.menu-item__body { min-width: 0; }
.menu-item__top { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; transition: color .2s; }
.menu-item:hover .menu-item__name { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.menu-item__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-2); transform: translateY(-5px); }
.menu-item__price { font-size: 20px; font-weight: 800; white-space: nowrap; letter-spacing: -0.01em; }
.menu-item__price s { font-size: 14px; color: var(--muted); font-weight: 600; margin-right: 6px; }
.menu-item__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--muted); }
.menu-item__meta b { color: var(--ink-2); font-weight: 700; }
.menu-item__per { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); font-weight: 600; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: #fff; white-space: nowrap; align-self: center; }

.menu-skeleton { height: 280px; border-radius: 20px; background: linear-gradient(100deg, #f4f4f4 30%, #fafafa 50%, #f4f4f4 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

.menu-note {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line);
}
.menu-note b { display: block; font-size: 18px; font-weight: 800; }
.menu-note p { color: var(--muted); }
.menu-note__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.empty { text-align: center; padding: 64px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--silver); color: var(--ink); border: 1px solid #fff; box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(26, 26, 26, .35);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; font-weight: 800; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- доставка ---------- */
.delivery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-card { display: flex; gap: 20px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.info-card__icon { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--ink); }
.info-card__icon .icon { width: 24px; height: 24px; }
.info-card h3 { font-size: 18px; font-weight: 800; }
.info-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(163, 163, 163, .35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(115, 115, 115, .3), transparent 60%),
    var(--ink);
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: conic-gradient(from 200deg, #e6e6e6, #575757, #fafafa, #a3a3a3, #e6e6e6); opacity: .1;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.cta-band__text p { margin-top: 14px; color: #d6d6d6; font-size: 17px; max-width: 460px; }
.cta-band__form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-band__form .btn { grid-column: 1 / -1; }
.cta-band__form .input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; }
.cta-band__form .input::placeholder { color: #a3a3a3; }
.cta-band__form .input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.cta-band__form .form-note, .cta-band__form .form-msg { grid-column: 1 / -1; color: #a3a3a3; }
.cta-band__form .form-msg.is-ok { color: #6ee7b7; }
.cta-band__form .form-msg.is-error { color: #fca5a5; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--bg-soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-card b { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; line-height: 1.35; word-break: break-word; }
.messengers { display: flex; gap: 12px; margin-top: 24px; }

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: #a3a3a3; padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(163, 163, 163, .18); }
.footer__brand b { color: #fff; font-size: 22px; font-weight: 800; }
.footer__logo { height: 52px; width: auto; max-width: 100%; }
.footer__brand p { margin-top: 12px; max-width: 340px; font-size: 15px; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts a:first-child { color: #fff; font-size: 18px; font-weight: 800; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13px; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field > span i { font-style: normal; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(74, 74, 74, .12); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 80px; }
.input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.form-note { font-size: 12px; color: var(--muted); }
.form-msg { font-size: 14px; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--green); }
.form-msg.is-error { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(26, 26, 26, .5); backdrop-filter: blur(3px); animation: fade .2s; overflow-y: auto; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2, .9, .3, 1.2); }
.modal__dialog--wide { max-width: 900px; padding: 0; overflow: hidden; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; }
.modal__title { font-size: 26px; font-weight: 800; padding-right: 32px; }
.modal__text { color: var(--muted); margin: 8px 0 18px; }
.modal__topic { margin: -4px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); font-weight: 700; font-size: 14px; color: var(--ink-2); }

.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd__media { position: relative; background: radial-gradient(circle at 50% 40%, #fff 0%, #ededed 75%); display: grid; place-items: center; min-height: 420px; padding: 32px; }
.pd__media img { width: 100%; max-height: 360px; object-fit: contain; }
.pd__media .tag { position: absolute; top: 20px; left: 20px; }
.pd__info { padding: 40px 36px 36px; display: flex; flex-direction: column; }
.pd__cat { font-size: 13px; font-weight: 700; color: var(--muted); }
.pd__info h2 { font-size: 28px; font-weight: 800; margin-top: 6px; padding-right: 30px; }
.pd__desc { margin-top: 12px; color: var(--ink-2); }
.pd__specs { margin: 20px 0 0; border-top: 1px solid var(--line); }
.pd__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd__specs dt { color: var(--muted); }
.pd__specs dd { margin: 0; font-weight: 700; text-align: right; }
.pd__price { margin-top: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pd__price b { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.pd__price s { color: var(--muted); }
.pd__price small { width: 100%; color: var(--muted); font-weight: 600; font-size: 14px; }
.pd__actions { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- заказ: кнопки, корзина, плашка ---------- */
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; transition: background-color .2s;
}
.cart-btn:hover { background: #333333; }
.cart-btn .icon { width: 20px; height: 20px; }
.cart-btn__count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.cart-btn.is-bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.1); } }

.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; transition: background-color .2s, transform .2s;
  box-shadow: 0 8px 18px -10px rgba(26, 26, 26, .7);
}
.add-btn:hover { background: var(--accent-dark); transform: scale(1.06); }
.add-btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.add-btn__label { display: none; }

.qty { display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: var(--ink); color: #fff; user-select: none; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; border-radius: 999px; color: #fff; transition: background-color .2s; }
.qty button:hover { background: rgba(255, 255, 255, .14); }
.qty .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.qty__value { min-width: 28px; text-align: center; font-weight: 800; font-size: 15px; white-space: nowrap; }
.qty--light { background: var(--bg-soft-2); color: var(--ink); height: 38px; }
.qty--light button { color: var(--ink); width: 34px; }
.qty--light button:hover { background: var(--line-2); }
.qty--block { width: 100%; height: 54px; justify-content: space-between; }
.qty--block button { width: 54px; }

.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 0;
  background: rgba(26, 26, 26, .96); color: #fff; box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: slide-up .3s ease;
}
@keyframes slide-up { from { transform: translateY(100%); } }
.order-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-bar__info b { display: block; font-size: 16px; font-weight: 800; }
.order-bar__info span { color: #d6d6d6; font-size: 14px; font-weight: 600; }
body.has-order-bar { padding-bottom: 80px; }

.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(26, 26, 26, .45); backdrop-filter: blur(2px); animation: fade .2s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(460px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s .3s; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; font-weight: 800; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 24px 28px; }

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 76px; height: 60px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cart-item__name { font-weight: 800; font-size: 15px; line-height: 1.3; }
.cart-item__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-item__sum { font-weight: 800; white-space: nowrap; }
.cart-item__remove { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.cart-item__remove:hover { color: var(--danger); background: #fef2f2; }
.cart-item__remove .icon { width: 18px; height: 18px; }

.cart-summary { margin: 20px 0 24px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); display: grid; gap: 6px; }
.cart-summary div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.cart-summary .total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--ink); font-size: 19px; font-weight: 800; }
.cart-form-title { font-size: 18px; font-weight: 800; }

.cart-state { text-align: center; padding: 56px 12px; }
.cart-state__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft-2); color: var(--muted); }
.cart-state--done .cart-state__icon { background: #ecfdf5; color: var(--green); }
.cart-state__icon .icon { width: 32px; height: 32px; }
.cart-state h3 { font-size: 20px; font-weight: 800; }
.cart-state p { color: var(--muted); margin: 8px 0 24px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: #6ee7b7; width: 18px; height: 18px; }
body.has-order-bar .toast { bottom: 96px; }

/* ---------- появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  .nav { gap: 22px; }
}

@media (max-width: 1120px) {
  :root { --header-h: 68px; }
  .header__inner { gap: 12px; }
  .logo img { height: 40px; }
  .header__callback { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; margin: 0;
    background: #fff; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s; overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__phone { display: block; font-weight: 800 !important; color: var(--ink) !important; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 1024px) {
  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 40px; gap: 28px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 8px; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .section__head--row { flex-direction: column; align-items: stretch; }
  .menu-list { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd__media { min-height: 260px; }
}

/* ---------- телефон ---------- */
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header, .order-bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header { background: #fff; }
  .logo img { height: 24px; max-width: 230px; }
  .header__actions { gap: 10px; }
  .burger { width: 42px; height: 42px; }
  .burger span { top: 19px; left: 11px; }
  .cart-btn { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .cart-btn__label { display: none; }

  .section { padding: 48px 0; }
  .section__head { margin-bottom: 22px; }
  .section__head h2 { font-size: 26px; }
  .section__head p { font-size: 15px; margin-top: 10px; }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }

  .hero__inner { padding-top: 36px; padding-bottom: 44px; }
  .hero__title { font-size: 32px; margin-top: 18px; }
  .hero__subtitle { font-size: 16px; margin-top: 14px; }
  .hero__actions { width: 100%; margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; height: 50px; }
  .hero__stats { flex-wrap: nowrap; width: 100%; margin-top: 28px; }
  .hero__stats div { flex: 1; padding: 0 6px; }
  .hero__stats dt { font-size: 16px; }
  .hero__stats dd { font-size: 11px; }

  /* каталог: компактные строки, кнопка «+» справа */
  .menu-head-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .menu-head-actions .btn { width: 100%; padding: 0 10px; font-size: 14px; }
  .menu-nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .menu-nav::-webkit-scrollbar { display: none; }
  .menu { gap: 32px; }
  .menu-group__head { padding-bottom: 10px; }
  .menu-group__head h3 { font-size: 20px; }
  .menu-item { grid-template-columns: 72px 1fr auto; column-gap: 12px; padding: 14px 0; }
  .menu-item__img { width: 72px; height: 56px; border-radius: 10px; }
  .menu-item__top { flex-wrap: wrap; gap: 0 8px; }
  .menu-item__name { font-size: 15px; }
  .menu-item__dots { display: none; }
  .menu-item__price { order: 3; width: 100%; font-size: 16px; margin-top: 2px; }
  .menu-item__meta { font-size: 12.5px; gap: 0 8px; margin-top: 2px; }
  .menu-item__per { font-size: 12px; }
  .add-btn { width: 40px; height: 40px; }
  .qty { height: 38px; }
  .qty button { width: 32px; }
  .qty__value { min-width: 20px; font-size: 14px; }
  .menu-note { padding: 18px; gap: 14px; }
  .menu-note b { font-size: 16px; }
  .menu-note__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .menu-note__actions .btn { width: 100%; padding: 0 10px; font-size: 14px; }

  /* карточки: иконка слева, текст справа — короче по высоте */
  .features, .delivery, .contacts { grid-template-columns: 1fr; gap: 10px; }
  .feature { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; }
  .feature__icon { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
  .feature__icon .icon { width: 20px; height: 20px; }
  .feature h3, .info-card h3 { font-size: 16px; }
  .feature p, .info-card p { font-size: 14px; margin-top: 2px; }
  .info-card { gap: 14px; padding: 16px; border-radius: 16px; }
  .info-card__icon { width: 42px; height: 42px; border-radius: 12px; }
  .info-card__icon .icon { width: 20px; height: 20px; }
  .contact-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; }
  .contact-card__icon { width: 40px; height: 40px; flex: none; }
  .contact-card b { font-size: 15px; margin-top: 0; }
  .messengers { margin-top: 12px; }
  .messengers .btn { flex: 1; }

  .cta-band { padding: 24px 18px; border-radius: 20px; gap: 18px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band__text p { font-size: 15px; margin-top: 8px; }
  .cta-band__form { grid-template-columns: 1fr; gap: 10px; }

  .faq-wrap .section__head p, .faq-wrap .section__head .btn { display: none; }
  .faq { gap: 8px; }
  .faq summary { padding: 16px 52px 16px 18px; font-size: 15px; }
  .faq summary::after { right: 16px; }
  .faq details p { padding: 0 18px 16px; font-size: 14px; }

  .footer { padding: 36px 0 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 18px; padding-bottom: 24px; }
  .footer__logo { height: 38px; }
  .footer__brand p { font-size: 14px; margin-top: 8px; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .footer__bottom { flex-direction: column; gap: 6px; padding-top: 16px; }

  .order-bar { padding: 10px 0; }
  .order-bar .btn { height: 46px; padding: 0 16px; font-size: 15px; }
  .order-bar__info b { font-size: 15px; }
  .order-bar__info span { font-size: 13px; }
  body.has-order-bar { padding-bottom: 68px; }
  .drawer__body { padding: 4px 16px 24px; }

  .modal { padding: 0; align-items: end; }
  .modal__dialog { border-radius: 24px 24px 0 0; padding: 28px 20px; max-height: 92vh; overflow-y: auto; }
  .modal__dialog--wide { padding: 0; }
  .pd__media { min-height: 220px; padding: 20px; }
  .pd__info { padding: 22px 20px; }
  .pd__info h2 { font-size: 22px; }
  .pd__actions { grid-template-columns: 1fr; }
}

/* ---------- SEO-блоки: текст, карта, страница товара ---------- */
a.menu-item__name { color: inherit; }
.footer__contacts { font-style: normal; }
.footer__contacts span { font-size: 14px; }

.seo-text { padding-top: 24px; }
.seo-text__inner { max-width: 860px; }
.seo-text h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.seo-text p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.seo-text a { text-decoration: underline; text-underline-offset: 3px; }

.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }


.product-page { padding-top: 32px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs span:last-child { color: var(--ink-2); }
.pd--page { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.pd--page h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.pd__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pd__more .icon { width: 16px; height: 16px; }
.pd__more:hover { color: var(--ink); }
.product-seo { max-width: 860px; margin-top: 36px; }
.product-seo h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.product-seo p { margin-top: 10px; color: var(--ink-2); }
.product-seo a { text-decoration: underline; text-underline-offset: 3px; }
.related { margin-top: 44px; }
.related h2 { font-size: 22px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.related__all { margin-top: 20px; }

@media (max-width: 720px) {
  .seo-text { padding-top: 8px; }
  .seo-text p { font-size: 14.5px; }
  .map-links .btn { flex: 1 1 100%; }
  .product-page { padding-top: 16px; }
  .breadcrumbs { font-size: 13px; margin-bottom: 14px; }
  .pd--page { border-radius: 18px; }
  .product-seo { margin-top: 24px; }
  .product-seo h2, .related h2 { font-size: 18px; }
  .related { margin-top: 32px; }
}