/* ============================================================
   Нова.Маркет — слой магазина поверх бренд-системы «Нова».
   Только расширения с префиксом nm-; базовые .nv-* не переопределяются.
   ============================================================ */

html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.nm-lock { overflow: hidden; }
.nm-skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 14px; background: var(--nv-amber); color: var(--nv-ink); border-radius: var(--nv-radius-sm); font-weight: 600; }
.nm-skip:focus { top: 12px; }
.nv-body button, .nv-body [role="button"], .nv-body a.nv-btn, .nm-tabbar a, .nv-chip, .nv-tab { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.nv-body main { display: block; }
[hidden] { display: none !important; }

/* ---------- Шапка ---------- */
.nm-topbar__city { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.nm-topbar__city .nv-icon { width: 16px; height: 16px; }
.nm-topbar__hours { color: var(--nv-ink-3); }
.nm-header .nv-header__in { gap: var(--nv-space-4); }
.nm-header .nv-nav { margin-left: var(--nv-space-2); }
.nm-header .nv-header__search { max-width: 360px; }
.nm-header .nv-input--search { min-height: 44px; }
.nm-header__cart { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border-radius: var(--nv-radius-sm); color: var(--nv-ink); text-decoration: none; font-weight: var(--nv-fw-semibold); font-variant-numeric: tabular-nums; transition: background var(--nv-dur-state); }
.nm-header__cart:hover { background: var(--nv-ground-2); }
.nm-header__cart-ico { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; }
.nm-header__cart .nv-header__count { top: -6px; right: -8px; }
.nm-header__cart-sum { font-size: var(--nv-fs-sm); }
@media (max-width: 1024px) { .nm-header__cart-sum { display: none; } .nm-header__cart { padding: 0 8px; } }
.nm-header__cta { white-space: nowrap; }
@media (max-width: 1240px) { .nm-header__cta { display: none; } }
.nv-drawer { transition: none; }
.nv-drawer__panel { display: flex; flex-direction: column; gap: var(--nv-space-4); }
.nm-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.nm-drawer__phone { display: grid; gap: 2px; padding: var(--nv-space-4); background: var(--nv-ground); border-radius: var(--nv-radius-md); }
.nm-drawer__phone a { font-family: var(--nv-font-display); font-weight: 500; font-size: var(--nv-fs-xl); color: var(--nv-ink); text-decoration: none; }
.nm-drawer__phone span { font-size: var(--nv-fs-sm); color: var(--nv-ink-3); }
.nm-drawer__links { display: grid; gap: 6px; padding-top: var(--nv-space-3); border-top: var(--nv-line); font-size: var(--nv-fs-sm); }
.nm-drawer__links a { color: var(--nv-ink-2); text-decoration: none; padding: 8px 12px; border-radius: var(--nv-radius-sm); }
.nm-drawer__links a:hover { background: var(--nv-ground-2); color: var(--nv-ink); }

/* ---------- Нижняя панель на телефоне ---------- */
.nm-tabbar { display: none; }
@media (max-width: 720px) {
  .nm-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--nv-z-header); display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--nv-paper) 94%, transparent); backdrop-filter: saturate(140%) blur(12px); border-top: var(--nv-line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .nm-tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 4px 6px; min-height: 56px; color: var(--nv-ink-3); font-size: 11px; font-weight: var(--nv-fw-medium); text-decoration: none; }
  .nm-tabbar a:active { color: var(--nv-ink); }
  .nm-tabbar a[aria-current="page"] { color: var(--nv-brand-field); }
  .nm-tabbar .nv-icon { width: 24px; height: 24px; }
  .nm-tabbar .nv-header__count { top: 2px; right: calc(50% - 22px); }
  .nv-body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .nm-toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Тост ---------- */
.nm-toast { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity var(--nv-dur-state) var(--nv-ease-out), transform var(--nv-dur-reveal) var(--nv-ease-out); }
.nm-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ---------- Заголовок раздела ---------- */
.nm-sec-head { display: grid; gap: var(--nv-space-3); margin-bottom: clamp(24px, 3vw, 40px); }
.nm-sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
.nm-sec-head .nv-lead { max-width: 56ch; }
.nm-sec-head__link { display: inline-flex; align-items: center; gap: 6px; color: var(--nv-brand-link); font-weight: var(--nv-fw-medium); text-decoration: none; white-space: nowrap; }
.nm-sec-head__link:hover { text-decoration: underline; }
@media (max-width: 600px) { .nm-sec-head--row { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Первый экран: прилавок ---------- */
.nm-hero { position: relative; color: #fff; overflow: clip; padding: clamp(20px, 3vw, 40px) 0 0; }
.nm-hero__lamp { position: absolute; left: 50%; top: -10%; width: 72vw; max-width: 1100px; aspect-ratio: 2 / 1; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, var(--nv-amber-glow), transparent 70%); pointer-events: none; }
.nm-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.nm-hero__copy { display: grid; gap: var(--nv-space-4); max-width: 760px; }
.nm-hero__title { color: #fff; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.06; max-width: 20ch; }
.nm-hero__lead { font-size: var(--nv-fs-lg); line-height: 1.6; color: rgba(255,255,255,0.84); max-width: 54ch; }
.nm-hero__actions { display: flex; flex-wrap: wrap; gap: var(--nv-space-3); }
.nm-hero__facts { display: flex; flex-wrap: wrap; gap: var(--nv-space-2) var(--nv-space-5); font-size: var(--nv-fs-sm); color: rgba(255,255,255,0.8); }
.nm-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.nm-hero__facts .nv-icon { width: 18px; height: 18px; color: var(--nv-amber); }

/* Прилавок с шестью кассами и ценниками */
.nm-counter { position: relative; margin-top: 0; }
.nm-counter__scroll { overflow: visible; }
.nm-counter__stage { position: relative; display: grid; }
.nm-counter__glow { position: absolute; inset: 0; padding: 0 9%; display: grid; grid-template-columns: 200fr 200fr 240fr 260fr 320fr 320fr; pointer-events: none; }
.nm-counter__glow span { opacity: 0; background: radial-gradient(45% 55% at 50% 70%, rgba(255,178,36,0.34), transparent 72%); transition: opacity var(--nv-dur-glaze) var(--nv-ease-in-out); }
.nm-counter__stage[data-active="1"] .nm-counter__glow span:nth-child(1), .nm-counter__stage[data-active="2"] .nm-counter__glow span:nth-child(2), .nm-counter__stage[data-active="3"] .nm-counter__glow span:nth-child(3), .nm-counter__stage[data-active="4"] .nm-counter__glow span:nth-child(4), .nm-counter__stage[data-active="5"] .nm-counter__glow span:nth-child(5), .nm-counter__stage[data-active="6"] .nm-counter__glow span:nth-child(6) { opacity: 1; }
.nm-counter__devices { position: relative; padding: 0 9%; margin-bottom: -8px; z-index: 1; }
.nm-counter__devices img { width: 100%; height: auto; }
.nm-counter__top { position: relative; z-index: 2; height: 14px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #FFFFFF, #E6EAF0); box-shadow: 0 1px 0 rgba(15,27,51,0.18); }
.nm-counter__front { position: relative; z-index: 2; height: clamp(40px, 4vw, 48px); background: linear-gradient(180deg, #D9DEE6, #C3CAD6); border-radius: 0 0 8px 8px; }
.nm-counter__slots { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: 200fr 200fr 240fr 260fr 320fr 320fr; padding: 0 9%; margin: 0; }
.nm-slot { position: relative; display: block; height: 100%; color: inherit; text-decoration: none; border-radius: var(--nv-radius-md); outline-offset: -3px; }
.nm-slot:focus-visible { box-shadow: 0 0 0 3px var(--nv-amber); }
.nm-slot__name { display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); text-align: center; font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-medium); color: rgba(255,255,255,0.86); white-space: nowrap; }
.nm-tag { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); display: grid; gap: 1px; justify-items: center; min-width: 108px; padding: 8px 12px 9px; background: var(--nv-paper); color: var(--nv-ink); border-radius: var(--nv-radius-sm); border: 1px solid var(--nv-grout-2); box-shadow: var(--nv-glaze-highlight), 0 6px 14px -8px rgba(15,27,51,0.35); transition: background var(--nv-dur-state), transform var(--nv-dur-state) var(--nv-ease-spring), border-color var(--nv-dur-state); }
.nm-tag::before { content: ""; position: absolute; left: 50%; top: -9px; width: 2px; height: 10px; background: var(--nv-grout-2); transform: translateX(-50%); }
.nm-tag__name { font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-semibold); white-space: nowrap; }
.nm-tag__sub { font-size: 11px; color: var(--nv-ink-3); white-space: nowrap; }
.nm-tag__price { font-family: var(--nv-font-display); font-weight: 600; font-size: var(--nv-fs-md); letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nm-tag__old { font-size: 11px; color: var(--nv-ink-3); text-decoration: line-through; }
.nm-slot.is-active .nm-tag, .nm-slot:focus-visible .nm-tag { background: var(--nv-amber); border-color: var(--nv-amber-deep); transform: translate(-50%, -4px); }
.nm-slot.is-active .nm-tag__sub, .nm-slot.is-active .nm-tag__old, .nm-slot:focus-visible .nm-tag__sub { color: rgba(15,27,51,0.66); }
.nm-slot.is-active .nm-tag::before { background: var(--nv-amber-deep); }
@media (hover: hover) and (pointer: fine) { .nm-slot:hover .nm-tag { transform: translate(-50%, -4px); } }
.nm-counter__hint { display: none; }
.nm-hero__spacer { height: 30px; }
@media (max-width: 860px) {
  .nm-counter__scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--nv-gutter)); padding-inline: var(--nv-gutter); touch-action: pan-x pan-y; }
  .nm-counter__scroll::-webkit-scrollbar { display: none; }
  .nm-counter__stage { width: 980px; }
  .nm-counter__glow, .nm-counter__devices, .nm-counter__slots { padding: 0 2%; }
  .nm-slot { scroll-snap-align: center; }
  .nm-slot__name { display: block; }
  .nm-counter__hint { display: flex; align-items: center; gap: 8px; margin-top: 36px; font-size: var(--nv-fs-xs); color: rgba(255,255,255,0.72); }
  .nm-counter__hint .nv-icon { width: 16px; height: 16px; }
  .nm-hero__spacer { height: 12px; }
  .nm-slot__name { font-size: var(--nv-fs-xs); }
}
@media (max-width: 480px) { .nm-counter__stage { width: 900px; } }

/* ---------- Подбор кассы под бизнес ---------- */
.nm-chooser { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 0; overflow: clip; }
.nm-chooser__side { display: grid; gap: var(--nv-space-5); align-content: start; padding: var(--nv-space-5); background: var(--nv-ground); border-right: var(--nv-line); }
.nm-chooser__label { font-weight: var(--nv-fw-semibold); margin-bottom: var(--nv-space-3); }
.nm-biz { display: grid; gap: 6px; }
.nm-biz label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; background: var(--nv-paper); border: 1px solid var(--nv-grout); border-radius: var(--nv-radius-sm); cursor: pointer; font-weight: var(--nv-fw-medium); color: var(--nv-ink-2); transition: border-color var(--nv-dur-state), background var(--nv-dur-state), color var(--nv-dur-state); }
.nm-biz label:hover { border-color: var(--nv-ink-4); color: var(--nv-ink); }
.nm-biz input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nm-biz .nv-icon { color: var(--nv-ink-3); transition: color var(--nv-dur-state); }
.nm-biz label:has(input:checked) { background: var(--nv-ink); border-color: var(--nv-ink); color: #fff; }
.nm-biz label:has(input:checked) .nv-icon { color: var(--nv-amber); }
.nm-biz label:has(input:focus-visible) { box-shadow: var(--nv-focus-ring); }
.nm-needs { display: grid; gap: 10px; }
.nm-chooser__result { padding: var(--nv-space-5); display: grid; gap: var(--nv-space-4); align-content: start; }
.nm-pick { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: var(--nv-space-5); }
.nm-pick__stage { display: grid; place-items: end center; aspect-ratio: 1; padding: var(--nv-space-4); background: var(--nv-ground); border-radius: var(--nv-radius-md); position: relative; overflow: hidden; }
.nm-pick__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 100%, rgba(255,178,36,0.35), transparent 70%); }
.nm-pick__stage img { position: relative; width: 82%; height: auto; }
.nm-pick__body { display: grid; gap: var(--nv-space-3); align-content: start; }
.nm-pick__flag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-semibold); color: var(--nv-success); }
.nm-pick__flag .nv-icon { width: 18px; height: 18px; }
.nm-pick__title { font-family: var(--nv-font-display); font-weight: 600; font-size: var(--nv-fs-d3); letter-spacing: -0.015em; line-height: 1.15; }
.nm-pick__why { color: var(--nv-ink-2); max-width: 48ch; }
.nm-pick__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-space-3) var(--nv-space-4); margin-top: var(--nv-space-2); }
.nm-pick__actions { display: flex; flex-wrap: wrap; gap: var(--nv-space-2); }
.nm-alts { display: grid; gap: 8px; padding-top: var(--nv-space-4); border-top: var(--nv-line); }
.nm-alts__title { font-size: var(--nv-fs-sm); color: var(--nv-ink-3); }
.nm-alt { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: var(--nv-space-4); padding: 10px 12px; border: var(--nv-line); border-radius: var(--nv-radius-sm); text-decoration: none; color: inherit; transition: border-color var(--nv-dur-state), background var(--nv-dur-state); }
.nm-alt:hover { border-color: var(--nv-grout-2); background: var(--nv-ground); }
.nm-alt__img { width: 56px; height: 56px; display: grid; place-items: end center; background: var(--nv-ground); border-radius: 8px; padding: 4px; }
.nm-alt__img img { width: 100%; height: auto; }
.nm-alt__name { font-weight: var(--nv-fw-semibold); }
.nm-alt__why { font-size: var(--nv-fs-sm); color: var(--nv-ink-3); }
.nm-alt__price { font-family: var(--nv-font-display); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 960px) { .nm-chooser { grid-template-columns: 1fr; } .nm-chooser__side { border-right: 0; border-bottom: var(--nv-line); } .nm-biz { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nm-pick { grid-template-columns: 1fr; } .nm-pick__stage { max-width: 260px; margin: 0 auto; width: 100%; } .nm-biz { grid-template-columns: 1fr; } .nm-alt { grid-template-columns: 48px 1fr; } .nm-alt__price { grid-column: 2; } }

/* ---------- Карточки товаров ---------- */
.nm-grid { display: grid; gap: var(--nv-grid-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .nm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .nm-grid { gap: 10px; } .nv-product__row { flex-wrap: wrap; } .nv-stock { font-size: var(--nv-fs-xs); } .nv-product__body { padding: 10px 12px 12px; } .nv-product__specs { display: none; } .nv-product__actions { grid-template-columns: 1fr; } .nv-product__actions [data-compare] { display: none; } .nv-product__title { font-size: var(--nv-fs-md); } .nv-price__now { font-size: 1.25rem; } }
.nm-add { position: relative; }
.nm-add .nm-add__ok { display: none; }
.nm-add.is-added { --_bg: var(--nv-success-tint); --_fg: var(--nv-success); --_bg-hover: #CBEDD9; }
.nm-add.is-added .nm-add__ok { display: block; }
.nv-product__media img { width: min(78%, 240px); }

/* ---------- Плитки категорий ---------- */
.nm-cats { display: grid; gap: var(--nv-grid-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nm-cat { position: relative; display: grid; grid-template-columns: 1fr 96px; align-items: center; gap: var(--nv-space-3); min-height: 132px; padding: var(--nv-space-4) var(--nv-space-4) var(--nv-space-4) var(--nv-space-5); text-decoration: none; color: inherit; transition: border-color var(--nv-dur-state), transform var(--nv-dur-state) var(--nv-ease-out); }
.nm-cat:hover { border-color: var(--nv-grout-2); }
.nm-cat__name { font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-lg); line-height: 1.25; }
.nm-cat__meta { font-size: var(--nv-fs-sm); color: var(--nv-ink-3); margin-top: 4px; }
.nm-cat__img { width: 96px; height: 96px; display: grid; place-items: end center; background: var(--nv-ground); border-radius: var(--nv-radius-sm); padding: 6px; }
.nm-cat__img img { width: 100%; height: auto; transition: transform var(--nv-dur-reveal) var(--nv-ease-out); }
@media (hover: hover) { .nm-cat:hover .nm-cat__img img { transform: translateY(-3px); } }
@media (max-width: 960px) { .nm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .nm-cats { grid-template-columns: 1fr; } .nm-cat { min-height: 0; } }

/* ---------- Услуги ---------- */
.nm-services { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: var(--nv-grid-gap); align-items: start; }
.nm-services__card { display: grid; gap: var(--nv-space-4); padding: var(--nv-space-6); min-height: 100%; }
.nm-services__card img { width: 160px; height: 160px; }
.nm-services__card h3 { color: #fff; font-family: var(--nv-font-display); font-weight: 500; font-size: var(--nv-fs-d3); line-height: 1.15; letter-spacing: -0.01em; }
.nm-services__card p { color: rgba(255,255,255,0.82); max-width: 40ch; }
.nm-services__list { display: grid; gap: var(--nv-space-4); }
.nv-pricelist__note { display: block; font-size: var(--nv-fs-xs); color: var(--nv-success); font-weight: var(--nv-fw-medium); }
.nm-services__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-space-3) var(--nv-space-4); }
@media (max-width: 860px) { .nm-services { grid-template-columns: 1fr; } .nm-services__card { padding: var(--nv-space-5); } }

/* ---------- Поддержка ---------- */
.nm-support { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--nv-grid-gap); padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.nm-support__title { color: #fff; font-size: var(--nv-fs-d2); }
.nm-support__phone { display: grid; gap: 4px; margin-top: var(--nv-space-5); }
.nm-support__phone a { font-family: var(--nv-font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -0.02em; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.nm-support__phone span { color: rgba(255,255,255,0.78); }
.nm-support__status { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--nv-space-4); padding: 8px 14px 8px 10px; background: rgba(255,255,255,0.1); border-radius: var(--nv-radius-full); font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-medium); }
.nm-support__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2BC4A8; box-shadow: 0 0 0 4px rgba(43,196,168,0.25); }
.nm-support__ways { display: grid; gap: 8px; align-content: start; }
.nm-way { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--nv-space-3); padding: 12px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--nv-radius-md); color: #fff; text-decoration: none; transition: background var(--nv-dur-state); }
.nm-way:hover { background: rgba(255,255,255,0.14); }
.nm-way__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--nv-radius-sm); background: rgba(255,255,255,0.12); color: var(--nv-amber); }
.nm-way__name { font-weight: var(--nv-fw-semibold); }
.nm-way__sub { font-size: var(--nv-fs-sm); color: rgba(255,255,255,0.74); }
.nm-way .nv-icon--sm { color: rgba(255,255,255,0.6); }
.nm-support__novik { position: absolute; right: clamp(16px, 4vw, 56px); bottom: -8px; width: clamp(96px, 12vw, 150px); opacity: 0.95; }
@media (max-width: 860px) { .nm-support { grid-template-columns: 1fr; } .nm-support__novik { display: none; } }

/* ---------- Блог ---------- */
.nm-posts { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--nv-grid-gap); }
.nm-posts__col { display: grid; gap: var(--nv-grid-gap); }
.nm-post { display: grid; gap: var(--nv-space-3); padding: var(--nv-space-5); text-decoration: none; color: inherit; transition: border-color var(--nv-dur-state); position: relative; }
.nm-post:hover { border-color: var(--nv-grout-2); }
.nm-post--lead { grid-template-columns: 1fr 180px; grid-template-rows: auto auto 1fr auto; align-content: start; column-gap: var(--nv-space-5); min-height: 100%; }
.nm-post--lead img { grid-column: 2; grid-row: 1 / 5; width: 180px; height: 180px; align-self: center; }
.nm-post__meta { display: flex; gap: 10px; font-size: var(--nv-fs-xs); color: var(--nv-ink-3); }
.nm-post__meta b { color: var(--nv-brand-field); font-weight: var(--nv-fw-semibold); }
.nm-post__title { font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-xl); line-height: 1.25; }
.nm-post--lead .nm-post__title { font-family: var(--nv-font-display); font-weight: 500; font-size: var(--nv-fs-d3); letter-spacing: -0.01em; line-height: 1.15; }
.nm-post__lead { color: var(--nv-ink-2); font-size: var(--nv-fs-sm); max-width: 54ch; }
.nm-post__read { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); margin-top: auto; }
@media (max-width: 860px) { .nm-posts { grid-template-columns: 1fr; } .nm-post--lead { grid-template-columns: 1fr 120px; } .nm-post--lead img { width: 120px; height: 120px; } }
@media (max-width: 420px) { .nm-post--lead { grid-template-columns: 1fr; } .nm-post--lead img { grid-column: 1; grid-row: auto; width: 96px; height: 96px; } }

/* ---------- Подвал ---------- */
.nv-footer__brand { display: grid; gap: var(--nv-space-3); }
.nv-footer__brand img { height: 32px; width: auto; }
.nv-footer__brand p { font-size: var(--nv-fs-sm); color: rgba(255,255,255,0.72); max-width: 36ch; }

/* ---------- Каталог ---------- */
.nm-page-head { display: grid; gap: var(--nv-space-3); padding-block: var(--nv-space-5) var(--nv-space-4); }
.nm-page-head__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--nv-space-2) var(--nv-space-4); }
.nm-page-head__count { color: var(--nv-ink-3); }
.nm-catalog { display: grid; grid-template-columns: 272px 1fr; gap: var(--nv-space-6); align-items: start; padding-bottom: var(--nv-space-8); }
.nm-filters { position: sticky; top: 88px; display: grid; gap: var(--nv-space-5); max-height: calc(100vh - 104px); overflow: auto; overscroll-behavior: contain; padding-right: 4px; }
.nm-filters__group { display: grid; gap: 10px; }
.nm-filters__title { display: flex; align-items: center; justify-content: space-between; font-weight: var(--nv-fw-semibold); }
.nm-filters__reset { font-size: var(--nv-fs-sm); color: var(--nv-brand-link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.nm-cat-list { display: grid; gap: 2px; }
.nm-cat-list label { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--nv-radius-sm); cursor: pointer; color: var(--nv-ink-2); font-weight: var(--nv-fw-medium); }
.nm-cat-list label:hover { background: var(--nv-ground-2); color: var(--nv-ink); }
.nm-cat-list input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nm-cat-list label:has(input:checked) { background: var(--nv-ink); color: #fff; }
.nm-cat-list label:has(input:focus-visible) { box-shadow: var(--nv-focus-ring); }
.nm-cat-list__n { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); font-variant-numeric: tabular-nums; }
.nm-cat-list label:has(input:checked) .nm-cat-list__n { color: rgba(255,255,255,0.7); }
.nm-check-list { display: grid; gap: 10px; }
.nm-check-list .nv-check { grid-template-columns: 22px 1fr auto; }
.nm-check-list .nv-check .nm-cat-list__n { align-self: center; }
.nm-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nm-price-range .nv-input { min-height: 44px; font-variant-numeric: tabular-nums; }
.nm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-space-3); margin-bottom: var(--nv-space-4); }
.nm-toolbar__active { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.nm-toolbar__sort { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: var(--nv-fs-sm); color: var(--nv-ink-2); }
.nm-toolbar__sort .nv-select { min-height: 40px; width: auto; font-size: var(--nv-fs-sm); padding-right: 40px; }
.nm-filters-btn { display: none; }
.nm-results { display: grid; gap: var(--nv-grid-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1240px) { .nm-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .nm-catalog { grid-template-columns: 1fr; gap: var(--nv-space-4); }
  .nm-filters { position: static; max-height: none; overflow: visible; }
  .nm-filters-btn { display: inline-flex; }
  .nm-filters-btn .nv-header__count { position: static; margin-left: 2px; }
  .nm-toolbar__sort span { display: none; }
}
@media (max-width: 720px) { .nm-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nm-empty { grid-column: 1 / -1; }
.nm-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--nv-space-2); }

/* Нижний лист (фильтры на телефоне) */
.nm-sheet { position: fixed; inset: 0; z-index: var(--nv-z-sheet); display: none; }
.nm-sheet.is-open { display: block; }
.nm-sheet__scrim { position: absolute; inset: 0; background: rgba(15,27,51,0.45); animation: nm-fade var(--nv-dur-state) var(--nv-ease-out); }
.nm-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; display: flex; flex-direction: column; background: var(--nv-paper); border-radius: var(--nv-radius-lg) var(--nv-radius-lg) 0 0; box-shadow: var(--nv-shadow-float); animation: nm-rise var(--nv-dur-reveal) var(--nv-ease-out); transition: transform var(--nv-dur-reveal) var(--nv-ease-out); touch-action: none; }
.nm-sheet__grip { flex: none; display: grid; place-items: center; height: 28px; cursor: grab; touch-action: none; }
.nm-sheet__grip::before { content: ""; width: 40px; height: 5px; border-radius: 999px; background: var(--nv-grout-2); }
.nm-sheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--nv-space-4) var(--nv-space-3); font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-lg); border-bottom: var(--nv-line); }
.nm-sheet__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: var(--nv-space-4); touch-action: pan-y; }
.nm-sheet__foot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: var(--nv-space-3) var(--nv-space-4) calc(var(--nv-space-3) + env(safe-area-inset-bottom, 0px)); border-top: var(--nv-line); background: var(--nv-paper); }
@keyframes nm-rise { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
@keyframes nm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 961px) { .nm-sheet, .nm-sheet.is-open { display: contents; } .nm-sheet__scrim, .nm-sheet__grip, .nm-sheet__head, .nm-sheet__foot { display: none; } .nm-sheet__panel { position: static; max-height: none; box-shadow: none; border-radius: 0; background: transparent; animation: none; touch-action: auto; } .nm-sheet__body { padding: 0; overflow: visible; } }

/* ---------- Карточка товара ---------- */
.nm-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: var(--nv-space-7); align-items: start; padding-bottom: var(--nv-space-7); }
.nm-product__head { display: grid; gap: var(--nv-space-2); margin-bottom: var(--nv-space-5); }
.nm-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-space-2) var(--nv-space-4); font-size: var(--nv-fs-sm); color: var(--nv-ink-2); }
.nm-rating { display: inline-flex; align-items: center; gap: 6px; }
.nm-rating__stars { display: inline-flex; gap: 1px; color: var(--nv-amber); }
.nm-rating__stars .nv-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.nm-rating__stars .nv-icon.is-off { color: var(--nv-grout-2); }
.nm-rating a { color: var(--nv-ink-2); }
.nm-gallery { display: grid; gap: var(--nv-space-3); }
.nm-gallery__stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--nv-ground); border: var(--nv-line); border-radius: var(--nv-radius-lg); overflow: hidden; }
.nm-gallery__stage img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 4%, 40px); transition: opacity var(--nv-dur-state); }
.nm-gallery__stage img.is-render { width: 72%; height: auto; padding: 0; align-self: end; margin-bottom: 6%; }
.nm-gallery__stage .nv-product__badges { z-index: 1; }
.nm-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: var(--nv-paper); border: var(--nv-line); border-radius: 50%; color: var(--nv-ink); cursor: pointer; box-shadow: var(--nv-shadow-float); transition: background var(--nv-dur-state), opacity var(--nv-dur-state); }
.nm-gallery__nav:hover { background: var(--nv-ground-2); }
.nm-gallery__nav--prev { left: 12px; } .nm-gallery__nav--next { right: 12px; }
.nm-gallery__nav:disabled { opacity: 0.35; cursor: default; }
.nm-gallery__caption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; background: color-mix(in srgb, var(--nv-paper) 92%, transparent); border-radius: var(--nv-radius-xs); font-size: var(--nv-fs-xs); color: var(--nv-ink-2); }
.nm-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.nm-thumbs::-webkit-scrollbar { display: none; }
.nm-thumb { flex: none; width: 84px; height: 84px; display: grid; place-items: center; padding: 8px; background: var(--nv-ground); border: 1px solid var(--nv-grout); border-radius: var(--nv-radius-sm); cursor: pointer; transition: border-color var(--nv-dur-state), background var(--nv-dur-state); }
.nm-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nm-thumb[aria-current="true"] { border-color: var(--nv-ink); box-shadow: inset 0 0 0 1px var(--nv-ink); background: var(--nv-paper); }
.nm-thumb:hover { border-color: var(--nv-ink-4); }
.nm-buy { position: sticky; top: 92px; display: grid; gap: var(--nv-space-4); padding: var(--nv-space-5); }
.nm-buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.nm-buy__price .nv-price__now { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.nm-buy__price .nv-price__old { font-size: var(--nv-fs-md); }
.nm-buy__sale { font-size: var(--nv-fs-sm); color: var(--nv-danger); font-weight: var(--nv-fw-semibold); }
.nm-buy__label { font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-semibold); color: var(--nv-ink-2); display: flex; justify-content: space-between; }
.nm-buy__label a { font-weight: var(--nv-fw-regular); }
.nm-bundles { display: grid; gap: 8px; }
.nm-bundle { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--nv-grout-2); border-radius: var(--nv-radius-sm); cursor: pointer; transition: border-color var(--nv-dur-state), background var(--nv-dur-state); }
.nm-bundle:hover { border-color: var(--nv-ink-4); }
.nm-bundle input { appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--nv-grout-2); border-radius: 50%; background: var(--nv-paper); display: grid; place-content: center; cursor: pointer; transition: background var(--nv-dur-state), border-color var(--nv-dur-state); }
.nm-bundle input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--nv-ink); transform: scale(0); transition: transform var(--nv-dur-press) var(--nv-ease-spring); }
.nm-bundle input:checked { border-color: var(--nv-ink); }
.nm-bundle input:checked::before { transform: scale(1); }
.nm-bundle:has(input:checked) { border-color: var(--nv-ink); background: var(--nv-ground); }
.nm-bundle:has(input:focus-visible) { box-shadow: var(--nv-focus-ring); }
.nm-bundle__name { font-weight: var(--nv-fw-semibold); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nm-bundle__note { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); margin-top: 2px; }
.nm-bundle__add { font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--nv-ink-2); }
.nm-colors { display: flex; gap: 8px; }
.nm-color { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--nv-grout-2); border-radius: var(--nv-radius-sm); font-size: var(--nv-fs-sm); font-weight: var(--nv-fw-medium); cursor: pointer; }
.nm-color input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nm-color i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(15,27,51,0.2); background: var(--_c); }
.nm-color:has(input:checked) { border-color: var(--nv-ink); box-shadow: inset 0 0 0 1px var(--nv-ink); }
.nm-color:has(input:focus-visible) { box-shadow: var(--nv-focus-ring); }
.nm-buy__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 420px) { .nm-buy__actions { grid-template-columns: minmax(0, 1fr); } }
.nm-buy__actions .nv-btn { min-height: 52px; }
.nm-qty { display: inline-grid; grid-template-columns: 44px 48px 44px; align-items: stretch; border: 1px solid var(--nv-grout-2); border-radius: var(--nv-radius-sm); overflow: hidden; background: var(--nv-paper); }
.nm-qty button { background: none; border: 0; cursor: pointer; color: var(--nv-ink-2); display: grid; place-items: center; min-height: 44px; transition: background var(--nv-dur-state); }
.nm-qty button:hover { background: var(--nv-ground-2); color: var(--nv-ink); }
.nm-qty button:disabled { color: var(--nv-ink-4); cursor: default; background: none; }
.nm-qty input { width: 48px; text-align: center; border: 0; border-inline: 1px solid var(--nv-grout); font-weight: var(--nv-fw-semibold); font-variant-numeric: tabular-nums; min-height: 44px; }
.nm-qty input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--nv-brand-focus); }
.nm-buy__incart { display: grid; grid-template-columns: auto 1fr; gap: var(--nv-space-3); align-items: center; }
.nm-buy__delivery { display: grid; gap: 8px; padding-top: var(--nv-space-4); border-top: var(--nv-line); font-size: var(--nv-fs-sm); color: var(--nv-ink-2); }
.nm-buy__delivery li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.nm-buy__delivery .nv-icon { color: var(--nv-ink-3); }
.nm-buy__delivery b { color: var(--nv-ink); font-weight: var(--nv-fw-semibold); }
.nm-stickybar { display: none; }
@media (max-width: 960px) {
  .nm-product { grid-template-columns: minmax(0, 1fr); gap: var(--nv-space-5); }
  .nm-buy { position: static; }
}
@media (max-width: 720px) {
  .nm-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--nv-z-header); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--nv-space-3); padding: 10px var(--nv-space-4) calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--nv-paper) 94%, transparent); backdrop-filter: saturate(140%) blur(12px); border-top: var(--nv-line); transform: translateY(100%); transition: transform var(--nv-dur-reveal) var(--nv-ease-out); }
  .nm-stickybar.is-on { transform: none; }
  .nm-stickybar__price { display: grid; line-height: 1.1; }
  .nm-stickybar__price b { font-family: var(--nv-font-display); font-weight: 600; font-size: var(--nv-fs-xl); font-variant-numeric: tabular-nums; }
  .nm-stickybar__price span { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); }
  body[data-page="product"] .nm-tabbar { display: none; }
  body[data-page="product"] { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
.nm-product__sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nv-space-7); }
.nm-section-title { font-family: var(--nv-font-display); font-weight: 500; font-size: var(--nv-fs-d3); letter-spacing: -0.01em; line-height: 1.15; margin-bottom: var(--nv-space-4); }
.nm-tabs-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--nv-space-5); }
.nm-tabs-wrap .nv-tabpanel { max-width: 70ch; }
.nm-box { display: grid; gap: 8px; }
.nm-box li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--nv-ink-2); }
.nm-box .nv-icon { width: 18px; height: 18px; color: var(--nv-success); margin-top: 3px; }
.nm-reviews { display: grid; gap: var(--nv-grid-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .nm-reviews { grid-template-columns: 1fr; } }
.nm-compare .nv-specs th:first-child { width: 28%; }
.nm-compare .nv-specs thead th a { color: inherit; text-decoration: none; }
.nm-compare .nv-specs thead th.is-current { background: var(--nv-amber-tint); }
.nm-compare .nv-specs thead img { width: 72px; height: 72px; margin: 0 auto 6px; }
.nm-compare .nv-specs tbody th { font-weight: var(--nv-fw-medium); }
.nm-together { display: grid; gap: var(--nv-grid-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nm-together { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nm-product__faq { max-width: 820px; }

/* ---------- Корзина и оформление ---------- */
.nm-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--nv-space-6); align-items: start; padding-bottom: var(--nv-space-8); }
.nm-cart__main { display: grid; gap: var(--nv-space-6); }
.nm-lines { display: grid; }
.nm-line { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--nv-space-4); align-items: center; padding: var(--nv-space-4); border-bottom: var(--nv-line); }
.nm-line:last-child { border-bottom: 0; }
.nm-line__img { width: 96px; height: 96px; display: grid; place-items: end center; padding: 8px; background: var(--nv-ground); border-radius: var(--nv-radius-sm); }
.nm-line__img img { width: 100%; height: 100%; object-fit: contain; }
.nm-line__body { display: grid; gap: 4px; min-width: 0; }
.nm-line__name { font-weight: var(--nv-fw-semibold); text-decoration: none; color: inherit; }
.nm-line__name:hover { text-decoration: underline; }
.nm-line__bundle { font-size: var(--nv-fs-sm); color: var(--nv-ink-3); }
.nm-line__unit { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); font-variant-numeric: tabular-nums; }
.nm-line__ctrl { display: grid; justify-items: end; gap: 10px; }
.nm-line__sum { font-family: var(--nv-font-display); font-weight: 600; font-size: var(--nv-fs-xl); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm-line__remove { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--nv-ink-3); font-size: var(--nv-fs-sm); cursor: pointer; }
.nm-line__remove:hover { color: var(--nv-danger); }
.nm-line__ctrl .nm-qty { grid-template-columns: 40px 44px 40px; }
@media (max-width: 600px) { .nm-line { grid-template-columns: 72px 1fr; } .nm-line__img { width: 72px; height: 72px; } .nm-line__ctrl { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; } .nm-line__sum { justify-self: end; } }
.nm-promo { display: grid; gap: 8px; padding: var(--nv-space-4); border-top: var(--nv-line); }
.nm-promo__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; max-width: 420px; }
.nm-promo__ok { display: inline-flex; align-items: center; gap: 6px; font-size: var(--nv-fs-sm); color: var(--nv-success); font-weight: var(--nv-fw-medium); }
.nm-checkout { display: grid; gap: var(--nv-space-6); }
.nm-checkout__group { display: grid; gap: var(--nv-space-4); padding: var(--nv-space-5); }
.nm-checkout__title { font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-xl); display: flex; align-items: center; gap: 12px; }
.nm-checkout__title::before { content: counter(nm-step); counter-increment: nm-step; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--nv-brand-field); color: #fff; font-family: var(--nv-font-display); font-size: var(--nv-fs-md); font-weight: 600; }
.nm-checkout { counter-reset: nm-step; }
.nm-options { display: grid; gap: 8px; }
.nm-option { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--nv-grout-2); border-radius: var(--nv-radius-sm); cursor: pointer; transition: border-color var(--nv-dur-state), background var(--nv-dur-state); }
.nm-option:hover { border-color: var(--nv-ink-4); }
.nm-option input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--nv-grout-2); border-radius: 50%; background: var(--nv-paper); display: grid; place-content: center; cursor: pointer; transition: border-color var(--nv-dur-state); }
.nm-option input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--nv-ink); transform: scale(0); transition: transform var(--nv-dur-press) var(--nv-ease-spring); }
.nm-option input:checked { border-color: var(--nv-ink); }
.nm-option input:checked::before { transform: scale(1); }
.nm-option:has(input:checked) { border-color: var(--nv-ink); background: var(--nv-ground); }
.nm-option:has(input:focus-visible) { box-shadow: var(--nv-focus-ring); }
.nm-option__name { display: block; font-weight: var(--nv-fw-semibold); }
.nm-option__note { display: block; font-size: var(--nv-fs-sm); color: var(--nv-ink-3); margin-top: 2px; }
.nm-option__price { font-weight: var(--nv-fw-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm-option__price.is-free { color: var(--nv-success); }
.nm-summary { position: sticky; top: 92px; display: grid; gap: var(--nv-space-4); padding: var(--nv-space-5); }
.nm-summary__title { font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-xl); }
.nm-summary__rows { display: grid; gap: 8px; font-size: var(--nv-fs-sm); color: var(--nv-ink-2); }
.nm-summary__rows div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.nm-summary__rows .is-discount { color: var(--nv-success); }
.nm-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--nv-space-4); border-top: var(--nv-line); }
.nm-summary__total b { font-family: var(--nv-font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nm-summary__note { font-size: var(--nv-fs-xs); color: var(--nv-ink-3); }
.nm-summary__items { display: grid; gap: 6px; font-size: var(--nv-fs-sm); color: var(--nv-ink-2); }
.nm-summary__items div { display: flex; justify-content: space-between; gap: 12px; }
.nm-summary__items span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-summary__items span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm-errors { display: none; }
.nm-errors.is-on { display: grid; }
.nm-errors ul { display: grid; gap: 4px; margin-top: 4px; }
.nm-errors a { color: var(--nv-danger); font-weight: var(--nv-fw-medium); }
.nm-success { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: var(--nv-space-6); align-items: center; padding: clamp(28px, 4vw, 56px); }
.nm-success__body { display: grid; gap: var(--nv-space-4); }
.nm-success__title { font-family: var(--nv-font-display); font-weight: 600; font-size: var(--nv-fs-d2); letter-spacing: -0.02em; line-height: 1.1; }
.nm-success__order { font-size: var(--nv-fs-lg); color: var(--nv-ink-2); }
.nm-success__order b { color: var(--nv-ink); font-variant-numeric: tabular-nums; }
.nm-success__art { width: 100%; max-width: 260px; justify-self: center; }
@media (max-width: 1100px) { .nm-cart { grid-template-columns: 1fr; } .nm-summary { position: static; } }
@media (max-width: 720px) { .nm-success { grid-template-columns: 1fr; } .nm-success__art { max-width: 160px; order: -1; } }
.nm-cart-empty { padding: var(--nv-space-9) var(--nv-space-5); }
