/* Phase V0: global text color, font stack, line-height, box-sizing and body
   margin come from the retained legacy stylesheet, which the Inertia root view
   loads first; the pilot-era :root/body globals shifted every inherited glyph
   (e.g. #222 vs the legacy #212121) and are retired. */

.inertia-request-error,
.inertia-field-error {
  color: #a51d28;
}

.inertia-notice {
  background: #effaf2;
  color: #17642d;
  padding: 0.75rem 1rem;
}

.inertia-nav-badge {
  align-items: center;
  background: #f54454;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.75rem;
  justify-content: center;
  min-height: 1.25rem;
  min-width: 1.25rem;
  padding: 0 0.35rem;
}

.authPanel {
  margin-block: 1rem;
}

.authPanel-dialog {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 12%);
  margin-inline: auto;
  max-width: 32rem;
  padding: 1.5rem;
  position: relative;
}

.authPanel-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.75rem;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.authPanel-tabs,
.authPanel-actions,
.homePage-accountActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.authPanel-tabs {
  margin-bottom: 1rem;
}

.authPanel-tabs button[aria-selected="true"] {
  color: #b6232d;
  font-weight: 700;
}

.authPanel form {
  display: grid;
  gap: 1rem;
}

/* `.authPanel-agreement` deliberately unstyled: it survives only as a
   retained-suite marker on the shell auth form's legacy-styled labels. */

/* Phase V4: the authenticated-area pilot rules (accountPage-, chatPage-,
   historyPage-, historyItem-, orderAcceptedPage-, orderChat- families) are
   retired — those page bodies now render the legacy markup styled by the
   retained legacy bundles, and several pilot selectors (historyPage-items,
   historyPage-pagination, historyItem-attributes, historyItem-status,
   historyItem-buttons) collided with real legacy class names. Same treatment
   V1 applied to /news. */

.slvd-smart-captcha {
  min-height: 100px;
}

.homePage-inertiaHero {
  background: #f8f8f8;
  padding-block: 1rem;
}

.homePage-shopPicker {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  max-width: 32rem;
}

.homePage-inertiaSlides {
  display: grid;
  overflow: hidden;
}

.homePage-inertiaSlides a,
.homePage-inertiaSlides picture,
.homePage-inertiaSlides img {
  display: block;
  width: 100%;
}

.homePage-inertiaCategories,
.homePage-inertiaSpecials,
.homePage-inertiaNews {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.homePage-inertiaCategories a,
.homePage-inertiaSpecials a,
.homePage-inertiaNews a {
  color: inherit;
  text-decoration: none;
}

.homePage-inertiaCategories img,
.homePage-inertiaNews img {
  display: block;
  height: 12rem;
  object-fit: contain;
  width: 100%;
}

.homePage-inertiaSpecials a {
  align-items: center;
  background: #fff3d0;
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  min-height: 12rem;
  overflow: hidden;
  padding: 1rem;
}

.homePage-inertiaSpecials img {
  max-height: 10rem;
  max-width: 45%;
}

.homePage-inertiaSectionHeader {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.homePage-inertiaPoll {
  background: #f8f8f8;
  margin-block: 1rem;
  padding: 1rem;
}

.homePage-inertiaPollOptions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mobilePaymentResult {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.mobilePaymentResult section {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  max-width: 34rem;
  padding: 2rem;
}

.mobilePaymentResult_success h1 {
  color: #17642d;
}

.mobilePaymentResult_failure h1,
.mobilePaymentResult_malformed h1 {
  color: #a51d28;
}

@media (max-width: 720px) {
  .homePage-shopPicker {
    align-items: stretch;
    flex-direction: column;
  }
}

.inertia-skip-link {
  background: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 10000;
}

.inertia-skip-link:focus {
  top: 1rem;
}

/* The Phase V0 shell renders the legacy DOM styled by the retained legacy
   bundles; the retired pilot-shell rules were removed with it.
   `.inertia-pilot-nav` intentionally has no rules: it survives only as a
   marker class for the retained browser suite. */

/* Phase V1: the news list body is styled entirely by the retained legacy
   stylesheet (.newsPage-*, .newsCard-* and the uk-grid classes); the
   pilot-era grid and card overrides that fought it are retired. */

.feip-page-image,
.feip-gallery img {
  display: block;
  height: auto;
  max-width: 100%;
}

.feip-page-content {
  /* `anywhere` also feeds the intrinsic min-content size, so an auto-layout
     table column collapsed to one glyph per line and shredded its words
     ("Форма" over four rows, QA 303381 /obmen-tovara). `break-word` still
     rescues an unbreakable string that would otherwise overflow, but leaves
     min-content alone — which is what the legacy stylesheet does. */
  overflow-wrap: break-word;
}

.productPage-infoBlock_documents a {
  overflow-wrap: anywhere;
}

/* User-generated tables arrive in two shapes: Word paste (`MsoNormalTable`,
   carrying a fixed `width=1000`) and the editor's own `<table class="table">`
   — Trumbowyg's table plugin defaults to `styler: "table"` and builds nothing
   but `tr`/`td` (resources/admin-next/trumbowyg/trumbowyg.table.min.js), and
   the toolbar in resources/filament/forms/trumbowyg-editor.blade.php has no
   source view to hand-write anything else. The legacy stylesheet styles both
   by element — padding, zebra rows — but nothing keeps a wide one inside the
   text column: on the legacy site the Word table overflows `main` on desktop
   and scrolls the whole body at 360px. As a block scroll container the table
   clamps to the column and keeps its own overflow to itself. */

.feip-page-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  /* The page no longer scrolls sideways, so a horizontal swipe that runs off
     the end of the table would chain to the browser's back gesture. */
  overscroll-behavior-x: contain;
}

/* A block box wraps its rows in an anonymous table, and that one shrinks to
   its content — so the legacy `table{width:100%}` stops reaching the grid and
   a short table sits narrow at the left instead of spanning the column as it
   does on the legacy site. Promoting the row group back to a table box
   restores the full-width grid; a wide one still overflows the block and
   scrolls there. `:only-child` is the guard: with a `<thead>` or `<caption>`
   present, two table boxes would size their columns independently and stop
   lining up, so those tables keep the anonymous box. Nothing in the content
   corpus has one — Word, legacy Trumbowyg and the admin editor all emit a
   lone `<tbody>`. */

.feip-page-content table > tbody:only-child {
  display: table;
  width: 100%;
}

/* Word cells carry `valign="top"` and production renders them that way; cells
   the editors write carry nothing and fall back to middle, so the same page
   would show two differently aligned tables. `:not([valign])` only fills in
   what the author left unset — an author rule silently outranks the
   presentational attribute, and overriding an explicit `valign` is not this
   rule's job. */

.feip-page-content table td:not([valign]),
.feip-page-content table th:not([valign]) {
  vertical-align: top;
}

/* 30px of padding on each side of a cell is over half the column on a 360px
   phone. Trimming it is what the reader notices: the same table needs 56px of
   horizontal scrolling instead of 164px. Word cells carry their own inline
   padding and keep it. */

@media (max-width: 639px) {
  .feip-page-content table td,
  .feip-page-content table th {
    padding: 10px 12px;
  }
}

.contacts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contactsMap {
  min-height: 360px;
  width: 100%;
}

.responsiveEmbed {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

.responsiveEmbed iframe,
.responsiveEmbed video {
  height: 100%;
  width: 100%;
}

/* The cart-control wrapper exists only to carry the behaviour hooks the
   retained browser suite drives; the authority has no element there, and the
   add button sizes itself as a flex item of `.productCard-controlBlock` /
   `.productPage--addToCart`. `display: contents` keeps the hooks and hands
   the children straight to that flex container. */

.catalogCartControl {
  display: contents;
}

.catalogCartControl-error {
  color: #a51d28;
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

.productPage-thumbnavSlider button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.productPage-sliderImage {
  display: block;
}

/* Phase V3: /cart and /order page bodies are styled entirely by the legacy
   stylesheet the Inertia root view loads (`src/legacy/style.css`), the
   same one the develop authority uses. The pilot-era candidate rules for those
   two pages are gone; `.cartPage-inertiaLineTotal`, `.cartPage-unavailable` and
   `.orderPage-fieldError` survive as unstyled hooks the retained browser suite
   drives. Selectors that also serve the orders, chats and order-accepted pages
   keep only those halves. */

.orderPage-fieldError {
  color: #a51d28;
}

/* Still emitted by the orders pages (Pages/Orders/Index.vue, Show.vue) for the
   repeat/cancel result banners; the rest of the .orderPage-* pilot styles went
   with the checkout rewrite, but these three have no legacy equivalent and no
   visual gate covers /account/orders. */

.orderPage-notice {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
}

.orderPage-notice_success {
  background: #effaf2;
  color: #17642d;
}

.orderPage-notice_error {
  background: #fff1f1;
  color: #a51d28;
}

/* QA 303381: the legacy sass gives .FeedbackButton no z-index, so on the
   checkout the form controls (.uk-input is position:relative; z-index:1, the
   autocomplete 3/4) painted over the fixed button. Above those, still below
   the date picker (.vdpComponent.vdpWithInput is a z-index:6 stacking context
   that carries the mobile full-screen overlay) and every overlay (offcanvas
   1000, modal 1010, sticky header 1050). */
.FeedbackButton {
  z-index: 5;
}

/* QA 303381 — the SMS code screen reads as one centred column. The legacy
   `.authForm-label` is a 285px block with `margin-left: 0`, so under a
   `text-align: center` parent its text centres inside a box that still hugs
   the left edge: heading, code prompt and timer each sat on a different axis.
   Only the instruction line carried the auto margins. */
[data-auth-sms] {
  text-align: center;
}

[data-auth-sms] .authForm-label {
  margin-inline: auto;
}

/* The code cells sit directly under the full-width action button and had
   nothing between them. */
[data-auth-sms] [data-auth-code-cells] {
  margin-top: 16px;
}

[data-auth-sms] [data-auth-sms-resend] {
  margin-top: 12px;
}

/* The legacy `.form-error` is `position: absolute; top: calc(100% + 4px)`, and
   on the phone step its containing block is the `uk-position-relative` input
   wrapper it sits inside. The code screen has no such wrapper, so the nearest
   positioned ancestor is `.uk-modal-dialog` itself and the message landed 4px
   BELOW the whole dialog, out on the overlay (measured: error top 488.2
   against dialog bottom 484.2). A rejected code turned the cells red and
   explained nothing. In flow it lands under the cells, inside the card. */
[data-auth-sms] .form-error {
  margin-bottom: 16px;
  position: static;
}

/* The invalid state of a code cell. Deliberately not `uk-form-danger`: the
   legacy theme paints that class with a filled red disc (input-danger.svg)
   pinned to the control's right edge, which on a 50px cell lands on top of the
   digit — the "красные кружки" of QA 303381. Border and glyph colour only. */
[data-auth-code-cell].authForm-codeCell_invalid {
  border-color: #f54454;
  color: #f54454;
}

/* Макет экрана кода использует строку возврата над заголовком окна. */
[data-auth-sms] .authForm-changePhone {
  align-items: center;
  background: transparent;
  border: 0;
  color: #8f8f8f;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  gap: 8px;
  left: 32px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 16px;
}

.smallModal-body_authCode .uk-modal-title {
  margin-top: 24px;
}

[data-auth-sms] .authForm-changePhoneIcon {
  font-size: 20px;
  line-height: 1;
}

/* This line used to carry a legacy class instead, the one the pinned bundles
   (`src/legacy/guest.css`, `user.css` — byte-exact, digests in
   `docs/refactor/phase11b/EVIDENCE-MANIFEST.json`) style with
   `font-size:1.2rem;font-weight:600;margin-left:auto;margin-right:auto`.
   Only `font-weight: 600` survived the cascade under the rule below (the size
   loses to the 12px here, and `width: 100%` makes the auto margins moot), so
   this owned replacement restates that one declaration and the computed style
   is unchanged. The bundles keep the now-unused selector; they may not be
   hand-edited. */
[data-auth-sms] .authForm-smsInstruction {
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

[data-auth-sms] .authForm-smsInstruction strong {
  color: #202020;
  font-weight: 600;
}

[data-auth-sms] [data-auth-code-cells] {
  margin-bottom: 0;
  margin-top: 0;
}

[data-auth-sms] [data-auth-code-cell] {
  height: 56px;
  max-width: 80px;
  width: 80px;
}

[data-auth-sms] .authForm-smsAction {
  border-top: 1px solid #e5e5e5;
  margin-top: 20px;
  padding-top: 20px;
}

[data-auth-sms] [data-auth-sms-resend] {
  background-color: #efeded;
  border: 0;
  color: #202020;
  margin-top: 0;
  opacity: 1;
}

@media (min-width: 640px) {
  /* The accepted desktop frames use a 431px card. The existing 32px body
     padding then gives every form control the verified 367px width. */
  #auth-modal .modalForm-container[data-auth-sms-dialog] {
    width: 431px;
  }

  /* On the number step, the title and its hint form one heading group with an
     8px gap. The legacy empty spacer and paragraph margins made that gap 38px. */
  #auth-modal .smallModal-body[data-auth-sms-dialog]:not(.smallModal-body_authCode) {
    padding-top: 40px;
  }

  #auth-modal .smallModal-body[data-auth-sms-dialog]:not(.smallModal-body_authCode) .authForm-indentation {
    margin-bottom: 0;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms-intro] {
    margin: 8px 0 24px;
    max-width: none;
    width: 100%;
  }

  /* Both the initial disabled action and its loading state use the same
     disabled desktop button from the accepted frames. */
  #auth-modal [data-auth-sms-dialog] [data-auth-sms-send]:disabled {
    background-color: #eeecec;
    border: 1px solid #a1a1a1;
    border-radius: 5px;
    color: #a1a1a1;
    font-size: 16px;
    height: 48px;
    letter-spacing: -.01em;
    line-height: 20px;
    opacity: 1;
    padding: 10px 16px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms-send]:disabled > .uk-flex {
    gap: 10px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms-send]:disabled > .uk-flex > .uk-margin-small-left {
    margin-left: 0 !important;
  }

  /* The desktop code header uses the exported arrow. The text arrow remains
     in the markup and stays unchanged below the desktop breakpoint. */
  #auth-modal [data-auth-sms-dialog] [data-auth-sms] .authForm-changePhone {
    border-radius: 5px;
    height: 28px;
    left: 12px;
    padding: 4px 0;
    top: 12px;
    width: 145px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] .authForm-changePhoneIcon {
    background: url('/assets/images/icons/auth-sms-change-number-arrow.svg') center / 20px 20px no-repeat;
    flex: 0 0 20px;
    font-size: 0;
    height: 20px;
    width: 20px;
  }

  #auth-modal .smallModal-body_authCode[data-auth-sms-dialog] .uk-modal-title {
    margin-top: 32px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] .authForm-smsInstruction {
    margin: 8px 0 24px;
    max-width: none;
    width: 100%;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] [data-auth-code-cells] {
    gap: 12px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] [data-auth-code-cell] {
    border: 1px solid #dadada;
    border-radius: 5px;
    flex: 0 0 82.75px;
    font-size: 24px;
    font-weight: 600;
    height: 56px;
    letter-spacing: -.03em;
    line-height: 1.13;
    margin-right: 0 !important;
    max-width: 82.75px;
    padding: 18px 16px;
    width: 82.75px;
  }

  /* Keep the existing error and accepted colors above the more specific
     desktop geometry rule. */
  #auth-modal [data-auth-sms-dialog] [data-auth-sms] [data-auth-code-cell].authForm-codeCell_invalid {
    border-color: #f54454;
    color: #f54454;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] [data-auth-code-cell].authForm-codeCell_valid {
    background-color: #fff;
    border-color: #27c474;
    color: #202020;
    opacity: 1;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] .authForm-smsAction {
    border-top-color: #dadada;
    margin-top: 24px;
    padding-top: 24px;
  }

  #auth-modal [data-auth-sms-dialog] [data-auth-sms] .authForm-button_secondary[data-auth-sms-resend] {
    background-color: #eeecec;
    border-radius: 5px;
    color: #202020;
    font-size: 16px;
    gap: 12px;
    height: 48px;
    letter-spacing: -.01em;
    line-height: 20px;
    padding: 10px 16px;
  }

  /* UIkit keeps the close control and its hit target. The exported vector
     supplies the exact 24px desktop glyph; the two icon files under
     public/assets/legacy keep the names they were exported with. */
  #auth-modal [data-auth-sms-dialog] .uk-modal-close-default {
    background: url('/assets/images/icons/auth-sms-close.svg') center / 24px 24px no-repeat;
    height: 24px;
    padding: 0;
    width: 24px;
  }

  #auth-modal [data-auth-sms-dialog] .uk-modal-close-default > svg {
    visibility: hidden;
  }
}

[data-auth-sms] [data-auth-sms-resend]:disabled {
  background-color: #efeded;
  color: #a4a4a4;
  opacity: 1;
}

[data-auth-sms] [data-auth-sms-resend]:not(:disabled):focus,
[data-auth-sms] [data-auth-sms-resend]:not(:disabled):hover {
  background-color: #e7e5e5;
  color: #202020;
}

[data-auth-sms] .authForm-smsCountdown {
  align-items: center;
  display: inline-flex;
  margin-left: 12px;
}

[data-auth-sms] .authForm-smsDivider {
  border-left: 1px solid currentColor;
  height: 16px;
  margin-right: 12px;
  opacity: .45;
}

[data-auth-code-cell].authForm-codeCell_valid {
  background-color: #fff;
  border-color: #27c474;
  color: #202020;
  opacity: 1;
}
.new-home {
  --nh-accent: #f54252;
  --nh-accent-hover: #f31224;
  --nh-text: #202020;
  --nh-text-grey: #404040;
  --nh-text-light: #a1a1a1;
  --nh-line: #dadada;
  --nh-line-light: #f0f0f0;
  --nh-bg: #f6f7fc;
  --nh-bg-cool: #edeef4;
  --nh-row: #f2f6ff;
  --nh-cyan: #0baaf4;
  --nh-cyan-light: #59caff;
  --nh-content: 1064px;
  --nh-gutter: 24px;
  color: var(--nh-text);
  font-family: "Source Sans Pro", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25;
  overflow: hidden;
}

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

.new-home h1,
.new-home h2,
.new-home h3,
.new-home h4,
.new-home p,
.new-home dl,
.new-home dd {
  margin: 0;
}

.new-home img {
  display: block;
  max-width: 100%;
}

.new-home button {
  font: inherit;
}

.new-home .nh-container {
  margin-inline: auto;
  max-width: calc(var(--nh-content) + (var(--nh-gutter) * 2));
  padding-inline: var(--nh-gutter);
  width: 100%;
}

.new-home .nh-h2,
.new-home .nh-h3,
.new-home .nh-h4,
.new-home .nh-h5 {
  color: inherit;
  font-family: inherit;
  text-transform: none;
}

.new-home .nh-h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
}

.new-home .nh-h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.new-home .nh-h4 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.72px;
  line-height: 0.9;
}

.new-home .nh-h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.new-home .nh-sr-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.new-home .nh-btn {
  align-items: center;
  background: var(--nh-accent);
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  line-height: 1.25;
  min-height: 40px;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 125ms ease-in-out, border-color 125ms ease-in-out, color 125ms ease-in-out;
}

.new-home .nh-btn:hover {
  background: var(--nh-accent-hover);
  color: #fff;
  text-decoration: none;
}

.new-home .nh-btn--white,
.new-home .nh-btn--ghost {
  background: #fff;
  border-color: var(--nh-line);
  color: var(--nh-text);
}

.new-home .nh-btn--ghost {
  background: transparent;
}

.new-home .nh-btn--white:hover,
.new-home .nh-btn--ghost:hover {
  background: #fff;
  border-color: var(--nh-accent);
  color: var(--nh-accent);
}

.new-home .nh-btn--block {
  width: 100%;
}

.new-home .nh-btn--wide {
  padding-inline: 32px;
}

/* Letter-spacing по кеглям (аудит 303587): 18px → −0.18, 16px → −0.16,
   14px → −0.14. Hero и .nh-h4 несут свои значения в собственных правилах. */
.new-home .cat-card__title,
.new-home .dcard__title,
.new-home .benefit__title,
.new-home .spec__title,
.new-home .cmp__title,
.new-home .comparison__sub {
  letter-spacing: -0.18px;
}

.new-home .promo-card__title,
.new-home .dcard__text,
.new-home .benefit__text,
.new-home .faq__question,
.new-home .nh-btn {
  letter-spacing: -0.16px;
}

.new-home .promo-card__date,
.new-home .tabs__btn,
.new-home .spec__key,
.new-home .spec__value,
.new-home .cmp__row,
.new-home .faq__answer {
  letter-spacing: -0.14px;
}

.new-home .nh-chevron {
  display: block;
  flex: none;
  transition: transform 0.25s ease;
}

.new-home .nh-chevron path {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.new-home .nh-chevron.is-open {
  transform: rotate(180deg);
}

/* Hero — слайдер главной после редизайна 07.09.2026 (Figma «Главная»:
   hero 1631-11810, step-indicator 1631-11830; мобильный 1631-11899 /
   1631-11903). Карточка-баннер 21:9 (1200×514 на 1440) со скруглением 64
   и тенью, соседние слайды выглядывают в полях в масштабе 0.9 с зазором
   24; точки — под баннером на белом фоне. Мобильный: 16:9 (328×185 на 360),
   скругление 12, зазор 4. Все размеры — в переменных --hero-*.
   На низких окнах (ноутбук 1920×1080 с масштабом 125 % — 1536×745,
   1366×768) карточка 1200×514 занимала всё окно и прятала каталог, поэтому
   её высота ограничена долей высоты окна (--hero-max-height); ширина
   считается из неё по --hero-ratio. На 1440×1000 и выше предел не
   срабатывает; на мобильном он снят (100vh). */
.new-home .hero {
  --hero-side: clamp(40px, 8.34vw, 120px);
  --hero-gap: 24px;
  --hero-max-height: 55vh;
  --hero-radius: clamp(24px, 5.34vw, 64px);
  --hero-ratio: 21 / 9;
  --hero-pad-top: 32px;
  --hero-dots-gap: 24px;

  background: #fff;
  color: var(--nh-text);
  overflow: hidden;
  padding-bottom: 8px;
  padding-top: var(--hero-pad-top);
  position: relative;
}

.new-home .hero:focus-visible {
  outline: 2px solid var(--nh-accent);
  outline-offset: -2px;
}

.new-home .hero__stage {
  position: relative;
}

.new-home .hero__viewport {
  position: relative;
  width: 100%;
}

/* Лента Embla. Viewport — во всю ширину экрана: Embla зацикливает только то,
   что попадает в viewport, поэтому выглядывающие соседи должны быть внутри
   него, а не в overflow. Карточка — 1200 (или ширина минус поля), стоит по
   центру (align: center); .hero__container — flex-ряд, который Embla двигает
   инлайновым transform; зазор — margin-right слайда (Embla читает его как
   расстояние между слайдами и как хвост ленты при зацикливании). */
.new-home .hero__container {
  backface-visibility: hidden;
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.new-home .hero__slide {
  color: inherit;
  display: block;
  flex: 0 0 min(
    1200px,
    calc(100% - var(--hero-side) * 2),
    calc(var(--hero-max-height) * var(--hero-ratio))
  );
  margin-right: var(--hero-gap);
  min-width: 0;
  position: relative;
  text-decoration: none;
}

.new-home .hero__slide:hover {
  color: inherit;
  text-decoration: none;
}

/* Карточка внутри слайда: скругление и тень по Figma; соседи (.is-prev /
   .is-next) уменьшены до 0.9 от своего края к центру, дальние — тоже 0.9,
   чтобы не «прыгать» при въезде в кадр. Сам слайд трогать нельзя — его
   transform принадлежит Embla. */
.new-home .hero__card {
  aspect-ratio: var(--hero-ratio);
  border-radius: var(--hero-radius);
  box-shadow: 0 12px 24px rgb(0 0 0 / 10%);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transform-origin: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.new-home .hero__slide.is-active .hero__card {
  transform: none;
}

.new-home .hero__slide.is-prev,
.new-home .hero__slide.is-next {
  cursor: pointer;
}

.new-home .hero__slide.is-prev .hero__card {
  transform-origin: right center;
}

.new-home .hero__slide.is-next .hero__card {
  transform-origin: left center;
}

/* Ховер кликабельного баннера — карточка приподнимается на 4px, тень
   становится глубже, поверх картинки проступает тёмная вуаль на 8%.
   Только на устройствах с настоящим курсором: на тач-экранах :hover
   залипает после касания. Вуаль — псевдоэлемент карточки, поэтому
   картинка и разметка слайда не меняются. */
.new-home .hero__card::after {
  background: rgb(0 0 0 / 8%);
  content: '';
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .new-home a.hero__slide.is-active:hover .hero__card,
  .new-home a.hero__slide.is-active:focus-visible .hero__card {
    box-shadow: 0 20px 40px rgb(0 0 0 / 18%);
    transform: translateY(-4px);
  }

  .new-home a.hero__slide.is-active:hover .hero__card::after,
  .new-home a.hero__slide.is-active:focus-visible .hero__card::after {
    opacity: 1;
  }
}

.new-home .hero__picture,
.new-home .hero__img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

/* Язычок с галтелями и шеврон — точные пути из Figma «Preview» 32×88,
   лежат в самом SVG кнопки (см. HeroSection.vue). Стоят у краёв экрана
   поверх выглядывающих соседей. */
.new-home .hero__arrow {
  --nh-arrow-bg: #fff;

  background: none;
  border: 0;
  cursor: pointer;
  height: 88px;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  z-index: 5;
}

.new-home .hero__arrow svg {
  display: block;
}

.new-home .hero__arrow-bg {
  fill: var(--nh-arrow-bg);
  transition: fill 160ms ease-in-out;
}

.new-home .hero__arrow-chevron {
  fill: var(--nh-text);
  transition: fill 160ms ease-in-out;
}

.new-home .hero__arrow:hover {
  --nh-arrow-bg: var(--nh-accent);
}

.new-home .hero__arrow:hover .hero__arrow-chevron {
  fill: #fff;
}

.new-home .hero__arrow--prev {
  left: 0;
}

.new-home .hero__arrow--next {
  right: 0;
}

.new-home .hero__arrow--next svg {
  transform: scale(-1, 1);
}

/* Figma «step-indicator»: активная точка 32×6 красная, остальные 16×6
   синие на 24%, зазор 8, отступ от баннера 24 (16 на мобильном). */
.new-home .hero__dots {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: var(--hero-dots-gap);
}

.new-home .hero__dot {
  background: rgb(55 146 254 / 24%);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
  width: 16px;
}

.new-home .hero__dot.is-active {
  background: var(--nh-accent);
  width: 32px;
}

.new-home .benefits__dot {
  background: rgb(255 255 255 / 32%);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  height: 6px;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
  width: 16px;
}

.new-home .benefits__dot.is-active {
  background: var(--nh-accent);
  width: 32px;
}

/* Catalog */
.new-home .catalog {
  background: #fff;
  padding-bottom: 64px;
}

.new-home .catalog__head {
  margin-bottom: 40px;
}

.new-home .catalog__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.new-home .cat-card {
  align-items: center;
  background: var(--nh-bg);
  border-radius: 16px;
  color: var(--nh-text);
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  text-decoration: none;
  transition: box-shadow 125ms ease-in-out;
}

.new-home .cat-card:hover {
  box-shadow: 0 6px 8px rgb(62 64 71 / 16%);
  color: var(--nh-text);
  text-decoration: none;
}

.new-home .cat-card__pic {
  align-items: center;
  background: #f0f7ff;
  border-radius: 12px;
  display: flex;
  flex: 0 0 60px;
  height: 60px;
  justify-content: center;
  overflow: hidden;
  width: 60px;
}

.new-home .cat-card__pic picture,
.new-home .cat-card__pic img,
.new-home .cat-card__pic svg {
  height: 60px;
  object-fit: contain;
  width: 60px;
}

.new-home .cat-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}

.new-home .cat-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.new-home .cat-card__price {
  color: var(--nh-text-grey);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.6;
}

.new-home .cat-card--extra {
  display: none;
}

.new-home .catalog__grid.is-expanded .cat-card--extra {
  animation: nh-fade 0.2s ease-out;
  display: flex;
}

.new-home .catalog__more {
  display: flex;
  justify-content: center;
  margin-top: 24px; /* Figma: карточки y=304 → кнопка y=328 */
}

/* Promo */
.new-home .promo {
  border-radius: 64px;
  overflow: hidden;
  padding-block: 0 64px;
}

.new-home .promo__head {
  align-items: flex-start;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  /* Figma: head 0..40, карточки с y=118 (ряд fixed 380, карточки прижаты к низу) */
  margin-bottom: 78px;
}

.new-home .promo__row {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.new-home .promo-card {
  background: #fff;
  border: 1px solid #eeecec;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.new-home .promo-card:hover {
  box-shadow: 0 12px 24px rgb(0 0 0 / 10%);
  transform: translateY(-12px);
}

.new-home .promo-card__link {
  color: var(--nh-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.new-home .promo-card__link:hover {
  color: var(--nh-text);
  text-decoration: none;
}

.new-home .promo-card__link:focus-visible {
  outline: 2px solid var(--nh-accent);
  outline-offset: -2px;
}

.new-home .promo-card__media,
.new-home .promo-card__placeholder {
  background: var(--nh-bg);
  flex: 0 0 180px;
  height: 180px;
  overflow: hidden;
}

.new-home .promo-card__media picture,
.new-home .promo-card__image {
  height: 100%;
  width: 100%;
}

.new-home .promo-card__image {
  object-fit: cover;
}

.new-home .promo-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 20px;
}

.new-home .promo-card__date {
  color: var(--nh-text-light);
  font-size: 14px;
  font-weight: 600;
}

.new-home .promo-card__title {
  color: var(--nh-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.new-home .promo-card__description {
  color: var(--nh-text-grey);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.new-home .promo-card__arrow {
  align-items: center;
  align-self: flex-end;
  background: var(--nh-bg);
  border-radius: 50%;
  color: var(--nh-text-grey);
  display: flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  margin-top: auto;
  width: 28px;
}

.new-home .promo__mobile-more {
  display: none;
}

.new-home .promo__dots {
  display: none;
}

.new-home .promo__dot {
  background: #d9dce5;
  border: 0;
  border-radius: 11px;
  height: 6px;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
  width: 16px;
}

.new-home .promo__dot.is-active {
  background: var(--nh-accent);
  width: 32px;
}

/* Delivery */
/* Хвост серого фона уходит под скругление синего блока «5 причин»:
   padding-bottom здесь компенсируется отрицательным margin-top у .benefits. */
.new-home .delivery {
  background: var(--nh-bg-cool);
  border-radius: 64px 64px 0 0;
  padding-bottom: 64px;
}

.new-home .delivery__top {
  padding-block: 64px;
}

.new-home .delivery__title {
  margin-bottom: 40px;
  text-align: center;
}

.new-home .delivery__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.new-home .dcard {
  align-items: flex-start;
  background: #fff;
  border-radius: 32px;
  display: flex;
  gap: 16px;
  padding: 8px;
}

/* 79×79 у всех четырёх карточек (решение владельца 2026-08-28; п.23 аудита
   «79 только у кол-центра» снят). */
.new-home .dcard__icon {
  border-radius: 24px;
  flex: 0 0 79px;
  height: 79px;
  overflow: hidden;
}

.new-home .dcard__icon img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.new-home .dcard__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Figma: текст 409 = 520 − 8(паддинг карточки) − 79(иконка) − 16(gap) − 8(правый
     паддинг карточки); справа у тела ничего своего нет */
  padding: 14px 0 16px;
}

.new-home .dcard__title {
  color: var(--nh-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.new-home .dcard__text {
  color: var(--nh-text-light);
  font-size: 16px;
  line-height: 1.25;
}

.new-home .dcard__text a {
  color: var(--nh-text-grey);
  text-decoration: underline;
}

.new-home .dcard__phone {
  white-space: nowrap;
}

/* Benefits */
.new-home .benefits {
  background: linear-gradient(180deg, var(--nh-cyan-light) 0%, var(--nh-cyan-light) 72.112%, var(--nh-cyan) 100%);
  border-radius: 64px;
  color: #fff;
  isolation: isolate;
  margin-top: -64px;
  overflow: visible;
  padding-block: 64px;
  position: relative;
}

/* Верх не скруглён — брызги по макету выходят на серый фон над блоком;
   низ клипается радиусом секции, чтобы картинка не выглядывала в выемках. */
.new-home .benefits__bg {
  border-radius: 0 0 64px 64px;
  inset: -157px 0 0;
  opacity: 0.64;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.new-home .benefits__bg picture,
.new-home .benefits__bg img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.new-home .benefits__title {
  margin-bottom: 40px;
  text-align: center;
}

.new-home .benefits__stage {
  position: relative;
}

.new-home .benefits__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.new-home .benefits__track::-webkit-scrollbar {
  display: none;
}

.new-home .benefit {
  background: #e7f5fc;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 32px;
  box-shadow: 0 12px 24px rgb(0 0 0 / 4%);
  display: flex;
  flex: 0 0 calc((100% - 64px) / 3);
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.new-home .benefit__media {
  flex: 0 0 300px;
  height: 300px;
  overflow: hidden;
}

.new-home .benefit__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.new-home .benefit__body {
  background: #fff;
  border-radius: 32px;
  color: var(--nh-text);
  display: flex;
  flex-direction: column;
  /* Карточки в треке тянутся по самой высокой (align-items: stretch), а тело
     добирает весь остаток карточки — иначе под коротким текстом вылезает
     голубой фон .benefit. Контент при этом остаётся прижат к верху. */
  flex-grow: 1;
  gap: 4px;
  margin-top: -24px;
  padding: 16px 24px;
  position: relative;
  text-align: center;
}

.new-home .benefit__title {
  color: var(--nh-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.new-home .benefit__text {
  color: var(--nh-text);
  font-size: 16px;
  line-height: 1.25;
}

.new-home .benefits__arrow {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 5px;
  color: var(--nh-text);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  z-index: 4;
}

.new-home .benefits__arrow svg {
  display: block;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.new-home .benefits__arrow--prev {
  left: -20px;
}

.new-home .benefits__arrow--next {
  right: -20px;
}

.new-home .benefits__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.new-home .benefits__dots {
  display: none;
}

.new-home .benefits__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Water source */
.new-home .geo {
  background: #fff;
  padding-block: 64px;
}

.new-home .geo__head {
  margin-bottom: 40px;
}

.new-home .tabs {
  background: var(--nh-bg);
  border-radius: 32px;
  display: flex;
  padding: 4px;
  width: 349px; /* = первая колонка geo__cols */
}

.new-home .tabs .tabs__btn {
  flex: 1 1 0;
}

.new-home .tabs__btn {
  background: transparent;
  border: 0;
  border-radius: 28px;
  color: var(--nh-text-grey);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.64;
  padding: 12px 24px;
}

.new-home .tabs__btn.is-active {
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  opacity: 1;
}

.new-home .tabpanel {
  animation: nh-fade 0.3s ease-out;
  margin-top: 32px;
}

.new-home .geo__cols {
  align-items: stretch;
  display: grid;
  gap: 32px;
  grid-template-columns: 349px 1fr;
}

.new-home .geo__promo {
  background: rgb(245 66 82 / 8%);
  border-radius: 24px;
  box-shadow: 0 12px 24px rgb(0 0 0 / 4%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.new-home .geo__promo-img {
  /* Бокс фотографии по макету: 349x369 при колонке 349. Пропорция совпадает с
     исходниками (1051x1111 = 0.946), поэтому cover ничего не срезает и обе
     вкладки кадрируются одинаково. Та же пропорция работает и на мобилке. */
  aspect-ratio: 349 / 369;
  flex: none;
  overflow: hidden;
}

.new-home .geo__promo-img img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.new-home .geo__promo-body {
  display: flex;
  flex-direction: column;
  /* Карточку растягивает соседняя колонка .geo__info (грид со stretch), поэтому
     тело добирает остаток — иначе внизу видно розовый фон .geo__promo. */
  flex-grow: 1;
  gap: 32px;
  padding: 16px;
}

.new-home .geo__promo-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-home .geo__promo-text p:last-child {
  font-size: 14px;
  opacity: 0.7;
}

.new-home .geo__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.new-home .geo__lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-inline: 24px;
}

.new-home .geo__lead p {
  color: var(--nh-text-grey);
  font-size: 16px;
  line-height: 1.25;
}

.new-home .spec {
  background: var(--nh-bg);
  border-radius: 24px;
  overflow: hidden;
}

.new-home .spec__title {
  color: var(--nh-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  padding: 14px 24px;
  text-transform: none;
}

.new-home .spec__table {
  background: #fff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 24px;
  padding: 12px 24px;
}

.new-home .spec__row {
  align-items: flex-start;
  border-bottom: 1px solid var(--nh-line-light);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-block: 12px;
}

.new-home .spec__row:last-child {
  border-bottom: 0;
}

.new-home .spec__key,
.new-home .spec__value {
  font-size: 14px;
  line-height: 1.25;
}

.new-home .spec__key {
  color: var(--nh-text-grey);
  flex: none;
  font-weight: 400; /* легаси-CSS жирнит dt (bootstrap), в макете обычное начертание */
}

.new-home .spec__value {
  font-weight: 600;
  text-align: right;
}

/* Comparison */
.new-home .comparison {
  background: var(--nh-bg);
  border-radius: 64px;
  overflow: hidden;
  padding-block: 64px;
}

.new-home .comparison__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.new-home .comparison__sub {
  color: var(--nh-text-grey);
  font-size: 18px;
  font-weight: 600;
}

/* Строки двух колонок делят общие грид-треки (subgrid), чтобы сетка
   совпадала по высоте строк, как в Figma (иконки обеих колонок на одних y). */
.new-home .cmp {
  display: grid;
  gap: 0 24px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(8, auto);
}

.new-home .cmp__col {
  background: #fff;
  border-radius: 32px;
  display: grid;
  filter: drop-shadow(0 12px 12px rgb(0 0 0 / 10%));
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  overflow: hidden;
}

.new-home .cmp__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  padding: 20px;
  text-transform: none;
}

.new-home .cmp__col--filter .cmp__title {
  background: #c4c4c4;
}

.new-home .cmp__col--slavda .cmp__title {
  background: var(--nh-cyan);
}

.new-home .cmp__row {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 12px;
  line-height: 1.25;
  min-height: 64px;
  padding: 20px;
}

.new-home .cmp__row:nth-child(odd) {
  background: var(--nh-row);
}

.new-home .cmp__row--tall {
  padding-block: 12px;
}

.new-home .cmp__icon {
  align-items: center;
  background: #22b04b;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 14px;
  font-weight: 700;
  height: 24px;
  justify-content: center;
}

.new-home .cmp__icon--no {
  background: #c4c4c4;
  opacity: 0.55;
}

.new-home .cmp__text-mobile {
  display: none;
}

.new-home .cmp__note {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.new-home .cmp__note::before {
  background: var(--nh-text-light);
  content: "";
  flex: none;
  width: 1px;
}

.new-home .cmp__note p {
  color: var(--nh-text-light);
  font-size: 14px;
  line-height: 1.25;
  max-width: 664px;
}

/* FAQ */
.new-home .faq {
  background: #fff;
  padding-block: 64px;
}

.new-home .faq__title {
  margin-bottom: 40px;
  text-align: center;
}

.new-home .faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-inline: auto;
  max-width: 800px;
}

.new-home .faq__item {
  background: var(--nh-bg);
  border-radius: 16px;
  overflow: hidden;
}

.new-home .faq__item.is-open {
  background: #f1f3fb;
}

.new-home .faq__item h3 {
  margin: 0;
}

.new-home .faq__question {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--nh-text);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.25;
  padding: 20px;
  text-align: left;
  width: 100%;
}

.new-home .faq__question:hover {
  color: var(--nh-accent);
}

.new-home .faq__sign {
  flex: 0 0 20px;
  height: 20px;
  position: relative;
}

.new-home .faq__sign::before,
.new-home .faq__sign::after {
  background: currentcolor;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease;
}

.new-home .faq__sign::before {
  height: 2px;
  width: 14px;
}

.new-home .faq__sign::after {
  height: 14px;
  width: 2px;
}

.new-home .faq__item.is-open .faq__sign::before,
.new-home .faq__item.is-open .faq__sign::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.new-home .faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.new-home .faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.new-home .faq__answer > div {
  overflow: hidden;
}

.new-home .faq__answer p {
  color: var(--nh-text-grey);
  font-size: 14px;
  line-height: 1.25;
  padding: 0 20px 20px;
}

.new-home .faq__phone {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}

.new-home .faq__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Шапка на главной (аудит 303587, пп.34-38). Скоуп через :has(.new-home):
   home.css переживает SPA-навигацию, а пиксельный паритет легаси-страниц
   трогать нельзя — вне главной правила гаснут вместе с [data-page-kind]. */
.feip-wrapper:has([data-page-kind='home']) .siteHeaderNavList-link {
  font-size: 14px;
}

.feip-wrapper:has([data-page-kind='home']) .siteHeader--city-phone a {
  color: #202020;
}

.feip-wrapper:has([data-page-kind='home']) .siteHeader--city-button_bordered {
  color: #f54252;
  font-size: 14px;
  font-weight: 400;
}

.feip-wrapper:has([data-page-kind='home']) .siteHeader {
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
}

/* Высота шапки 137 по макету: 28 + 47 (лого-ряд) + 14 + 48 (меню 14px).
   Только полная шапка с меню: легаси прячет .siteHeader--navigation до 1200
   и меняет паддинги --main на ≤639/≤424 — туда не лезем. */
@media (min-width: 1200px) {
  .feip-wrapper:has([data-page-kind='home']) .siteHeader--main {
    padding-top: 28px;
  }

  .feip-wrapper:has([data-page-kind='home']) .siteHeader--navigation {
    margin-top: 14px;
  }
}

@keyframes nh-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1024px) {
  .new-home {
    --nh-gutter: 20px;
  }

  .new-home .catalog__grid,
  .new-home .promo__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-home .benefit {
    flex-basis: calc((100% - 32px) / 2);
  }

  .new-home .geo__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .new-home {
    --nh-gutter: 16px;
  }

  .new-home .nh-h2,
  .new-home .nh-h3 {
    font-size: 24px;
  }

  /* Figma «Hero» 1631-11899: карточка 328×185 (16:9) в полях по 16,
     соседи выглядывают на 12 с зазором 4; стрелок нет. */
  .new-home .hero {
    --hero-side: 16px;
    --hero-gap: 4px;
    --hero-radius: 12px;
    --hero-ratio: 16 / 9;
    --hero-pad-top: 24px;
    --hero-dots-gap: 16px;
    --hero-max-height: 100vh;

    padding-bottom: 0;
  }

  .new-home .hero__card {
    box-shadow: none;
  }

  .new-home .hero__arrow {
    display: none;
  }

  .new-home .catalog {
    padding-bottom: 0;
  }

  .new-home .catalog__head {
    margin-bottom: 32px;
  }

  .new-home .catalog__grid {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }

  .new-home .cat-card {
    align-items: flex-start;
    border-radius: 12px;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    padding: 12px;
  }

  .new-home .cat-card__pic,
  .new-home .cat-card__pic picture,
  .new-home .cat-card__pic img,
  .new-home .cat-card__pic svg {
    flex-basis: 52px;
    height: 52px;
    width: 52px;
  }

  .new-home .cat-card__title {
    font-size: 18px;
  }

  .new-home .catalog__more {
    margin-top: 12px;
  }

  .new-home .catalog__more .nh-btn {
    min-height: 44px;
    width: 100%;
  }

  .new-home .promo {
    border-radius: 32px;
    padding-block: 60px;
  }

  .new-home .promo__head {
    margin-bottom: 32px;
  }

  .new-home .promo__all {
    display: none;
  }

  .new-home .promo__row {
    display: flex;
    gap: 8px;
    margin-inline: calc(var(--nh-gutter) * -1);
    overflow-x: auto;
    padding: 12px var(--nh-gutter) 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .new-home .promo__row::-webkit-scrollbar {
    display: none;
  }

  .new-home .promo__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 24px;
  }

  .new-home .promo-card {
    flex: 0 0 271px;
    scroll-snap-align: start;
  }

  .new-home .promo-card:hover {
    transform: none;
  }

  .new-home .promo-card__media,
  .new-home .promo-card__placeholder {
    flex-basis: 139px;
    height: 139px;
  }

  .new-home .promo__mobile-more {
    display: flex;
  }

  .new-home .promo__mobile-more .nh-btn {
    width: 100%;
  }

  .new-home .delivery {
    background: var(--nh-bg);
    border-radius: 32px 32px 0 0;
  }

  .new-home .delivery__top {
    padding-block: 40px 32px;
  }

  .new-home .delivery__title {
    margin-bottom: 32px;
  }

  .new-home .delivery__grid {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .new-home .dcard {
    align-items: center;
    border-radius: 32px;
    min-height: 80px;
  }

  .new-home .dcard--phone {
    order: 3;
  }

  .new-home .dcard--payment {
    order: 4;
  }

  .new-home .dcard__icon {
    flex-basis: 64px;
    height: 64px;
  }

  .new-home .dcard__body {
    gap: 4px;
    padding: 0;
  }

  .new-home .dcard__title {
    font-size: 16px;
  }

  .new-home .dcard__text {
    font-size: 14px;
  }

  .new-home .benefits {
    background: var(--nh-cyan); /* fallback прототипа на ≤768 */
    border-radius: 24px;
    overflow: hidden;
    padding-block: 40px;
  }

  .new-home .benefits__bg {
    border-radius: 0;
    inset: 0;
  }

  .new-home .benefits__title {
    font-weight: 600;
    line-height: 1;
    margin-bottom: 32px;
  }

  .new-home .benefit {
    flex-basis: 100%;
  }

  .new-home .benefit__body {
    padding: 20px 24px;
  }

  .new-home .benefits__arrow {
    display: none;
  }

  .new-home .benefits__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
  }

  .new-home .benefits__cta {
    margin-top: 24px;
  }

  .new-home .benefits__cta .nh-btn {
    width: 100%;
  }

  .new-home .geo {
    padding-block: 60px 0;
  }

  .new-home .geo > .nh-container {
    padding-inline: 0;
  }

  .new-home .geo__head {
    margin-bottom: 32px;
    margin-inline: var(--nh-gutter);
  }

  .new-home .tabs {
    display: flex;
    margin-inline: var(--nh-gutter);
    width: calc(100% - (var(--nh-gutter) * 2));
  }

  .new-home .tabs__btn {
    flex: 1 1 0;
    padding-inline: 12px;
  }

  .new-home .geo__cols {
    gap: 32px;
  }

  .new-home .geo__promo {
    order: 2;
  }

  .new-home .geo__info {
    gap: 32px;
    order: 1;
  }

  .new-home .geo__lead {
    gap: 12px;
    padding-inline: var(--nh-gutter);
  }

  .new-home .geo__lead .nh-h4 {
    font-size: 18px;
    line-height: 1.25;
  }

  .new-home .geo__lead p {
    line-height: 1.35;
  }

  .new-home .spec__title {
    font-size: 16px;
    padding: 24px 16px 16px;
  }

  .new-home .spec__table {
    border-color: var(--nh-line);
    padding: 16px;
  }

  .new-home .spec__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .new-home .spec__key {
    opacity: 0.6;
  }

  .new-home .spec__value {
    text-align: left;
  }

  .new-home .comparison {
    background: #fff;
    border-radius: 0;
    padding-block: 60px;
  }

  .new-home .comparison__head {
    margin-bottom: 32px;
  }

  .new-home .cmp {
    align-items: stretch;
    gap: 8px 4px;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(7, auto);
  }

  .new-home .cmp__col {
    display: contents;
  }

  .new-home .cmp__title {
    align-items: center;
    border-radius: 8px;
    display: flex;
    font-size: 12px;
    height: 44px;
    justify-content: center;
    padding: 10px;
    text-align: center;
  }

  .new-home .cmp__row,
  .new-home .cmp__row--tall {
    border-radius: 8px;
    font-size: 12px;
    gap: 8px;
    min-height: 0;
    padding: 10px;
  }

  .new-home .cmp__col--filter .cmp__row {
    background: rgb(196 196 196 / 20%);
  }

  .new-home .cmp__col--slavda .cmp__row {
    background: #f0f7ff;
  }

  .new-home .cmp__icon {
    flex-basis: 16px;
    font-size: 10px;
    height: 16px;
  }

  .new-home .cmp__text-desktop {
    display: none;
  }

  .new-home .cmp__text-mobile {
    display: inline;
  }

  .new-home .faq {
    padding-block: 0 60px;
  }

  .new-home .faq__title {
    margin-bottom: 32px;
    text-align: left;
  }

  .new-home .faq__list {
    gap: 8px;
  }

  .new-home .faq__item {
    border-radius: 12px;
  }

  .new-home .faq__question {
    font-size: 14px;
    gap: 4px;
    padding: 16px;
  }

  .new-home .faq__item.is-open .faq__question {
    padding: 20px 20px 0;
  }

  .new-home .faq__answer p {
    font-size: 14px;
    line-height: 1.25;
    padding: 12px 20px 20px;
  }

  .new-home .faq__cta {
    margin-top: 32px;
  }

  .new-home .faq__cta .nh-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .new-home .cmp__row,
  .new-home .cmp__row--tall {
    font-size: 10px;
    padding: 10px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .new-home *,
  .new-home *::before,
  .new-home *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Футер главной по макету (303587, п.7 и п.39): тело #1F1F1F 388px,
   нижняя полоса #272727 50px, итого 438. Контейнер 1280, грид-колонки
   260/260/1fr/auto — платёжки и колонки ссылок сидят на одних вертикалях. */
.nh-footer {
  background: #1f1f1f;
  color: rgb(255 255 255 / 87%);
  font-family: "Source Sans Pro", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: -0.14px;
  line-height: 1.25;
}

.nh-footer__container {
  margin-inline: auto;
  max-width: 1328px;
  padding: 24px 24px 20px;
}

.nh-footer__brand {
  align-items: center;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.nh-footer__logo {
  display: inline-block;
}

.nh-footer__logo img {
  display: block;
  height: 52px;
  width: 101px;
}

.nh-footer__payment {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nh-footer__payment img {
  display: block;
  width: 40px;
}

.nh-footer__divider {
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 22%);
  /* Лого 52 (было 50) + отступ 8 (было 10) = высота бренд-блока прежняя, как в ноде. */
  margin: 8px 0 0;
}

.nh-footer__cols {
  display: grid;
  gap: 0;
  grid-template-columns: 260px 260px 1fr auto;
  margin-top: 20px;
}

.nh-footer__col {
  padding-right: 24px;
}

.nh-footer__heading {
  color: rgb(255 255 255 / 48%);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-transform: none;
}

.nh-footer__address {
  color: rgb(255 255 255 / 73%);
  margin: 20px 0 0;
  max-width: 236px;
}

.nh-footer__links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.nh-footer__links li + li {
  margin-top: 4px;
}

.nh-footer__links a {
  color: rgb(255 255 255 / 87%);
  text-decoration: none;
}

.nh-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.nh-footer__feedback {
  justify-self: end;
  margin-top: -5px; /* верх кнопки в макете y=100 при колонках y=105 */
}

.nh-footer__feedback-btn {
  align-items: center;
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: -0.16px;
  min-height: 40px;
  padding: 10px 24px;
  text-decoration: none;
}

.nh-footer__feedback-btn:hover {
  border-color: rgb(255 255 255 / 48%);
  color: #fff;
  text-decoration: none;
}

.nh-footer__sub {
  display: grid;
  gap: 8px 0;
  grid-template-columns: 260px 260px 1fr auto;
  margin-top: 14px;
}

.nh-footer__copyright {
  font-weight: 600;
  grid-column: 1 / -2;
  margin: 0;
}

.nh-footer__legal {
  display: grid;
  gap: 8px 0;
  grid-column: 1 / -2;
  grid-template-columns: subgrid;
}

.nh-footer__legal a {
  color: rgb(255 255 255 / 64%);
  text-decoration: none;
}

.nh-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.nh-footer__badges {
  align-items: center;
  align-self: center;
  display: flex;
  gap: 24px;
  grid-column: 4;
  grid-row: 1 / 3;
}

.nh-footer__badges img {
  display: block;
  flex-shrink: 0;
  height: 40px;
  width: auto;
}

.nh-footer__developers {
  align-items: center;
  background: #272727;
  display: flex;
  justify-content: center;
  min-height: 50px;
}

.nh-footer__developers p {
  align-items: center;
  color: #464646;
  display: flex;
  gap: 8px;
  margin: 0;
}

.nh-footer__developers svg {
  display: block;
}

@media (max-width: 768px) {
  .nh-footer__container {
    padding-inline: 16px;
  }

  .nh-footer__brand {
    gap: 24px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nh-footer__cols,
  .nh-footer__sub,
  .nh-footer__legal {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .nh-footer__sub {
    margin-top: 24px;
  }

  .nh-footer__legal {
    gap: 8px;
    grid-column: 1;
  }

  .nh-footer__copyright {
    grid-column: 1;
  }

  .nh-footer__feedback {
    justify-self: stretch;
  }

  .nh-footer__feedback-btn {
    min-height: 48px;
    width: 100%;
  }

  .nh-footer__badges {
    gap: 16px;
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

/* PromoModal: «Slavda» был h1 — второй H1 на главной; h2 держит вес легаси-h1. */
.PromoModal .container-title__text { font-weight: 700; }

/* PromoModal: фиксируем круглый виджет в левом нижнем углу на мобилке, чтобы не перекрывать кнопку «Вверх» */
@media (max-width: 768px) {
  .PromoModal .trigger {
    bottom: -171px;
    left: -164px;
    right: auto;
  }

  .PromoModal .trigger-content-wave {
    left: 35px;
    right: auto;
    transform: rotate(45deg);
  }

  .PromoModal .trigger-content-bottle {
    left: auto;
    right: 43px;
  }
}
