/* Greenleaf. Базовые стили для телефона, более широкие экраны добавляются через min-width. */

@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-cyrillic.2b8fbbb33a14.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-latin.f57df9832ab8.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20BF, U+2122; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-cyrillic.f617fd584ca5.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin.9577af3ccda5.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20A0-20BF, U+2122; }

:root {
  color-scheme: light;

  --leaf-950: #0e2c1a;
  --leaf-900: #143d24;
  --leaf-800: #1c5a32;
  --leaf-700: #1f6d39;
  --leaf-600: #238133;
  --leaf-400: #6db559;
  --leaf-300: #a4d68c;
  --leaf-200: #cfe9c1;
  --leaf-100: #e6f3df;
  --leaf-50: #f4f9f0;
  --white: #ffffff;
  --ink: #1b2a20;
  --muted: #55655b;
  --line: #dde7da;
  --field-line: #7d907f;
  --danger: #b3261e;
  --danger-bg: #fdecea;
  --amber: #8a5a00;

  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;

  --gutter: 16px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-1: 0 1px 2px rgb(20 61 36 / 8%);
  --shadow-2: 0 10px 28px -12px rgb(20 61 36 / 28%);
  --shadow-3: 0 24px 60px -20px rgb(14 44 26 / 45%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-height: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--leaf-400); outline-offset: 2px; border-radius: 4px; }

section[id], [id^="partner"] { scroll-margin-top: 120px; }

h1 { font: 600 clamp(1.7rem, 1.35rem + 1.6vw, 2.6rem)/1.15 var(--serif); letter-spacing: -.01em; }

.i { width: 22px; height: 22px; flex: none; }
.flip { transform: rotate(180deg); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--leaf-900); color: #fff; border-radius: var(--radius-s); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-weight: 600; font-size: .97rem; line-height: 1.2; text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--leaf-800); color: #fff; }
.btn--primary:hover { background: var(--leaf-900); }
.btn--primary[disabled] { background: var(--muted); cursor: progress; }
.btn--ghost { border-color: var(--leaf-800); color: var(--leaf-800); background: #fff; }
.btn--ghost:hover { background: var(--leaf-50); }
.btn--light { background: #fff; color: var(--leaf-900); }
.btn--light:hover { background: var(--leaf-100); }
.btn--outline-light { border-color: rgb(255 255 255 / 60%); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / 12%); }
.btn--wide { width: 100%; }
.btn--catalog { background: var(--leaf-600); color: #fff; }
.btn--catalog:hover, .btn--catalog[aria-expanded="true"] { background: var(--leaf-800); }

.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--leaf-900); transition: background-color .18s var(--ease); }
.iconbtn:hover { background: var(--leaf-100); }
.iconbtn--line { border: 1.5px solid var(--line); background: #fff; }
.iconbtn--line[disabled] { opacity: .35; cursor: default; }
.linkbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--leaf-800); }
.linkbtn:hover { text-decoration: underline; }
.linkbtn.is-active { --heart-fill: var(--leaf-600); }

/* Шапка */
/* На телефоне строка с логотипом уезжает, а поиск остаётся закреплённым */
.site-header { position: sticky; top: -60px; z-index: 40; background: #fff; }
.topbar { display: none; background: var(--leaf-900); color: #eaf5e4; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 36px; }
.topbar__meta { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar__meta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar__meta a:hover { text-decoration: underline; }
.topbar__meta .i { width: 16px; height: 16px; }

.mainbar { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.mainbar__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo actions" "search search search"; align-items: center; column-gap: 6px; row-gap: 8px; padding-block: 8px 10px; }
.mainbar__burger { grid-area: burger; }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; color: var(--leaf-800); }
.logo img { max-height: 44px; width: auto; }
.logo__mark { width: 30px; height: 30px; }
.logo__word { font: 600 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.logo--light { color: #fff; }
.logo--plate { padding: 8px 12px; background: #fff; border-radius: 10px; }
.search { grid-area: search; position: relative; display: flex; }
.search input { width: 100%; min-height: 46px; padding: 10px 52px 10px 16px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--leaf-50); }
.search input:focus { border-color: var(--leaf-600); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--leaf-200); }
.search button { position: absolute; inset-block: 3px; inset-inline-end: 3px; width: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--leaf-800); }
.search button:hover { background: var(--leaf-100); }
.search--page { max-width: 560px; margin-top: 14px; }
.actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; padding: 6px 8px; border-radius: 10px; color: var(--leaf-900); font-size: .75rem; }
.action:hover { background: var(--leaf-50); }
.action__icon { position: relative; display: inline-flex; }
.action__label { display: none; }
.action--desktop { display: none; }
.badge { position: absolute; top: -6px; inset-inline-end: -9px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--leaf-600); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }

.navbar { display: none; background: var(--leaf-50); border-bottom: 1px solid var(--line); }
.navbar__inner { display: flex; align-items: center; gap: 20px; padding-block: 8px; }
.navlinks { display: flex; gap: 2px; flex-wrap: wrap; }
.navlinks a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.navlinks a:hover { background: var(--leaf-100); color: var(--leaf-800); }
.navbar__partner { margin-inline-start: auto; font-weight: 600; color: var(--leaf-800); padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.navbar__partner:hover { background: var(--leaf-100); }

/* Каталог-меню. На телефоне это полноэкранная панель с раскрывающимися разделами. */
.mega { position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 32px; }
.mega__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.mega__rootrow { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.mega__rootrow > a { flex: 1; padding: 14px 0; font-weight: 600; }
.mega__expand { display: grid; place-items: center; width: 48px; color: var(--leaf-800); }
.mega__expand .i { transition: transform .2s var(--ease); }
.mega__expand[aria-expanded="true"] .i { transform: rotate(90deg); }
.mega__sub { display: none; padding-block: 8px 16px; }
.mega__root.is-expanded .mega__sub { display: block; }
.mega__all { display: inline-flex; align-items: center; gap: 4px; padding-block: 8px; color: var(--leaf-800); font-weight: 600; }
.mega__all .i { width: 16px; height: 16px; }
.mega__col { padding-block: 6px; }
.mega__head { display: block; padding-block: 8px; font-weight: 600; }
.mega__leaf { display: block; padding-block: 8px; padding-inline-start: 12px; color: var(--muted); }
.mega a:hover { color: var(--leaf-700); }
.mega__extra { display: grid; margin-top: 16px; }
.mega__extra a { padding-block: 12px; font-weight: 500; color: var(--leaf-800); }

/* Секции */
.section { padding-block: 40px; }
.section--tight { padding-block: 24px; }
.section--tint { background: var(--leaf-50); }
.section--line { border-top: 1px solid var(--line); }
.section--bottom { padding-bottom: 56px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__head--stack { display: block; }
.section__title { font: 600 clamp(1.4rem, 1.2rem + .9vw, 1.95rem)/1.2 var(--serif); letter-spacing: -.005em; }
.section__title--lg { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
.section__title--center { text-align: center; margin-bottom: 20px; }
.section__tools { display: flex; align-items: center; gap: 14px; flex: none; }
.eyebrow { margin-bottom: 6px; color: var(--leaf-700); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--light { color: var(--leaf-300); }
.more { color: var(--leaf-800); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--leaf-300); text-underline-offset: 4px; }
.more:hover { text-decoration-color: currentColor; }
.more--center { display: block; width: fit-content; margin: 24px auto 0; }
.lead { font-size: 1.08rem; color: var(--muted); }
.page-top { padding-block: 14px 20px; }
.page-top h1 { margin-top: 10px; }
.meta { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--leaf-300); }
.crumbs a:hover { color: var(--leaf-800); text-decoration: underline; }
/* На телефоне вместо длинной цепочки показываем только шаг назад */
@media (max-width: 639px) {
  .crumbs li:not(:nth-last-child(2)) { display: none; }
  .crumbs li:nth-last-child(2)::before { content: "‹"; margin-inline-end: 6px; color: var(--leaf-700); }
  .crumbs a { display: inline-block; padding-block: 6px; }
}

/* Первый экран */
.home-intro { padding-block: 16px 12px; }
.home-intro h1 { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.8rem); color: var(--leaf-900); max-width: 34ch; }
.hero { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--leaf-100); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 5; }
.hero__slide--art { aspect-ratio: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { position: absolute; inset-inline-start: 5%; inset-block: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; max-width: 50%; }
.hero__copy h2 { font: 600 clamp(1.1rem, .8rem + 2vw, 2.4rem)/1.15 var(--serif); }
.hero__arrow { display: none; position: absolute; top: 50%; translate: 0 -50%; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow-1); }
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { inset-inline-start: 14px; }
.hero__arrow--next { inset-inline-end: 14px; }
.hero__pause { position: absolute; inset-inline-end: 8px; bottom: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--leaf-900); }
.hero__pause .i { width: 16px; height: 16px; }
.hero__dots { display: flex; justify-content: center; gap: 2px; background: #fff; }
.hero__dots button { display: grid; place-items: center; width: 28px; height: 28px; }
.hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-200); transition: background-color .2s var(--ease), width .2s var(--ease); }
.hero__dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--leaf-700); }

.catstrip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.catstrip::-webkit-scrollbar { display: none; }
.catstrip li { flex: 0 0 92px; scroll-snap-align: start; }
.catstrip a { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .84rem; font-weight: 500; line-height: 1.25; }
.catstrip__img, .cattiles__img { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--leaf-50); border: 1px solid var(--line); overflow: hidden; color: var(--leaf-400); transition: border-color .2s var(--ease), transform .25s var(--ease); }
.catstrip__img img, .cattiles__img img { width: 100%; height: 100%; padding: 8%; object-fit: contain; }
.catstrip__img svg, .cattiles__img svg { width: 36px; height: 36px; }
.catstrip a:hover .catstrip__img, .cattiles a:hover .cattiles__img { border-color: var(--leaf-400); transform: translateY(-2px); }
.catstrip a:hover, .cattiles a:hover { color: var(--leaf-800); }

/* Карточка товара */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(164px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.railnav { display: none; gap: 6px; }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: box-shadow .22s var(--ease), border-color .22s var(--ease); }
.card:hover { box-shadow: var(--shadow-2); border-color: var(--leaf-200); }
.card__media { position: relative; aspect-ratio: 1; background: #fff; }
.card__media > a { display: block; height: 100%; padding: 10px; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--leaf-100); color: var(--leaf-900); font-size: .74rem; font-weight: 600; }
.tag--sale { background: var(--leaf-800); color: #fff; }
.favbtn { position: absolute; top: 4px; inset-inline-end: 4px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--leaf-800); }
.favbtn:hover { background: var(--leaf-50); }
.favbtn.is-active { --heart-fill: var(--leaf-600); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 10px 12px 12px; border-top: 1px solid var(--leaf-50); }
.card__brand { color: var(--leaf-700); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card__title { font-size: .92rem; font-weight: 500; line-height: 1.32; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 3.96em; }
.card__title a:hover { color: var(--leaf-800); }
.card__avail { color: var(--amber); font-size: .8rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; }
.price__now { font-size: 1.14rem; font-weight: 700; color: var(--leaf-950); font-variant-numeric: tabular-nums; }
.price__old { color: var(--muted); font-size: .86rem; }
.price--lg .price__now { font-size: 2rem; }
.price--lg .price__old { font-size: 1.05rem; }

.buy { display: grid; gap: 8px; margin-top: 4px; }
.buy__btn { min-height: 44px; padding-inline: 10px; }
.buy__in { display: grid; gap: 2px; }
.buy__label { color: var(--leaf-700); font-size: .78rem; font-weight: 600; text-align: center; }
.buybox__incart { color: var(--leaf-800); font-weight: 500; }
.buybox__incart a { text-decoration: underline; }
.stickybuy { position: fixed; inset-inline: 0; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gutter); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -14px rgb(14 44 26 / 45%); }
.stickybuy .price { margin: 0; flex-wrap: nowrap; white-space: nowrap; }
.stickybuy .buy__btn { padding-inline: 24px; }
.stepper { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: stretch; min-height: 44px; border: 1.5px solid var(--field-line); border-radius: 12px; background: #fff; }
.stepper--in { border-color: var(--leaf-700); background: var(--leaf-50); }
.stepper button { display: grid; place-items: center; color: var(--leaf-800); border-radius: 10px; }
.stepper button:hover { background: var(--leaf-50); }
.stepper .i { width: 18px; height: 18px; }
.stepper input { width: 100%; min-width: 0; border: 0; background: transparent; text-align: center; font-weight: 600; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100px; color: var(--leaf-200); background: var(--leaf-50); }
.placeholder svg { width: 40%; height: 40%; max-width: 72px; }

/* Преимущества */
.bento { display: grid; gap: 12px; }
.bento__item { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); }
.bento__item h3 { font: 600 1.28rem/1.25 var(--serif); }
.bento__item:first-child { background: var(--leaf-900); border-color: var(--leaf-900); color: #fff; }
.bento__item:first-child .eyebrow { color: var(--leaf-300); }
.bento__item:first-child .ticks li::before { background: var(--leaf-300); }
.bento__item:first-child .bento__mark { color: #fff; border-color: rgb(255 255 255 / 25%); }
.bento__mark { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--leaf-800); font-weight: 600; }
.ticks { display: grid; gap: 6px; }
.ticks li { position: relative; padding-inline-start: 18px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: 0 60% 0 60%; background: var(--leaf-600); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--leaf-200); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font: 600 clamp(1.8rem, 1.4rem + 2vw, 2.9rem)/1.05 var(--serif); color: var(--leaf-800); }
.stats dt { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* Вкладки */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; white-space: nowrap; background: #fff; }
.tab:hover { border-color: var(--leaf-400); }
.tab[aria-selected="true"] { background: var(--leaf-800); border-color: var(--leaf-800); color: #fff; }

/* О компании */
.about__grid { display: grid; gap: 28px; }
.about__copy { display: grid; justify-items: start; gap: 14px; }
.about__img { width: 100%; border-radius: var(--radius-l); margin-bottom: 18px; }
.featlist li { padding-block: 16px; border-top: 1px solid var(--line); }
.featlist h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; color: var(--leaf-900); }
.featlist p { color: var(--muted); }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 600 1.45rem/1.25 var(--serif); margin-top: 1.5em; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.3em; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--leaf-800); text-decoration: underline; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: 8px 12px; border: 1px solid var(--line); }
.prose__cover { width: 100%; border-radius: var(--radius-l); margin-bottom: 24px; }
.seo-text { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* Партнёрство */
.partner-band { position: relative; overflow: hidden; background: var(--leaf-900); color: #fff; }
.partner-band__inner { position: relative; display: grid; gap: 20px; justify-items: start; padding-block: 44px; }
.partner-band__leaf { position: absolute; inset-inline-end: -40px; top: -30px; width: 240px; height: 240px; color: var(--leaf-800); pointer-events: none; }
.partner-band__inner > *:not(svg) { position: relative; }
.partner-band__text { margin-top: 10px; max-width: 58ch; color: #d9ecd2; }
.phero { background: var(--leaf-900); color: #fff; }
.phero__grid { display: grid; gap: 28px; align-items: center; padding-block: 44px; }
.phero__lead { margin-top: 14px; max-width: 58ch; font-size: 1.08rem; color: #d9ecd2; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phero__img { width: 100%; border-radius: var(--radius-l); }
.numbered { counter-reset: n; display: grid; gap: 12px; margin-top: 24px; }
.numbered > li { counter-increment: n; display: grid; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.numbered > li::before { content: counter(n, decimal-leading-zero); font: 600 1.1rem/1 var(--serif); color: var(--leaf-600); }
.numbered h3 { font-size: 1.1rem; font-weight: 600; }
.steps { counter-reset: s; display: grid; gap: 4px; margin-top: 24px; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 54px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--leaf-100); color: var(--leaf-900); font-weight: 700; }
.steps h3 { font-size: 1.08rem; font-weight: 600; }
.steps p { color: var(--muted); margin-top: 2px; }
.twocol { display: grid; gap: 28px; align-items: start; }
.panel { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.panel__title { font: 600 1.35rem/1.2 var(--serif); margin-bottom: 14px; }
.faq__title { font: 600 1.2rem/1.3 var(--serif); margin-top: 24px; }
.faq { margin-top: 8px; }
.faq details { border-top: 1px solid var(--leaf-200); }
.faq summary { padding-block: 14px; font-weight: 500; cursor: pointer; }
.faq p { padding-bottom: 14px; color: var(--muted); }

/* Статьи */
.press { display: grid; gap: 36px; }
.press__cards { display: grid; gap: 22px; }
.acard { display: grid; align-content: start; gap: 6px; }
.acard__media { display: block; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: var(--radius-m); overflow: hidden; background: var(--leaf-50); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard time, .newslist time { color: var(--muted); font-size: .84rem; }
.acard h3 { font: 600 1.14rem/1.3 var(--serif); }
.acard h3 a:hover { color: var(--leaf-800); text-decoration: underline; }
.acard p { color: var(--muted); font-size: .94rem; }
.newslist li { display: grid; gap: 2px; padding-block: 14px; border-top: 1px solid var(--line); }
.newslist a { font-weight: 500; line-height: 1.35; }
.newslist a:hover { color: var(--leaf-800); text-decoration: underline; }

.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.brands li { display: grid; place-items: center; min-height: 48px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.brands img { max-height: 40px; width: auto; }

/* Страницы каталога */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--leaf-400); color: var(--leaf-800); }
.chip.is-active { background: var(--leaf-800); border-color: var(--leaf-800); color: #fff; }
.cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 8px; margin-top: 18px; }
.cattiles a { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .84rem; font-weight: 500; line-height: 1.25; }

.listing { display: grid; gap: 14px; }
.listing__side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.listing__main { min-width: 0; }
.listing__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.listing__count { color: var(--muted); font-size: .94rem; }
.sortbox { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.sortbox select { min-height: 42px; padding: 6px 10px; border: 1.5px solid var(--field-line); border-radius: 10px; background: #fff; color: var(--ink); max-width: 190px; }
.filters { border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.filters summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-600); }
.filters__form { display: grid; gap: 16px; padding: 4px 14px 14px; }
.filters legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; }
.filters__scroll { display: grid; gap: 2px; max-height: 240px; overflow-y: auto; }
.filters__reset { color: var(--leaf-800); text-align: center; text-decoration: underline; font-size: .92rem; }
.pricefields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pricefields input { width: 100%; min-height: 42px; padding: 6px 10px; border: 1.5px solid var(--field-line); border-radius: 10px; }
.sidecats { display: none; }
.sidecats h2 { margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.sidecats a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .94rem; }
.sidecats a:hover { background: var(--leaf-50); color: var(--leaf-800); }
.sidecats a.is-active { background: var(--leaf-100); color: var(--leaf-900); font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.pager__step { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--leaf-800); border-radius: 12px; color: var(--leaf-800); font-weight: 600; }
.pager__step:hover { background: var(--leaf-50); }
.pager__state { color: var(--muted); font-size: .94rem; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; text-align: center; background: var(--leaf-50); border-radius: var(--radius-l); }
.empty h2 { font: 600 1.35rem/1.25 var(--serif); }
.empty p { max-width: 46ch; color: var(--muted); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.certs a { display: grid; gap: 8px; font-weight: 500; }
.certs img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); }
.certs p { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* Страница товара */
.product { display: grid; gap: 20px; }
.gallery { min-width: 0; }
.gallery__main { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.gallery__main img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { display: block; width: 68px; height: 68px; padding: 4px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--leaf-600); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox { min-width: 0; }
.buybox h1 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem); }
.meta-list { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--muted); font-size: .92rem; }
.avail { font-weight: 600; }
.avail--in_stock { color: var(--leaf-700); }
.avail--on_order { color: var(--amber); }
.avail--out { color: var(--danger); }
.buybox__short { margin-top: 12px; }
.buybox__panel { display: grid; gap: 12px; margin-top: 18px; padding: 18px; background: var(--leaf-50); border-radius: var(--radius-l); }
.buybox__bonus { color: var(--muted); font-size: .92rem; }
.buy--lg { grid-template-columns: 130px minmax(0, 1fr); }
.buy--lg .buy__btn { min-height: 48px; }
.buybox__secondary { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.buybox__note { color: var(--muted); font-size: .86rem; }
.product-info { display: grid; gap: 28px; padding-block: 36px 8px; }
.product-info h2 { margin-bottom: 10px; font: 600 1.35rem/1.25 var(--serif); }
.product-info__main { display: grid; gap: 28px; min-width: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 500; text-align: end; }

/* Корзина */
.cart { display: grid; gap: 24px; align-items: start; }
.cart__lines { min-width: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; grid-template-areas: "img info remove" "img qty total"; gap: 8px 12px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); transition: opacity .2s var(--ease); }
.line.is-busy { opacity: .55; }
.line__img { grid-area: img; align-self: start; display: block; aspect-ratio: 1; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__info { grid-area: info; min-width: 0; }
.line__name { font-weight: 500; line-height: 1.32; }
.line__name:hover { color: var(--leaf-800); }
.line__meta { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.line__qty { grid-area: qty; max-width: 128px; }
.line__total { grid-area: total; justify-self: end; font-weight: 700; white-space: nowrap; grid-column: 2 / 4; }
.line__remove { grid-area: remove; align-self: start; color: var(--muted); }
.line__qty { grid-column: 2; }
.checkout { padding: 18px; background: var(--leaf-50); border-radius: var(--radius-l); }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.05rem; }
.checkout__total strong { font-size: 1.6rem; color: var(--leaf-950); }
.checkout__note { margin-block: 8px 14px; color: var(--muted); font-size: .9rem; }
.success { padding-top: 40px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.success__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--leaf-100); color: var(--leaf-800); }
.success__mark .i { width: 32px; height: 32px; }
.summary { width: 100%; max-width: 560px; margin-top: 12px; text-align: start; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.summary strong { white-space: nowrap; }
.summary__total { font-size: 1.1rem; border-bottom: 0 !important; }

/* Формы */
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > label { font-weight: 500; font-size: .93rem; }
.field input:not([type="checkbox"]), .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1.5px solid var(--field-line); border-radius: 10px; background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf-600); box-shadow: 0 0 0 3px var(--leaf-200); }
.field--invalid input, .field--invalid textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 28px; padding-block: 3px; font-size: .92rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--leaf-700); }
.check a { color: var(--leaf-800); text-decoration: underline; }
.form__status { padding: 10px 12px; border-radius: 10px; background: var(--leaf-100); color: var(--leaf-900); font-weight: 500; }
.form__status.is-error { background: var(--danger-bg); color: var(--danger); }
.flash-list { display: grid; gap: 8px; padding-top: 12px; }
.flash { padding: 12px 14px; border-radius: 10px; background: var(--leaf-100); color: var(--leaf-900); }
.flash--error { background: var(--danger-bg); color: var(--danger); }
.flash ul, ul.flash { list-style: none; }

/* Диалог связи */
.contact-fab { display: none; }
.dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 0; border-radius: var(--radius-l); box-shadow: var(--shadow-3); overflow-y: auto; }
.dialog::backdrop { background: rgb(14 44 26 / 55%); }
.dialog[open] { animation: rise .24s var(--ease); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog__head h2 { font: 600 1.45rem/1.2 var(--serif); }
.dialog__hours { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.dialog__sub { margin-block: 16px 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 600; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.channel { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .94rem; overflow-wrap: anywhere; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.channel:hover { border-color: var(--leaf-400); background: var(--leaf-50); }
.channel .i { color: var(--leaf-700); }
.channel--telegram .i { color: #1f7fb5; }
.channel--whatsapp .i { color: #1a8f4c; }
.channels li > .channel { height: 100%; }
li:has(> .channel--phone), li:has(> .channel--email) { grid-column: 1 / -1; }
.channels--large { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.contactinfo { display: grid; gap: 14px; margin-top: 22px; }
.contactinfo dt { color: var(--muted); font-size: .88rem; }
.contactinfo dd { font-weight: 500; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius-l); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.toast { position: fixed; inset-inline: 12px; bottom: calc(var(--nav-height) + 12px + env(safe-area-inset-bottom)); z-index: 70; max-width: 420px; margin-inline: auto; padding: 12px 16px; border-radius: 12px; background: var(--leaf-950); color: #fff; box-shadow: var(--shadow-3); font-size: .94rem; animation: rise .2s var(--ease); }
.toast.is-error { background: var(--danger); }
.toast a, .toast button { color: #fff; text-decoration: underline; font-weight: 600; margin-inline-start: 6px; white-space: nowrap; }

/* Подвал */
.site-footer { background: var(--leaf-950); color: #dcebd6; font-size: .95rem; }
.footer__grid { display: grid; gap: 28px; padding-block: 40px 24px; }
.footer__brand p { margin-top: 12px; max-width: 38ch; color: #b9d3b1; }
.footer__title { margin-bottom: 10px; color: #fff; font-size: 1rem; font-weight: 600; }
.site-footer ul { display: grid; gap: 2px; margin-bottom: 14px; }
.site-footer li a { display: inline-block; padding-block: 5px; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: inline-flex !important; align-items: center; gap: 8px; }
.footer__contact .i { width: 18px; height: 18px; }
.footer__legal { display: grid; gap: 6px; padding-block: 16px 24px; border-top: 1px solid rgb(255 255 255 / 12%); color: #a9c4a1; font-size: .84rem; }

/* Нижнее меню на телефоне */
.mobile-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -14px rgb(14 44 26 / 45%); }
.mobile-nav > a, .mobile-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--leaf-900); font-size: .7rem; font-weight: 500; }
.mobile-nav > a:active, .mobile-nav > button:active { background: var(--leaf-50); }

body.is-locked { overflow: hidden; }

@media (min-width: 420px) {
  .buy:not(.buy--lg) { grid-template-columns: 1fr; }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .rail { grid-auto-columns: minmax(200px, 30%); gap: 14px; }
  .hero__slide--art { aspect-ratio: 16 / 5; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .press__cards { grid-template-columns: repeat(2, 1fr); }
  .press__cards--page { grid-template-columns: repeat(3, 1fr); }
  .numbered { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .line { grid-template-columns: 96px minmax(0, 1fr) 128px 110px 44px; grid-template-areas: "img info qty total remove"; }
  .line__qty, .line__total { grid-column: auto; }
  .line__qty { grid-area: qty; }
  .line__total { grid-area: total; }
  .line__remove { align-self: center; }
  .partner-band__inner { grid-template-columns: 1fr auto; align-items: center; }
  .partner-band__leaf { inset-inline-end: 8%; width: 320px; height: 320px; top: -60px; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .topbar, .navbar { display: block; }
  .mobile-nav, .mainbar__burger, .mega__bar, .mega__extra, .mega__expand { display: none; }
  .action--desktop { display: inline-flex; }
  a.action--desktop { display: flex; }
  .action__label { display: block; }
  .mainbar { z-index: 41; }
  .mainbar__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; column-gap: 28px; padding-block: 12px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__word { font-size: 1.7rem; }
  .actions { gap: 8px; }
  .site-header { top: -36px; }
  .toast { inset-inline: auto 24px; bottom: 24px; margin: 0; }

  .mega { position: absolute; inset: 100% 0 auto; max-height: calc(100vh - 150px); padding-block: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-3); overflow: hidden; }
  .mega__inner { position: relative; display: block; padding: 0; }
  .mega__roots { width: 290px; padding-block: 12px; padding-inline-start: var(--gutter); border-inline-end: 1px solid var(--line); min-height: 500px; max-height: calc(100vh - 150px); overflow-y: auto; }
  .mega__rootrow { border: 0; }
  .mega__rootrow > a { padding: 9px 12px; border-radius: 8px; font-weight: 500; }
  .mega__root.is-active .mega__rootrow > a { background: var(--leaf-100); color: var(--leaf-900); font-weight: 600; }
  .mega__sub, .mega__root.is-expanded .mega__sub { display: none; }
  .mega__root.is-active .mega__sub { display: block; position: absolute; inset: 0 0 0 290px; padding: 18px 28px 24px; overflow-y: auto; }
  .mega__all { margin-bottom: 8px; font-size: 1.05rem; }
  .mega__cols { columns: 3 220px; column-gap: 24px; }
  .mega__col { break-inside: avoid; padding-block: 2px 12px; }
  .mega__head { padding-block: 4px; }
  .mega__leaf { padding: 3px 0; font-size: .93rem; }

  .section { padding-block: 56px; }
  .section--tight { padding-block: 32px; }
  .railnav { display: flex; }
  .rail { grid-auto-columns: calc((100% - 56px) / 5); margin-inline: 0; padding-inline: 0; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buy:not(.buy--lg) { grid-template-columns: 1fr; }
  .hero { border-radius: var(--radius-l); }
  .hero__arrow { display: inline-grid; }
  .hero__dots { position: absolute; inset-inline: 0; bottom: 8px; background: none; }
  .catstrip { justify-content: space-between; margin-inline: 0; padding-inline: 0; }
  .catstrip__img { width: 104px; height: 104px; }
  .catstrip li { flex: 0 1 120px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__item:first-child { grid-row: span 2; }
  .bento__item:first-child h3 { font-size: 1.7rem; }
  .about__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
  .partner-band__inner { padding-block: 64px; }
  .phero__grid { grid-template-columns: 1.1fr .9fr; padding-block: 72px; }
  .press { grid-template-columns: 2fr 1fr; gap: 48px; }
  .press__cards { grid-template-columns: repeat(3, 1fr); }
  .numbered { grid-template-columns: repeat(3, 1fr); }
  .twocol { grid-template-columns: 1fr 1fr; gap: 56px; }
  .panel { padding: 28px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 56px 32px; }
  .contact-fab {
    position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 45;
    display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px;
    border-radius: 999px; background: var(--leaf-800); color: #fff; font-weight: 600; box-shadow: var(--shadow-2);
    transition: background-color .18s var(--ease), transform .2s var(--ease);
  }
  .contact-fab:hover, .contact-fab:focus-visible { background: var(--leaf-900); transform: translateY(-2px); }
  /* Подпись раскрывается при наведении, иначе кнопка закрывает карточки */
  .contact-fab { padding: 10px 15px; gap: 0; opacity: 1; transition: background-color .18s var(--ease), transform .2s var(--ease), opacity .2s var(--ease); }
  .contact-fab span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s var(--ease), margin .25s var(--ease); }
  .contact-fab:hover span, .contact-fab:focus-visible span { max-width: 180px; margin-inline-start: 10px; }
  .contact-fab.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
  .stickybuy { display: none; }
  .hero__pause { bottom: 8px; inset-inline-end: 14px; width: 32px; height: 32px; background: rgb(255 255 255 / 92%); }

  .listing { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
  .sidecats { display: block; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
  .gallery { position: sticky; top: 90px; }
  .product-info { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .cart { grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; }
  .checkout { padding: 24px; }
}

@media (min-width: 1240px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 70px) / 6); }
  .buy:not(.buy--lg) { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .mobile-nav, .contact-fab, .toast { display: none; }
}
