/* ALAXAI — стили сайта. Палитра и правила: ALAXAI UI color guide v1.0 */
:root {
  --brand-navy: #19334F;
  --color-primary: #1E4475;
  --color-primary-hover: #19334F;
  --brand-gold: #C29639;
  --color-text: #172130;
  --color-text-muted: #637184;
  --color-surface: #FFFFFF;
  --color-background: #F7F8FA;
  --color-border: #D8DFE8;
  --color-warranty-background: #F8F2E5;
  --color-error: #B42318;
  --color-success: #246B45;
  --radius: 10px;
  --radius-sm: 8px;
  --wrap: 1240px;
  --pad: 16px;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--color-text); background: var(--color-surface); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--color-primary); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--color-primary-hover); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
ul, ol { padding-left: 1.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--color-primary); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 8px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right)); }
.narrow { max-width: 800px; }
.muted { color: var(--color-text-muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.0625rem; color: var(--color-text); max-width: 62ch; }
[hidden] { display: none !important; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-sm); background: var(--color-primary); color: #fff; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-background); color: var(--color-primary); border-color: var(--color-primary); }
.btn--lg { min-height: 52px; padding-inline: 26px; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--color-primary); font: 600 1rem var(--font); text-decoration: underline; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* шапка */
.header { border-bottom: 1px solid var(--color-border); background: #fff; }
.header__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; padding-block: 12px; }
.logo { display: inline-flex; }
.logo img { height: 34px; width: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-sm); background: #fff; color: var(--color-primary); font: 600 1rem var(--font); cursor: pointer; }
.menu-btn__icon { width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px currentColor, 0 -6px currentColor; }
.nav { grid-column: 1 / -1; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.nav a { display: flex; align-items: center; min-height: 46px; padding: 6px 4px; color: var(--color-text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--color-border); }
.nav a[aria-current] { color: var(--color-primary); box-shadow: inset 3px 0 var(--brand-gold); padding-left: 12px; }
.search { grid-column: 1 / -1; display: flex; }
.search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--color-text-muted); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font: 400 1rem var(--font); color: var(--color-text); background: #fff; }
.search input:focus-visible { outline-offset: 0; }
.search button { width: 50px; height: 46px; border: 1.5px solid var(--color-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--color-primary); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--color-primary-hover); }
@media (min-width: 1024px) {
  .header__row { grid-template-columns: auto 1fr minmax(240px, 320px); gap: 28px; padding-block: 16px; }
  .logo img { height: 40px; }
  .menu-btn { display: none; }
  .nav, .js .nav { display: block; grid-column: auto; }
  .nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .nav a { border: 0; min-height: 44px; padding: 0; }
  .nav a:hover { color: var(--color-primary); }
  .nav a[aria-current] { box-shadow: inset 0 -2px var(--brand-gold); padding-left: 0; }
  .search { grid-column: auto; }
}

/* на странице каталога поиск один — в панели фильтров */
.js .is-catalog .header .search { display: none; }
@media (min-width: 1024px) { .js .is-catalog .header__row { grid-template-columns: auto 1fr; } }

/* хлебные крошки */
.crumbs { padding-block: 12px 0; font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; color: var(--color-text-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--color-border); }
.crumbs a { display: inline-block; padding-block: 6px; }
.crumbs li[aria-current] { padding-block: 6px; }
@media (max-width: 767px) { .crumbs li[aria-current] { display: none; } }

/* секции */
.page-head { padding-block: 20px 8px; }
.section { padding-block: 36px; }
.section--alt { background: var(--color-background); }
.section--pad { padding-bottom: 40px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 8px; }
.section__head a { font-weight: 600; padding-block: 8px; }
.two { display: grid; gap: 20px; }
@media (min-width: 768px) { .two { grid-template-columns: 1fr 1fr; } .section { padding-block: 52px; } }

/* hero */
.hero { background: var(--color-background); border-bottom: 1px solid var(--color-border); }
.hero__grid { display: grid; gap: 24px; padding-block: 28px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.hero__pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hero__item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 8px; aspect-ratio: 1; display: grid; place-items: center; }
.hero__item img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; padding-block: 56px; }
  .hero__pics { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero__item { padding: 14px; }
}

/* плитки */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.tiles--cats { grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) { .tiles--cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } .tiles--cats { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 4px; justify-content: center; min-height: 92px; padding: 16px 18px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; color: var(--color-text); border-top: 2px solid var(--brand-gold); }
.tile:hover { border-color: var(--color-primary); border-top-color: var(--brand-gold); }
.tile__name { font-weight: 700; font-size: 1.15rem; color: var(--color-primary); }
.tile__meta { color: var(--color-text-muted); font-size: .9rem; }
.tile--row { flex-direction: row; align-items: center; justify-content: space-between; min-height: 56px; padding: 10px 16px; border-top: 1px solid var(--color-border); }
.tile--row .tile__name { font-size: 1rem; font-weight: 600; }

/* карточки */
.grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 339px) { .grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.card:hover, .card:focus-within { border-color: var(--color-primary); }
.card__link { display: flex; flex-direction: column; height: 100%; padding: 10px; text-decoration: none; color: var(--color-text); border-radius: var(--radius); }
.card__pic { display: block; aspect-ratio: 1; margin-bottom: 10px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.card__pic img { width: 100%; height: 100%; object-fit: contain; }
.card__brand { font-size: .8125rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: .95rem; font-weight: 600; color: var(--color-primary); margin: 2px 0 10px; line-height: 1.3; text-wrap: pretty; }
.card__price { margin-top: auto; font-weight: 700; font-size: 1.0625rem; color: var(--color-text); white-space: nowrap; }
.card__mrc { font-weight: 400; font-size: .8125rem; color: var(--color-text-muted); }
@media (min-width: 768px) { .card__link { padding: 14px; } .card__title { font-size: 1rem; } .card__price { font-size: 1.15rem; } }
.img-pending { aspect-ratio: 1; width: 100%; display: grid; place-items: center; background: var(--color-background); border: 1px dashed var(--color-text-muted); border-radius: var(--radius-sm); color: var(--color-text-muted); font-size: .875rem; text-align: center; padding: 12px; }
.img-pending--lg { font-size: 1rem; }

/* фильтры */
.listing { padding-bottom: 48px; }
.filters { margin-top: 8px; }
.filters__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.filters .field--search { grid-column: 1 / -1; }
.filters__fields { display: none; }
.filters__open { position: relative; }
.filters__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--color-primary); color: #fff; font-size: .8rem; }
.filters__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 8px; }
.filters__status p { margin: 0; }
@media (min-width: 900px) {
  .filters__bar { grid-template-columns: minmax(200px, 1.4fr) 3fr minmax(170px, .9fr); padding: 14px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); }
  .filters .field--search { grid-column: auto; }
  .filters__open { display: none; }
  .filters__fields { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; }
}
.field { display: grid; gap: 4px; min-width: 0; }
.field label, fieldset legend { font-weight: 600; font-size: .9rem; color: var(--color-text); }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--color-text-muted); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); font: 400 1rem var(--font); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid=true] { border-color: var(--color-error); border-width: 2px; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--color-text-muted); border-radius: var(--radius); margin-top: 16px; }

/* панель фильтров (телефон) и лайтбокс */
dialog { border: 0; padding: 0; color: var(--color-text); }
dialog::backdrop { background: rgba(23, 33, 48, .6); }
.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 88dvh; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--color-border); }
.sheet__head h2 { margin: 0; font-size: 1.2rem; }
.sheet__body { padding: 16px; overflow: auto; }
.sheet__body .filters__fields { display: grid; gap: 14px; }
.sheet__foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); }

/* товар */
.product { display: grid; gap: 20px; padding-block: 12px 28px; }
.product__gallery { min-width: 0; }
.product__brand { margin: 0 0 4px; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; }
.product__brand a { display: inline-block; padding-block: 6px; font-weight: 600; }
.product h1 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.product__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 14px; font-size: .9rem; }
.product__meta div { display: flex; gap: 6px; }
.product__meta dt { color: var(--color-text-muted); }
.product__meta dt::after { content: ":"; }
.product__meta dd { margin: 0; font-weight: 600; }
.product__hl { margin: 0 0 16px; padding-left: 1.2em; }
.product__hl li { margin-bottom: 4px; }
.price-box { padding: 14px 0; border-top: 1px solid var(--color-border); }
.price-box p { margin: 0; }
.price-box__num { font-size: clamp(1.7rem, 1.4rem + 1.5vw, 2.2rem); font-weight: 700; color: var(--color-text); white-space: nowrap; }
.price-box__label { font-size: 1rem; font-weight: 600; color: var(--color-text-muted); text-decoration: none; margin-left: 4px; }
.buy { padding: 16px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); scroll-margin-top: 16px; }
.buy h2 { font-size: 1.15rem; margin-bottom: 12px; }
.buy__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 420px) { .buy__list { grid-template-columns: 1fr 1fr; } }
.buy p { margin: 0; }
.mp { width: 100%; min-height: 52px; }
.mp--off { display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border: 1px dashed var(--color-text-muted); border-radius: var(--radius-sm); background: #EEF1F5; color: var(--color-text-muted); }
.mp__name { font-weight: 600; color: var(--color-text); }
.mp__state { font-size: .8125rem; }
.product__warranty { display: flex; gap: 12px; margin: 16px 0 0; padding: 12px 14px; background: var(--color-warranty-background); border-radius: var(--radius-sm); }
.gold-line { flex: none; width: 4px; border-radius: 2px; background: var(--brand-gold); }
.product__warranty a { font-weight: 600; display: inline-block; padding-block: 6px; }
.product__more { display: grid; gap: 8px; padding-bottom: 40px; }
@media (min-width: 1024px) {
  .product { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 20px 44px; }
  .product__more { max-width: 900px; }
}

/* галерея */
.gallery__stage { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.gallery__track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -3px; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery__zoom:focus-visible { outline-offset: -4px; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: contain; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--color-primary); background: #fff; color: var(--color-primary); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.gallery__nav--prev { left: 8px; } .gallery__nav--next { right: 8px; }
.gallery__nav:disabled { opacity: .35; cursor: default; }
.gallery__count { position: absolute; right: 10px; bottom: 8px; margin: 0; padding: 2px 10px; border-radius: 12px; background: rgba(255, 255, 255, .92); border: 1px solid var(--color-border); font-size: .8125rem; color: var(--color-text); }
.gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 2px; display: flex; gap: 8px; overflow-x: auto; }
@media (min-width: 1024px) { .gallery__thumbs { flex-wrap: wrap; overflow: visible; } }
.gallery__thumb { flex: none; width: 64px; height: 64px; padding: 2px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb[aria-current=true] { border: 2px solid var(--color-primary); }
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: #fff; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox__close { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; }
.lightbox__bar { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); }
.lightbox__bar .btn { font-size: 1.5rem; min-width: 56px; padding: 4px 14px 8px; }

/* раскрывающиеся блоки */
.acc { border-top: 1px solid var(--color-border); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { margin: 0; font-size: 1.3rem; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: rotate(45deg); margin-right: 6px; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc__body { padding-bottom: 20px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; color: var(--color-text); }
.prose li { margin-bottom: 6px; }
.specs { width: 100%; border-collapse: collapse; max-width: 760px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--color-border); }
.specs th { width: 44%; font-weight: 400; color: var(--color-text-muted); padding-left: 0; }
.specs td { font-weight: 600; }
@media (max-width: 479px) { .specs th, .specs td { display: block; width: 100%; padding-inline: 0; } .specs th { border: 0; padding-bottom: 0; font-size: .875rem; } .specs td { padding-top: 2px; } }

/* гарантия и блоки */
.warranty-box, .biz-box { padding: 22px; border-radius: var(--radius); }
.warranty-box { background: var(--color-warranty-background); border-left: 4px solid var(--brand-gold); margin-top: 16px; }
.two .warranty-box { margin-top: 0; }
.warranty-box__title { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.warranty-box__num { font-size: 1.6rem; white-space: nowrap; }
.biz-box { border: 1px solid var(--color-border); }
.contacts-line { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contacts-line a { font-weight: 600; display: inline-block; padding-block: 6px; }
@media (min-width: 768px) { .contacts-line { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; } }
.contacts { margin: 0 0 24px; }
.contacts div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.contacts dt { color: var(--color-text-muted); font-size: .9rem; }
.contacts dd { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.aud { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .aud { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aud { grid-template-columns: repeat(4, 1fr); } }
.aud li { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius); }
.aud strong { color: var(--color-primary); }

/* формы */
.form { display: grid; gap: 16px; margin-bottom: 24px; }
.form fieldset { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.form legend { padding: 0 6px; font-size: 1rem; color: var(--color-primary); }
.field--check { grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: start; min-height: 44px; padding-block: 8px; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--color-primary); }
.field--check label { font-weight: 400; font-size: 1rem; }
.field--check .err { grid-column: 1 / -1; }
.checks { gap: 0 !important; }
.req { color: var(--color-error); }
.hint { margin: 0; font-size: .875rem; color: var(--color-text-muted); }
.err { margin: 0; font-size: .9rem; font-weight: 600; color: var(--color-error); }
.err::before { content: "⚠ "; }
.notice, .form__result { padding: 14px 16px; border: 1.5px solid var(--color-primary); border-radius: var(--radius-sm); background: var(--color-background); }
.notice::before, .form__result::before { content: "ℹ "; font-weight: 700; color: var(--color-primary); }
.form__errors { padding: 14px 16px; border: 2px solid var(--color-error); border-radius: var(--radius-sm); color: var(--color-error); font-weight: 600; }
.gform-wrap { margin: 0 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.gform { display: block; width: 100%; height: calc(var(--gform-h) * 1.15); border: 0; }
@media (min-width: 700px) { .gform { height: var(--gform-h); } }
.buy__list--one { grid-template-columns: 1fr !important; }
.buy__none { margin: 0 0 12px; }
.buy__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* закреплённая покупка (телефон) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #fff; border-top: 1px solid var(--color-border); }
.sticky-buy__price { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.sticky-buy .btn { flex: 0 1 auto; }
@media (max-width: 1023px) { .has-sticky .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .sticky-buy { display: none !important; } }

/* подвал */
.footer { background: var(--brand-navy); color: #E7ECF2; padding-block: 36px; font-size: .95rem; }
.footer__grid { display: grid; gap: 24px; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.2fr 1.4fr 1.2fr 1fr; } }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.footer__name { font-size: 1.4rem; font-weight: 700; letter-spacing: .12em; color: #fff; margin-bottom: 8px; border-bottom: 2px solid var(--brand-gold); display: inline-block; padding-bottom: 4px; }
.footer p { margin: 0 0 4px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { color: #fff; display: inline-block; padding-block: 7px; }
.footer a:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (min-width: 1024px) and (max-width: 1199px) { .buy__list { grid-template-columns: 1fr; } }
