
:root {
  
  --nf-color-text-primary: #151515;

  /* Brand accent for nav and UI states */
  --nf-accent: #4da0a9;
  --nf-color-accent: var(--nf-accent);
  --nf-color-accent-hover: var(--nf-accent);
  --nf-color-accent-active: var(--nf-accent);
  --nf-color-accent-soft: rgba(var(--nf-accent-rgb), 0.12);
  --nf-color-accent-contrast: #2a636d;
  --nf-color-primary-light: rgba(var(--nf-accent-rgb), 0.12);
  --nf-color-primary-subtle: rgba(var(--nf-accent-rgb), 0.08);
  --nf-color-primary-glow: rgba(var(--nf-accent-rgb), 0.28);
  /* Soft highlight for hero mist / gradients (same hue, not neon) */
  --nf-color-accent-air: #a5d8de;

  --nf-color-surface: #ffffff;
  --nf-color-surface-alt: #f4f7f6;
  --nf-color-surface-subtle: #f7faf9;
  --nf-color-surface-mid: color-mix(in srgb, var(--nf-color-surface-alt) 86%, var(--nf-color-border) 14%);
  --nf-color-surface-dim: color-mix(in srgb, var(--nf-color-surface-alt) 72%, var(--nf-color-border) 28%);

  --nf-color-border: #d7e4e0;
  --nf-color-border-strong: #c9d9d4;

  --nf-color-dark-surface: #1d2c2a;
  --nf-color-dark-surface-2: #223734;

  --nf-color-muted: #6f7c79;

  
  --nf-color-text-secondary: color-mix(in srgb, var(--nf-color-text-primary) 28%, var(--nf-color-muted) 72%);
  --nf-color-text-tertiary: color-mix(in srgb, var(--nf-color-text-primary) 14%, var(--nf-color-muted) 86%);
  --nf-color-text-strong: color-mix(in srgb, var(--nf-color-text-primary) 82%, var(--nf-color-accent-contrast) 18%);
  --nf-color-hairline: color-mix(in srgb, var(--nf-color-border) 50%, var(--nf-color-surface) 50%);
  --nf-color-placeholder: color-mix(in srgb, var(--nf-color-muted) 88%, var(--nf-color-accent-contrast) 12%);
  --nf-color-line-muted: color-mix(in srgb, var(--nf-color-muted) 72%, var(--nf-color-accent) 28%);
  --nf-color-accent-deep: color-mix(in srgb, var(--nf-color-accent-contrast) 58%, var(--nf-color-text-primary) 42%);
  --nf-color-hero-panel: #132b2f;
  --nf-on-dark-hi: rgba(255, 255, 255, 0.92);
  --nf-on-dark-mid: rgba(255, 255, 255, 0.74);
  --nf-on-dark-low: rgba(255, 255, 255, 0.52);

  --nf-accent-rgb: 77, 160, 169;
  --nf-graphite-rgb: 21, 21, 21;
  
  --nf-line-rgb: 124, 138, 135;

  --nf-hero-dark-1: #112326;
  --nf-hero-dark-2: #184347;
  --nf-hero-dark-3: #458998;

  
  --nf-color-primary: var(--nf-color-accent);
  --nf-color-primary-hover: var(--nf-color-accent-hover);
  --nf-color-primary-active: var(--nf-color-accent-active);
  --nf-color-primary-dark: var(--nf-color-accent-contrast);
  --nf-color-primary-border: rgba(var(--nf-accent-rgb), 0.35);

  --nf-color-bg: var(--nf-color-surface-alt);
  --nf-color-text: var(--nf-color-text-primary);
  --nf-color-text-muted: var(--nf-color-muted);

  --nf-border-subtle: var(--nf-color-border);
  --nf-border-strong: var(--nf-color-border-strong);

  
  --nf-admin-bg: color-mix(in srgb, var(--nf-color-accent-soft) 94%, var(--nf-color-border) 6%);
  --nf-admin-shell-bg: var(--nf-color-surface-subtle);
  --nf-admin-sidebar-bg: var(--nf-color-surface);
  --nf-admin-content-bg: var(--nf-color-surface);
  --nf-admin-border-subtle: var(--nf-color-border);
  --nf-admin-border-strong: var(--nf-color-border-strong);
  --nf-admin-accent: var(--nf-color-accent);
  --nf-admin-accent-soft: rgba(var(--nf-accent-rgb), 0.12);
  --nf-admin-accent-strong: var(--nf-color-accent-contrast);
  --nf-admin-danger: #dc2626;
  --nf-admin-danger-soft: rgba(220, 38, 38, 0.08);
  --nf-admin-radius-lg: 18px;
  --nf-admin-radius-md: 12px;
  --nf-admin-radius-sm: 8px;

  
  --adm-bg: #101816;
  --adm-surface: #152522;
  --adm-surface-2: #1a2e2b;
  --adm-sidebar: #182924;
  --adm-card: rgba(255, 255, 255, 0.04);
  --adm-border: rgba(var(--nf-line-rgb), 0.35);
  --adm-text: rgba(255, 255, 255, 0.92);
  --adm-muted: rgba(255, 255, 255, 0.62);
  --adm-muted-soft: rgba(var(--nf-line-rgb), 0.55);
  --adm-primary: var(--nf-color-accent);
  --adm-primary-soft: rgba(var(--nf-accent-rgb), 0.24);
  --adm-focus-ring: 0 0 0 1px rgba(var(--nf-accent-rgb), 0.45),
    0 0 0 4px rgba(var(--nf-accent-rgb), 0.18);

  --nf-radius-lg: 20px;
  --nf-radius-md: 12px;
  --nf-radius-sm: 8px;
  --nf-radius-ui: 12px;
  --nf-radius-card: 16px;
  --nf-radius-pill: 999px;

  --nf-home-max-width: 1560px;
  /* Inner rhythm: consistent content inset from section top; paired blocks ≈72–88px between sections */
  --nf-home-section-pad-top: clamp(22px, 2.8vw, 34px);
  --nf-home-section-pad-bottom: clamp(22px, 2.9vw, 38px);
  --nf-home-section-pad-x: 24px;
  --nf-home-section-pad-x-sm: 16px;
  --nf-home-section-head-gap: clamp(24px, 2.8vw, 36px);
  --nf-home-hero-exit-bottom: clamp(28px, 4vw, 48px);
  --nf-home-after-hero-top: clamp(32px, 4.2vw, 52px);
  --nf-home-clean-pad-top: clamp(36px, 4.8vw, 68px);
  --nf-home-clean-pad-bottom: clamp(28px, 3.8vw, 52px);
  --nf-home-showcase-pad-top: clamp(48px, 6.2vw, 88px);
  --nf-home-showcase-pad-bottom: clamp(32px, 4.2vw, 56px);
  --nf-home-editorial-pad-top: clamp(40px, 5.2vw, 76px);
  --nf-home-editorial-pad-bottom: clamp(36px, 4.8vw, 68px);

  /* Единая зона стыка секций: одна высота и один рецепт градиента на всей главной (эталон hero→popular) */
  --nf-home-divider-zone-h: clamp(52px, 9.2vw, 96px);
  --nf-home-divider-grad-white: 0.34;
  --nf-home-divider-grad-accent: 0.055;
  --nf-home-divider-inset-a: 0.84;
  --nf-home-divider-shade-up: 0.048;
  --nf-home-divider-shade-dn: 0.05;
  --nf-home-shadow-hero: 0 24px 56px -32px rgba(var(--nf-graphite-rgb), 0.058),
    0 10px 28px -22px rgba(var(--nf-accent-rgb), 0.045);

  
  /* Единая ширина контентной колонки: как у .nf-home-section__container / .container */
  --nf-page-container-max: var(--nf-home-max-width);
  --nf-page-container-padding-inline: var(--nf-home-section-pad-x);
  --nf-page-container-padding-block-start: 26px;
  --nf-page-container-padding-block-end: 78px;
  --nf-page-container-wide-max: var(--nf-home-max-width);

  --nf-transition-ui: 0.25s ease-in-out;
  --nf-transition-fast: 0.2s ease-in-out;

  --nf-shadow-xs: 0 1px 3px rgba(var(--nf-graphite-rgb), 0.045);
  --nf-shadow-sm: 0 4px 16px rgba(var(--nf-graphite-rgb), 0.06);
  --nf-shadow-md: 0 10px 28px rgba(var(--nf-graphite-rgb), 0.075);
  --nf-shadow-lg: 0 18px 44px rgba(var(--nf-graphite-rgb), 0.085);
  --nf-shadow-soft: 0 16px 40px rgba(var(--nf-graphite-rgb), 0.09);
  --nf-shadow-subtle: 0 4px 14px rgba(var(--nf-graphite-rgb), 0.055);
  --nf-shadow-card: 0 6px 22px rgba(var(--nf-graphite-rgb), 0.055);
  --nf-shadow-card-hover: 0 12px 32px rgba(var(--nf-graphite-rgb), 0.07);
  --nf-shadow-modal: 0 28px 80px rgba(var(--nf-graphite-rgb), 0.14),
    0 0 0 1px rgba(var(--nf-graphite-rgb), 0.05);
  --nf-shadow-primary: 0 8px 20px rgba(var(--nf-accent-rgb), 0.22);
  --nf-shadow-primary-hover: 0 12px 28px rgba(var(--nf-accent-rgb), 0.28);

  --nf-space-1: 8px;
  --nf-space-2: 12px;
  --nf-space-3: 16px;
  --nf-space-4: 24px;
  --nf-space-5: 32px;

  --nf-error: #dc2626;
  --nf-success: var(--nf-color-accent-active);
  --nf-warning: #d97706;

  --nf-focus: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.28);

  
  --nf-motion-ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --nf-motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --nf-motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nf-motion-duration-fast: 200ms;
  --nf-motion-duration-base: 280ms;
  --nf-motion-duration-interaction: 260ms;
  --nf-motion-duration-slow: 480ms;
  --nf-motion-duration-xl: 640ms;
  --nf-motion-ease: var(--nf-motion-ease-standard);
  --nf-motion-duration: var(--nf-motion-duration-base);
  --nf-motion-y: 14px;
  --nf-motion-scale-active: 0.99;
  --nf-motion-lift-hover: -2px;
  --nf-marquee-seconds: 48s;
  --nf-marquee-shift: 0px;
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  color: var(--nf-color-text);
  background-color: var(--nf-color-bg);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main,
section,
.container,
.nf-main {
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus);
  border-radius: var(--nf-radius-ui);
}



.container {
  width: 100%;
  max-width: var(--nf-home-max-width);
  margin: 0 auto;
  padding-left: var(--nf-home-section-pad-x);
  padding-right: var(--nf-home-section-pad-x);
}

/* Общий контейнер для страниц (каталог и др.): та же колонка, что и .nf-page-container */
.nf-container {
  width: 100%;
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
  padding-inline: var(--nf-page-container-padding-inline);
}


.nf-page-container {
  width: 100%;
  max-width: var(--nf-page-container-max);
  margin-left: auto;
  margin-right: auto;
  padding: var(--nf-page-container-padding-block-start)
    var(--nf-page-container-padding-inline)
    var(--nf-page-container-padding-block-end);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nf-page-container {
    padding: 24px 16px 48px;
  }
}



.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--nf-space-2);
  margin-bottom: var(--nf-space-3);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--nf-color-text);
}

.section-head a {
  font-size: 13px;
  color: var(--nf-color-primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.section-head a:hover {
  text-decoration: underline;
}



.nf-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.nf-app:has(> header.nf-header) {
  padding-top: 164px;
}

@media (max-width: 768px) {
  .nf-app:has(> header.nf-header) {
    padding-top: 88px;
  }
}

html:has(body .nf-app > header.nf-header) {
  scroll-padding-top: 164px;
}

@media (max-width: 768px) {
  html:has(body .nf-app > header.nf-header) {
    scroll-padding-top: 88px;
  }
}

.nf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  transform: none;
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-alt) 100%);
  min-height: 80px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.2);
  box-shadow:
    0 10px 30px rgba(var(--nf-graphite-rgb), 0.06),
    0 2px 8px rgba(var(--nf-graphite-rgb), 0.03);
}

.nf-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--nf-accent-rgb), 0.12) 20%,
    rgba(var(--nf-accent-rgb), 0.3) 50%,
    rgba(var(--nf-accent-rgb), 0.12) 80%,
    transparent 100%
  );
  opacity: 1;
}

.nf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  column-gap: 16px;
  row-gap: 8px;
  position: relative;
}


.nf-header-logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: fit-content;
  padding-top: 0;
}

.nf-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 2px;
}

.nf-header-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--nf-color-surface-mid);
  color: var(--nf-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
}

.nf-header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 12px 22px rgba(var(--nf-graphite-rgb), 0.07);
}

.nf-header-icon-btn.nf-cart-btn svg {
  fill: currentColor;
}


.nf-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--nf-color-surface-mid);
  cursor: pointer;
  
}

.nf-burger:hover {
  background: var(--nf-color-surface-dim);
}

.nf-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--nf-color-text, var(--nf-color-text-primary));
  border-radius: 1px;
  
}

.nf-burger span:nth-child(1) { top: 14px; }
.nf-burger span:nth-child(2) { top: 21px; }
.nf-burger span:nth-child(3) { bottom: 14px; }

.nf-burger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nf-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nf-burger[aria-expanded="true"] span:nth-child(3) {
  bottom: 21px;
  transform: rotate(-45deg);
}

.nf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 22px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  
  flex-shrink: 0;
}

.nf-logo:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(var(--nf-accent-rgb), 0.12);
  box-shadow: 0 10px 24px rgba(var(--nf-graphite-rgb), 0.05);
  }

.nf-logo:focus-visible {
  box-shadow: var(--nf-focus);
}

.nf-logo-img-header {
  height: 50px;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 4px 10px rgba(var(--nf-graphite-rgb), 0.05));
  
}

.nf-logo:hover .nf-logo-img-header {  
  filter: drop-shadow(0 6px 14px rgba(var(--nf-graphite-rgb), 0.08));
}

.nf-logo-mark-img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: contain;
  display: block;
}

.nf-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
  text-align: left;
}

.nf-logo-line {
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--nf-color-primary-dark);
}

.nf-logo-line:first-child {
  font-weight: 700;
  color: var(--nf-color-primary);
}

.nf-logo-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nf-logo-subtitle {
  font-size: 11px;
  color: var(--nf-color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}



.nf-search {
  position: relative;
  display: flex;
  align-items: center;
  --nf-search-focus-rgb: 15, 23, 42;
  --nf-search-text-line-height: 22px;
  height: 41px;
  min-height: 41px;
  padding: 4px 10px 4px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 21, 21, 0.08);
  box-shadow:
    0 4px 12px rgba(var(--nf-graphite-rgb), 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.nf-search:hover {  
  box-shadow:
    0 6px 14px rgba(var(--nf-graphite-rgb), 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.nf-search:focus-within {
  background: var(--nf-color-surface);
  border-color: rgba(21, 21, 21, 0.22);
  box-shadow: 0 0 0 2px rgba(21, 21, 21, 0.04);
}

.nf-search-icon {
  width: 18px;
  height: 18px;
  fill: rgba(15, 23, 42, 0.48);
  flex-shrink: 0;
  
}

.nf-search:focus-within .nf-search-icon {
  fill: rgba(15, 23, 42, 0.62);
}

.nf-search-input {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  padding: 4px 8px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--nf-search-text-line-height);
  color: rgba(15, 23, 42, 0.92);
}

.nf-search-input:focus,
.nf-search-input:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
}

.nf-search-input::-webkit-search-decoration,
.nf-search-input::-webkit-search-cancel-button,
.nf-search-input::-webkit-search-results-button,
.nf-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.nf-search-input::placeholder {
  color: rgba(15, 23, 42, 0.5);
}

.nf-search-has-animated-hint .nf-search-input--animated-hint::placeholder {
  color: transparent;
}

.nf-search-hint-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 150ms ease;
}

.nf-search-hint-layer.is-hidden {
  opacity: 0;
}

.nf-search-idle-hint,
.nf-search-focused-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--nf-search-text-line-height);
  letter-spacing: normal;
  color: rgba(26, 36, 35, 0.56);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nf-search-idle-hint {
  gap: 2px;
}

.nf-search-idle-hint.is-hidden,
.nf-search-focused-hint.is-hidden {
  opacity: 0;
  transform: translate3d(0, 3px, 0);
}

.nf-search-idle-hint-text {
  display: block;
  font: inherit;
  color: inherit;
  white-space: inherit;
  overflow: inherit;
  text-overflow: inherit;
  max-width: 100%;
}

.nf-search-focused-hint {
  color: rgba(26, 36, 35, 0.54);
}

.nf-search-idle-hint-caret {
  width: 1px;
  height: 0.92em;
  border-radius: 1px;
  flex-shrink: 0;
  background: rgba(26, 36, 35, 0.66);
  opacity: 0.65;
  animation: nf-search-caret-blink 1.7s ease-in-out infinite;
}

@keyframes nf-search-caret-blink {
  0%,
  24% {
    opacity: 0.2;
  }
  35%,
  72% {
    opacity: 0.68;
  }
  100% {
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-search-hint-layer,
  .nf-search-idle-hint,
  .nf-search-focused-hint {
    transition: none;
    transform: none !important;
  }

  .nf-search-idle-hint-caret {
    animation: none;
    opacity: 0.5;
  }
}

.nf-search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 8px 0;
  display: none;
  max-height: 360px;
  overflow-y: auto;
  z-index: 30;

  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  border-radius: 18px;

  box-shadow:
    0 24px 50px rgba(var(--nf-graphite-rgb), 0.14),
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nf-search-suggestions-visible {
  display: block;
}

.nf-search-group-label {
  padding: 6px 16px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-color-line-muted);
}

.nf-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  
}

.nf-search-item:hover {
  background: rgba(var(--nf-graphite-rgb), 0.035);
}

.nf-search-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nf-color-hairline), var(--nf-color-surface-subtle));
  flex-shrink: 0;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nf-search-item-main {
  flex: 1;
  min-width: 0;
}

.nf-search-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.nf-search-item-meta {
  margin-top: 2px;
  font-size: 11px;
  color: var(--nf-color-line-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nf-search-item-cta {
  flex-shrink: 0;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--nf-color-accent);
}

.nf-search-item-cta.nf-add-request {
  cursor: pointer;
  user-select: none;
}



.nf-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: normal;
}

.nf-lang-switcher {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.04);
}

.nf-lang-btn {
  border: none;
  background: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-color-text-muted);
  cursor: pointer;
  
}

.nf-lang-btn:hover {  }

.nf-lang-btn-active {
  background: var(--nf-color-surface);
  color: var(--nf-color-primary-dark);
}

/* Переключатель языка в мобильном меню (в шапке он скрыт на телефоне) */
.nf-mobile-menu__lang {
  display: flex;
  gap: 6px;
  width: 100%;
  margin-bottom: 14px;
}
.nf-mobile-menu__lang .nf-lang-btn {
  flex: 1 1 0;
  min-height: 44px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



/* ── Sheen sweep animation ── */
@keyframes nfBtnSheen {
  0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

.nf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
  will-change: transform;
  transition: background 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

/* glare — cursor position from JS vars */
.nf-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--nfbx, 50%) var(--nfby, 50%), rgba(255,255,255,0.26) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 2;
}

.nf-btn:hover::after { opacity: 1; }

.nf-btn:not(:disabled):active { transform: scale(0.97) !important; }



/* ── PRIMARY ── */
.nf-btn-primary {
  color: #fff;
  border-color: rgba(255,255,255,0.12);
  background: linear-gradient(150deg, #62bec7 0%, #3d9faa 45%, #2a8892 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 4px 20px rgba(var(--nf-accent-rgb), 0.4),
    0 1px 4px rgba(0,0,0,0.1);
}

/* sheen sweep on primary */
.nf-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  animation: nfBtnSheen 4s ease-in-out infinite;
  animation-delay: 1.8s;
}

.nf-btn-primary:hover {
  filter: brightness(1.07);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 8px 32px rgba(var(--nf-accent-rgb), 0.52),
    0 2px 8px rgba(0,0,0,0.1),
    0 0 0 3px rgba(var(--nf-accent-rgb), 0.14);
}

.nf-btn-primary:active {
  filter: brightness(0.97);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 3px 12px rgba(var(--nf-accent-rgb), 0.28);
}



/* ── SECONDARY — gradient border trick ── */
.nf-btn-secondary {
  color: var(--nf-color-accent-contrast);
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg,
      rgba(var(--nf-accent-rgb), 0.45) 0%,
      rgba(var(--nf-accent-rgb), 0.1) 60%,
      rgba(150,170,170,0.12) 100%
    ) border-box;
  box-shadow: 0 1px 4px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-btn-secondary:hover {
  background:
    linear-gradient(rgba(var(--nf-accent-rgb),0.05), rgba(var(--nf-accent-rgb),0.05)) padding-box,
    linear-gradient(135deg,
      rgba(var(--nf-accent-rgb), 0.7) 0%,
      rgba(var(--nf-accent-rgb), 0.3) 100%
    ) border-box;
  box-shadow: 0 4px 18px rgba(var(--nf-accent-rgb), 0.18);
}

.nf-btn-secondary:active { transform: scale(0.97) !important; }



/* ── GHOST ── */
.nf-btn-ghost {
  background: transparent;
  color: var(--nf-color-primary-dark);
  border-radius: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.14);
  box-shadow: none;
}

.nf-btn-ghost:hover {
  background: rgba(var(--nf-accent-rgb), 0.07);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  box-shadow: 0 2px 8px rgba(var(--nf-accent-rgb), 0.1);
}

.nf-btn-ghost:active {
  transform: scale(0.97) !important;
  background: rgba(var(--nf-accent-rgb), 0.11);
}

.nf-header .nf-btn:not(:disabled):hover,
.nf-header .nf-btn:not(:disabled):active {
  transform: none;
}



.nf-btn:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), var(--nf-shadow-sm);
}



.nf-btn[disabled],
.nf-btn:disabled {
  cursor: default;
  opacity: 0.56;
  background: rgba(var(--nf-line-rgb), 0.16);
  color: rgba(100, 116, 139, 0.95);
  border-color: rgba(var(--nf-line-rgb), 0.28);
  box-shadow: none;
  transform: none;
}



.nf-btn-small {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--nf-radius-sm);
}

.nf-btn-sm {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: var(--nf-radius-sm);
}

.nf-btn-full {
  width: 100%;
  display: flex;
  justify-content: center;
}



.nf-btn-checkable {
  position: relative;
  overflow: hidden;
}

.nf-btn-checkable::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: translateY(-50%) rotate(40deg) scale(0.45);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-btn-checkable.nf-btn-check-success::after {
  opacity: 1;
  transform: translateY(-50%) rotate(40deg) scale(1);
}

.nf-btn-checkable.nf-btn-check-success {
  box-shadow:
    0 14px 28px rgba(var(--nf-accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ---- Add to request (cart CTA) — morph idle → check → in-cart ---- */
.nf-add-request {
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.28s ease;
}

.nf-add-request__root {
  display: grid;
  grid-template: minmax(0, 1fr) / auto;
  place-items: center;
  min-width: 0;
}

.nf-add-request__seg {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition:
    opacity 0.3s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.nf-add-request__svg {
  display: block;
  flex-shrink: 0;
}

.nf-add-request__check {
  opacity: 0;
  transform: scale(0.72) translateY(2px);
  filter: blur(0.5px);
  pointer-events: none;
}

.nf-add-request__done {
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  pointer-events: none;
}

.nf-add-request:not(.nf-add-request--in-cart):not(.nf-add-request--success-run) .nf-add-request__idle {
  opacity: 1;
  transform: none;
}

.nf-add-request:not(.nf-add-request--in-cart):not(.nf-add-request--success-run) .nf-add-request__check,
.nf-add-request:not(.nf-add-request--in-cart):not(.nf-add-request--success-run) .nf-add-request__done {
  opacity: 0;
  visibility: hidden;
}

.nf-add-request--pressed {
  transform: scale(0.96);
}

.nf-add-request--success-run .nf-add-request__idle {
  opacity: 0;
  transform: translateY(-6px) scale(0.94);
}

.nf-add-request--success-run .nf-add-request__check {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  filter: none;
}

.nf-add-request--success-run .nf-add-request__done {
  opacity: 0;
  visibility: hidden;
}

.nf-add-request--in-cart .nf-add-request__idle,
.nf-add-request--in-cart .nf-add-request__check {
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px) scale(0.92);
  pointer-events: none;
}

.nf-add-request--in-cart .nf-add-request__done {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: none;
}

.nf-add-request--reverting .nf-add-request__done {
  opacity: 0;
  transform: translate(8px, -5px) scale(0.94);
}

.nf-add-request--reverting .nf-add-request__idle {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nf-add-request--reverting .nf-add-request__check {
  opacity: 0;
  visibility: hidden;
}

.nf-add-request--compact .nf-add-request__root {
  font-size: inherit;
  font-weight: inherit;
}

.nf-add-request--compact .nf-add-request__svg {
  width: 14px;
  height: 14px;
}

/* ── Undo / countdown segment (hidden by default) ───────────── */
.nf-add-request__undo {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88) translateY(4px);
  pointer-events: none;
  color: inherit;
}

/* ── Countdown progress track (bottom bar) ───────────────────── */
.nf-add-request__undo-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.nf-add-request__undo-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: rgba(255,255,255,0.78);
  transform-origin: left center;
  transform: scaleX(1);
}
@keyframes nf-undo-countdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ── COUNTDOWN STATE ─────────────────────────────────────────── */
.nf-add-request--countdown {
  /* Slightly muted bg — styling depends on parent; override per context */
}

/* Show undo segment */
.nf-add-request--countdown .nf-add-request__undo {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}
/* Show progress bar */
.nf-add-request--countdown .nf-add-request__undo-track {
  opacity: 1;
}
.nf-add-request--countdown .nf-add-request__undo-bar {
  animation: nf-undo-countdown 3.2s linear forwards;
}
/* Hide other segments */
.nf-add-request--countdown .nf-add-request__idle,
.nf-add-request--countdown .nf-add-request__check,
.nf-add-request--countdown .nf-add-request__done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.92);
}

/* Also hide bar when NOT countdown (default) */
:not(.nf-add-request--countdown) > .nf-add-request__undo-track,
.nf-add-request--in-cart .nf-add-request__undo-track,
.nf-add-request--reverting .nf-add-request__undo-track {
  opacity: 0 !important;
}

/* ── nf-pc__add specific countdown style ─────────────────────── */
.nf-pc__add.nf-add-request--countdown {
  background: rgba(61, 143, 152, 0.85);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.18);
}
.nf-pc__add.nf-add-request--countdown:hover {
  background: rgba(50, 120, 130, 0.95);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .nf-add-request,
  .nf-add-request__seg {
    transition-duration: 0.01ms !important;
  }
  .nf-add-request__undo-bar {
    animation-duration: 0.01ms !important;
  }
}



.nf-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  
}

.nf-cart-btn svg {
  width: 19px;
  height: 19px;
  fill: var(--nf-color-text-tertiary);
  
}

.nf-cart-btn:hover {
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  box-shadow:
    0 12px 24px rgba(var(--nf-graphite-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

.nf-cart-btn:hover svg {
  fill: var(--nf-color-accent-contrast);
}

.nf-cart-btn:active {
  transform: translateY(0);
  box-shadow:
    0 5px 12px rgba(var(--nf-graphite-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nf-cart-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(var(--nf-accent-rgb), 0.18),
    0 10px 22px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-cart-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nf-color-accent) 0%, var(--nf-color-accent-hover) 100%);
  color: var(--nf-color-surface);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 14px rgba(var(--nf-accent-rgb), 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.95);
}



.nf-nav {
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 24px 14px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.nf-nav-link {
  position: relative;
  border: none;
  background: transparent;
  padding: 8px 12px 12px;
  font-size: 14px;
  color: rgba(26, 36, 35, 0.64);
  cursor: pointer;
  border-radius: 0;
  font-weight: 550;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 180ms ease;

  
}

.nf-nav-link:hover {
  color: var(--nf-accent);
  
  text-decoration: none;
}

.nf-nav-link-active {
  background: transparent !important;
  box-shadow: none !important;

  color: var(--nf-accent);
  font-weight: 600;
}

.nf-nav-link-active:hover {
  background: transparent !important;
  color: var(--nf-accent);
}

.nf-nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--nf-accent);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  z-index: 0;
  --nf-nav-line-duration: 260ms;
  will-change: transform, width;
  transition:
    transform var(--nf-nav-line-duration) cubic-bezier(0.22, 1, 0.36, 1),
    width var(--nf-nav-line-duration) cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.nf-nav-indicator.is-visible {
  opacity: 0.94;
}

/* Single shared underline: one moving line, no tail/bridge */
.nf-nav-indicator.is-moving:not(.is-instant) {
  transition:
    transform var(--nf-nav-line-duration) cubic-bezier(0.22, 1, 0.36, 1),
    width var(--nf-nav-line-duration) cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.nf-nav-indicator.is-instant {
  transition: none !important;
}

.nf-nav-link {
  position: relative;
  z-index: 1;
}

.nf-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.26);
  border-radius: 6px;
}

.nf-nav-link-admin {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.75;
}

.nf-admin-hidden {
  display: none !important;
}

.nf-categories__hint {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--nf-color-muted);
  font-weight: 400;
}



.nf-main {
  position: relative;
  z-index: 0;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  box-sizing: border-box;
}


.nf-main:has(> .nf-home-firstscreen) {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: 4px;
  padding-bottom: 56px;
}

.nf-main:has(> .nf-home-firstscreen) > .nf-home-firstscreen {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
}

/* Блоки ниже первого экрана — над декором hero (fullbleed 100vw) */
.nf-main:has(> .nf-home-firstscreen) > *:not(.nf-home-firstscreen) {
  position: relative;
  z-index: 1;
}



.nf-view-header {
  margin-bottom: 28px;
}

.nf-view-header h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-view-header p {
  margin: 0;
  max-width: 760px;
  color: var(--nf-color-muted);
  font-size: 15px;
  line-height: 1.7;
}



.nf-hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  background: linear-gradient(120deg, var(--nf-color-accent-soft), var(--nf-color-surface-alt), var(--nf-color-accent-soft));
}


.nf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(var(--nf-accent-rgb), 0.14), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(var(--nf-accent-rgb), 0.1), transparent 40%);
  z-index: 0;
}


.nf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}


.nf-hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  flex: 1;
}


.nf-hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

.nf-hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}


.nf-hero__desc {
  margin-top: 20px;
  font-size: 18px;
  color: var(--nf-color-placeholder);
}

.nf-hero__desc:hover {
  color: var(--nf-color-text-secondary);
}


.nf-hero__buttons {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-hover));
  color: var(--nf-color-surface);
  padding: 14px 26px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(var(--nf-accent-rgb), 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  top: -50%;
  left: -50%;
  opacity: 0;
}

.btn-primary:hover {
  box-shadow: 0 15px 35px rgba(var(--nf-accent-rgb), 0.5);
}

.btn-primary:hover::after {
  opacity: 1;
}




.nf-hero__visual {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 500px;
  backdrop-filter: blur(10px);
}


.card, .stat-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
}

.stat-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.5);
}

.stat-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stat-card.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-line {
  width: 80px;
  height: 3px;
  margin: 20px auto;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--nf-color-accent), var(--nf-color-accent-hover));
  box-shadow: 0 0 20px rgba(var(--nf-accent-rgb), 0.6);
}


.nf-hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: var(--hero-visual-radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(var(--nf-accent-rgb), 0.14), transparent 22%),
    radial-gradient(circle at 48% 58%, rgba(174, 214, 207, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(243,248,247,0.84) 0%, rgba(232,240,238,0.42) 100%);
}

.nf-hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--nf-accent-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--nf-accent-rgb), 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.nf-hero__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 26%, rgba(255,255,255,0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 68%, rgba(255,255,255,0.68) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 76%, rgba(255,255,255,0.66) 0 2px, transparent 3px);
}

.nf-hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}

.nf-hero__glow--one {
  top: 18%;
  right: 20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(var(--nf-accent-rgb),0.18) 0%, rgba(var(--nf-accent-rgb),0) 72%);
}

.nf-hero__glow--two {
  bottom: 10%;
  left: 24%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(157,213,206,0.16) 0%, rgba(157,213,206,0) 72%);
}

.nf-hero-chip-card,
.nf-hero-panel {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow:
    0 18px 38px rgba(var(--nf-graphite-rgb), 0.07),
    inset 0 1px 0 rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nf-hero-chip-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 178px;
  max-width: 214px;
  padding: 12px 14px;
  border-radius: 20px;
}

.nf-hero-chip-card--clinic {
  top: 8%;
  right: 6%;
}

.nf-hero-chip-card--lab {
  top: 26%;
  right: 18%;
}

.nf-hero-chip-card--service {
  top: 44%;
  right: 10%;
}

.nf-hero-chip-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(var(--nf-accent-rgb),0.12), rgba(var(--nf-accent-rgb),0.04)),
    rgba(255,255,255,0.92);
  border: 1px solid rgba(var(--nf-accent-rgb),0.12);
}

.nf-hero-chip-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.82;
}

.nf-hero-chip-icon--clinic::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20V6.5C5 5.67 5.67 5 6.5 5H13V20M13 9H18.5C19.33 9 20 9.67 20 10.5V20M9 9H9.01M9 12H9.01M9 15H9.01M16 13H16.01M16 16H16.01M8 20H17' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-icon--lab::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3V8L4.8 17.1C4.04 18.43 5 20 6.53 20H17.47C19 20 19.96 18.43 19.2 17.1L14 8V3M8 8H16M9 14H15' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-icon--service::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21C12 21 18 17 18 11.5V6.8L12 4L6 6.8V11.5C6 17 12 21 12 21Z' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.8 12.2L11.2 13.6L14.5 10.3' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nf-hero-chip-title {
  color: var(--nf-color-text-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nf-hero-chip-subtitle {
  margin-top: 3px;
  color: var(--nf-color-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.nf-hero-panel--main {
  right: 8%;
  bottom: 8%;
  width: 212px;
  padding: 14px;
  border-radius: 24px;
}

.nf-hero-panel__brand {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.nf-hero-panel__logo {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.nf-hero-panel__title {
  color: var(--nf-color-text-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.nf-hero-panel__line {
  margin: 12px 0 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--nf-accent-rgb),0.38), rgba(var(--nf-accent-rgb),0));
}

.nf-hero-panel__dots {
  display: flex;
  gap: 7px;
}

.nf-hero-panel__dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb),0.34);
}

.nf-hero__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4%;
  height: 120px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(var(--nf-accent-rgb), 0.1) 0%, rgba(var(--nf-accent-rgb), 0) 72%);
  filter: blur(10px);
}



@media (min-width: 1200px) {
  .nf-hero {
    padding: 8px 0 6px !important;
    margin-top: 0 !important;
  }

  .nf-hero__grid {
    min-height: 640px !important;
    max-height: 640px !important;
    padding: 26px 24px 24px !important;
    gap: 18px !important;
  }

  .nf-advantages {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .nf-popular__head {
    margin: 0 0 20px !important;
  }
}

@media (max-width: 768px) {
}


.nf-hero > .container,
.nf-home-section__container {
  width: 100% !important;
  max-width: var(--nf-home-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: max(var(--nf-home-section-pad-x), env(safe-area-inset-left)) !important;
  padding-right: max(var(--nf-home-section-pad-x), env(safe-area-inset-right)) !important;
  box-sizing: border-box !important;
}

.nf-categories .section-head,
.nf-partners .section-head,
.nf-news .section-head,
.nf-popular .section-head {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#homeCategories,
#homePartnersGrid,
#homeNews,
.nf-categories__ecosystem,
.nf-categories__grid,
.nf-partners__grid,
.nf-partners-grid,
.nf-news-layout {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.nf-categories__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.nf-partners__grid,
.nf-partners-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.nf-news-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) !important;
  gap: 32px !important;
}

@media (max-width: 1279px) {
  .nf-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 900px) {
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nf-news-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 768px) {
  .nf-hero > .container,
  .nf-home-section__container {
    padding-left: max(var(--nf-home-section-pad-x-sm), env(safe-area-inset-left)) !important;
    padding-right: max(var(--nf-home-section-pad-x-sm), env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 520px) {
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: 1fr !important;
  }
}


.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nf-popular .section-head,
.nf-categories .section-head,
.nf-partners .section-head,
.nf-news .section-head {
  margin-bottom: 22px;
}

.nf-categories__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.nf-partners__grid,
.nf-partners-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.nf-news-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
}

@media (max-width: 1279px) {
  .nf-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 520px) {
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: 1fr;
  }
}


.nf-popular .section-head,
.nf-categories .section-head,
.nf-partners .section-head,
.nf-news .section-head {
  margin-bottom: 22px;
}

.nf-categories:not(.nf-home-section),
.nf-partners:not(.nf-home-section),
.nf-news:not(.nf-home-section) {
  margin-top: 56px;
}

.nf-news:not(.nf-home-section) {
  margin-bottom: 56px;
}


.nf-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.nf-categories__grid > * {
  height: 100%;
}

.nf-category,
.nf-category-card {
  height: 100%;
  min-height: 188px;
  display: flex;
  flex-direction: column;
}

.nf-category-footer {
  margin-top: auto;
}


.nf-partners__grid,
.nf-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.nf-partners__grid > *,
.nf-partners-grid > * {
  min-width: 0;
  height: 100%;
}

.nf-partner,
.nf-partner-card {
  min-height: 164px;
  height: 100%;
}


.nf-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
}

.nf-news-side-grid {
  gap: 14px;
}

@media (max-width: 1279px) {
  .nf-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .nf-news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nf-categories:not(.nf-home-section),
  .nf-partners:not(.nf-home-section),
  .nf-news:not(.nf-home-section) {
    margin-top: 40px;
  }

  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: 1fr;
  }
}


.nf-first-screen > .nf-hero {
  position: relative;
  padding: 26px 0 56px !important;
}

.nf-first-screen > .nf-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.62));
  pointer-events: none;
}

.nf-first-screen > .nf-hero .nf-hero__layout {
  align-items: center;
  gap: 28px;
}

.nf-first-screen > .nf-hero .nf-hero__visual,
.nf-first-screen > .nf-hero .nf-hero__image-wrap {
  min-height: 430px;
}

.nf-first-screen > .nf-hero .nf-hero__image-wrap {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(235, 245, 244, 0.72));
  border: 1px solid rgba(224, 236, 234, 0.95);
}

.nf-first-screen > .nf-hero .nf-hero__picture {
  width: min(620px, 106%);
  right: -22px;
  bottom: -18px;
}

.nf-first-screen > .nf-hero .nf-hero__image {
  filter: drop-shadow(0 30px 60px rgba(var(--nf-graphite-rgb), 0.18));
}

.nf-first-screen > .nf-hero-cards .container.nf-advantages__grid {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.nf-first-screen > .nf-hero-cards .nf-adv {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(20px);
  opacity: 0;
  
  
}

.nf-first-screen > .nf-hero-cards .nf-adv:nth-child(1) {  }
.nf-first-screen > .nf-hero-cards .nf-adv:nth-child(2) {  }
.nf-first-screen > .nf-hero-cards .nf-adv:nth-child(3) {  }
.nf-first-screen > .nf-hero-cards .nf-adv:nth-child(4) {  }

.nf-first-screen > .nf-hero-cards .nf-adv:hover {  
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.12);
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-soft));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(95, 174, 165, 0.3);
  position: relative;
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.nf-first-screen > .nf-hero-cards .nf-adv h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
}

.nf-first-screen > .nf-hero-cards .nf-adv p {
  margin: 0;
  color: var(--nf-color-muted);
}





@media (max-width: 1024px) {
  .nf-first-screen {
    min-height: auto;
  }

  .nf-first-screen > .nf-hero {
    padding: 28px 0 74px !important;
  }

  .nf-first-screen > .nf-hero-cards .container.nf-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nf-first-screen > .nf-hero-cards .container.nf-advantages__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


.nf-first-screen > .nf-hero {
  background:
    radial-gradient(circle at 78% 28%, rgba(143, 211, 203, 0.2), transparent 34%),
    radial-gradient(circle at 16% 78%, rgba(95, 174, 165, 0.16), transparent 30%),
    linear-gradient(135deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 48%, var(--nf-color-accent-soft) 100%) !important;
}


.nf-first-screen > .nf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(16, 33, 58, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 58, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 72% 28%, black 28%, transparent 74%);
}

.nf-first-screen > .nf-hero .nf-hero__image-wrap {
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 246, 0.76)),
    radial-gradient(circle at 78% 24%, rgba(143, 211, 203, 0.22), transparent 44%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(95, 174, 165, 0.14),
    0 22px 52px rgba(16, 33, 58, 0.12);
  overflow: hidden;
}

.nf-first-screen > .nf-hero .nf-hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.nf-first-screen > .nf-hero .nf-hero__image-bg {
  background:
    radial-gradient(circle at 28% 26%, rgba(143, 211, 203, 0.25), transparent 42%),
    radial-gradient(circle at 74% 72%, rgba(95, 174, 165, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.78);
}

.nf-first-screen > .nf-hero .nf-hero__picture {
  filter: drop-shadow(0 34px 64px rgba(var(--nf-graphite-rgb), 0.22));
  
  transform-origin: 52% 62%;
}

.nf-first-screen > .nf-hero .nf-hero-ui-card {
  
}

.nf-first-screen > .nf-hero .nf-hero-ui-card--projects {  }
.nf-first-screen > .nf-hero .nf-hero-ui-card--years {  }
.nf-first-screen > .nf-hero .nf-hero-ui-card--partners {  }

.nf-first-screen > .nf-hero-cards .nf-adv {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 30px rgba(var(--nf-graphite-rgb), 0.055),
    0 24px 56px rgba(var(--nf-graphite-rgb), 0.085);
  padding: 24px 22px;
}

.nf-first-screen > .nf-hero-cards .nf-adv::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0));
}

.nf-first-screen > .nf-hero-cards .nf-adv:hover {  
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px rgba(var(--nf-graphite-rgb), 0.08),
    0 30px 72px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent {
  background: linear-gradient(135deg, var(--nf-color-accent) 0%, var(--nf-color-accent-soft) 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.35),
    0 10px 24px rgba(95, 174, 165, 0.3);
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transform: rotate(-18deg);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary {
  background: linear-gradient(135deg, var(--nf-color-accent) 0%, var(--nf-color-accent-hover) 54%, var(--nf-color-accent-soft) 100%);
  border: 1px solid rgba(95, 174, 165, 0.34);
  box-shadow:
    0 14px 30px rgba(95, 174, 165, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary:hover {
  box-shadow:
    0 20px 38px rgba(95, 174, 165, 0.38),
    0 0 20px rgba(143, 211, 203, 0.24);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline {
  border-color: rgba(95, 174, 165, 0.4);
  color: var(--nf-color-text-strong);
  background: rgba(255, 255, 255, 0.55);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline:hover {
  border-color: rgba(95, 174, 165, 0.56);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.1);
}









@media (prefers-reduced-motion: reduce) {
  .nf-first-screen > .nf-hero .nf-hero__picture,
  .nf-first-screen > .nf-hero .nf-hero-ui-card {
  
    transform: none !important;
  }
}


.nf-first-screen > .nf-hero {
  background:
    radial-gradient(900px 420px at 78% 22%, rgba(143, 211, 203, 0.2), transparent 62%),
    radial-gradient(560px 340px at 18% 84%, rgba(95, 174, 165, 0.13), transparent 68%),
    linear-gradient(136deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 46%, var(--nf-color-accent-soft) 100%) !important;
}

.nf-first-screen > .nf-hero .nf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(16, 33, 58, 0.06);
  color: var(--nf-color-text-strong);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nf-first-screen > .nf-hero .nf-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-soft));
  box-shadow: 0 0 0 5px rgba(143, 211, 203, 0.16);
}

.nf-first-screen > .nf-hero .nf-hero__title {
  letter-spacing: -0.024em;
  line-height: 1.04;
}

.nf-first-screen > .nf-hero .hero-line {
  width: 110px;
  height: 2px;
  margin: 18px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 174, 165, 0.92), rgba(95, 174, 165, 0.15));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  
}

.nf-first-screen > .nf-hero .nf-hero__desc {
  margin-top: 16px;
  color: var(--nf-color-muted);
}

.nf-first-screen > .nf-hero .nf-hero__image-wrap {
  background:
    linear-gradient(156deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 247, 0.8)),
    radial-gradient(circle at 72% 26%, rgba(143, 211, 203, 0.2), transparent 46%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(95, 174, 165, 0.12),
    0 28px 62px rgba(16, 33, 58, 0.13);
}

.nf-first-screen > .nf-hero .nf-hero__image-wrap::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -56px;
  right: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 211, 203, 0.24) 0%, rgba(143, 211, 203, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
  
}

.nf-first-screen > .nf-hero .nf-hero__image-bg {
  background:
    radial-gradient(circle at 28% 34%, rgba(143, 211, 203, 0.2), transparent 44%),
    radial-gradient(circle at 74% 72%, rgba(95, 174, 165, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 251, 251, 0.5));
}

.nf-first-screen > .nf-hero .nf-hero__picture {
  
}

.nf-first-screen > .nf-hero .nf-hero__image {
  border-radius: 20px;
  filter:
    contrast(1.06)
    saturate(0.9)
    drop-shadow(0 34px 66px rgba(var(--nf-graphite-rgb), 0.23));
}

.nf-first-screen > .nf-hero .nf-hero-ui-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 30px rgba(16, 33, 58, 0.12);
  padding: 10px 12px;
}

.nf-first-screen > .nf-hero .nf-hero-ui-card__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 56%),
    linear-gradient(145deg, rgba(95, 174, 165, 0.45), rgba(143, 211, 203, 0.22));
  border: 1px solid rgba(95, 174, 165, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nf-first-screen > .nf-hero .nf-hero-ui-card strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nf-first-screen > .nf-hero .nf-hero-ui-card p {
  margin-top: 3px;
  font-size: 10px;
  color: var(--nf-color-muted);
}

.nf-first-screen > .nf-hero-cards .nf-adv {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 26px rgba(var(--nf-graphite-rgb), 0.05),
    0 24px 60px rgba(var(--nf-graphite-rgb), 0.09);
  padding: 24px 22px 22px;
}

.nf-first-screen > .nf-hero-cards .nf-adv:hover {  
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(var(--nf-graphite-rgb), 0.075),
    0 28px 68px rgba(var(--nf-graphite-rgb), 0.11);
}

.nf-first-screen > .nf-hero-cards .nf-adv h3 {
  font-size: 20px;
  font-weight: 760;
}

.nf-first-screen > .nf-hero-cards .nf-adv p {
  color: var(--nf-color-muted);
  line-height: 1.58;
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 52%),
    linear-gradient(145deg, rgba(95, 174, 165, 0.58), rgba(143, 211, 203, 0.28));
  border: 1px solid rgba(95, 174, 165, 0.34);
  box-shadow: 0 8px 18px rgba(95, 174, 165, 0.2);
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent::after,
.nf-first-screen > .nf-hero-cards .nf-adv__accent::before {
  content: none;
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn {
  min-height: 48px;
  padding: 0 24px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary {
  background: linear-gradient(138deg, var(--nf-color-accent) 0%, var(--nf-color-accent-hover) 55%, var(--nf-color-accent-soft) 100%);
  border: 1px solid rgba(95, 174, 165, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 14px 30px rgba(95, 174, 165, 0.28);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 38px rgba(95, 174, 165, 0.34),
    0 0 18px rgba(143, 211, 203, 0.2);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline {
  border: 1px solid rgba(95, 174, 165, 0.34);
  background: rgba(255, 255, 255, 0.52);
  color: var(--nf-color-text-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 22px rgba(16, 33, 58, 0.06);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(95, 174, 165, 0.5);
  box-shadow: 0 14px 28px rgba(16, 33, 58, 0.09);
}









@media (max-width: 768px) {
  .nf-first-screen > .nf-hero .nf-hero__eyebrow {
    padding: 8px 12px;
    font-size: 11px;
  }

  .nf-first-screen > .nf-hero .nf-hero__image {
    border-radius: 16px;
  }
}


.nf-first-screen > .nf-hero .nf-hero__image {
  filter:
    contrast(1.04)
    saturate(0.84)
    drop-shadow(0 30px 60px rgba(var(--nf-graphite-rgb), 0.2));
}

.nf-first-screen > .nf-hero-cards .nf-adv {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.08);
}

.nf-first-screen > .nf-hero-cards .nf-adv:hover {  
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.1);
}

.nf-first-screen > .nf-hero-cards .nf-adv__accent {
  width: 14px;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(95, 174, 165, 0.72), rgba(143, 211, 203, 0.44));
  border: 1px solid rgba(95, 174, 165, 0.35);
  box-shadow: none;
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary {
  background: linear-gradient(138deg, var(--nf-color-accent) 0%, var(--nf-color-accent-hover) 56%, var(--nf-color-accent-soft) 100%);
  box-shadow: 0 10px 25px rgba(95, 174, 165, 0.25);
  
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-primary:hover {  
  box-shadow:
    0 14px 30px rgba(95, 174, 165, 0.3),
    0 0 16px rgba(143, 211, 203, 0.18);
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline {
  border-color: rgba(95, 174, 165, 0.46);
  color: var(--nf-color-text-strong);
  background: rgba(255, 255, 255, 0.5);
  
}

.nf-first-screen > .nf-hero .nf-hero__buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(95, 174, 165, 0.6);
}

.nf-first-screen > .nf-hero .nf-hero__eyebrow {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 8px 14px;
  gap: 9px;
}

.nf-first-screen > .nf-hero .nf-hero__eyebrow::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(143, 211, 203, 0.14);
}


.nf-hero {
  background:
    radial-gradient(circle at 18% 24%, rgba(58, 145, 255, 0.18), transparent 44%),
    radial-gradient(circle at 82% 72%, rgba(45, 198, 181, 0.16), transparent 46%),
    linear-gradient(136deg, var(--nf-color-accent-soft) 0%, var(--nf-color-surface-alt) 52%, var(--nf-color-accent-soft) 100%) !important;
}

.nf-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 10%;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(62, 153, 255, 0.2) 0%, rgba(62, 153, 255, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
}

.nf-hero__image-wrap {
  border-radius: 32px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(239, 247, 255, 0.64)),
    radial-gradient(circle at 76% 24%, rgba(56, 146, 255, 0.12), transparent 48%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 48px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-hero__image-bg {
  inset: 44px 24px 52px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 30%, rgba(70, 151, 255, 0.22), transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(44, 198, 182, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.72);
}

.nf-hero__picture {
  right: -38px;
  bottom: -28px;
  width: min(660px, 104%);
}

.nf-hero__image {
  filter: drop-shadow(0 30px 60px rgba(var(--nf-graphite-rgb), 0.18));
}

.nf-hero__buttons .btn-primary {
  background: linear-gradient(135deg, var(--nf-color-accent-active), var(--nf-color-accent));
  border: 1px solid rgba(11, 95, 176, 0.2);
  box-shadow: 0 14px 28px rgba(19, 127, 242, 0.28);
}

.nf-hero__buttons .btn-primary:hover {  
  box-shadow: 0 20px 38px rgba(19, 127, 242, 0.36);
}

.nf-hero-ui-card {
  border-radius: 15px;
  padding: 11px 12px;
  max-width: 216px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(226, 234, 243, 0.95);
  box-shadow:
    0 14px 32px rgba(var(--nf-graphite-rgb), 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  gap: 9px;
}

.nf-hero-ui-card strong {
  font-size: 13px;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.nf-hero-ui-card p {
  font-size: 11px;
  line-height: 1.32;
  color: var(--nf-color-text-secondary);
}

.nf-hero-ui-card--projects {
  right: 22px;
  top: 18px;
}

.nf-hero-ui-card--years {
  left: -10px;
  top: 208px;
}

.nf-hero-ui-card--partners {
  right: 10px;
  bottom: 26px;
}





@media (max-width: 980px) {
  .nf-hero__picture {
    right: -4px;
    bottom: -12px;
    width: min(540px, 100%);
  }

  .nf-hero-ui-card {
    max-width: 190px;
  }

  .nf-hero-ui-card--years {
    left: 0;
    top: auto;
    bottom: 62px;
  }
}

@media (max-width: 768px) {
  .nf-hero__visual,
  .nf-hero__image-wrap {
    min-height: 300px;
  }

  .nf-hero__picture {
    width: min(430px, 100%);
    right: 0;
    bottom: -8px;
  }

  .nf-hero-ui-card {
    max-width: 170px;
    border-radius: 14px;
    padding: 9px 10px;
  }

  .nf-hero-ui-card--projects {
    right: 0;
    top: 10px;
  }

  .nf-hero-ui-card--years {
    left: 0;
    bottom: 54px;
  }
}


.nf-home-firstscreen {
  position: relative;
}

.nf-home-firstscreen .nf-hero {
  background:
    radial-gradient(circle at 15% 75%, rgba(143, 211, 203, 0.18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(95, 174, 165, 0.12), transparent 28%),
    linear-gradient(135deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 45%, var(--nf-color-accent-soft) 100%) !important;
}

.nf-home-firstscreen .nf-hero::after {
  background: radial-gradient(circle, rgba(95, 174, 165, 0.18) 0%, rgba(95, 174, 165, 0) 72%);
}

.nf-home-firstscreen .nf-hero__image-wrap {
  background:
    linear-gradient(164deg, rgba(255, 255, 255, 0.74), rgba(237, 247, 246, 0.65)),
    radial-gradient(circle at 74% 24%, rgba(143, 211, 203, 0.18), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 42px rgba(16, 33, 58, 0.08);
}

.nf-home-firstscreen .nf-hero__image-bg {
  background:
    radial-gradient(circle at 22% 30%, rgba(143, 211, 203, 0.26), transparent 42%),
    radial-gradient(circle at 78% 76%, rgba(95, 174, 165, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.74);
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary {
  background: linear-gradient(135deg, var(--nf-color-accent) 0%, var(--nf-color-accent-soft) 100%);
  border: 1px solid rgba(95, 174, 165, 0.35);
  box-shadow: 0 12px 26px rgba(95, 174, 165, 0.3);
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary:hover {
  box-shadow: 0 18px 36px rgba(95, 174, 165, 0.36);
}

.nf-home-firstscreen .nf-hero-ui-card {
  box-shadow:
    0 12px 28px rgba(16, 33, 58, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nf-home-firstscreen .nf-hero-ui-card strong {
  color: var(--nf-color-text-primary);
}

.nf-home-firstscreen .nf-hero-ui-card p {
  color: var(--nf-color-text-secondary);
}

.nf-home-firstscreen .nf-hero-ui-card__icon {
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-soft));
}

@media (min-width: 1024px) {
  .nf-home-firstscreen {
    min-height: calc(100svh - 138px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    padding-bottom: 6px;
  }

  .nf-home-firstscreen .nf-hero {
    padding: 30px 0 16px !important;
  }

  .nf-home-firstscreen .nf-hero__layout {
    gap: 30px;
  }

  .nf-home-firstscreen .nf-hero__title {
    font-size: clamp(40px, 3.15vw, 50px);
    line-height: 1.02;
  }

  .nf-home-firstscreen .nf-hero__desc {
    font-size: 16px;
    margin-top: 14px;
  }

  .nf-home-firstscreen .nf-hero__buttons {
    margin-top: 22px;
  }

  .nf-home-firstscreen .nf-hero__visual,
  .nf-home-firstscreen .nf-hero__image-wrap {
    min-height: 430px;
  }

  .nf-home-firstscreen .nf-hero__picture {
    width: min(590px, 102%);
    right: -24px;
    bottom: -20px;
  }

  .nf-home-firstscreen .nf-advantages {
    margin-top: -24px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .nf-home-firstscreen .nf-advantages .nf-adv {
    padding: 16px 16px 14px;
  }

}

@media (max-width: 1023px) {
  .nf-home-firstscreen {
    min-height: auto;
    display: block;
    padding-bottom: 0;
  }
}


@media (min-width: 1024px) {
  .nf-home-firstscreen.nf-first-screen {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

.nf-first-screen .nf-hero {
  padding: 26px 0 84px !important;
}

.nf-first-screen .nf-hero__layout {
  gap: 26px;
}

.nf-first-screen .nf-hero__content {
  max-width: 610px;
}

.nf-first-screen .nf-hero__title {
  font-size: clamp(38px, 3vw, 50px);
  line-height: 1.03;
}

.nf-first-screen .nf-hero__desc {
  margin-top: 14px;
  font-size: 16px;
}

.nf-first-screen .nf-hero__buttons {
  margin-top: 20px;
}

.nf-first-screen .nf-hero__visual,
.nf-first-screen .nf-hero__image-wrap {
  min-height: 390px;
}

.nf-first-screen .nf-hero__picture {
  width: min(560px, 100%);
  right: -16px;
  bottom: -12px;
}

.nf-first-screen .nf-advantages {
  position: relative;
  z-index: 7;
  margin-top: -60px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.nf-first-screen .nf-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.nf-first-screen .nf-adv {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 40px rgba(var(--nf-graphite-rgb), 0.08);
  
}

.nf-first-screen .nf-adv:hover {  
  box-shadow: 0 25px 50px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-first-screen .nf-adv__accent {
  width: 14px;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-soft));
  box-shadow: 0 0 0 7px rgba(143, 211, 203, 0.2);
}

.nf-first-screen .nf-adv h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--nf-color-text-primary);
}

.nf-first-screen .nf-adv p {
  margin: 0;
  color: var(--nf-color-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .nf-first-screen {
    min-height: auto;
  }

  .nf-first-screen .nf-hero {
    padding: 28px 0 70px !important;
  }

  .nf-first-screen .nf-advantages {
    margin-top: -40px !important;
  }

  .nf-first-screen .nf-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nf-first-screen .nf-hero {
    padding: 30px 0 54px !important;
  }

  .nf-first-screen .nf-hero__visual,
  .nf-first-screen .nf-hero__image-wrap {
    min-height: 300px;
  }

  .nf-first-screen .nf-hero__picture {
    width: min(430px, 100%);
    right: 0;
    bottom: -6px;
  }

  .nf-first-screen .nf-advantages {
    margin-top: -18px !important;
  }

  .nf-first-screen .nf-advantages__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nf-first-screen .nf-adv {
    padding: 18px 16px;
  }
}


.nf-hero {
  position: relative;
  overflow: visible;
  padding: 72px 0 88px !important;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.15), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(var(--nf-accent-rgb), 0.15), transparent 44%),
    linear-gradient(135deg, var(--nf-color-accent-soft), var(--nf-color-surface-alt));
}

.nf-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.nf-hero__content {
  max-width: 620px;
  z-index: 2;
}

.nf-hero__eyebrow,
.nf-hero__title,
.nf-hero__desc {
  opacity: 0;
  transform: translateY(20px);
  
}

.nf-hero__eyebrow {  }
.nf-hero__title {  }
.nf-hero__desc {  }

.nf-hero__title span {
  display: block;
}

.nf-hero__buttons {
  opacity: 0;
  
  
}

.nf-hero__buttons .btn {
  border-radius: 16px;
  
}

.nf-hero__buttons .btn:hover {  
  box-shadow: 0 14px 30px rgba(var(--nf-graphite-rgb), 0.14);
}

.nf-hero__visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.nf-hero__image-wrap {
  position: relative;
  min-height: 520px;
}

.nf-hero__image-bg {
  position: absolute;
  inset: 48px 18px 48px 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 22%, rgba(57, 137, 246, 0.18), transparent 40%),
    radial-gradient(circle at 70% 76%, rgba(45, 198, 181, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.6);
  filter: blur(2px);
}

.nf-hero__picture {
  position: absolute;
  right: -22px;
  bottom: -24px;
  width: min(620px, 100%);
  height: auto;
  
  
}

.nf-hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 28px;
  filter: drop-shadow(0 28px 42px rgba(var(--nf-graphite-rgb), 0.18));
  display: block;
}

.nf-hero__visual:hover .nf-hero__picture {  }

.nf-hero-ui-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  max-width: 240px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  
  opacity: 0;
  transform: translateY(16px);
  
}

.nf-hero-ui-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: var(--nf-color-text-strong);
}

.nf-hero-ui-card p {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--nf-color-text-secondary);
}

.nf-hero-ui-card__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--nf-color-surface);
  font-size: 12px;
  background: linear-gradient(135deg, var(--nf-color-accent-active), var(--nf-color-accent));
}

.nf-hero-ui-card--projects {
  top: 20px;
  right: 18px;
  
}

.nf-hero-ui-card--years {
  top: 220px;
  left: -12px;
  
}

.nf-hero-ui-card--partners {
  right: 8px;
  bottom: 22px;
  
}

.nf-hero [data-parallax] {
  
}

.nf-advantages {
  margin-top: -40px !important;
  position: relative;
  z-index: 4;
}

.nf-advantages .nf-adv {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  
}

.nf-advantages .nf-adv:hover {  
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.13);
}









@media (max-width: 980px) {
  .nf-hero {
    padding: 46px 0 78px !important;
  }

  .nf-hero__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nf-hero__visual,
  .nf-hero__image-wrap {
    min-height: 420px;
  }

  .nf-hero__image {
    width: 100%;
    bottom: 0;
  }

  .nf-hero__picture {
    right: 0;
    bottom: -16px;
    width: min(520px, 100%);
  }

  .nf-hero-ui-card--years {
    left: 0;
  }
}

@media (max-width: 768px) {
  .nf-hero {
    padding: 34px 0 70px !important;
  }

  .nf-hero__title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .nf-hero__desc {
    font-size: 14px;
  }

  .nf-hero__visual,
  .nf-hero__image-wrap {
    min-height: 320px;
  }

  .nf-hero__image {
    width: 100%;
    bottom: 0;
  }

  .nf-hero__picture {
    width: min(420px, 100%);
    bottom: -10px;
  }

  .nf-hero-ui-card {
    padding: 10px 11px;
    max-width: 185px;
  }

  .nf-hero-ui-card strong {
    font-size: 12px;
  }

  .nf-hero-ui-card p {
    font-size: 10px;
  }

  .nf-hero-ui-card--projects {
    top: 12px;
    right: 0;
  }

  .nf-hero-ui-card--years {
    top: auto;
    bottom: 58px;
    left: 0;
  }

  .nf-hero-ui-card--partners {
    display: none;
  }

  .nf-advantages {
    margin-top: -20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-hero__eyebrow,
  .nf-hero__title,
  .nf-hero__desc,
  .nf-hero__buttons,
  .nf-hero-ui-card {
  
    opacity: 1 !important;
    transform: none !important;
  }
}


.nf-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(25, 123, 255, 0.17), transparent 44%),
    radial-gradient(circle at 84% 24%, rgba(44, 193, 181, 0.18), transparent 46%),
    radial-gradient(circle at 58% 90%, rgba(226, 232, 240, 0.42), transparent 48%),
    linear-gradient(125deg, var(--nf-color-accent-soft) 0%, var(--nf-color-accent-soft) 42%, var(--nf-color-surface-alt) 100%);
  background-size: 160% 160%;
  
}

.nf-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -90px -70px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 35%, rgba(45, 126, 255, 0.22), rgba(45, 126, 255, 0)),
    radial-gradient(circle at 65% 60%, rgba(44, 193, 181, 0.2), rgba(44, 193, 181, 0));
  filter: blur(10px);
  opacity: 0.72;
  
  pointer-events: none;
  z-index: 0;
}

.nf-hero__bg-orb {
  position: absolute;
  left: -26px;
  top: -34px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(58, 138, 255, 0.22), rgba(58, 138, 255, 0)),
    radial-gradient(circle at 70% 70%, rgba(44, 193, 181, 0.2), rgba(44, 193, 181, 0));
  filter: blur(10px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
  
  
}

.nf-hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  
}

.nf-hero__desc {
  opacity: 0;
  transform: translateY(14px);
  
  
}

.nf-hero__buttons .btn {
  border-radius: 16px;
  
}

.nf-hero__buttons .btn:hover {  
  box-shadow: 0 14px 30px rgba(var(--nf-graphite-rgb), 0.14);
}

.nf-hero [data-parallax] {
  
}

.nf-advantages .nf-adv {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  
  opacity: 0;
  transform: translateY(14px);
}

.nf-advantages .nf-adv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nf-advantages .nf-adv:hover {  
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.nf-adv__accent {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--nf-color-accent-active), var(--nf-color-accent));
  box-shadow: 0 0 0 6px rgba(44, 193, 181, 0.12);
}

.nf-advantages .nf-adv:nth-child(1) {
  
}

.nf-advantages .nf-adv:nth-child(2) {
  
}

.nf-advantages .nf-adv:nth-child(3) {
  
}

.nf-advantages .nf-adv:nth-child(4) {
  
}

























.nf-hero-chip-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 182px;
  max-width: 200px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.12);
  box-shadow:
    0 16px 40px rgba(var(--nf-graphite-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 20px rgba(var(--nf-accent-rgb), 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  z-index: 3;
}

.nf-hero-chip-card:hover {  
  background: rgba(255,255,255,0.92);
  border-color: rgba(var(--nf-accent-rgb), 0.2);
  box-shadow:
    0 24px 56px rgba(var(--nf-graphite-rgb), 0.12),
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 0 32px rgba(var(--nf-accent-rgb), 0.08);
}

.nf-hero-chip-card--clinic {
  top: 9%;
  right: 7%;
  
}

.nf-hero-chip-card--lab {
  top: 29%;
  right: 15%;
  
}

.nf-hero-chip-card--service {
  top: 49%;
  right: 10%;
  
}

.nf-hero-chip-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;

  background:
    linear-gradient(135deg, rgba(var(--nf-accent-rgb),0.2) 0%, rgba(var(--nf-accent-rgb),0.08) 100%),
    rgba(255,255,255,0.94);
  border: 1.2px solid rgba(var(--nf-accent-rgb),0.16);
  box-shadow:
    0 8px 20px rgba(var(--nf-accent-rgb), 0.08),
    inset 0 1px 0 rgba(255,255,255,0.96);
}

.nf-hero-chip-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.82;
}

.nf-hero-chip-icon--clinic::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 20V6.5C5 5.67 5.67 5 6.5 5H13V20M13 9H18.5C19.33 9 20 9.67 20 10.5V20M9 9H9.01M9 12H9.01M9 15H9.01M16 13H16.01M16 16H16.01M8 20H17' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-icon--lab::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3V8L4.8 17.1C4.04 18.43 5 20 6.53 20H17.47C19 20 19.96 18.43 19.2 17.1L14 8V3M8 8H16M9 14H15' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-icon--service::before {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21C12 21 18 17 18 11.5V6.8L12 4L6 6.8V11.5C6 17 12 21 12 21Z' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.8 12.2L11.2 13.6L14.5 10.3' stroke='%23679d97' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nf-hero-chip-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nf-hero-chip-title {
  color: var(--nf-color-accent-contrast);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

.nf-hero-chip-subtitle {
  margin-top: 2px;
  color: var(--nf-color-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nf-hero-panel--main {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 220px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  box-shadow:
    0 20px 48px rgba(var(--nf-graphite-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 24px rgba(var(--nf-accent-rgb), 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  
  z-index: 3;
}

.nf-hero-panel--main:hover {  
  background: rgba(255,255,255,0.94);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  box-shadow:
    0 28px 64px rgba(var(--nf-graphite-rgb), 0.14),
    inset 0 1px 0 rgba(255,255,255,0.98),
    0 0 32px rgba(var(--nf-accent-rgb), 0.1);
}

.nf-hero-panel__label {
  margin-bottom: 6px;
  color: var(--nf-color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.nf-hero-panel__title {
  color: var(--nf-color-accent-contrast);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.nf-hero-panel__line {
  margin: 12px 0 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--nf-accent-rgb),0.32), rgba(var(--nf-accent-rgb),0.04), transparent);
}

.nf-hero-panel__dots {
  display: flex;
  gap: 6px;
}

.nf-hero-panel__dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb),0.42);
  
  
}

.nf-hero-panel__dots span:nth-child(2) {
  
}

.nf-hero-panel__dots span:nth-child(3) {
  
}

.nf-hero-panel__brand {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.nf-hero-panel__logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: saturate(0.95) contrast(1.05);
  
}

.nf-hero-panel--main:hover .nf-hero-panel__logo {  
  opacity: 1;
}





























































.nf-hero-device {
  
}



@media (max-width: 1400px) {
  .nf-hero .container {
    width: calc(100% - 40px);
    max-width: 100%;
  }

  .nf-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 450px;
    max-height: 450px;
    padding: 28px 28px 22px 28px;
  }

  .nf-hero__content {
    max-width: 1100px;
  }

  .nf-hero__content h1 {
    max-width: 14ch;
    font-size: clamp(34px, 3.2vw, 48px);
  }

  .nf-hero-device {
    width: min(31%, 222px);
  }
}



@media (max-width: 1180px) {
  .nf-hero {
    padding: 24px 0 12px;
  }

  .nf-hero .container {
    width: calc(100% - 36px);
    max-width: 100%;
  }

  .nf-hero__grid {
    min-height: 420px;
    max-height: 420px;
    gap: 16px;
    padding: 24px 24px 18px 24px;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .nf-hero__content {
    max-width: 950px;
  }

  .nf-hero__content h1 {
    max-width: 13ch;
    font-size: clamp(32px, 3.4vw, 44px);
    margin-bottom: 14px;
  }

  .nf-hero__content p {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .nf-hero .btn {
    min-height: 48px;
    padding: 0 24px;
    font-size: 13px;
  }

  .nf-hero-chip-card {
    min-width: 148px;
    max-width: 184px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .nf-hero-chip-title {
    font-size: 12px;
  }

  .nf-hero-chip-subtitle {
    font-size: 10px;
  }

  .nf-hero-chip-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 10px;
  }

  .nf-hero-chip-icon::before {
    width: 15px;
    height: 15px;
  }

  .nf-hero-panel--main {
    width: 188px;
    right: 7%;
    bottom: 5%;
    padding: 12px;
  }

  .nf-hero-panel__title {
    font-size: 12px;
  }

  .nf-hero-device {
    width: min(28%, 194px);
    right: 0;
  }
}



@media (max-width: 980px) {
  .nf-hero {
    padding: 20px 0 16px;
  }

  .nf-hero .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .nf-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    gap: 22px;
    padding: 24px 20px 18px;
  }

  .nf-hero__content {
    max-width: none;
  }

  .nf-hero__content h1 {
    max-width: 11ch;
    font-size: clamp(32px, 6.5vw, 48px);
  }

  .nf-hero__visual {
    min-height: 320px;
    height: 320px;
  }

  .nf-hero__image {
    min-height: 320px;
    height: 320px;
  }

  .nf-hero-chip-card--clinic {
    top: 8%;
    right: 5%;
  }

  .nf-hero-chip-card--lab {
    top: 24%;
    right: 12%;
  }

  .nf-hero-chip-card--service {
    top: 42%;
    right: 15%;
  }

  .nf-hero-panel--main {
    right: 10%;
    bottom: 6%;
  }

  .nf-hero-device {
    width: 210px;
    max-width: 210px;
  }
}



@media (max-width: 768px) {
  .nf-hero {
    padding: 16px 0 12px;
  }

  .nf-advantages {
    margin-top: 40px;
    margin-bottom: 32px;
  }

  .nf-hero .container {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .nf-hero__grid {
    border-radius: 28px;
    padding: 20px 16px 16px;
  }

  .nf-hero__eyebrow {
    min-height: 30px;
    font-size: 11px;
    padding: 0 11px;
    margin-bottom: 12px;
  }

  .nf-hero__content h1 {
    font-size: clamp(28px, 7.8vw, 38px);
    line-height: 0.92;
    max-width: 10.6ch;
    margin-bottom: 12px;
  }

  .nf-hero__content p {
    font-size: 13px;
    line-height: 1.56;
    margin-bottom: 14px;
  }

  .nf-hero__actions {
    gap: 10px;
  }

  .nf-hero .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 12px;
  }

  .nf-hero__visual,
  .nf-hero__image {
    height: 280px;
    min-height: 280px;
    border-radius: 24px;
  }

  .nf-hero-grid-lines {
    opacity: 0.34;
  }

  .nf-hero__sparkles {
    opacity: 0.58;
  }

  .nf-hero__glow--one {
    width: 120px;
    height: 120px;
  }

  .nf-hero__glow--two {
    width: 96px;
    height: 96px;
  }

  .nf-hero__floor {
    height: 96px;
  }

  .nf-hero-chip-card {
    min-width: 142px;
    max-width: 172px;
    padding: 9px;
    gap: 8px;
    border-radius: 14px;
  }

  .nf-hero-chip-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }

  .nf-hero-chip-icon::before {
    width: 14px;
    height: 14px;
  }

  .nf-hero-chip-title {
    font-size: 11px;
  }

  .nf-hero-chip-subtitle {
    font-size: 9px;
  }

  .nf-hero-chip-card--clinic {
    top: 7%;
    right: 3%;
  }

  .nf-hero-chip-card--lab {
    top: 23%;
    right: 7%;
  }

  .nf-hero-chip-card--service {
    top: 41%;
    right: 9%;
  }

  .nf-hero-panel--main {
    width: 168px;
    right: 6%;
    bottom: 5%;
    padding: 12px;
    border-radius: 18px;
  }

  .nf-hero-panel__label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .nf-hero-panel__title {
    font-size: 10px;
    line-height: 1.35;
  }

  .nf-hero-panel__line {
    margin: 9px 0;
  }

  .nf-hero-device {
    width: 156px;
    max-width: 156px;
    right: -10px;
    bottom: -2px;
  }
}



@media (max-width: 640px) {
  .nf-advantages {
    margin-top: 36px;
  }

  .nf-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nf-hero .btn {
    width: 100%;
    justify-content: center;
  }
}



@media (max-width: 520px) {
  .nf-hero {
    padding: 6px 0 12px;
  }

  .nf-hero .container {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .nf-hero__grid {
    padding: 16px 14px 12px;
    border-radius: 22px;
  }

  .nf-hero__content h1 {
    font-size: clamp(27px, 9.2vw, 38px);
    max-width: 11ch;
  }

  .nf-hero__content p {
    font-size: 12px;
  }

  .nf-hero__visual,
  .nf-hero__image {
    height: 274px;
    min-height: 274px;
  }

  .nf-hero-grid-lines,
  .nf-hero__sparkles,
  .nf-hero__floor {
    opacity: 0.42;
  }

  .nf-hero-chip-card {
    min-width: 124px;
    max-width: 150px;
    padding: 8px;
    gap: 7px;
  }

  .nf-hero-chip-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 8px;
  }

  .nf-hero-chip-icon::before {
    width: 13px;
    height: 13px;
  }

  .nf-hero-chip-title {
    font-size: 10px;
  }

  .nf-hero-chip-subtitle {
    font-size: 8px;
  }

  .nf-hero-chip-card--clinic {
    top: 8%;
    right: 3%;
  }

  .nf-hero-chip-card--lab {
    top: 24%;
    right: 5%;
  }

  .nf-hero-chip-card--service {
    top: 41%;
    right: 7%;
  }

  .nf-hero-panel--main {
    width: 150px;
    right: 6%;
    bottom: 4%;
    padding: 10px;
  }

  .nf-hero-panel__label {
    font-size: 11px;
  }

  .nf-hero-panel__title {
    font-size: 9px;
  }

  .nf-hero-panel__dots span {
    width: 6px;
    height: 6px;
  }

  .nf-hero-device {
    width: 136px;
    max-width: 136px;
    right: -10px;
  }
}



@media (max-width: 1199px) {
  .nf-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    padding: 22px 18px 18px;
    gap: 18px;
  }

  .nf-hero__center {
    display: none;
  }

  .nf-hero__visual {
    min-height: 360px;
    height: 360px;
  }

  .nf-hero__image {
    min-height: 360px;
    height: 360px;
  }

  .nf-hero__content h1 {
    max-width: 8.6ch;
    font-size: clamp(42px, 7vw, 68px);
  }
}



@media (max-width: 768px) {
  .nf-hero {
    padding: 8px 0 12px;
  }

  .nf-hero .container {
    width: min(100% - 12px, 100%);
  }

  .nf-hero__grid {
    min-height: auto;
    max-height: none;
    padding: 18px 14px 14px;
    border-radius: 28px;
  }

  .nf-hero__content h1 {
    font-size: clamp(32px, 9vw, 44px);
    max-width: 9.2ch;
    line-height: 0.92;
  }

  .nf-hero__content p {
    font-size: 13px;
    max-width: none;
  }

  .nf-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nf-hero .btn {
    width: 100%;
  }

  .nf-hero__visual {
    min-height: 300px;
    height: 300px;
  }

  .nf-hero__image {
    min-height: 300px;
    height: 300px;
  }

  .nf-hero-chip-card {
    min-width: 144px;
    max-width: 176px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .nf-hero-chip-card--clinic {
    top: 8%;
    right: 4%;
  }

  .nf-hero-chip-card--lab {
    top: 28%;
    right: 10%;
  }

  .nf-hero-chip-card--service {
    top: 48%;
    right: 6%;
  }

  .nf-hero-panel--main {
    right: 6%;
    bottom: 8%;
    width: 168px;
    padding: 12px;
    border-radius: 20px;
  }

  .nf-hero-panel__logo {
    height: 14px;
  }

  .nf-hero-panel__title {
    font-size: 11px;
  }

  .nf-hero-panel__dots span {
    width: 6px;
    height: 6px;
  }
}



@media (prefers-reduced-motion: reduce) {
  .nf-hero__eyebrow,
  .nf-hero__content h1,
  .nf-hero__content p,
  .nf-hero__actions,
  .nf-hero__visual,
  .nf-hero-grid-lines,
  .nf-hero__sparkles,
  .nf-hero__glow,
  .nf-hero-device,
  .nf-hero-chip-card,
  .nf-hero-panel,
  .nf-hero-panel__dots span {
  
  
  }
}



@media (max-width: 1024px) {
  .nf-filters {
    margin-bottom: 10px;
  }

  .nf-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 28px;
  }

  .nf-hero__content h1 {
    max-width: none;
    font-size: 34px;
  }

  .nf-hero__visual {
    justify-content: center;
  }

  .nf-hero__image .nf-hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(var(--nf-line-rgb), 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--nf-line-rgb), 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

  .nf-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nf-header {
    min-height: 64px;
    padding: 0;
    box-shadow: 0 6px 16px rgba(var(--nf-graphite-rgb), 0.05);
  }

  .nf-header-inner {
    padding: 10px 16px;
    align-items: center;
  }

  .nf-logo-img-header {
    height: 42px;
  }

  .nf-header-search-wrapper {
    flex: 1;
    min-width: 240px;
    width: clamp(300px, 34vw, 440px);
    max-width: 100%;
  }

  .nf-burger {
    display: inline-flex !important;
  }

  .nf-nav {
    display: none !important;
  }

  .nf-search {
    padding-inline: 12px 8px;
    box-shadow: 0 6px 14px rgba(var(--nf-graphite-rgb), 0.045);
  }

  .nf-main {
    padding: 22px 16px 56px;
  }

  .nf-view-header {
    margin-bottom: 22px;
  }

  .nf-view-header h1 {
    font-size: 28px;
  }

  .nf-view-header p {
    font-size: 14px;
    line-height: 1.65;
  }

  .nf-hero {
    padding-block: 18px 22px;
    margin-bottom: 24px;
  }

  .nf-hero__grid {
    padding: 24px 18px;
    border-radius: 26px;
    gap: 22px;
  }

  .nf-hero__content h1 {
    font-size: 28px;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .nf-hero__content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .nf-hero__actions {
    gap: 10px;
    margin-bottom: 14px;
  }

  .nf-hero__visual {
    justify-content: center;
  }

  .nf-hero__image {
    max-width: 100%;
    border-radius: 22px;
  }

  .nf-hero__image::before {
    inset: 14%;
    border-radius: 18px;
  }

  .nf-hero-chip-card {
    min-width: 138px;
    max-width: 170px;
    padding: 10px 11px;
    border-radius: 15px;
    gap: 8px;
  }

  .nf-hero-chip-icon {
    width: 24px;
    height: 24px;
    background-size: 14px 14px;
  }

  .nf-hero-chip-text {
    font-size: 11px;
    line-height: 1.45;
  }

  .nf-hero-chip-card--clinic {
    top: 12%;
    left: 4%;
  }

  .nf-hero-chip-card--lab {
    right: 4%;
  }

  .nf-hero-chip-card--service {
    left: 16%;
    bottom: 10%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nf-catalog-main .nf-product-card {
    border-radius: 20px;
    padding: 12px 12px 10px;
  }

  .nf-catalog-main .nf-product-thumb {
    height: auto;
    margin: 0 0 10px;
  }

  .nf-product-title,
  .nf-product-card h3 {
    font-size: 13px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nf-product-meta {
    font-size: 11px;
  }

  .nf-product-actions .nf-btn,
  .nf-product-actions .nf-btn-primary,
  .nf-product-actions .nf-btn-secondary {
    height: 40px;
    font-size: 13px;
    border-radius: 12px;
    padding-inline: 12px;
  }

  .nf-hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .nf-hero-stat {
    border-radius: 16px;
    padding: 12px;
  }

  .nf-hero-stat__value {
    font-size: 18px;
  }

  .nf-hero-stat__label {
    font-size: 11px;
  }
}



@media (max-width: 768px) {
  .nf-filters {
    padding: 10px 12px 12px;
    border-radius: 18px;
  }

  .nf-filter-block {
    margin-bottom: 10px;
  }

  .nf-input,
  .nf-select,
  .nf-textarea {
    padding: 8px 12px;
    font-size: 13px;
  }
}



.nf-advantages {
  margin-top: 10px;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nf-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.nf-adv {
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--nf-shadow-subtle);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.nf-adv h3 {
  margin: 0 0 4px;
  font-size: 18px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nf-adv p {
  margin: 0;
  font-size: 13px;
  color: var(--nf-color-text-muted);
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.nf-advantages + .nf-popular {
  margin-top: 0;
}

.nf-stat-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--nf-line-rgb), 0.3);
  padding: 10px 12px;
}

.nf-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.nf-stat-label {
  font-size: 12px;
  color: var(--nf-color-text-muted);
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  
}

.btn-primary {
  background: linear-gradient(135deg, var(--nf-color-primary), var(--nf-color-primary-dark));
  color: var(--nf-color-surface);
  box-shadow: var(--nf-shadow-subtle);
}

.btn-primary:hover {  
  box-shadow: var(--nf-shadow-soft);
}

.btn-outline {
  background: transparent;
  color: var(--nf-color-primary-dark);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.5);
}

.btn-outline:hover {
  background: rgba(var(--nf-accent-rgb), 0.06);
  }



.nf-section {
  margin-bottom: 40px;
}

.nf-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.nf-section-header h2 {
  margin: 0;
  font-size: 24px;
}

.nf-section-header p {
  margin: 0;
  color: var(--nf-color-text-muted);
}



.nf-featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.nf-featured__head h2 {
  margin-bottom: 6px;
}

.nf-featured__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--nf-color-text-muted);
  max-width: 520px;
}

.nf-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.nf-featured-card {
  border-radius: 22px;
  background: radial-gradient(circle at top left, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 32%, var(--nf-color-surface) 100%);
  border: 1px solid rgba(var(--nf-line-rgb), 0.25);
  box-shadow:
    0 10px 32px rgba(var(--nf-graphite-rgb), 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  
  cursor: pointer;
}

.nf-featured-card:hover {  
  box-shadow:
    0 18px 40px rgba(var(--nf-graphite-rgb), 0.16),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.45),
    0 0 36px rgba(var(--nf-accent-rgb), 0.16);
  border-color: rgba(var(--nf-accent-rgb), 0.65);
}

.nf-featured-card__media {
  margin-bottom: 14px;
}

.nf-featured-card__image-shell {
  height: 184px;
  border-radius: 16px;
  background: var(--nf-color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.nf-featured-card__image-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nf-featured-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.nf-featured-card__top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.nf-featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-accent);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.55);
}

.nf-featured-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--nf-color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

.nf-featured-meta__brand {
  color: var(--nf-color-placeholder);
}

.nf-featured-meta__category {
  color: var(--nf-color-muted);
}

.nf-featured-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nf-featured-price {
  font-size: 17px;
  font-weight: 600;
  color: var(--nf-color-text-strong);
}

.nf-featured-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nf-featured-actions .nf-btn-primary,
.nf-featured-actions .nf-btn-ghost {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .nf-featured__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nf-featured-card {
    min-height: 0;
  }
}



.nf-popular__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.nf-popular__all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(var(--nf-line-rgb), 0.4);
  box-shadow: 0 6px 18px rgba(var(--nf-graphite-rgb), 0.06);
  
}

.nf-popular__all-link:hover {
  background: var(--nf-color-surface);
  box-shadow: 0 10px 26px rgba(var(--nf-graphite-rgb), 0.12);
  }


.nf-popular__carousel-wrap {
  position: relative;
}
.nf-popular__nav {
  display: none;
}
.nf-popular__viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 22px;
  border-radius: var(--nf-radius-card);
  background: linear-gradient(135deg, var(--nf-color-surface-subtle), var(--nf-color-accent-soft));
  padding: 10px 0 14px;
  touch-action: pan-y;
  isolation: isolate;
  contain: layout style;
}

.nf-popular__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  padding-inline: 24px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
  
  
}

.nf-popular .nf-product-card--popular {
  flex: 0 0 auto;
  width: 260px;
  border-radius: var(--nf-radius-card);
  padding: 0 18px 16px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  box-shadow: var(--nf-shadow-card);
  overflow: hidden;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-popular .nf-product-card--popular:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-product-thumb--popular {
  height: 210px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 1), rgba(241, 245, 249, 1));
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
  
  margin: 0 -18px 16px;
  padding: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

.nf-product-thumb--popular .nf-product-thumb-inner {
  border-radius: inherit;
}

.nf-product-thumb--popular .nf-product-thumb-inner img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transform-origin: center;
  
}

@media (max-width: 768px) {
  .nf-popular__viewport {
    padding-bottom: 8px;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }

  .nf-popular__track {
    gap: 14px;
  }

  .nf-popular .nf-product-card--popular {
    flex: 0 0 clamp(260px, 78vw, 320px);
    width: clamp(260px, 78vw, 320px);
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
  }
}

.nf-product-card--popular:hover .nf-product-thumb-inner img {  }

.nf-product-body--popular {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-popular-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-product-title--popular {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.nf-product-meta-row--topline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 12px;
}

.nf-popular-badge-wrap {
  margin-bottom: 6px;
}

.nf-popular-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-accent);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.25);
}

.nf-product-meta-row--stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.nf-product-meta--brand {
  font-weight: 500;
}

.nf-product-meta--category {
  font-size: 12px;
}


.nf-popular .nf-product-meta--brand,
.nf-popular .nf-product-meta--category,
.nf-popular .nf-product-meta {
  color: rgba(100, 116, 139, 0.95);
}

.nf-popular .nf-product-meta--brand {
  opacity: 0.85;
}

.nf-popular .nf-product-meta--category {
  opacity: 0.75;
}


@media (max-width: 768px) {
  

  
  .nf-popular .nf-home-section__container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  
  .nf-popular__viewport {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .nf-popular__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 12px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  
  .nf-popular .nf-product-card--popular {
    width: auto;
    min-width: 0;
    max-width: 100%;
    border-radius: 18px;
    padding: 10px;
    background: var(--nf-color-surface);
    border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
    box-shadow: 0 10px 24px rgba(var(--nf-graphite-rgb), 0.08);
    overflow: hidden;
  }

  
  .nf-popular .nf-product-thumb--popular,
  .nf-popular .nf-product-thumb {
    border-radius: 14px;
    overflow: hidden;
    background: var(--nf-color-surface-alt);
    margin-bottom: 10px;
  }

  .nf-popular .nf-product-thumb--popular img,
  .nf-popular .nf-product-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 14px;
  }

  
  .nf-popular .nf-product-body,
  .nf-popular .nf-product-body--popular {
    padding: 4px 4px 2px;
  }

  .nf-popular .nf-product-title--popular,
  .nf-popular .nf-product-card--popular h3 {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    margin: 8px 0 6px;
    color: var(--nf-color-text-strong);
  }

  .nf-popular .nf-product-meta,
  .nf-popular .nf-product-meta--brand,
  .nf-popular .nf-product-meta--category {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--nf-color-muted);
  }

  .nf-popular .nf-product-footer,
  .nf-popular .nf-product-footer--popular {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  }

  .nf-popular .nf-product-price,
  .nf-popular .nf-price,
  .nf-popular .nf-price--popular {
    font-size: 15px;
    font-weight: 800;
    color: var(--nf-color-text-strong);
  }

  
  .nf-popular .nf-popular-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .nf-popular .nf-popular-actions .nf-btn,
  .nf-popular .nf-popular-actions button,
  .nf-popular .nf-popular-actions a {
    min-height: 44px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
  }

}

.nf-popular-actions {
  margin-top: 10px;
}

/* ══════════════════════════════════════════════
   POPULAR CAROUSEL — new card design (.nf-pop-card)
   ══════════════════════════════════════════════ */

.nf-pop-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-line-rgb), 0.13);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 2px 12px rgba(var(--nf-graphite-rgb), 0.05);
  user-select: none;
  -webkit-user-select: none;
}
.nf-pop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(var(--nf-graphite-rgb), 0.13);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}
.nf-pop-card:active {
  transform: translateY(-2px);
  transition-duration: 0.08s;
}

/* ── Media ── */
.nf-pop-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(var(--nf-accent-rgb), 0.1) 0%, transparent 60%),
    linear-gradient(160deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 100%);
}
.nf-pop-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.nf-pop-card:hover .nf-pop-card__img {
  transform: scale(1.06);
}

/* Category chip — top-left overlay */
.nf-pop-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--nf-color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 24px);
}

/* Hover overlay */
.nf-pop-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 74, 88, 0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.24s ease;
}
.nf-pop-card:hover .nf-pop-card__overlay {
  opacity: 1;
}
.nf-pop-card__overlay-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nf-pop-card__overlay-text svg {
  transition: transform 0.2s ease;
}
.nf-pop-card:hover .nf-pop-card__overlay-text svg {
  transform: translateX(3px);
}

/* ── Body ── */
.nf-pop-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Top row: availability + price */
.nf-pop-card__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Availability badge */
.nf-pop-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nf-pop-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nf-pop-card__status--in {
  color: #2e9e5b;
}
.nf-pop-card__status--in .nf-pop-card__status-dot {
  background: #2e9e5b;
  box-shadow: 0 0 0 2px rgba(46, 158, 91, 0.22);
}
.nf-pop-card__status--order {
  color: #c07a1a;
}
.nf-pop-card__status--order .nf-pop-card__status-dot {
  background: #c07a1a;
}

/* Price */
.nf-pop-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
  white-space: nowrap;
}
.nf-pop-card__price--rq {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--nf-color-text-muted);
}

/* Name */
.nf-pop-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.35;
  color: var(--nf-color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Teaser */
.nf-pop-card__teaser {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--nf-color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hint row */
.nf-pop-card__hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(var(--nf-line-rgb), 0.15);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--nf-accent, #4da0a9);
}
.nf-pop-card__hint-arrow {
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.nf-pop-card:hover .nf-pop-card__hint-arrow {
  transform: translateX(3px);
}

.nf-popular-actions .nf-btn {
  height: 36px;
  min-height: 36px;
  border-radius: var(--nf-radius-ui);
  font-size: 13px;
}

.nf-product-footer--popular {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-popular-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-price--popular {
  font-size: 15px;
}

@media (max-width: 1024px) {
  .nf-popular__track {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nf-popular__head {
    align-items: flex-start;
  }

  .nf-popular__all-link {
    padding-inline: 8px 6px;
  }
}





.nf-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.nf-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.nf-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
  padding: 6px 2px 10px;
  position: relative;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport::before,
.carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}

.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(244, 247, 248, 1), rgba(244, 247, 248, 0));
}

.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(244, 247, 248, 1), rgba(244, 247, 248, 0));
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  min-width: 100%;
  padding: 4px 10px;
}

.nf-carousel .nf-product-card {
  scroll-snap-align: start;
}

.nf-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.4);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(var(--nf-graphite-rgb), 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  
}

.nf-carousel-arrow:hover {  
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(var(--nf-graphite-rgb), 0.18);
}

.nf-carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--nf-color-text-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nf-carousel-arrow-left {
  left: -8px;
}

.nf-carousel-arrow-right {
  right: -8px;
}

@media (max-width: 768px) {
  .nf-carousel-arrow {
    display: none;
  }
}



.nf-product-card {
  width: 100%;
  min-width: 0;
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.055);
  box-shadow: var(--nf-shadow-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-product-card:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-graphite-rgb), 0.07);
}


.nf-popular .nf-product-card,
.nf-popular .nf-product-card--popular {
  
}


.nf-catalog-main .nf-product-card,
.nf-popular__track .nf-product-card--popular {
  border-radius: var(--nf-radius-card);
}

.nf-catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.nf-catalog-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.6);
  background: var(--nf-color-surface);
  color: var(--nf-color-text-primary);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  
}

.nf-catalog-page-btn:hover:not(.nf-catalog-page-btn-disabled) {
  background: var(--nf-color-text-primary);
  color: var(--nf-color-surface-subtle);
  border-color: rgba(var(--nf-graphite-rgb), 0.95);
  box-shadow: 0 10px 20px rgba(var(--nf-graphite-rgb), 0.16);
  }

.nf-catalog-page-btn-active {
  background: var(--nf-color-text-primary);
  color: var(--nf-color-surface-subtle);
  border-color: rgba(var(--nf-graphite-rgb), 0.95);
}

.nf-catalog-page-btn-disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.nf-catalog-page-dots {
  padding: 0 4px;
  color: var(--nf-color-placeholder);
  font-size: 13px;
}

.nf-product-thumb {
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface-alt);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}


.nf-product-thumb img {
  width: 100%;
  height: auto;
}

.nf-product-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: none;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-product-thumb-inner img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
  border-radius: inherit;
  transform: translateZ(0);
  
  filter: none;
}

.nf-product-card:hover .nf-product-thumb-inner img {
  filter: drop-shadow(0 8px 16px rgba(var(--nf-graphite-rgb), 0.08));
}

.nf-product-thumb-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  margin-top: 0;
}

.nf-product-thumb-mini {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  border: 1px solid var(--nf-color-hairline);
  overflow: hidden;
  cursor: pointer;
  background: var(--nf-color-surface);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
}

.nf-product-thumb-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nf-product-thumb-mini:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.85);
  background: var(--nf-color-surface);
  
  box-shadow: 0 8px 18px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-product-thumb-mini-active {
  border-color: rgba(var(--nf-accent-rgb), 0.95);
  background: var(--nf-color-surface);
  box-shadow: 0 10px 24px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-product-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.nf-product-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  cursor: pointer;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  color: var(--nf-color-text-strong);
}


.nf-product-brand {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 6px;
}


.nf-product-category {
  font-size: 13px;
  opacity: 0.65;
}

.nf-product-meta {
  font-size: 13px;
  color: var(--nf-color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.45;
}

.nf-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.nf-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(var(--nf-line-rgb), 0.18);
  color: var(--nf-color-text-muted);
}

.nf-chip-primary {
  background: rgba(var(--nf-accent-rgb), 0.18);
  color: var(--nf-color-primary-dark);
  font-weight: 700;
}

.nf-product-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--nf-space-1);
  margin-top: auto;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
}


.nf-product-footer-main {
  display: contents;
}

.nf-product-footer .nf-price,
.nf-product-footer .nf-price-muted {
  flex-shrink: 0;
  order: 1;
}

.nf-product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  order: 2;
}

.nf-product-actions .nf-btn {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--nf-radius-ui);
  border-width: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
}

.nf-product-actions .nf-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.nf-product-actions .nf-btn-icon svg {
  width: 16px;
  height: 16px;
}

.nf-product-actions .nf-btn-label {
  display: inline-block;
}

.nf-price {
  font-size: 16px;
  font-weight: 800;
}


.nf-catalog-main .nf-product-price,
.nf-catalog-main .nf-price {
  font-size: 18px;
  font-weight: 800;
  margin-top: 12px;
  margin-bottom: 12px;
}

.nf-price-muted {
  font-size: 12px;
  color: var(--nf-color-text-muted);
}



.nf-categories {
  margin-bottom: 40px;
}

/* Категории на главной: магистраль + ветки (SVG под карточками) */
.nf-categories.nf-home-section .nf-categories__ecosystem {
  position: relative;
  isolation: isolate;
  padding-block: clamp(10px, 1.4vw, 18px);
}

.nf-categories.nf-home-section .nf-categories__flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.nf-categories.nf-home-section .nf-categories__flow--reduced {
  display: none;
}

.nf-categories.nf-home-section .nf-categories__trunk-glow {
  fill: none;
  stroke: rgba(var(--nf-accent-rgb), 0.22);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: url(#nfCategoriesTrunkGlow);
  opacity: 0.85;
}

.nf-categories.nf-home-section .nf-categories__trunk-main {
  fill: none;
  stroke: rgba(var(--nf-accent-rgb), 0.42);
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.nf-categories.nf-home-section .nf-categories__trunk-seg {
  fill: none;
  stroke: rgba(var(--nf-accent-rgb), 0);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition:
    stroke 0.42s ease,
    stroke-width 0.42s ease,
    opacity 0.42s ease,
    filter 0.42s ease;
}

.nf-categories.nf-home-section .nf-categories__trunk-seg.is-hot {
  stroke: rgba(var(--nf-accent-rgb), 0.55);
  stroke-width: 8;
  filter: drop-shadow(0 0 10px rgba(var(--nf-accent-rgb), 0.35));
}

.nf-categories.nf-home-section .nf-categories__branch {
  fill: none;
  stroke: rgba(var(--nf-accent-rgb), 0.34);
  stroke-width: 1.85;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition:
    stroke 0.42s ease,
    stroke-width 0.42s ease,
    opacity 0.42s ease,
    filter 0.42s ease;
}

.nf-categories.nf-home-section .nf-categories__branch.is-hot {
  stroke: rgba(var(--nf-accent-rgb), 0.62);
  stroke-width: 2.35;
  filter: drop-shadow(0 0 8px rgba(var(--nf-accent-rgb), 0.28));
}

.nf-home-ds.nf-categories .nf-categories__trunk-glow {
  stroke: rgba(186, 236, 224, 0.2);
  opacity: 0.9;
}

.nf-home-ds.nf-categories .nf-categories__trunk-main {
  stroke: rgba(214, 244, 236, 0.48);
}

.nf-home-ds.nf-categories .nf-categories__trunk-seg.is-hot {
  stroke: rgba(232, 252, 248, 0.62);
  filter: drop-shadow(0 0 12px rgba(var(--nf-accent-rgb), 0.4));
}

.nf-home-ds.nf-categories .nf-categories__branch {
  stroke: rgba(200, 238, 228, 0.38);
}

.nf-home-ds.nf-categories .nf-categories__branch.is-hot {
  stroke: rgba(236, 252, 248, 0.72);
  filter: drop-shadow(0 0 10px rgba(var(--nf-accent-rgb), 0.35));
}

.nf-categories.nf-home-section .nf-categories__ecosystem .nf-categories__grid {
  position: relative;
  z-index: 1;
  gap: clamp(22px, 2.6vw, 32px) clamp(18px, 2vw, 26px) !important;
}

@media (min-width: 521px) {
  .nf-categories.nf-home-section .nf-categories__grid--trunk .nf-category-card:nth-child(even) {
    margin-top: clamp(16px, 2.4vw, 26px);
  }
}

@media (max-width: 520px) {
  .nf-categories.nf-home-section .nf-categories__grid--trunk .nf-category-card:nth-child(even) {
    margin-top: 0;
  }
}

.nf-categories.nf-home-section .nf-category-card--eco {
  border-radius: calc(var(--nf-radius-card, 14px) + 2px);
  padding: 18px 18px 16px;
  min-height: 148px;
  gap: 10px;
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 251, 0.88) 52%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(120deg, rgba(var(--nf-accent-rgb), 0.035) 0%, transparent 55%);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 6px 18px rgba(var(--nf-graphite-rgb), 0.035);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease,
    background 0.45s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-card__rail {
  height: 2px;
  opacity: 0.65;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco:hover .nf-category-card__rail {
  opacity: 0.95;
  filter: saturate(1.15);
}

.nf-categories.nf-home-section .nf-category-card--eco:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.12) inset,
    0 14px 32px rgba(var(--nf-graphite-rgb), 0.06),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.08);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 1) 0%, rgba(244, 252, 249, 0.95) 48%, rgba(255, 255, 255, 0.98) 100%),
    linear-gradient(118deg, rgba(var(--nf-accent-rgb), 0.08) 0%, transparent 58%);
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-title {
  transition: color 0.35s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco:hover .nf-category-title {
  color: var(--nf-color-primary-dark, var(--nf-color-accent-contrast));
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-desc {
  transition: color 0.35s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco:hover .nf-category-desc {
  color: rgba(var(--nf-graphite-rgb), 0.58);
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-footer {
  border-top-color: rgba(var(--nf-graphite-rgb), 0.06);
  transition: border-color 0.35s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-count {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco:hover .nf-category-count {
  color: var(--nf-color-text);
  background: rgba(var(--nf-accent-rgb), 0.06);
}

.nf-categories.nf-home-section .nf-category-card--eco .nf-category-cta {
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    background-color 0.32s ease,
    color 0.32s ease,
    box-shadow 0.32s ease;
}

.nf-categories.nf-home-section .nf-category-card--eco:hover .nf-category-cta {
  transform: translateY(-1px);
  border-color: rgba(var(--nf-accent-rgb), 0.48);
  background: rgba(var(--nf-accent-rgb), 0.09);
  box-shadow: 0 2px 8px rgba(var(--nf-accent-rgb), 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .nf-categories.nf-home-section .nf-categories__flow {
    display: none !important;
  }

  .nf-categories.nf-home-section .nf-category-card--eco:hover {
    transform: none;
  }
}

.nf-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nf-category {
  border-radius: var(--nf-radius-card);
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, var(--nf-color-surface), var(--nf-color-surface-subtle));
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  box-shadow: var(--nf-shadow-card);
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-category h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.nf-category p {
  margin: 0;
  font-size: 13px;
  color: var(--nf-color-text-muted);
}

.nf-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nf-category-card {
  position: relative;
  border-radius: var(--nf-radius-card);
  padding: 16px 16px 16px;
  background: radial-gradient(circle at top left, rgba(var(--nf-accent-rgb), 0.12), var(--nf-color-surface));
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  box-shadow: var(--nf-shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-category-card:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.38);
  background: radial-gradient(circle at top left, rgba(var(--nf-accent-rgb), 0.18), var(--nf-color-surface));
}

.nf-category-title {
  font-size: 15px;
  font-weight: 700;
}

.nf-category-desc {
  font-size: 13px;
  color: var(--nf-color-text-muted);
  line-height: 1.55;
}

.nf-category-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.nf-category-footer span:first-child {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.03);
  color: var(--nf-color-text);
  font-weight: 600;
}

.nf-category-footer span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.4);
  background: rgba(255, 255, 255, 0.85);
  color: var(--nf-color-primary-dark);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(var(--nf-graphite-rgb), 0.06);
}



.nf-partners {
  margin: 44px 0 40px;
}

.nf-partners__grid,
.nf-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.nf-partner,
.nf-partner-card {
  position: relative;
  border-radius: var(--nf-radius-card);
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-line-rgb), 0.1), transparent 58%),
    var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 170px;
  box-shadow: var(--nf-shadow-card);
  overflow: hidden;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui),
    background var(--nf-transition-ui);
}

.nf-partner:hover,
.nf-partner-card:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-accent-rgb), 0.14), transparent 58%),
    var(--nf-color-surface);
}

.nf-partner-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
}

.nf-partner-logo-wrap {
  width: 96px;
  height: 96px;
  border-radius: var(--nf-radius-pill);
  background:
    radial-gradient(circle at 30% 0, var(--nf-color-surface), color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%));
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--nf-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: box-shadow var(--nf-transition-ui);
}

.nf-partner-logo-img {
  width: 88%;
  height: auto;
  max-height: 76%;
  object-fit: contain;
  display: block;
}

.nf-partner:hover .nf-partner-logo-wrap,
.nf-partner-card:hover .nf-partner-logo-wrap {
  box-shadow: var(--nf-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.nf-partner-name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.nf-partner-meta {
  font-size: 12px;
  line-height: 1.4;
  color: var(--nf-color-text-muted);
  opacity: 0.9;
}

.nf-partners-grid-detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .nf-partner,
  .nf-partner-card {
    min-height: 0;
    padding: 14px 10px 14px;
  }

  .nf-partner-logo-wrap {
    width: 78px;
    height: 78px;
  }
}






.nf-partners__grid > .nf-partner,
.nf-partners__grid > .nf-partner-card,
.nf-partners-grid > .nf-partner,
.nf-partners-grid > .nf-partner-card,
.nf-categories__grid > *,
.nf-popular .nf-popular__track > *,
.nf-news-layout > *,
.nf-catalog-main .nf-product-card,
.nf-products-list .nf-product-card,
.nf-products-large .nf-product-card {
  opacity: 1;
  transform: none;
}


.nf-main > * {
  opacity: 1;
  transform: none;
}

.nf-main > .nf-home-firstscreen {
  opacity: 1;
  transform: none;
}



.nf-partner-detail {
  margin-top: 24px;
  border-radius: 20px;
  padding: 16px 18px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--nf-shadow-subtle);
}



.nf-news {
  margin-bottom: 40px;
}

.nf-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nf-news-card {
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  padding: 14px 14px 16px;
  box-shadow: var(--nf-shadow-card);
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-news-card__image {
  border-radius: var(--nf-radius-ui);
  height: 110px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--nf-color-hairline), var(--nf-color-surface-alt));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-news-card__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-news-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--nf-color-text);
}

.nf-news-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-muted);
}

.nf-news-card:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-news-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.nf-news-main {
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  padding: 16px 16px 18px;
  box-shadow: var(--nf-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-news-main:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
}

.nf-news-main-image {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nf-color-hairline), var(--nf-color-surface-alt));
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-news-main-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-news-main-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--nf-color-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nf-news-main-title {
  font-size: 16px;
  font-weight: 800;
}

.nf-news-main-meta {
  font-size: 11px;
  color: var(--nf-color-text-muted);
}

.nf-news-main-text {
  font-size: 13px;
  color: var(--nf-color-text-muted);
  line-height: 1.6;
}

.nf-news-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.nf-news-card {
  border-radius: 14px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  padding: 10px 10px 12px;
  cursor: pointer;
  
  box-shadow: 0 6px 16px rgba(var(--nf-graphite-rgb), 0.05);
}

.nf-news-card:hover {
  box-shadow: var(--nf-shadow-subtle);
  
  border-color: rgba(var(--nf-accent-rgb), 0.35);
}

.nf-news-card-title {
  font-size: 14px;
  font-weight: 700;
}

.nf-news-card-meta {
  font-size: 11px;
  color: var(--nf-color-text-muted);
}



.nf-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.nf-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nf-page-category {
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px);
}

.nf-category-breadcrumb {
  font-size: 13px;
  color: var(--nf-color-text-muted);
  margin-bottom: 16px;
}

.nf-category-breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nf-category-breadcrumb a:hover {
  color: var(--nf-color-text);
  border-bottom-color: currentColor;
}

.nf-category-page-head {
  margin-bottom: 24px;
}

.nf-category-page-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.nf-category-page-desc {
  margin: 0;
  max-width: 62ch;
  color: var(--nf-color-text-muted);
  line-height: 1.6;
}

/* ——— Страница новости: чистый layout ——— */
.nf-news-editorial {
  position: relative;
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(40px, 6vw, 72px);
  overflow-x: visible;
  background: var(--nf-color-surface-alt);
}

.nf-news-editorial__shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

.nf-news-editorial__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-muted);
  margin: 0 0 clamp(16px, 2vw, 22px);
}

.nf-news-editorial__crumb-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nf-news-editorial__crumb-link:hover {
  color: var(--nf-color-text);
  border-bottom-color: currentColor;
}

.nf-news-editorial__crumb-sep {
  opacity: 0.45;
}

.nf-news-editorial__crumb-current {
  color: var(--nf-color-text);
  font-weight: 500;
  max-width: min(100%, 52ch);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nf-news-editorial__hero--article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
}

@media (min-width: 900px) {
  .nf-news-editorial__hero--article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 38%);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
  }
}

.nf-news-editorial__hero-text,
.nf-news-editorial__leadblock {
  max-width: 100%;
  min-width: 0;
}

.nf-news-editorial__leadblock .nf-news-editorial__tag {
  margin-bottom: 8px;
}

.nf-news-editorial__leadblock .nf-news-editorial__title {
  margin: 0 0 10px;
}

.nf-news-editorial__leadblock .nf-news-editorial__meta {
  margin-bottom: 10px;
}

.nf-news-editorial__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb), 0.95);
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  margin-bottom: 0;
}

.nf-news-editorial__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.8vw + 0.7rem, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--nf-color-text-muted);
  margin: 0 0 4px;
}

.nf-news-editorial__meta-item {
  font-weight: 500;
}

.nf-news-editorial__meta-item--date {
  font-weight: 600;
  color: var(--nf-color-text);
}

.nf-news-editorial__meta-item--muted {
  opacity: 0.85;
  font-weight: 500;
}

.nf-news-editorial__meta-dot {
  opacity: 0.35;
}

.nf-news-editorial__lead {
  margin: 0;
  font-size: clamp(0.95rem, 0.45vw + 0.88rem, 1.05rem);
  line-height: 1.6;
  color: var(--nf-color-text-secondary, var(--nf-color-text-muted));
  max-width: 62ch;
}

.nf-news-editorial__cover {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  background: var(--nf-color-surface);
  aspect-ratio: 4 / 3;
  max-height: min(280px, 42vw);
  display: flex;
  align-items: stretch;
}

.nf-news-editorial__cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-news-editorial__cover-ph {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nf-color-surface-subtle);
}

.nf-news-editorial__cover-ph-inner {
  text-align: center;
  padding: 20px;
}

.nf-news-editorial__cover-ph-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb), 0.8);
  margin-bottom: 6px;
}

.nf-news-editorial__cover-ph-brand {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
  align-items: start;
}

@media (min-width: 1024px) {
  .nf-news-editorial__grid {
    grid-template-columns: minmax(0, 1fr) min(280px, 30%);
    gap: clamp(24px, 3vw, 36px);
  }
}

.nf-news-editorial__article {
  min-width: 0;
}

.nf-news-editorial__article-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-news-editorial__article-main > .nf-news-editorial__prose {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.nf-news-editorial__article-main > .nf-news-editorial__inline-figure {
  margin-top: 0;
}

.nf-news-editorial__prose {
  max-width: min(700px, 100%);
  font-size: clamp(16px, 0.35vw + 15px, 17px);
  line-height: 1.75;
  color: var(--nf-color-text-primary);
  letter-spacing: 0.01em;
}

.nf-news-editorial__prose .nf-news-editorial__p {
  margin: 0 0 1.5em;
}

.nf-news-editorial__prose .nf-news-editorial__p:last-child {
  margin-bottom: 0;
}

.nf-news-editorial__h2 {
  margin: 2em 0 0.6em;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__section-h {
  margin: 2.25em 0 0.65em;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__prose .nf-news-editorial__section-h:first-child {
  margin-top: 0;
}

.nf-news-editorial__h3 {
  margin: 1.65em 0 0.55em;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__prose ul,
.nf-news-editorial__prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
}

.nf-news-editorial__prose li {
  margin: 0.35em 0;
}

.nf-news-editorial__quote {
  margin: 2em 0;
  padding: 1.35em 1.45em 1.35em 1.55em;
  border-left: 4px solid var(--nf-accent);
  border-radius: 0 var(--nf-radius-md) var(--nf-radius-md) 0;
  background: rgba(var(--nf-accent-rgb), 0.09);
  font-size: 1.05rem;
  line-height: 1.72;
  font-style: italic;
  color: var(--nf-color-text);
}

.nf-news-editorial__quote p {
  margin: 0;
}

.nf-news-editorial__callout {
  margin: 2em 0;
  padding: 1.4em 1.45em 1.4em 1.5em;
  border-radius: var(--nf-radius-lg);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  border-left: 4px solid var(--nf-accent);
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 0.1) 0%, rgba(var(--nf-accent-rgb), 0.04) 42%, var(--nf-color-surface) 100%);
  box-shadow: 0 12px 36px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-news-editorial__callout-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb), 0.95);
  margin-bottom: 0.5em;
}

.nf-news-editorial__callout-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--nf-color-text);
}

.nf-news-editorial__inline-figure {
  margin: 0 0 clamp(32px, 4.5vw, 48px);
  max-width: min(760px, 100%);
}

.nf-news-editorial__inline-figure-frame {
  border-radius: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  box-shadow: 0 20px 50px rgba(var(--nf-graphite-rgb), 0.09);
}

.nf-news-editorial__inline-figure-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.nf-news-editorial__caption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-muted);
}

.nf-news-editorial__gallery {
  margin-top: clamp(32px, 4vw, 44px);
  max-width: min(100%, 760px);
}

.nf-news-editorial__gallery-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__gallery-grid {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.nf-news-editorial__gallery-grid[data-gallery-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-news-editorial__gallery-grid[data-gallery-count="2"] .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(260px, 34vw, 400px);
}

.nf-news-editorial__gallery-grid[data-gallery-count="3"] {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

@media (max-width: 719px) {
  .nf-news-editorial__gallery-grid[data-gallery-count="3"] {
    grid-template-columns: 1fr;
  }

  .nf-news-editorial__gallery-grid[data-gallery-count="3"] > .nf-news-editorial__gallery-cell:first-child {
    grid-row: auto;
  }
}

@media (min-width: 720px) {
  .nf-news-editorial__gallery-grid[data-gallery-count="3"] > .nf-news-editorial__gallery-cell:first-child {
    grid-row: 1 / -1;
  }
}

.nf-news-editorial__gallery-grid[data-gallery-count="3"] > .nf-news-editorial__gallery-cell:first-child .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(280px, 42vw, 420px);
}

.nf-news-editorial__gallery-grid[data-gallery-count="3"] > .nf-news-editorial__gallery-cell:not(:first-child) .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(140px, 22vw, 200px);
}

.nf-news-editorial__gallery-grid[data-gallery-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-news-editorial__gallery-grid[data-gallery-count="4"] .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(220px, 28vw, 300px);
}

.nf-news-editorial__gallery-grid[data-gallery-count="5"],
.nf-news-editorial__gallery-grid[data-gallery-count="6"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-news-editorial__gallery-grid[data-gallery-count="5"] .nf-news-editorial__gallery-cell:first-child,
.nf-news-editorial__gallery-grid[data-gallery-count="6"] .nf-news-editorial__gallery-cell:first-child {
  grid-column: 1 / -1;
}

.nf-news-editorial__gallery-grid[data-gallery-count="5"] .nf-news-editorial__gallery-cell:first-child .nf-news-editorial__gallery-cell-frame,
.nf-news-editorial__gallery-grid[data-gallery-count="6"] .nf-news-editorial__gallery-cell:first-child .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(240px, 36vw, 340px);
}

.nf-news-editorial__gallery-grid[data-gallery-count="5"] .nf-news-editorial__gallery-cell:not(:first-child) .nf-news-editorial__gallery-cell-frame,
.nf-news-editorial__gallery-grid[data-gallery-count="6"] .nf-news-editorial__gallery-cell:not(:first-child) .nf-news-editorial__gallery-cell-frame {
  min-height: clamp(200px, 26vw, 280px);
}

.nf-news-editorial__gallery-cell {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  background: var(--nf-color-surface);
  display: flex;
  flex-direction: column;
}

.nf-news-editorial__gallery-cell-frame {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: clamp(220px, 26vw, 300px);
  background: rgba(var(--nf-graphite-rgb), 0.05);
}

.nf-news-editorial__gallery-cell-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-news-editorial__gallery-cell:hover .nf-news-editorial__gallery-cell-frame img {
  transform: scale(1.04);
}

.nf-news-editorial__gallery-cap {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--nf-color-text-muted);
  line-height: 1.5;
}

.nf-news-editorial__divider {
  height: 1px;
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: min(720px, 100%);
  background: linear-gradient(90deg, rgba(var(--nf-accent-rgb), 0.35), rgba(var(--nf-graphite-rgb), 0.08) 55%, transparent);
  border: none;
}

.nf-news-editorial__related {
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  max-width: min(100%, 760px);
}

.nf-news-editorial__related-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-news-editorial__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.nf-news-editorial__related-grid > a.nf-news-card.nf-news-editorial__related-card {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  background: var(--nf-color-surface);
  box-shadow: 0 4px 14px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-news-editorial__related-grid > a.nf-news-card:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.28);
}

.nf-news-editorial__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 1024px) {
  .nf-news-editorial__aside {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.nf-news-editorial__aside-card {
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.09);
  background: var(--nf-color-surface);
  box-shadow: 0 8px 22px rgba(var(--nf-graphite-rgb), 0.05);
}

.nf-news-editorial__aside-card--summary {
  background: linear-gradient(175deg, rgba(var(--nf-accent-rgb), 0.1) 0%, rgba(255, 255, 255, 0.98) 52%);
  border-left: 4px solid var(--nf-accent);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-news-editorial__aside-card--share {
  background: linear-gradient(180deg, rgba(var(--nf-graphite-rgb), 0.03) 0%, #fff 55%);
}

.nf-news-editorial__aside-card--tags {
  padding-bottom: 14px;
}

.nf-news-editorial__aside-h {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.5);
}

.nf-news-editorial__aside-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--nf-color-text);
}

.nf-news-editorial__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.45);
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 0.18) 0%, rgba(var(--nf-accent-rgb), 0.08) 100%);
  color: rgba(var(--nf-accent-rgb), 1);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nf-news-editorial__share-btn:hover {
  background: rgba(var(--nf-accent-rgb), 0.22);
  border-color: rgba(var(--nf-accent-rgb), 0.6);
  transform: translateY(-1px);
}

.nf-news-editorial__share-hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--nf-color-text-muted);
}

.nf-news-editorial__tags.nf-news-editorial__aside-card {
  border-left: 3px solid rgba(var(--nf-accent-rgb), 0.35);
}

.nf-news-editorial__tags-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nf-news-editorial__tag-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-graphite-rgb), 0.78);
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
}

.news-page {
  background:
    radial-gradient(1000px 460px at 8% -6%, rgba(var(--nf-accent-rgb), 0.14), transparent 54%),
    radial-gradient(900px 420px at 95% -8%, rgba(var(--nf-graphite-rgb), 0.06), transparent 56%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 100%);
}

.news-page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  padding: clamp(22px, 3vw, 30px) clamp(20px, 4vw, 36px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background:
    radial-gradient(130% 100% at 12% 0%, rgba(var(--nf-accent-rgb), 0.16) 0%, rgba(var(--nf-accent-rgb), 0) 52%),
    radial-gradient(110% 90% at 90% 2%, rgba(var(--nf-graphite-rgb), 0.08) 0%, rgba(var(--nf-graphite-rgb), 0) 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 251, 249, 0.94) 100%);
  box-shadow: 0 28px 70px rgba(var(--nf-graphite-rgb), 0.08);
}

.news-page-hero-kicker {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.06);
  color: var(--nf-color-text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-page-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(35px, 5.2vw, 60px);
  line-height: 0.98;
  font-weight: 770;
  letter-spacing: -0.03em;
  color: var(--nf-color-text-primary);
}

.news-page-subtitle {
  max-width: 70ch;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.68;
  color: var(--nf-color-text-secondary);
}

.news-page-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 14px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  align-items: center;
  z-index: 6;
}

.news-toolbar-search {
  position: relative;
}

.news-toolbar-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--nf-color-text-secondary);
  pointer-events: none;
}

.news-toolbar-search-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.news-search-input {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--nf-color-text-primary);
  font-size: 15px;
  line-height: 1.4;
  padding: 14px 16px 14px 42px;
  box-shadow: 0 8px 24px rgba(var(--nf-graphite-rgb), 0.05);
}

.news-search-input:focus {
  outline: none;
  border-color: rgba(var(--nf-accent-rgb), 0.54);
  box-shadow: 0 0 0 4px rgba(var(--nf-accent-rgb), 0.16);
}

.news-toolbar-sort {
  position: relative;
}

.news-sort-button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.28);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(var(--nf-graphite-rgb), 0.05);
  color: var(--nf-color-text-strong);
  font-weight: 600;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.news-sort-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.8;
}

.news-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(var(--nf-graphite-rgb), 0.14);
  padding: 6px;
}

.news-sort-option {
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 10px;
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--nf-color-text-tertiary);
  cursor: pointer;
}

.news-sort-option:hover,
.news-sort-option.is-active {
  background: rgba(var(--nf-accent-rgb), 0.14);
  color: var(--nf-color-accent-contrast);
}

.news-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.news-category-chip {
  border: 1px solid rgba(var(--nf-line-rgb), 0.28);
  background: rgba(255, 255, 255, 0.8);
  color: var(--nf-color-text-secondary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.news-category-chip.is-active,
.news-category-chip:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.5);
  background: rgba(var(--nf-accent-rgb), 0.14);
  color: var(--nf-color-accent-contrast);
}

.news-featured {
  margin-bottom: clamp(40px, 5vw, 48px);
}

.news-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 0.9fr);
  gap: 20px;
  border-radius: 28px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 68px rgba(var(--nf-graphite-rgb), 0.11);
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.24s ease;
}

.news-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 72px rgba(var(--nf-graphite-rgb), 0.13);
  border-color: rgba(var(--nf-accent-rgb), 0.16);
}

.news-featured-media {
  min-height: clamp(200px, 26vw, 240px);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--nf-color-accent-soft) 0%, var(--nf-color-border) 100%);
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(200px, 26vw, 240px);
  object-fit: cover;
  display: block;
}

.news-featured-media-empty {
  height: 100%;
  min-height: clamp(200px, 26vw, 240px);
  display: grid;
  place-items: center;
  color: var(--nf-color-accent-contrast);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-featured-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px;
}

.news-featured-chip {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.07);
  color: var(--nf-color-text-tertiary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-featured-title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--nf-color-text-primary);
}

.news-featured-meta {
  color: var(--nf-color-muted);
  font-size: 13px;
}

.news-featured-text {
  margin: 0;
  color: var(--nf-color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
}

.news-featured-open {
  margin-top: auto;
}

.news-list-section {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.news-list-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.news-list-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.news-results-meta {
  color: var(--nf-color-muted);
  font-size: 13px;
  font-weight: 600;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 20px);
}

@media (max-width: 1024px) {
  .news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-list-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}


.news-list-grid .nf-news-card,
.nf-news-editorial__related-grid > a.nf-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(var(--nf-graphite-rgb), 0.07);
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.24s ease;
}

.news-list-grid .nf-news-card:hover,
.nf-news-editorial__related-grid > a.nf-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(var(--nf-graphite-rgb), 0.12);
  border-color: rgba(var(--nf-accent-rgb), 0.18);
}

.news-feed-card-media {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  min-height: clamp(160px, 18vw, 180px);
  background: linear-gradient(145deg, var(--nf-color-accent-soft) 0%, var(--nf-color-border) 100%);
}

.news-feed-card-media img {
  width: 100%;
  height: clamp(160px, 18vw, 180px);
  min-height: clamp(160px, 18vw, 180px);
  object-fit: cover;
  display: block;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-list-grid .nf-news-card:hover .news-feed-card-media img,
.nf-news-editorial__related-grid > a.nf-news-card:hover .news-feed-card-media img {
  transform: scale(1.03);
}

.news-feed-card-media-empty {
  height: clamp(160px, 18vw, 180px);
  min-height: clamp(160px, 18vw, 180px);
  display: grid;
  place-items: center;
  color: var(--nf-color-accent-contrast);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-feed-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: clamp(16px, 1.8vw, 20px);
}

.nf-news-card-chip {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-accent-contrast);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-news-card-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-news-card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.news-list-grid .nf-news-card-title,
.nf-news-editorial__related-grid .nf-news-card-title {
  font-size: clamp(15px, 0.55vw + 14px, 17px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-news-card-meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--nf-color-muted);
}

.news-list-grid .nf-news-card-meta,
.nf-news-editorial__related-grid .nf-news-card-meta {
  font-size: clamp(11px, 0.35vw + 10.5px, 12.5px);
}

.news-list-grid .nf-news-card-meta {
  margin-top: auto;
}

.nf-news-card-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nf-color-text-secondary);
}

.news-list-grid .nf-news-card-text,
.nf-news-editorial__related-grid .nf-news-card-text {
  font-size: clamp(13px, 0.35vw + 12px, 14.5px);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .news-page-hero {
    border-radius: 24px;
    padding: 24px 18px;
    gap: 10px;
  }

  .news-page-hero-kicker {
    font-size: 10px;
    padding: 5px 10px;
  }

  .news-page-title {
    font-size: 34px;
    line-height: 1.06;
  }

  .news-page-subtitle {
    font-size: 16px;
    line-height: 1.6;
  }

  .news-page-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-category-chips {
    margin-bottom: 14px;
  }

  .news-featured-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 22px;
  }

  .news-page .news-featured-card--editorial {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .news-page .news-featured-card--editorial .news-featured-body {
    border-left: none;
    border-top: 1px solid rgba(var(--nf-accent-rgb), 0.15);
  }

  .news-featured-media,
  .news-featured-media img,
  .news-featured-media-empty {
    min-height: clamp(180px, 48vw, 220px);
  }

  .news-featured-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .news-list-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-list-grid .nf-news-card,
  .nf-news-editorial__related-grid > a.nf-news-card {
    border-radius: 18px;
  }

  .news-feed-card-media,
  .news-feed-card-media img,
  .news-feed-card-media-empty {
    min-height: 160px;
    height: 160px;
  }
}

/* ——— /news: заметный editorial-редизайн (только .news-page) ——— */
.news-page .news-featured-card--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 22px);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.11);
  background: #fff;
  box-shadow:
    0 20px 56px rgba(var(--nf-graphite-rgb), 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.news-page .news-featured-card--editorial .news-featured-media {
  min-height: clamp(220px, 32vw, 300px);
  height: 100%;
  border-radius: 0;
}

.news-page .news-featured-card--editorial .news-featured-media img,
.news-page .news-featured-card--editorial .news-featured-media-empty {
  min-height: clamp(220px, 32vw, 300px);
  height: 100%;
}

.news-page .news-featured-card--editorial .news-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.4vw, 26px);
  gap: 0;
  background:
    linear-gradient(168deg, rgba(244, 249, 247, 0.98) 0%, rgba(234, 243, 239, 0.96) 48%, rgba(226, 238, 233, 0.94) 100%);
  border-left: 1px solid rgba(var(--nf-accent-rgb), 0.2);
}

.news-page .news-featured-card--editorial .news-featured-body-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-page .news-featured-card--editorial .news-featured-chip {
  background: rgba(var(--nf-accent-rgb), 0.14);
  color: rgba(var(--nf-graphite-rgb), 0.72);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
}

.news-page .news-featured-card--editorial .news-featured-title {
  margin: 0;
  font-size: clamp(1.2rem, 1.4vw + 0.75rem, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.news-page .news-featured-card--editorial .news-featured-text {
  margin: 0;
  font-size: clamp(13.5px, 0.9vw + 12px, 15.5px);
  line-height: 1.52;
  max-width: none;
  color: rgba(var(--nf-graphite-rgb), 0.76);
}

.news-page .news-featured-card--editorial .news-featured-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
}

.news-page .news-featured-card--editorial .news-featured-meta {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.48);
}

.news-page .news-featured-card--editorial .news-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #2f6d62;
  letter-spacing: 0.01em;
}

.news-page .news-featured-card--editorial .news-featured-cta-arrow {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-page .news-featured-card--editorial:hover .news-featured-cta-arrow {
  transform: translateX(5px);
}

@media (min-width: 720px) {
  .news-page .news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 18px);
  }

  .news-page .news-list-grid .nf-news-card.news-feed-card--row {
    display: grid;
    grid-template-columns: clamp(108px, 22%, 148px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    border-radius: 16px;
    border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
    background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 249, 0.92) 100%);
    box-shadow: 0 10px 28px rgba(var(--nf-graphite-rgb), 0.07);
  }

  .news-page .news-list-grid .news-feed-card--row .news-feed-card-media {
    min-height: 0;
    height: auto;
    align-self: stretch;
    border-right: 1px solid rgba(var(--nf-accent-rgb), 0.12);
  }

  .news-page .news-list-grid .news-feed-card--row .news-feed-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 100%);
    mix-blend-mode: soft-light;
  }

  .news-page .news-list-grid .news-feed-card--row .news-feed-card-media img,
  .news-page .news-list-grid .news-feed-card--row .news-feed-card-media-empty {
    height: 100%;
    min-height: 112px;
  }

  .news-page .news-list-grid .news-feed-card--row .news-feed-card-body {
    padding: 10px 14px 12px 14px;
    gap: 5px;
    justify-content: center;
  }

  .news-page .news-list-grid .news-feed-card--row .nf-news-card-title {
    font-size: clamp(14px, 0.5vw + 13px, 16px);
    line-height: 1.28;
  }

  .news-page .news-list-grid .news-feed-card--row .nf-news-card-text {
    font-size: clamp(12.5px, 0.35vw + 11.5px, 13.5px);
    line-height: 1.48;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .news-page .news-list-grid .news-feed-card--row .nf-news-card-meta {
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(var(--nf-graphite-rgb), 0.45);
  }
}

.news-page .news-list-section-head h2 {
  position: relative;
  padding-bottom: 10px;
}

.news-page .news-list-section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nf-accent), rgba(var(--nf-accent-rgb), 0.2));
}

@media (max-width: 679px) {
  .news-page .news-list-grid .nf-news-card.news-feed-card--row {
    display: flex;
    flex-direction: column;
  }
}

.nf-catalog-layout {
  display: grid;
  grid-template-columns: minmax(200px, 228px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1280px) {
  .nf-catalog-layout {
    grid-template-columns: minmax(210px, 236px) minmax(0, 1fr);
    gap: clamp(18px, 2.2vw, 28px);
  }
}

.nf-catalog-layout.is-filters-collapsed {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.nf-catalog-layout.is-filters-collapsed .nf-filters {
  display: none;
}

.nf-filters {
  position: sticky;
  top: 108px;
  align-self: flex-start;
  border-radius: 18px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  padding: 14px 14px 16px;
  max-height: none;
  overflow: visible;
  box-shadow: var(--nf-shadow-subtle);
  min-width: 0;
  width: 100%;
  
}

.nf-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.nf-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: var(--nf-color-surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  box-shadow: 0 4px 12px rgba(var(--nf-graphite-rgb), 0.04);
  
}

.nf-filters-toggle:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.08);
  }

.nf-filters-toggle-icon {
  font-size: 10px;
  color: var(--nf-color-muted);
}

.nf-filters-body {
  margin-top: 8px;
}

.nf-filters-body.is-collapsed {
  display: none;
}

.nf-link-btn {
  border: none;
  background: none;
  color: var(--nf-color-primary-dark);
  font-size: 12px;
  cursor: pointer;
  font-weight: 700;
}

.nf-filter-block {
  margin-bottom: 12px;
}

.nf-filter-label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--nf-color-text-muted);
}

.nf-filters .nf-select {
  width: 100%;
  min-width: 0;
}

.nf-input,
.nf-select,
.nf-textarea {
  width: 100%;
  border-radius: var(--nf-radius-ui);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background: var(--nf-color-surface);
  transition:
    border-color var(--nf-transition-fast),
    box-shadow var(--nf-transition-fast);
}

.nf-input:focus,
.nf-select:focus,
.nf-textarea:focus {
  border-color: rgba(var(--nf-accent-rgb), 0.65);
  box-shadow: var(--nf-shadow-xs), 0 0 0 3px rgba(var(--nf-accent-rgb), 0.12);
}


.nf-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(to bottom, var(--nf-color-surface), var(--nf-color-surface-subtle)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2351a8b1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: 100% 100%, 12px 12px;
}

.nf-select::-ms-expand {
  display: none;
}



.nf-select-shell {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nf-select-shell.is-open {
  z-index: 300;
}

.nf-select-shell .nf-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.nf-select-display {
  width: 100%;
  min-width: 0;
  border-radius: var(--nf-radius-ui);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  background: linear-gradient(to bottom, var(--nf-color-surface), var(--nf-color-surface-subtle));
  color: var(--nf-color-text-strong);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(var(--nf-graphite-rgb), 0.04);
  
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-select-display::after {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2351a8b1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.nf-select-shell.is-open .nf-select-display {
  border-color: rgba(var(--nf-accent-rgb), 0.8);
  box-shadow: 0 10px 26px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  border-radius: 16px;
  background: var(--nf-color-surface);
  box-shadow: 0 18px 40px rgba(var(--nf-graphite-rgb), 0.18);
  border: 1px solid var(--nf-color-border);
  padding: 6px;
  z-index: 301;
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nf-select-menu::-webkit-scrollbar {
  width: 6px;
}

.nf-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.nf-select-menu::-webkit-scrollbar-thumb {
  background: rgba(var(--nf-line-rgb), 0.8);
  border-radius: 999px;
}

.nf-select-shell.is-open .nf-select-menu {
  display: block;
}

.nf-select-option {
  width: 100%;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--nf-color-text-strong);
  cursor: pointer;
  
}

.nf-select-option:hover {
  background: var(--nf-color-surface-alt);
  }

.nf-select-option.is-active {
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-text-primary);
  font-weight: 500;
}

.nf-catalog-main {
  border-radius: 24px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.05);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(var(--nf-graphite-rgb), 0.05);
  min-width: 0;
  width: 100%;
  
}

.nf-catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.nf-catalog-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.nf-catalog-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.nf-catalog-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
  min-width: 0;
}

.nf-catalog-controls-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.catalog-sort {
  flex: 1 1 auto;
  min-width: 0;
}

.catalog-sort .nf-sort-control {
  width: 100%;
  min-width: 0;
}

.nf-sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: var(--nf-color-surface);
  box-shadow: 0 4px 12px rgba(var(--nf-graphite-rgb), 0.04);
  min-width: 280px;
}

.nf-sort-control-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-muted);
  white-space: nowrap;
  flex: 0 0 auto;
}

.nf-sort-control .nf-select,
.nf-sort-control select {
  min-width: 180px;
  height: 36px;
  border: none;
  background: transparent;
  padding: 0 28px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  box-shadow: none;
  flex: 1 1 auto;
}

.nf-sort-control .nf-select:focus,
.nf-sort-control select:focus {
  outline: none;
  box-shadow: none;
}

.nf-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


@media (max-width: 768px) {
  .nf-container.nf-catalog-layout.nf-page-container--wide {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nf-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }

  .nf-catalog-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: 0;
  }

  .nf-catalog-controls-primary,
  .catalog-sort {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .nf-filters-toggle {
    display: none;
  }

  .nf-sort-control {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: block;
  }

  .nf-sort-control-label {
    display: none;
  }

  .nf-sort-control .nf-select,
  .nf-sort-control select,
  .nf-sort-control .nf-select-shell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .nf-sort-control .nf-select-shell {
    display: block;
    overflow: visible;
  }

  .nf-sort-control .nf-select-display {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 0 44px 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    background: var(--nf-color-surface-alt);
    border: 1px solid var(--nf-color-border);
    box-shadow: none;
    line-height: 1.1;
  }

  .nf-sort-control .nf-select-display::after {
    right: 14px;
    width: 18px;
    height: 18px;
    background-size: 14px 14px;
  }

  .nf-sort-control .nf-select-menu {
    left: 0;
    right: auto;
    width: auto;
    min-width: 240px;
    max-width: calc(100vw - 32px);
    border: 1px solid var(--nf-color-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    padding: 8px;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nf-sort-control .nf-select-option {
    min-height: 44px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
  }

  .nf-sort-control .nf-select-option + .nf-select-option {
    margin-top: 4px;
  }

  .catalog-view-toggle,
  .nf-view-switch {
    flex: 0 0 auto;
    align-self: center;
  }

  .catalog-view-toggle .nf-view-switch-btn,
  .nf-view-switch-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (max-width: 480px) {
  .nf-catalog-main {
    padding: 14px;
    overflow: visible;
  }

  .nf-catalog-toolbar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .nf-catalog-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .nf-sort-control .nf-select-display {
    min-height: 50px;
    padding: 0 42px 0 16px;
    font-size: 15px;
    font-weight: 600;
  }

  .nf-sort-control .nf-select-menu {
    top: calc(100% + 8px);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    z-index: 320;
  }

  .nf-view-switch {
    align-self: center;
  }
}

@media (max-width: 380px) {
  .nf-catalog-toolbar,
  .nf-catalog-controls,
  .nf-catalog-controls-primary,
  .nf-sort-control {
    min-width: 0;
    overflow: visible;
  }

  .nf-catalog-main {
    overflow: visible;
  }

  .nf-catalog-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .nf-catalog-controls-primary,
  .catalog-sort {
    display: block;
    width: 100%;
  }

  .nf-sort-control,
  .nf-sort-control .nf-select-shell {
    width: 100%;
  }

  .nf-view-switch {
    display: inline-flex;
    flex: 0 0 auto;
    max-width: 100%;
    width: fit-content;
    align-self: flex-start;
  }

  .nf-view-switch-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}



.nf-products-large .nf-product-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1.4fr) minmax(0, 140px);
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
}

.nf-products-large .nf-product-body {
  margin-bottom: 0;
  min-width: 0;
}

.nf-products-large .nf-product-footer {
  flex-direction: row;
  flex-wrap: wrap;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  gap: 8px;
  align-items: center;
}

.nf-products-large .nf-product-footer .nf-price,
.nf-products-large .nf-product-footer .nf-price-muted { order: 0; }
.nf-products-large .nf-product-actions { order: 0; flex: 0 0 auto; }

.nf-products-list .nf-product-card {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 100px minmax(0, 2fr) minmax(0, 120px) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
}

.nf-products-list .nf-product-body { min-width: 0; margin-bottom: 0; }
.nf-products-list .nf-product-footer {
  flex-direction: row;
  flex-wrap: wrap;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  gap: 6px;
  align-items: center;
}
.nf-products-list .nf-product-footer .nf-price,
.nf-products-list .nf-product-footer .nf-price-muted { order: 0; }
.nf-products-list .nf-product-actions { order: 0; }

#catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-list,
#catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-list-mode {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  grid-template-columns: none !important;
}

#catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-large {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

#catalogProducts.nf-products-list .nf-product-card,
#catalogProducts.nf-products-list-mode .nf-product-card {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 100px minmax(0, 2fr) minmax(0, 120px) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
}

#catalogProducts.nf-products-list .nf-product-body,
#catalogProducts.nf-products-list-mode .nf-product-body {
  min-width: 0;
  margin-bottom: 0;
}

#catalogProducts.nf-products-list .nf-product-footer,
#catalogProducts.nf-products-list-mode .nf-product-footer {
  flex-direction: row;
  flex-wrap: wrap;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  gap: 6px;
  align-items: center;
}

#catalogProducts.nf-products-list .nf-product-footer .nf-price,
#catalogProducts.nf-products-list .nf-product-footer .nf-price-muted,
#catalogProducts.nf-products-list-mode .nf-product-footer .nf-price,
#catalogProducts.nf-products-list-mode .nf-product-footer .nf-price-muted {
  order: 0;
}

#catalogProducts.nf-products-list .nf-product-actions,
#catalogProducts.nf-products-list-mode .nf-product-actions {
  order: 0;
}

@media (max-width: 1024px) {
  #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb,
  #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb {
    max-width: 100%;
  }

  #catalogProducts.nf-products-list .nf-product-card,
  #catalogProducts.nf-products-list-mode .nf-product-card,
  #catalogProducts.nf-products-large .nf-product-card {
    grid-template-columns: 110px minmax(0, 1.5fr);
    grid-template-rows: auto auto;
  }

  #catalogProducts.nf-products-list .nf-product-card > :nth-child(3),
  #catalogProducts.nf-products-list .nf-product-card > :nth-child(4),
  #catalogProducts.nf-products-list-mode .nf-product-card > :nth-child(3),
  #catalogProducts.nf-products-list-mode .nf-product-card > :nth-child(4),
  #catalogProducts.nf-products-large .nf-product-card > :nth-child(3) {
    grid-column: 1 / -1;
  }
}


@media (max-width: 768px) {
  .nf-catalog-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-left: 0 !important;
    flex-wrap: nowrap !important;
  }

  .nf-catalog-controls-primary,
  .catalog-sort {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
  }

  .nf-sort-control {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nf-sort-control-label {
    display: none !important;
  }

  .nf-sort-control .nf-select-shell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: block !important;
  }

  .nf-sort-control .nf-select-display {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 0 44px 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--nf-color-border) !important;
    background: var(--nf-color-surface-alt) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--nf-color-text-strong) !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nf-sort-control .nf-select-display::after {
    right: 14px !important;
    width: 18px !important;
    height: 18px !important;
    background-size: 14px 14px !important;
  }

}

@media (max-width: 480px) {
  .nf-sort-control .nf-select-display {
    min-height: 50px !important;
    font-size: 15px !important;
    padding: 0 42px 0 16px !important;
  }
}


@media (max-width: 768px) {
  .nf-container.nf-catalog-layout.nf-page-container--wide {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    gap: 10px !important;
  }

  .nf-filters {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    border-radius: 18px !important;
    margin-bottom: 8px !important;
  }

  .nf-catalog-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px !important;
    border-radius: 18px !important;
  }

  .nf-catalog-toolbar {
    margin-bottom: 12px !important;
  }

  #catalogProducts.nf-products-grid.nf-catalog-grid {
    gap: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .nf-product-card {
    padding: 8px !important;
    border-radius: 16px !important;
  }

  .nf-product-thumb {
    margin-bottom: 8px !important;
  }
}

@media (max-width: 480px) {
  .nf-container.nf-catalog-layout.nf-page-container--wide {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 8px !important;
  }

  .nf-filters {
    padding: 8px !important;
    border-radius: 16px !important;
  }

  .nf-catalog-main {
    padding: 6px !important;
    border-radius: 16px !important;
  }

  #catalogProducts.nf-products-grid.nf-catalog-grid {
    gap: 8px !important;
  }

  .nf-product-card {
    padding: 8px !important;
    border-radius: 15px !important;
  }
}



@media (max-width: 768px) {

  
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    gap: 6px !important;
  }

  
  .nf-product-card {
    padding: 6px !important;
    border-radius: 14px !important;
  }

  
  .nf-product-thumb {
    margin-bottom: 6px !important;
  }

  .nf-product-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .nf-page-catalog #catalogProducts .nf-product-card--catalog .nf-product-thumb-inner img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

}


@media (max-width: 480px) {

  #catalogProducts.nf-products-grid.nf-catalog-grid {
    gap: 5px !important;
  }

  .nf-product-card {
    padding: 6px !important;
  }

}


.nf-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(100%, 380px);
  min-width: 0;
  padding: 4px 5px 4px 10px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.28);
  font-size: 13px;
  color: var(--nf-color-text-tertiary);
  flex-shrink: 1;
}

.nf-filter-chip__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-filter-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--nf-color-muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(var(--nf-line-rgb), 0.35);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.nf-filter-chip__remove:hover {
  background: color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  color: var(--nf-color-text-primary);
  box-shadow: 0 0 0 1px rgba(var(--nf-line-rgb), 0.6);
}

/* Subcategory chip — slightly distinct look */
.nf-filter-chip--subcat {
  background: rgba(77,160,169,0.08);
  border-color: rgba(77,160,169,0.32);
  font-weight: 580;
}
.nf-filter-chip--subcat .nf-filter-chip__text::before {
  content: "↳ ";
  opacity: 0.55;
  font-weight: 400;
}

/* ── Catalog empty state ──────────────────────────────────────── */
.nf-catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  gap: 12px;
  grid-column: 1 / -1;
  color: rgba(26,36,35,0.38);
}
.nf-catalog-empty__icon {
  margin-bottom: 4px;
  opacity: 0.5;
}
.nf-catalog-empty__title {
  font-size: 16px;
  font-weight: 650;
  color: rgba(26,36,35,0.55);
  margin: 0;
}
.nf-catalog-empty__text {
  font-size: 13px;
  margin: 0;
  color: rgba(26,36,35,0.38);
  max-width: 280px;
}
.nf-catalog-empty__btn {
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid rgba(77,160,169,0.35);
  background: rgba(77,160,169,0.07);
  color: #0e5f6e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.nf-catalog-empty__btn:hover {
  background: rgba(77,160,169,0.14);
  border-color: rgba(77,160,169,0.55);
}




@media (min-width: 769px) {
  .nf-popular__carousel-wrap {
    position: relative;
    overflow: hidden;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    overflow: hidden !important;
    margin-top: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--nf-color-surface-subtle), var(--nf-color-accent-soft));
    padding: 10px 0 14px;
    width: 100%;
    max-width: 100%;
  }

  .nf-popular__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    padding-inline: 18px !important;
    width: max-content !important;
    min-width: 100% !important;
  
  }

  .nf-popular:not(.nf-home-section) .nf-product-card--popular {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  .nf-popular__nav {
    display: none !important;
  }
}




@media (min-width: 769px) {
  .nf-popular__carousel-wrap {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y !important;
    background: linear-gradient(135deg, var(--nf-color-surface-subtle), var(--nf-color-accent-soft)) !important;
    border-radius: 22px !important;
    padding: 10px 0 14px !important;
    margin-top: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .nf-popular__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    gap: 24px !important;
    padding-inline: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: max-content !important;
    min-width: 100% !important;
  
  }

  .nf-popular:not(.nf-home-section) .nf-product-card--popular,
  .nf-popular:not(.nf-home-section) .nf-popular__track .nf-product-card--popular {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    scroll-snap-align: none !important;
  }

  .nf-popular__nav {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .nf-popular__viewport {
    cursor: grab;
  }

  .nf-popular__viewport:active {
    cursor: grabbing;
  }
}


@media (max-width: 768px) {
  .nf-popular:not(.nf-home-section) .nf-popular__carousel-wrap {
    overflow: visible;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 18px !important;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport::-webkit-scrollbar {
    display: none;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    padding: 2px 16px 6px !important;
    width: max-content !important;
    min-width: 100% !important;
  }

  .nf-popular:not(.nf-home-section) .nf-product-card--popular,
  .nf-popular:not(.nf-home-section) .nf-popular__track .nf-product-card--popular {
    flex: 0 0 clamp(240px, 78vw, 300px) !important;
    width: clamp(240px, 78vw, 300px) !important;
    min-width: clamp(240px, 78vw, 300px) !important;
    max-width: clamp(240px, 78vw, 300px) !important;
    scroll-snap-align: start !important;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nf-popular:not(.nf-home-section) .nf-popular__carousel-wrap {
    overflow: visible;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 18px;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport::-webkit-scrollbar {
    display: none;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: max-content !important;
    min-width: 100% !important;
    padding: 2px 16px 6px !important;
  }

  .nf-popular:not(.nf-home-section) .nf-product-card--popular {
    flex: 0 0 clamp(240px, 78vw, 300px) !important;
    width: clamp(240px, 78vw, 300px) !important;
    min-width: clamp(240px, 78vw, 300px) !important;
    max-width: clamp(240px, 78vw, 300px) !important;
    scroll-snap-align: start;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__nav {
    display: none !important;
  }

  /* Главная: карусель на transform — только hidden, без native scroll */
  .nf-popular.nf-home-section .nf-popular__viewport {
    overflow: hidden !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
    touch-action: pan-y !important;
  }
}



.nf-contacts-page {
  padding-bottom: 0;
}

.nf-contacts-page-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}


.nf-contacts-hero--premium {
  margin-bottom: 0;
  padding: clamp(18px, 2.2vw, 26px) clamp(16px, 2.2vw, 24px);
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface-subtle);
  border: 1px solid rgba(var(--nf-line-rgb), 0.12);
  box-shadow: none;
}


.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: center;
}

.contact-hero-media {
  min-width: 0;
  height: 260px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(var(--nf-accent-rgb), 0.15),
    rgba(var(--nf-accent-rgb), 0.05)
  );
  border: 1px solid var(--nf-color-border);
}

.contact-office-media {
  margin-top: 0;
  flex: 1 1 auto;
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(var(--nf-accent-rgb), 0.12),
    rgba(var(--nf-accent-rgb), 0.04)
  );
  border: 1px solid var(--nf-color-border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nf-contacts-hero-content {
  max-width: min(640px, 100%);
  margin-inline: 0;
  width: 100%;
}

.nf-contacts-hero-main {
  min-width: 0;
}

.nf-contacts-hero-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
}

.nf-contacts-hero--premium .nf-contacts-hero-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.15vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--nf-color-text-primary);
}

.nf-contacts-hero-lead {
  margin: 0 0 clamp(14px, 1.8vw, 18px);
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
}

.nf-contacts-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-contacts-hero-points li {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 10px 0 10px 2px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.12);
  box-shadow: none;
}

.nf-contacts-hero-points li:first-child {
  border-top: none;
  padding-top: 0;
}

.nf-contacts-hero-points li:last-child {
  padding-bottom: 0;
}

.nf-contacts-hero-points li::before {
  content: "";
  width: 3px;
  flex-shrink: 0;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--nf-color-accent), var(--nf-color-accent-hover));
}

.nf-contacts-hero-point-body {
  min-width: 0;
  flex: 1;
  padding-bottom: 2px;
}

.nf-contacts-hero-point-key {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  margin-bottom: 3px;
  letter-spacing: 0;
}

.nf-contacts-hero-point-val {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--nf-color-text-muted);
}


.nf-contacts-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--nf-radius-lg);
  background: color-mix(in srgb, var(--nf-color-surface-alt) 55%, var(--nf-color-surface) 45%);
  border: 1px solid rgba(var(--nf-line-rgb), 0.16);
  box-shadow: var(--nf-shadow-xs);
}

.nf-contacts-hub-primary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nf-contacts-hub-head {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.1);
}

.nf-contacts-hub-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nf-color-text-primary);
}

.nf-contacts-hub-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-muted);
  max-width: 54ch;
}

.nf-contacts-cards--hub {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nf-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
  box-shadow: 0 2px 12px rgba(var(--nf-graphite-rgb), 0.04);
  overflow: hidden;
  transition:
    border-color var(--nf-transition-ui),
    box-shadow var(--nf-transition-ui);
}

.nf-contact-card:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  box-shadow: 0 8px 24px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-contact-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
  background: color-mix(in srgb, var(--nf-color-surface) 94%, var(--nf-color-accent-soft) 6%);
}

.nf-contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: 22px;
  background-repeat: no-repeat;
  background-position: center;
}

.nf-contact-card-phone .nf-contact-card-icon {
  background-color: rgba(var(--nf-accent-rgb), 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a636d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}

.nf-contact-card-email .nf-contact-card-icon {
  background-color: rgba(var(--nf-accent-rgb), 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a636d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.nf-contact-card-address .nf-contact-card-icon {
  background-color: rgba(var(--nf-accent-rgb), 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a636d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.nf-contact-card-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nf-contact-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nf-color-text-primary);
}

.nf-contact-card-role {
  font-size: 13px;
  line-height: 1.45;
  color: var(--nf-color-text-muted);
}

.nf-contact-card-body {
  padding: 14px 18px 16px;
}

.nf-contact-card-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.nf-contact-card-sep {
  color: var(--nf-color-placeholder);
  font-weight: 400;
}

.nf-contact-card-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--nf-color-text-tertiary);
}

.nf-contact-card-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  text-decoration: none;
}

.nf-contact-card-value:hover {
  color: var(--nf-color-accent-contrast);
}

.nf-contact-card-value--solo {
  display: inline-block;
}

.nf-contact-card-addresses {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  line-height: 1.45;
}

.nf-contact-card-address-alt {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-muted);
  margin-top: 6px;
}

.nf-contact-card-actions {
  padding: 0 18px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.nf-contacts-when {
  padding: 18px 20px 20px;
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface);
  border: 1px dashed rgba(var(--nf-accent-rgb), 0.22);
}

.nf-contacts-when-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-color-text-primary);
}

.nf-contacts-when-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
}

.nf-contacts-when-list li {
  margin-bottom: 6px;
}

.nf-contacts-when-list li:last-child {
  margin-bottom: 0;
}

.nf-contacts-hub-aside {
  position: sticky;
  top: 92px;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}


.nf-contacts-guides {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nf-contacts-guides-intro {
  max-width: 64ch;
}

.nf-contacts-guides-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-contacts-guides-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nf-color-text-muted);
}

.nf-contacts-tabs--premium {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  margin: 0;
  border-radius: var(--nf-radius-md);
  background: color-mix(in srgb, var(--nf-color-surface-subtle) 80%, var(--nf-color-accent-soft) 20%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.12);
}

.nf-contacts-tabs--premium .nf-tab-btn {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nf-color-text-secondary);
}

.nf-contacts-tabs--premium .nf-tab-btn:hover {
  background: color-mix(in srgb, var(--nf-color-surface) 85%, var(--nf-color-accent-soft) 15%);
  color: var(--nf-color-text-primary);
}

.nf-contacts-tabs--premium .nf-tab-btn.nf-tab-btn-active {
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.2);
  color: var(--nf-color-accent-contrast);
  box-shadow: 0 2px 8px rgba(var(--nf-graphite-rgb), 0.05);
}

.nf-contacts-info-extra {
  border-radius: var(--nf-radius-lg);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  padding: clamp(20px, 3vw, 28px) clamp(18px, 2.5vw, 26px);
  box-shadow: var(--nf-shadow-xs);
  margin: 0;
}

.nf-contacts-info-panel {
  display: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--nf-color-text-secondary);
}

.nf-contacts-info-panel.nf-tab-active {
  display: block;
}

.nf-contacts-info-panel h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-contacts-info-panel p {
  margin: 0 0 10px;
}

.nf-contacts-info-panel ul,
.nf-contacts-info-panel ol {
  padding-left: 20px;
  margin: 0 0 8px;
}


.nf-contacts-form-section {
  margin-bottom: 0;
}

.nf-contacts-form-shell {
  border-radius: var(--nf-radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  background:
    linear-gradient(165deg, var(--nf-color-surface) 0%, color-mix(in srgb, var(--nf-color-surface-subtle) 92%, var(--nf-color-accent-soft) 8%) 100%);
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  box-shadow: var(--nf-shadow-sm);
}

.nf-contacts-form-head {
  margin-bottom: clamp(22px, 3vw, 28px);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.1);
  max-width: 62ch;
}

.nf-contacts-form-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-contacts-form-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nf-color-text-muted);
}

.nf-form-contacts--premium {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-form-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: none;
  min-inline-size: 0;
}

.nf-form-legend {
  padding: 0;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
}

.nf-form-grid {
  display: grid;
  gap: 16px 18px;
}

.nf-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nf-form-field {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-secondary);
}

.nf-form-field--full {
  grid-column: 1 / -1;
}

.nf-form-field .nf-input,
.nf-form-field .nf-textarea,
.nf-form-field .nf-select {
  margin-top: 6px;
  width: 100%;
}

.nf-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.nf-contacts-submit {
  min-width: min(280px, 100%);
  min-height: 48px;
  padding-inline: 28px;
}

.nf-form-footnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--nf-color-text-tertiary);
  max-width: 56ch;
}

.nf-form {
  border-radius: 18px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.nf-form-contacts.nf-form {
  background: transparent;
  border: none;
  padding: 0;
}

.nf-form h2 {
  margin-top: 0;
  font-size: 20px;
}

.nf-form-row {
  margin-bottom: 14px;
}

.nf-form-row label {
  font-size: 13px;
  display: block;
  color: var(--nf-color-text);
}

.nf-form-row-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 768px) {
  .nf-form-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-form-row-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-form .nf-btn-primary,
  .nf-form .nf-btn-full {
    width: 100%;
  }

  .nf-contacts-submit {
    width: 100%;
  }
}

.nf-field-error {
  display: block;
  font-size: 11px;
  color: var(--nf-error);
  min-height: 14px;
  margin-top: 2px;
}

.nf-form-success {
  margin-top: 12px;
  font-size: 14px;
  color: var(--nf-success);
  font-weight: 500;
}



.nf-contacts-map-wrap {
  position: sticky;
  top: 100px;
}

.nf-map-card {
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  overflow: hidden;
  box-shadow: var(--nf-shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.nf-map-card--premium {
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  box-shadow: 0 4px 20px rgba(var(--nf-graphite-rgb), 0.06);
  min-height: 0;
}

.nf-map-card-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--nf-color-surface-subtle), color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%));
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.14);
}

.nf-map-card-header--premium {
  align-items: flex-start;
  gap: 12px;
}

.nf-map-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nf-map-card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
}

.nf-map-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-map-card-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  background: color-mix(in srgb, var(--nf-color-surface) 94%, var(--nf-color-accent-soft) 6%);
  color: var(--nf-color-text-primary);
}

.nf-map-card-meta {
  padding: 14px 18px;
  background: var(--nf-color-surface);
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
}

.nf-map-card-address {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
}

.nf-map-card-address-note {
  margin: 0;
  font-size: 13px;
  color: var(--nf-color-text-muted);
  line-height: 1.45;
}

.nf-map-card-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nf-color-primary), var(--nf-color-primary-dark));
  color: var(--nf-color-surface);
}

.nf-map-card-body {
  flex: 1;
  min-height: 280px;
  position: relative;
  background: linear-gradient(160deg, var(--nf-color-surface-alt) 0%, var(--nf-color-border-strong) 50%, var(--nf-color-border-strong) 100%);
  display: flex;
  flex-direction: column;
}

.nf-map-card--premium .nf-map-card-body {
  min-height: min(320px, 52vh);
}

.nf-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.nf-map-leaflet {
  width: 100%;
  min-height: 280px;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nf-map-card-body .nf-map-leaflet + .nf-map-card-open-link {
  z-index: 1;
}

.nf-map-card-open-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  background: var(--nf-color-surface);
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  box-shadow: 0 4px 14px rgba(var(--nf-graphite-rgb), 0.1);
}

.nf-map-card-open-link:hover {
  color: var(--nf-color-accent-contrast);
  border-color: rgba(var(--nf-accent-rgb), 0.35);
  box-shadow: 0 6px 18px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-map-card-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(var(--nf-accent-rgb), 0.15), transparent 70%);
  pointer-events: none;
}

.nf-map-card-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(145deg, var(--nf-color-primary), var(--nf-color-primary-dark));
  box-shadow: 0 4px 14px rgba(61, 122, 115, 0.45);
  
}

.nf-map-card-pin::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--nf-color-surface);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}





.nf-map-card-footer {
  padding: 10px 18px;
  font-size: 12px;
  color: var(--nf-color-text-muted);
  background: var(--nf-color-surface-subtle);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}


.nf-contacts-map {
  border-radius: 18px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  padding: 12px;
  box-shadow: var(--nf-shadow-subtle);
}

.nf-map-placeholder {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nf-color-hairline), var(--nf-color-border));
  display: flex;
  flex-direction: column;
}

.nf-map-header,
.nf-map-footer {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--nf-color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nf-map-tag {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(var(--nf-graphite-rgb), 0.72);
  color: var(--nf-color-surface);
}

.nf-map-body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.nf-map-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--nf-color-primary-dark);
  box-shadow: 0 0 0 12px rgba(var(--nf-accent-rgb), 0.28);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
}



.nf-about-page {
  --nf-about-section-y: clamp(40px, 5vw, 60px);
  --nf-about-head-gap: clamp(18px, 2.2vw, 26px);
  --nf-about-col-gap: clamp(24px, 3.5vw, 44px);
  padding: 0;
  background: transparent;
  color: var(--nf-color-text);
}

.nf-about-page .nf-page-container > .nf-about-hero {
  margin-inline: calc(-1 * var(--nf-page-container-padding-inline));
}

@media (max-width: 768px) {
  .nf-about-page .nf-page-container > .nf-about-hero {
    margin-inline: -16px;
  }
}

.nf-about-hero {
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-radius: 0 0 var(--nf-radius-lg) var(--nf-radius-lg);
  background: linear-gradient(135deg, var(--nf-hero-dark-1) 0%, var(--nf-hero-dark-2) 50%, var(--nf-hero-dark-3) 100%);
  color: rgba(248, 250, 252, 0.98);
  overflow: hidden;
}

.nf-about-hero-shell {
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
  padding: 48px var(--nf-page-container-padding-inline) 52px;
  position: relative;
  z-index: 1;
}

.nf-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: var(--nf-about-col-gap, clamp(28px, 4vw, 48px));
  align-items: start;
}

.nf-about-hero-main {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vw, 22px);
  padding-bottom: 6px;
}

.nf-about-hero-kicker {
  margin: 0;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(178, 222, 218, 0.9);
}

.nf-about-hero-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: min(36rem, 100%);
}

.nf-about-hero-subtitle {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  color: rgba(208, 228, 226, 0.92);
  max-width: 38rem;
  font-weight: 400;
}

.nf-about-hero-points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 40rem;
}

.nf-about-hero-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(198, 220, 218, 0.92);
}

.nf-about-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: rgba(var(--nf-accent-rgb), 0.85);
}

.nf-about-hero-aside {
  border-radius: var(--nf-radius-lg);
  padding: 26px 24px 28px;
  background: var(--nf-color-hero-panel);
  border: 1px solid rgba(120, 188, 182, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nf-about-hero-aside-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(132, 208, 202, 0.92);
}

.nf-about-hero-approach {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-about-hero-approach > li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-about-hero-approach > li:first-child {
  border-top: none;
  padding-top: 0;
}

.nf-about-hero-approach-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
}

.nf-about-hero-approach-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(184, 210, 208, 0.88);
}

@media (max-width: 900px) {
  .nf-about-hero-shell {
    padding: 40px var(--nf-page-container-padding-inline) 36px;
  }

  .nf-about-hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .nf-about-hero-aside {
    padding: 22px 20px 24px;
  }
}

@media (max-width: 768px) {
  .nf-about-hero {
    border-radius: 0 0 var(--nf-radius-md) var(--nf-radius-md);
  }

  .nf-about-hero-shell {
    padding: 32px 18px 36px;
  }
}


.nf-about-page .nf-about-section {
  padding: var(--nf-about-section-y) 0 0;
  margin: 0;
  box-sizing: border-box;
}

.nf-about-page .nf-about-section:last-child {
  padding-bottom: var(--nf-about-section-y);
}

.nf-about-section-eyebrow {
  margin: 0 0 clamp(8px, 1vw, 10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nf-color-primary-dark);
}

.nf-about-section-title {
  margin: 0 0 var(--nf-about-head-gap);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--nf-color-text);
}

.nf-about-section-title--feature {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 620;
  letter-spacing: -0.028em;
  margin-bottom: var(--nf-about-head-gap);
}

.nf-about-section-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--nf-color-text);
}

.nf-about-section-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--nf-color-text-muted);
}

.nf-about-section-head {
  width: 100%;
  max-width: none;
  margin: 0 0 var(--nf-about-head-gap);
}

.nf-about-section-head--center {
  text-align: center;
  margin-bottom: var(--nf-about-head-gap);
}

.nf-about-section-head--center .nf-about-section-intro {
  margin-left: auto;
  margin-right: auto;
}

.nf-about-section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: var(--nf-about-col-gap);
  align-items: start;
}

.nf-about-section-head-row .nf-about-section-intro {
  margin-top: 0;
}

@media (max-width: 768px) {
  .nf-about-section-head-row {
    grid-template-columns: 1fr;
  }
}

.nf-about-section-head-row .nf-about-section-title {
  margin-bottom: 0;
}

.nf-about-section-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--nf-color-text-muted);
  max-width: 34rem;
}

.nf-about-section-intro--narrow {
  max-width: 40rem;
}

.nf-about-section-head .nf-about-section-intro {
  margin-top: var(--nf-about-head-gap);
}

.nf-about-section-head .nf-about-section-title {
  margin-bottom: 0;
}

.nf-about-section-head .nf-about-section-eyebrow + .nf-about-section-title {
  margin-top: 0;
}


.nf-about-mission {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: var(--nf-about-col-gap);
  align-items: stretch;
  padding-bottom: var(--nf-about-head-gap);
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.22);
}

.nf-about-mission-primary {
  align-self: start;
  padding: 0;
  max-width: min(40rem, 100%);
}

.nf-about-mission-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(14px, 1.8vw, 20px);
  align-content: stretch;
  min-height: 100%;
}

.nf-about-mission-note {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--nf-radius-md);
  border: 1px solid rgba(216, 226, 222, 0.95);
  box-shadow: var(--nf-shadow-xs);
}

.nf-about-mission-note h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-color-text-muted);
}

.nf-about-mission-note ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text);
}

.nf-about-mission-note li + li {
  margin-top: 6px;
}


.nf-about-section-audience .nf-about-audience {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nf-about-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--nf-about-col-gap);
  align-items: stretch;
}

.nf-about-audience-item {
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px 26px;
  background: var(--nf-color-surface);
  border-radius: var(--nf-radius-card);
  border: 1px solid rgba(220, 230, 226, 0.95);
  box-shadow: var(--nf-shadow-xs);
  position: relative;
}

.nf-about-audience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--nf-color-primary),
    rgba(var(--nf-accent-rgb), 0.35)
  );
}

.nf-about-audience-item h3 {
  margin: 10px 0 12px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--nf-color-text);
}

.nf-about-audience-item p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-muted);
}


.nf-about-section-process .nf-about-process {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nf-about-process {
  list-style: none;
  margin: var(--nf-about-head-gap) 0 0;
  padding: var(--nf-about-head-gap) 0 0;
  border-top: 1px solid rgba(61, 90, 85, 0.14);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--nf-about-col-gap);
  row-gap: 0;
  align-items: stretch;
  position: relative;
}

.nf-about-process-step {
  margin: 0;
  box-sizing: border-box;
  padding: 22px clamp(16px, 2vw, 24px) 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.nf-about-process-step:not(:last-child) {
  border-right: 1px solid rgba(var(--nf-accent-rgb), 0.13);
}

.nf-about-process-index {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--nf-color-primary-dark);
}

.nf-about-process-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-about-process-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--nf-color-text);
}

.nf-about-process-body p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.6;
  color: var(--nf-color-text-muted);
}


.nf-about-section-values {
  padding-top: 0;
}

.nf-about-section-values .nf-about-values {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nf-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--nf-about-col-gap);
  align-items: stretch;
}

.nf-about-value {
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(245, 250, 248, 0.94) 100%
  );
  border-radius: var(--nf-radius-card);
  border: 1px solid var(--nf-color-primary-border);
}

.nf-about-value h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--nf-color-text);
}

.nf-about-value p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.62;
  color: var(--nf-color-text-muted);
}


.nf-about-section-closure {
  padding-top: 0;
  padding-bottom: 0;
}

.nf-about-closure {
  max-width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: var(--nf-about-head-gap) 0 0;
}

.nf-about-closure-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--nf-color-text-muted);
}

.nf-about-closure-link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nf-about-closure-link:hover {
  color: var(--nf-color-primary);
}

.nf-about-closure-link:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus);
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .nf-about-mission {
    grid-template-columns: 1fr;
    gap: var(--nf-about-col-gap);
  }

  .nf-about-mission-primary {
    max-width: none;
    padding-bottom: 0;
  }

  .nf-about-mission-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: clamp(14px, 2vw, 20px);
  }

  .nf-about-mission-note {
    min-height: 0;
  }

  .nf-about-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-about-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 40px);
    row-gap: 8px;
    padding-top: 24px;
  }

  .nf-about-process-step:nth-child(2) {
    border-right: none;
  }

  .nf-about-process-step {
    padding: 20px 18px 22px;
    border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.12);
  }

  .nf-about-process-step:nth-child(n + 3) {
    padding-top: 22px;
    border-bottom: none;
  }

  .nf-about-process-step:nth-child(odd) {
    border-right: 1px solid rgba(var(--nf-accent-rgb), 0.13);
  }

  .nf-about-process-step:nth-child(even) {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nf-about-values {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .nf-about-page {
    --nf-about-section-y: clamp(32px, 6vw, 44px);
    --nf-about-col-gap: clamp(16px, 4vw, 22px);
  }

  .nf-about-mission-side {
    grid-template-columns: 1fr;
  }

  .nf-about-audience {
    grid-template-columns: 1fr;
  }

  .nf-about-process {
    display: flex;
    flex-direction: column;
    border-top: none;
    padding-top: 12px;
    gap: 0;
  }

  .nf-about-process-step {
    padding: 22px 16px 22px 24px;
    border-right: none;
    border-left: 2px solid rgba(var(--nf-accent-rgb), 0.32);
  }

  .nf-about-process-step:not(:last-child) {
    border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.12);
  }

  .nf-about-section-head--center {
    text-align: left;
  }

  .nf-about-section-head--center .nf-about-section-intro {
    margin-left: 0;
  }
}



/* ── Legal page redesign ─────────────────────────────────────── */
.nf-legal {
  padding-bottom: 80px;
}

/* Hero */
.nf-legal-hero {
  position: relative;
  padding: 52px 32px 44px;
  margin-bottom: 0;
  overflow: hidden;
}

.nf-legal-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(var(--nf-accent-rgb), 0.06) 0%,
    rgba(var(--nf-accent-rgb), 0.02) 50%,
    transparent 100%);
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.08);
}

.nf-legal-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nf-legal-hero__icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--nf-accent-rgb), 0.09);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-color-accent);
}

.nf-legal-hero__title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
  letter-spacing: -0.01em;
}

.nf-legal-hero__sub {
  margin: 0;
  font-size: 14px;
  color: var(--nf-color-text-secondary);
  line-height: 1.6;
}

/* Tab navigation */
.nf-legal-tabs-outer {
  padding: 0 32px;
  max-width: calc(860px + 64px);
  margin: 0 auto 28px;
}

.nf-legal-tabs {
  gap: 6px;
  border-bottom: 2px solid var(--nf-color-hairline);
  padding-bottom: 0;
}

.nf-legal-tab-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 10px 16px 12px !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--nf-color-text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  transition: color 0.18s ease;
  margin-bottom: -2px;
}

.nf-legal-tab-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nf-color-accent);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.nf-legal-tab-btn.nf-tab-btn-active {
  color: var(--nf-color-accent) !important;
  background: transparent !important;
}

.nf-legal-tab-btn.nf-tab-btn-active::after {
  opacity: 1;
}

.nf-legal-tab-btn:hover {
  color: var(--nf-color-text-primary) !important;
  background: transparent !important;
}

.nf-legal-tab-icon {
  color: inherit;
  flex: 0 0 auto;
}

/* Panels */
.nf-legal-panels {
  padding: 0 32px;
  max-width: calc(860px + 64px);
  margin: 0 auto;
}

/* Card */
.nf-legal-card {
  background: var(--nf-color-surface);
  border: 1px solid var(--nf-color-hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px -2px rgba(0,0,0,0.06), 0 1px 3px -1px rgba(0,0,0,0.04);
}

.nf-legal-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--nf-color-hairline);
  background: linear-gradient(135deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface) 100%);
}

.nf-legal-card__head-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--nf-accent-rgb), 0.08);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-color-accent);
}

.nf-legal-card__title {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-legal-card__meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--nf-color-text-secondary);
}

.nf-legal-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Content sections */
.nf-legal-section__title {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nf-legal-section p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--nf-color-text-secondary);
}

/* Note */
.nf-legal-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 18px;
  background: rgba(var(--nf-accent-rgb), 0.05);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.10);
  border-radius: 10px;
  color: var(--nf-color-accent-contrast);
  font-size: 13px;
  line-height: 1.6;
}

.nf-legal-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Requisites grid */
.nf-legal-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--nf-color-hairline);
  border: 1px solid var(--nf-color-hairline);
  border-radius: 12px;
  overflow: hidden;
}

.nf-legal-req-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--nf-color-surface);
}

.nf-legal-req-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nf-color-text-secondary);
}

.nf-legal-req-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--nf-color-text-primary);
  line-height: 1.5;
}

.nf-legal-req-link {
  color: var(--nf-color-accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nf-legal-req-link:hover { opacity: 0.75; }

/* Legacy layout class kept for backwards compat */
.nf-legal-layout { max-width: 900px; margin: 0 auto; }
.nf-legal-body { max-height: none; }
.nf-legal-body h2 { margin-top: 0; margin-bottom: 10px; font-size: 18px; }
.nf-legal-body p { margin: 0 0 10px; line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
  .nf-legal-hero { padding: 36px 20px 28px; }
  .nf-legal-hero__title { font-size: 22px; }
  .nf-legal-hero__icon { width: 46px; height: 46px; }
  .nf-legal-tabs-outer,
  .nf-legal-panels { padding: 0 16px; }
  .nf-legal-card__head { padding: 20px 20px 16px; gap: 12px; }
  .nf-legal-card__body { padding: 20px 20px 24px; gap: 20px; }
  .nf-legal-req-grid { grid-template-columns: 1fr; }
  .nf-legal-tab-btn span { display: none; }
  .nf-legal-tab-btn { padding: 10px 14px 12px !important; }
}



.nf-admin-page {
  margin: 0;
  padding: 24px 24px 26px;
  max-width: none;
  border-radius: 0;
  background: radial-gradient(circle at 0 -20%, rgba(var(--nf-line-rgb), 0.22), transparent 60%),
    radial-gradient(circle at 110% 120%, rgba(var(--nf-accent-rgb), 0.18), transparent 60%),
    var(--nf-admin-bg);
  color: var(--nf-color-text);
}

.nf-admin-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: 18px;
}

.nf-admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.35);
}

.nf-admin-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-admin-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.8);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-admin-accent-strong);
  background: rgba(var(--nf-accent-rgb), 0.08);
}

.nf-admin-title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--nf-color-text);
}

.nf-admin-subtitle-main {
  margin: 0;
  font-size: 13px;
  color: var(--nf-color-text-muted);
}

.nf-admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-admin-user-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-line-rgb), 0.7);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nf-admin-user-chip span:first-child {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, var(--nf-color-accent), var(--nf-color-accent-contrast));
}

.nf-admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 18px;
  align-items: flex-start;
}

.nf-admin-sidebar {
  border-radius: var(--nf-admin-radius-lg);
  background: var(--nf-admin-sidebar-bg);
  border: 1px solid rgba(var(--nf-line-rgb), 0.45);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(var(--nf-line-rgb), 0.28);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-admin-nav-caption {
  padding: 4px 10px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nf-color-line-muted);
}

.nf-admin-nav-btn {
  width: 100%;
  border-radius: 12px;
  border: none;
  background: transparent;
  padding: 7px 10px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  color: var(--nf-color-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  
}

.nf-admin-nav-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nf-admin-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--nf-line-rgb), 0.9);
}

.nf-admin-nav-meta {
  font-size: 11px;
  color: var(--nf-color-placeholder);
}

.nf-admin-nav-btn:hover {
  background: rgba(var(--nf-line-rgb), 0.12);
  color: var(--nf-color-text-primary);
  }

.nf-admin-nav-btn-active {
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-contrast));
  color: var(--nf-color-surface-subtle);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(var(--nf-graphite-rgb), 0.18);
}

.nf-admin-nav-btn-active .nf-admin-nav-dot {
  background: color-mix(in srgb, var(--nf-success) 22%, var(--nf-color-surface) 78%);
}

.nf-admin-content {
  border-radius: 20px;
  background: var(--nf-admin-content-bg);
  border: 1px solid var(--nf-admin-border-subtle);
  padding: 20px 24px 24px;
  min-height: 260px;
  font-size: 14px;
  box-shadow: 0 18px 50px rgba(var(--nf-line-rgb), 0.35);
  color: var(--nf-color-text);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nf-admin-card-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nf-color-text);
}

.nf-admin-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--nf-color-text-muted);
}

.nf-admin-tabs {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(var(--nf-line-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--nf-line-rgb), 0.5);
}

.nf-admin-tab {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--nf-color-muted);
  cursor: pointer;
  
}

.nf-admin-tab.is-active {
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-contrast));
  color: var(--nf-color-surface);
  box-shadow: 0 6px 16px rgba(var(--nf-graphite-rgb), 0.18);
}

.nf-admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.nf-admin-metric {
  padding: 12px 14px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-line-rgb), 0.15), transparent 60%),
    var(--nf-color-surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 30px rgba(var(--nf-line-rgb), 0.35);
}

.nf-admin-metric .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nf-color-line-muted);
  margin-bottom: 4px;
}

.nf-admin-metric .v {
  font-size: 18px;
  font-weight: 700;
  color: var(--nf-color-surface-subtle);
}

.nf-admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.nf-admin-card--metrics {
  grid-column: auto;
  grid-row: auto;
}

.nf-admin-card--news {
  grid-column: auto;
  grid-row: auto;
}

.nf-admin-charts-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.nf-admin-chart {
  border-radius: 18px;
  padding: 10px 12px;
  background: radial-gradient(circle at 0 0, rgba(var(--nf-accent-rgb), 0.22), transparent 55%),
    rgba(var(--nf-graphite-rgb), 0.98);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.32);
  box-shadow: 0 20px 60px rgba(var(--nf-graphite-rgb), 0.9);
}

.nf-admin-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--nf-color-hairline);
  margin-bottom: 6px;
}

.nf-admin-chart-meta {
  font-size: 11px;
  color: var(--nf-color-placeholder);
}

.nf-admin-chart-body {
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, rgba(var(--nf-accent-rgb), 0.35), transparent 70%);
  position: relative;
  overflow: hidden;
  min-height: 72px;
}

.nf-admin-chart-body--line::before {
  content: "";
  position: absolute;
  inset: 18px 10px 10px;
  background-image: linear-gradient(to right, rgba(var(--nf-line-rgb), 0.2) 1px, transparent 1px),
    linear-gradient(to top, rgba(var(--nf-graphite-rgb), 0.8), rgba(var(--nf-accent-rgb), 0.45));
  background-size: 16px 100%, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.nf-admin-chart-body--donut::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background:
    conic-gradient(from 220deg, var(--nf-color-accent) 0 40%, var(--nf-color-accent-hover) 40% 70%, var(--nf-warning) 70% 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(var(--nf-accent-rgb), 0.4);
}

.nf-admin-chart-body--donut::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.96);
  transform: translate(-50%, -50%);
}

.nf-admin-chart-body--bar::before {
  content: "";
  position: absolute;
  inset: 16px 12px 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.nf-admin-chart-body--bar::after {
  content: "";
  position: absolute;
  inset: 16px 12px 10px;
  pointer-events: none;
  background-image: linear-gradient(to top, rgba(var(--nf-graphite-rgb), 0.7), transparent);
}

.nf-admin-chart-body--bar::before {
  content: "";
  position: absolute;
  inset: 16px 12px 10px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(var(--nf-accent-rgb), 0.85),
      rgba(var(--nf-accent-rgb), 0.85) 8px,
      transparent 8px,
      transparent 16px
    );
  border-radius: 10px;
  opacity: 0.9;
}

.nf-admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nf-admin-search {
  min-width: 180px;
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.85);
  font-size: 13px;
  background: rgba(var(--nf-graphite-rgb), 0.9);
  color: var(--nf-color-hairline);
}

.nf-admin-search:focus {
  outline: none;
  border-color: var(--nf-color-accent);
  box-shadow: 0 0 0 1px rgba(var(--nf-accent-rgb), 0.8);
  background: rgba(var(--nf-graphite-rgb), 0.98);
}

.nf-admin-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.nf-admin-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 13px;
}

.nf-admin-list li:last-child {
  border-bottom: none;
}

.nf-admin-list-title {
  font-weight: 500;
  color: var(--nf-color-hairline);
}

.nf-admin-list-meta {
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.nf-admin-back-btn {
  border-radius: 999px;
}

.nf-admin-image-preview-wrap {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-admin-image-preview {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.8);
  background: radial-gradient(circle at 0 0, rgba(var(--nf-line-rgb), 0.3), transparent 60%),
    rgba(var(--nf-graphite-rgb), 0.98);
  object-fit: contain;
}

.nf-admin-image-clear {
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  cursor: pointer;
  background: rgba(var(--nf-accent-rgb), 0.22);
  color: var(--nf-color-hairline);
  
}

.nf-admin-image-clear:hover {
  background: rgba(220, 38, 38, 0.4);
  color: color-mix(in srgb, var(--nf-error) 18%, var(--nf-color-surface) 82%);
  }

.nf-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.nf-admin-header-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-admin-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--nf-color-surface-subtle);
}

.nf-admin-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--nf-color-placeholder);
}

.nf-admin-status {
  min-height: 0;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nf-color-hairline);
  opacity: 0;
  transform: translateY(4px);
  
  align-self: flex-start;
}

.nf-admin-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nf-admin-status-success {
  background: rgba(var(--nf-accent-rgb), 0.14);
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  color: color-mix(in srgb, var(--nf-color-accent-soft) 80%, var(--nf-color-surface) 20%);
}

.nf-admin-status-error {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(248, 113, 113, 0.9);
  color: color-mix(in srgb, var(--nf-error) 35%, var(--nf-color-surface) 65%);
}

.nf-admin-content .nf-admin-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nf-color-hairline);
}

.nf-admin-card {
  margin-bottom: 18px;
}

.nf-admin-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  margin-top: 8px;
  max-height: 62vh;
  border-radius: 18px;
}

.nf-admin-table-wrap::-webkit-scrollbar {
  width: 6px;
}

.nf-admin-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.nf-admin-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 0.85), rgba(var(--nf-accent-rgb), 0.9));
}

.nf-admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 1), rgba(var(--nf-accent-rgb), 1));
}

.nf-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(var(--nf-graphite-rgb), 0.98);
}

.nf-admin-table th,
.nf-admin-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  line-height: 1.4;
  vertical-align: middle;
}

.nf-admin-table th {
  font-weight: 600;
  color: var(--nf-color-placeholder);
  background: linear-gradient(180deg, rgba(var(--nf-graphite-rgb), 0.98), rgba(var(--nf-graphite-rgb), 0.96));
}

.nf-admin-col-actions {
  text-align: center;
  width: 150px;
}

.nf-admin-table code {
  font-size: 12px;
  background: rgba(31, 41, 55, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
}

.nf-admin-table tbody tr:nth-child(odd) {
  background: rgba(var(--nf-graphite-rgb), 0.98);
}

.nf-admin-table tbody tr:nth-child(even) {
  background: rgba(var(--nf-graphite-rgb), 0.96);
}

.nf-admin-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(var(--nf-accent-rgb), 0.14), rgba(var(--nf-graphite-rgb), 0.98));
  
  box-shadow: 0 10px 24px rgba(var(--nf-graphite-rgb), 0.9);
}

.nf-admin-table tbody tr {
  
}

.nf-admin-table td {
  color: var(--nf-color-hairline);
}

.nf-admin-table td:nth-child(3) {
  font-weight: 500;
  word-break: break-word;
}

.nf-admin-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.nf-admin-table code {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.96);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.45);
  color: var(--nf-color-accent-soft);
}

.nf-admin-actions {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding-block: 2px;
  justify-content: center;
  flex-wrap: wrap;
}

.nf-admin-row-edit,
.nf-admin-row-del {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(var(--nf-graphite-rgb), 0.9);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  
}

.nf-admin-row-edit {
  color: var(--nf-color-accent-soft);
  border-color: rgba(var(--nf-accent-rgb), 0.7);
}

.nf-admin-row-edit:hover {
  color: var(--nf-color-accent-soft);
  background: rgba(var(--nf-accent-rgb), 0.9);
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.9);
}

.nf-admin-row-del {
  color: color-mix(in srgb, var(--nf-error) 35%, var(--nf-color-surface) 65%);
  border-color: rgba(239, 68, 68, 0.9);
}

.nf-admin-row-del:hover {
  color: color-mix(in srgb, var(--nf-error) 12%, var(--nf-color-surface) 88%);
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.7);
}



@media (max-width: 1200px) {
  .nf-admin-page {
    padding: 16px 18px 20px;
  }

  .nf-admin-layout {
    column-gap: 14px;
  }

  .nf-admin-table-wrap {
    max-height: 440px;
  }
}

@media (max-width: 992px) {
  .nf-admin-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .nf-admin-sidebar {
    flex-direction: row;
    align-items: flex-start;
    overflow-x: auto;
    padding: 8px;
  }

  .nf-admin-nav-btn {
    min-width: 140px;
  }

  .nf-admin-content {
    padding: 16px 18px 18px;
  }

  .nf-admin-table-wrap {
    max-height: 360px;
  }
}

@media (max-width: 640px) {
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .nf-admin-page {
    padding: 12px;
  }

  .nf-admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nf-admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nf-admin-table {
    font-size: 11px;
  }

  .nf-admin-table th,
  .nf-admin-table td {
    padding: 6px 8px;
  }

  .nf-admin-col-actions {
    width: 120px;
  }
}

.nf-admin-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nf-admin-row-icon svg {
  width: 14px;
  height: 14px;
}

.nf-admin-row-label {
  display: inline-block;
}

@media (max-width: 640px) {
  .nf-admin-row-label {
    display: none;
  }

  .nf-admin-col-actions {
    width: 90px;
  }
}

.nf-admin-add-btn {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-active));
  color: var(--nf-color-accent-soft);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.55);
  
}

.nf-admin-add-btn:hover {
  background: linear-gradient(135deg, var(--nf-color-accent-active), var(--nf-color-accent));
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.7);
  }

.nf-admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-graphite-rgb), 0.88), transparent 65%),
    rgba(3, 7, 15, 0.86);
  display: grid;
  place-items: center;
  z-index: 60;
  backdrop-filter: blur(10px);
  opacity: 0;
  
}

.nf-admin-modal {
  width: min(100%, calc(100vw - 48px));
  max-width: 1180px;
  max-height: calc(100vh - 80px);
  border-radius: 20px;
  background: var(--adm-surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  padding: 24px 24px 22px;
  border: 1px solid var(--adm-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--adm-text);
  opacity: 0;
  
}









.nf-admin-modal--product {
  width: min(100%, calc(100vw - 48px));
  max-width: 1240px;
}

.nf-admin-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--nf-admin-border-subtle);
}

.nf-admin-modal-head h2 {
  margin: 0;
  font-size: 18px;
  color: var(--adm-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-admin-modal-head-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-admin-modal-badge {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--adm-border);
  background: rgba(var(--nf-graphite-rgb), 0.8);
  color: var(--adm-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-admin-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
  padding-right: 8px;
  overflow: auto;
}

.nf-admin-modal-form {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--nf-line-rgb), 0.3) transparent;
}

.nf-admin-modal-form::-webkit-scrollbar {
  width: 6px;
}

.nf-admin-modal-form::-webkit-scrollbar-track {
  background: transparent;
}

.nf-admin-modal-form::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.nf-admin-modal-form::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.nf-admin-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 20px;
}

.nf-admin-product-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-admin-product-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-admin-bullets-grid {
  align-items: flex-start;
}

.nf-admin-bullets-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-admin-bullets-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--adm-text);
}

.nf-admin-bullets-sub {
  font-size: 11px;
  color: var(--adm-muted-soft);
}

.nf-admin-bullets-list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-admin-bullets-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.nf-admin-bullets-input {
  font-size: 13px;
}

.nf-admin-bullets-remove {
  position: static;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.9);
  color: var(--nf-color-hairline);
  font-size: 14px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.6);
  cursor: pointer;
}

.nf-admin-bullets-add {
  margin-top: 4px;
}

.nf-admin-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(145deg, var(--adm-surface-2), var(--nf-color-text-primary));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--adm-border);
  border: 1px solid var(--adm-border);
}

.nf-admin-section + .nf-admin-section {
  margin-top: 10px;
}

.nf-admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 2px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nf-admin-section-title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adm-muted);
}

.nf-admin-section-chevron {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--nf-graphite-rgb), 0.85);
  box-shadow: 0 0 0 1px rgba(var(--nf-graphite-rgb), 0.9);
  opacity: 0.7;
  
}

.nf-admin-section-chevron::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(var(--nf-line-rgb), 0.9);
  border-bottom: 1.5px solid rgba(var(--nf-line-rgb), 0.9);
  transform-origin: center;
  transform: rotate(180deg);
  
}

.nf-admin-section-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-admin-section.is-collapsed .nf-admin-section-body {
  display: none;
}

.nf-admin-section.is-collapsed .nf-admin-section-chevron::before {
  transform: rotate(0deg);
}

.nf-admin-section-header:hover .nf-admin-section-chevron {
  opacity: 1;
  background: rgba(var(--nf-graphite-rgb), 0.96);
  box-shadow:
    0 0 0 1px rgba(var(--nf-line-rgb), 0.55),
    0 0 0 4px rgba(15, 118, 110, 0.3);
}

.nf-admin-flags {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--nf-admin-border-subtle);
}

.nf-admin-flags-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-admin-product-image-wrap {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.nf-admin-image-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nf-admin-image-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--nf-color-hairline);
}

.nf-admin-file {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.9);
  background: rgba(var(--nf-graphite-rgb), 0.9);
  color: var(--nf-color-hairline);
  cursor: pointer;
  overflow: hidden;
}

.nf-admin-file-label {
  pointer-events: none;
  font-size: 13px;
}

.nf-admin-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.nf-admin-image-hint {
  font-size: 11px;
  color: var(--nf-color-placeholder);
}

.nf-admin-gallery-block {
  margin-top: 8px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px dashed var(--nf-admin-border-subtle);
  background: var(--nf-admin-content-bg);
}

.nf-admin-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--nf-color-hairline);
  font-size: 13px;
}

.nf-admin-gallery-add {
  border-radius: 999px;
  border: 1px solid var(--nf-admin-border-subtle);
  background: rgba(var(--nf-graphite-rgb), 0.96);
  color: var(--nf-color-text);
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.nf-admin-gallery-add:hover {
  background: rgba(var(--nf-accent-rgb), 0.3);
}

.nf-admin-gallery-hint {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--nf-color-placeholder);
}

.nf-admin-gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nf-admin-gallery-empty {
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.nf-admin-gallery-item {
  position: relative;
  width: 96px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--nf-line-rgb), 0.7);
  background: rgba(var(--nf-graphite-rgb), 0.95);
  box-shadow: 0 8px 18px rgba(var(--nf-graphite-rgb), 0.12);
  cursor: grab;
  
}

.nf-admin-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nf-admin-gallery-item:active {
  cursor: grabbing;
  box-shadow: 0 4px 10px rgba(var(--nf-graphite-rgb), 0.24);
}

.nf-admin-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: none;
  background: rgba(var(--nf-graphite-rgb), 0.8);
  color: var(--nf-color-hairline);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.nf-admin-gallery-main {
  position: absolute;
  left: 4px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  border: none;
  cursor: pointer;
  background: rgba(var(--nf-graphite-rgb), 0.8);
  color: var(--nf-color-hairline);
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

.nf-admin-gallery-main::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--nf-color-hairline);
  box-shadow: 0 0 0 1px rgba(var(--nf-graphite-rgb), 0.5);
  background: transparent;
}

.nf-admin-gallery-main.is-active {
  background: rgba(var(--nf-accent-rgb), 0.95);
  color: var(--nf-color-text-primary);
  box-shadow: 0 8px 18px rgba(7, 89, 79, 0.45);
}

.nf-admin-gallery-main.is-active::before {
  background: var(--nf-color-text-primary);
  border-color: var(--nf-color-text-primary);
  box-shadow: 0 0 0 1px rgba(var(--nf-graphite-rgb), 0.5);
}

.nf-admin-gallery-dropzone {
  border-radius: 12px;
  border: 1px dashed var(--nf-admin-border-subtle);
  background: rgba(var(--nf-graphite-rgb), 0.9);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--nf-color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nf-admin-gallery-dropzone.is-drag-over {
  border-color: var(--nf-admin-accent);
  background: rgba(var(--nf-graphite-rgb), 0.98);
  box-shadow: 0 0 0 1px var(--nf-admin-accent-soft);
}

.nf-admin-image-upload-status {
  margin-top: 2px;
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.nf-admin-image-upload-status.is-success {
  color: var(--nf-color-accent-soft);
}

.nf-admin-image-upload-status.is-error {
  color: color-mix(in srgb, var(--nf-error) 35%, var(--nf-color-surface) 65%);
}

.nf-admin-product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.nf-admin-product-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.nf-admin-modal-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--adm-muted);
}

.nf-admin-modal-form label span,
.nf-admin-modal-form label small {
  color: rgba(var(--nf-line-rgb), 0.7);
}

.nf-admin-modal-form input,
.nf-admin-modal-form select,
.nf-admin-modal-form textarea {
  border-radius: 12px;
  border: 1px solid var(--adm-border);
  padding: 10px 12px;
  font-size: 13px;
  min-height: 44px;
  background: var(--adm-surface-2);
  color: var(--adm-text);
  outline: none;
  
}

.nf-admin-modal-form textarea {
  border-radius: 14px;
  min-height: 88px;
  resize: vertical;
  width: 100%;
}

.nf-admin-modal-form input:focus,
.nf-admin-modal-form select:focus,
.nf-admin-modal-form textarea:focus {
  border-color: var(--adm-primary);
  box-shadow: var(--adm-focus-ring);
  background: var(--adm-surface-2);
}

.nf-admin-modal-form input::placeholder,
.nf-admin-modal-form textarea::placeholder {
  color: rgba(var(--nf-line-rgb), 0.7);
}

.nf-admin-modal-form .nf-btn {
  margin-top: 0;
}

.nf-admin-product-actions {
  position: sticky;
  bottom: 0;
  margin-top: 16px;
  padding: 14px 20px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--adm-border);
  background: linear-gradient(to top, rgba(7, 11, 18, 0.98), rgba(7, 11, 18, 0.9), transparent);
  backdrop-filter: blur(10px);
  z-index: 5;
}

.nf-admin-product-actions .nf-btn {
  min-height: 44px;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .nf-admin-modal--product {
    width: min(100%, calc(100vw - 16px));
  }

  .nf-admin-product-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-admin-product-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-admin-product-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-admin-product-image-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nf-admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.nf-admin-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.nf-admin-logout-btn {
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--nf-color-hairline);
  border-radius: 8px;
  background: var(--nf-color-surface);
  color: var(--nf-color-placeholder);
  cursor: pointer;
}

.nf-admin-logout-btn:hover {
  background: var(--nf-color-surface-subtle);
  color: var(--nf-color-text-secondary);
}

.nf-admin-login-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--nf-accent-rgb), 0.22) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(var(--nf-accent-rgb), 0.12) 0, transparent 55%),
    linear-gradient(135deg, var(--adm-bg) 0%, var(--adm-surface) 45%, var(--adm-bg) 100%);
}

.nf-admin-login-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.nf-admin-login-hero {
  text-align: center;
}

.nf-admin-login-logo-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nf-admin-login-logo-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: var(--nf-color-placeholder);
}

.nf-admin-login-card {
  width: 100%;
  padding: 40px 40px 36px;
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-line-rgb), 0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(var(--nf-accent-rgb), 0.2), transparent 65%),
    rgba(var(--nf-graphite-rgb), 0.55);
  border-radius: 20px;
  box-shadow:
    0 32px 90px rgba(var(--nf-graphite-rgb), 0.95),
    0 0 0 1px rgba(var(--nf-line-rgb), 0.4),
    inset 0 0 0 1px rgba(var(--nf-line-rgb), 0.25);
  border: 1px solid rgba(var(--nf-line-rgb), 0.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.nf-admin-login-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nf-color-hairline);
}

.nf-admin-login-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--nf-color-placeholder);
  line-height: 1.45;
}

.nf-admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-admin-login-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nf-color-hairline);
}

.nf-admin-login-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.85);
  background: rgba(var(--nf-graphite-rgb), 0.6);
  
}

.nf-admin-login-field:focus-within {
  border-color: var(--nf-color-accent);
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.35);
  background: rgba(var(--nf-graphite-rgb), 0.9);
}

.nf-admin-login-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--nf-graphite-rgb), 0.96);
  border: 1px solid rgba(var(--nf-line-rgb), 0.8);
  flex-shrink: 0;
}

.nf-admin-login-icon-user::before,
.nf-admin-login-icon-lock::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid var(--nf-color-hairline);
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}

.nf-admin-login-icon-lock::before {
  border-radius: 2px;
  height: 8px;
  width: 8px;
  border-width: 2px;
  border-color: var(--nf-color-hairline);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.nf-admin-login-toggle {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: none;
  background: rgba(var(--nf-graphite-rgb), 0.9);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.nf-admin-login-toggle::before,
.nf-admin-login-toggle::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 2px solid rgba(var(--nf-line-rgb), 0.9);
}

.nf-admin-login-toggle::after {
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}

.nf-admin-login-toggle.is-active::before {
  border-color: rgba(var(--nf-accent-rgb), 0.85);
}

.nf-admin-login-input {
  padding: 0;
  font-size: 1rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--nf-color-surface-subtle);
  width: 100%;
}

.nf-admin-login-input:focus {
  outline: none;
}

.nf-admin-login-caps {
  margin-top: 4px;
  font-size: 11px;
  color: var(--nf-warning);
  display: none;
}

.nf-admin-login-caps.is-visible {
  display: block;
}

.nf-admin-login-btn {
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
}

.nf-admin-login-btn.is-loading {
  position: relative;
  cursor: default;
  opacity: 0.8;
}

.nf-admin-login-btn.is-loading::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: transparent;
  
  transform: translateY(-50%);
}





.nf-admin-login-card {
  
}





.nf-admin-login-hero {
  text-align: center;
  margin-bottom: 4px;
}

.nf-admin-login-logo-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-color-hairline);
}

.nf-admin-login-logo-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.nf-admin-login-error {
  margin: 0;
  font-size: 0.9rem;
  color: var(--nf-error);
}

.nf-admin-login-error.is-visible-shake {
  
}







body.nf-admin-mode {
  
  --nf-color-bg: var(--adm-bg);
  --nf-color-surface: var(--adm-surface);
  --nf-color-surface-subtle: var(--adm-surface-2);
  --nf-color-text: var(--adm-text);
  --nf-color-text-muted: var(--adm-muted);

  --nf-admin-bg: var(--adm-bg);
  --nf-admin-shell-bg: var(--adm-bg);
  --nf-admin-sidebar-bg: var(--adm-sidebar);
  --nf-admin-content-bg: var(--adm-surface);
  --nf-admin-border-subtle: rgba(255, 255, 255, 0.08);
  --nf-admin-border-strong: rgba(255, 255, 255, 0.16);
  --nf-admin-accent: var(--nf-color-accent);
  --nf-admin-accent-soft: rgba(var(--nf-accent-rgb), 0.16);
  --nf-admin-accent-strong: var(--nf-color-accent-hover);
  --nf-admin-danger: color-mix(in srgb, var(--nf-error) 55%, var(--nf-color-surface) 45%);
  --nf-admin-danger-soft: color-mix(in srgb, var(--nf-error) 14%, transparent);

  --nf-shadow-modal: 0 28px 90px rgba(0, 0, 0, 0.75);
  --nf-focus: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.7);

  background:
    radial-gradient(circle at 0% 0%, rgba(var(--nf-accent-rgb), 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(var(--nf-graphite-rgb), 0.9), transparent 60%),
    var(--nf-admin-bg);
}

.nf-admin-page {
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-graphite-rgb), 0.9), transparent 55%),
    radial-gradient(circle at 120% -20%, rgba(var(--nf-graphite-rgb), 0.85), transparent 55%),
    var(--nf-admin-shell-bg);
  border-radius: 24px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(var(--nf-graphite-rgb), 0.85);
  color: var(--nf-color-text);
  backdrop-filter: blur(10px);
}

.nf-admin-topbar {
  border-bottom-color: rgba(var(--nf-line-rgb), 0.24);
}

.nf-admin-badge {
  background: rgba(var(--nf-graphite-rgb), 0.92);
  border-color: rgba(var(--nf-line-rgb), 0.7);
  color: var(--nf-admin-accent);
}

.nf-admin-title {
  color: var(--nf-color-text);
}

.nf-admin-subtitle-main {
  color: var(--nf-color-text-muted);
}

.nf-admin-user-chip {
  background: rgba(var(--nf-graphite-rgb), 0.9);
  border-color: var(--nf-admin-border-subtle);
  color: var(--nf-color-text);
}

.nf-admin-layout {
  grid-template-columns: 220px minmax(0, 1fr);
}

.nf-admin-sidebar {
  background: var(--nf-admin-sidebar-bg);
  border-color: var(--nf-admin-border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.nf-admin-nav-caption {
  color: rgba(var(--nf-line-rgb), 0.95);
}

.nf-admin-nav-btn {
  color: var(--nf-color-text-muted);
}

.nf-admin-nav-dot {
  background: rgba(var(--nf-line-rgb), 0.9);
}

.nf-admin-nav-btn:hover {
  background: rgba(var(--nf-graphite-rgb), 0.9);
  color: var(--nf-color-text);
}

.nf-admin-nav-btn-active {
  background: linear-gradient(135deg, var(--nf-admin-accent), var(--nf-admin-accent-strong));
  color: var(--nf-color-surface-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.nf-admin-nav-btn-active .nf-admin-nav-dot {
  background: color-mix(in srgb, var(--nf-success) 22%, var(--nf-color-surface) 78%);
}

.nf-admin-content {
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-graphite-rgb), 0.9), transparent 55%),
    radial-gradient(circle at 120% -20%, rgba(var(--nf-graphite-rgb), 0.85), transparent 60%),
    var(--nf-admin-content-bg);
  border-color: var(--nf-admin-border-subtle);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  color: var(--nf-color-text);
}

.nf-admin-card-title {
  color: var(--nf-color-text);
}

.nf-admin-subtitle {
  color: var(--nf-color-text-muted);
}

.nf-admin-metric {
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-graphite-rgb), 0.9), transparent 60%),
    var(--nf-admin-content-bg);
  border-color: var(--nf-admin-border-subtle);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
}

.nf-admin-metric .k {
  color: var(--nf-color-text-muted);
}

.nf-admin-metric .v {
  color: var(--nf-color-text);
}

.nf-admin-table {
  background: var(--nf-admin-content-bg);
}

.nf-admin-table th {
  background: rgba(var(--nf-graphite-rgb), 0.96);
  color: rgba(var(--nf-line-rgb), 0.96);
}

.nf-admin-table tbody tr:nth-child(odd),
.nf-admin-table tbody tr:nth-child(even) {
  background: rgba(var(--nf-graphite-rgb), 0.96);
}

.nf-admin-table tbody tr:hover {
  background: radial-gradient(circle at 0 0, rgba(var(--nf-accent-rgb), 0.32), transparent 70%);
}

.nf-admin-row-edit,
.nf-admin-row-del {
  border-radius: 999px;
  padding-inline: 10px;
  font-weight: 500;
}

.nf-admin-row-edit {
  background: rgba(var(--nf-accent-rgb), 0.16);
  color: var(--nf-color-accent-soft);
  border-color: transparent;
  box-shadow: none;
}

.nf-admin-row-edit:hover {
  background: rgba(var(--nf-accent-rgb), 0.38);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7);
}

.nf-admin-row-del {
  background: rgba(248, 113, 113, 0.25);
  color: color-mix(in srgb, var(--nf-error) 35%, var(--nf-color-surface) 65%);
  border-color: transparent;
  box-shadow: none;
}

.nf-admin-row-del:hover {
  background: rgba(239, 68, 68, 0.6);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.7);
}

.nf-admin-add-btn {
  background: linear-gradient(135deg, var(--nf-color-accent), var(--nf-color-accent-active));
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.7);
}

.nf-admin-add-btn:hover {
  background: linear-gradient(135deg, var(--nf-color-accent-active), var(--nf-color-accent));
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.85);
}





.nf-cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(430px, calc(100vw - 20px));
  max-width: 100%;
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  border-left: 1px solid rgba(var(--nf-line-rgb), 0.16);
  box-shadow: -28px 0 56px rgba(var(--nf-graphite-rgb), 0.16);
  z-index: 50;
  transform: translateX(100%);
  
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nf-cart-panel-open {
  transform: translateX(0);
}

.nf-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(var(--nf-graphite-rgb), 0.9), transparent 65%),
    rgba(3, 7, 15, 0.88);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  
}

.nf-backdrop-visible {
  opacity: 1;
  pointer-events: auto;
}

.nf-cart-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.14);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.nf-cart-header-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-cart-header-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--nf-color-text-muted);
}

.nf-cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.24);
  background: var(--nf-color-surface);
  box-shadow: var(--nf-shadow-xs);
}

.nf-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-cart-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(var(--nf-line-rgb), 0.22);
  border-radius: var(--nf-radius-card);
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 0.05), rgba(var(--nf-accent-rgb), 0.02));
  padding: 26px 20px;
}

.nf-cart-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.24);
  background:
    radial-gradient(circle at 30% 28%, rgba(var(--nf-accent-rgb), 0.24), transparent 58%),
    linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  margin-bottom: 14px;
}

.nf-cart-empty-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
}

.nf-cart-empty-text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-tertiary);
  max-width: 30ch;
}

/* Cart header row with count badge */
.nf-cart-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nf-cart-header-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--nf-accent, #4da0a9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Cart item — redesigned */
.nf-cart-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.13);
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface);
  transition: box-shadow 0.15s;
}
.nf-cart-item:hover {
  box-shadow: 0 2px 10px rgba(var(--nf-graphite-rgb), 0.07);
}

@keyframes nf-cart-item-highlight {
  0%   { box-shadow: 0 0 0 0 rgba(var(--nf-accent-rgb), 0); background: var(--nf-color-surface); }
  18%  { box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.35); background: rgba(var(--nf-accent-rgb), 0.07); }
  55%  { box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.20); background: rgba(var(--nf-accent-rgb), 0.04); }
  100% { box-shadow: 0 0 0 0 rgba(var(--nf-accent-rgb), 0); background: var(--nf-color-surface); }
}
.nf-cart-item--highlight {
  animation: nf-cart-item-highlight 1.8s ease forwards;
}

.nf-cart-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.16);
  background:
    radial-gradient(circle at 30% 22%, rgba(var(--nf-accent-rgb), 0.18), transparent 60%),
    linear-gradient(135deg, var(--nf-color-surface-subtle), var(--nf-color-surface-alt));
  overflow: hidden;
  flex-shrink: 0;
}
.nf-cart-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nf-cart-info {
  font-size: 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nf-cart-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--nf-color-text-primary);
}
.nf-cart-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--nf-color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nf-cart-dot { opacity: 0.45; }
.nf-cart-article {
  font-size: 11px;
  color: var(--nf-color-text-tertiary);
}

/* Right column: price + stepper + remove */
.nf-cart-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.nf-cart-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  white-space: nowrap;
}

/* Qty stepper */
.nf-cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
  border-radius: 20px;
  overflow: hidden;
  background: var(--nf-color-surface-subtle);
}
.nf-cart-stepper-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--nf-color-text-secondary);
  transition: background 0.12s, color 0.12s;
}
.nf-cart-stepper-btn:hover {
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-accent, #4da0a9);
}
.nf-cart-stepper-val {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
}

/* Remove (X) icon button */
.nf-cart-remove-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--nf-color-text-tertiary);
  transition: background 0.12s, color 0.12s;
}
.nf-cart-remove-btn:hover {
  background: rgba(220, 40, 40, 0.08);
  color: #d03535;
}

.nf-cart-footer {
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.14);
  padding: 12px 18px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Totals redesign */
.nf-cart-totals {
  margin-bottom: 12px;
}
.nf-cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  padding: 3px 0;
  color: var(--nf-color-text-secondary);
  border-bottom: 1px dashed rgba(var(--nf-line-rgb), 0.1);
}
.nf-cart-totals-row--sum {
  border-bottom: none;
  padding-top: 6px;
  margin-top: 2px;
}
.nf-cart-totals-label { color: var(--nf-color-text-muted); }
.nf-cart-totals-val { font-weight: 600; color: var(--nf-color-text-primary); }
.nf-cart-totals-sum {
  font-size: 15px;
  font-weight: 700;
  color: var(--nf-accent, #4da0a9);
}
.nf-cart-totals-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--nf-color-text-muted);
}

.nf-cart-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}
.nf-cart-clear-btn,
.nf-cart-submit-btn {
  min-height: 42px;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}
.nf-cart-clear-btn {
  padding-left: 14px;
  padding-right: 14px;
}
.nf-cart-submit-btn:disabled,
.nf-cart-clear-btn:disabled {
  opacity: 0.48;
  pointer-events: none;
}

@media (max-width: 520px) {
  .nf-cart-panel {
    width: min(100vw, 100%);
  }
  .nf-cart-header {
    padding: 14px 14px 10px;
  }
  .nf-cart-items {
    padding: 10px 12px 12px;
  }
  .nf-cart-footer {
    padding: 10px 12px 14px;
  }
  .nf-cart-actions {
    grid-template-columns: auto 1fr;
  }
}

/* ══════════════════════════════════════════════
   QUICK QUOTE — Product Picker
   ══════════════════════════════════════════════ */

/* Selected chips */
.nf-qq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(var(--nf-accent-rgb), 0.05);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  border-radius: var(--nf-radius-md);
}
.nf-qq-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 10px;
  border-radius: 100px;
  background: rgba(var(--nf-accent-rgb), 0.12);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  font-size: 12px;
  font-weight: 500;
  color: var(--nf-accent, #4da0a9);
  max-width: 200px;
}
.nf-qq-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nf-qq-chip-rm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--nf-accent-rgb), 0.15);
  color: var(--nf-accent, #4da0a9);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}
.nf-qq-chip-rm:hover {
  background: rgba(var(--nf-accent-rgb), 0.3);
}

/* Picker wrap */
.nf-qq-picker-wrap {
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  border-radius: var(--nf-radius-md);
  overflow: hidden;
  background: var(--nf-color-surface);
}

/* Search row */
.nf-qq-picker-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
  background: var(--nf-color-surface-subtle);
}
.nf-qq-picker-search-icon {
  color: var(--nf-color-text-muted);
  flex-shrink: 0;
}
.nf-qq-picker-search {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--nf-color-text-primary);
  outline: none;
  padding: 0;
  min-width: 0;
}
.nf-qq-picker-search::placeholder {
  color: var(--nf-color-text-muted);
}
.nf-qq-picker-count {
  font-size: 11px;
  color: var(--nf-color-text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Scrollable product list */
.nf-qq-picker-list {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nf-qq-picker-empty {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--nf-color-text-muted);
}

/* Product row */
.nf-qq-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.08);
  cursor: pointer;
  transition: background 0.1s;
}
.nf-qq-item:last-child { border-bottom: none; }
.nf-qq-item:hover { background: rgba(var(--nf-accent-rgb), 0.04); }
.nf-qq-item--sel {
  background: rgba(var(--nf-accent-rgb), 0.06);
}
.nf-qq-item--sel:hover {
  background: rgba(var(--nf-accent-rgb), 0.09);
}

.nf-qq-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  background:
    radial-gradient(circle at 30% 25%, rgba(var(--nf-accent-rgb), 0.16), transparent 60%),
    var(--nf-color-surface-alt);
  flex-shrink: 0;
}
.nf-qq-item-info {
  min-width: 0;
}
.nf-qq-item-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--nf-color-text-primary);
}
.nf-qq-item-meta {
  font-size: 11px;
  color: var(--nf-color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toggle button */
.nf-qq-item-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
  background: var(--nf-color-surface);
  color: var(--nf-color-text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.12s;
}
.nf-qq-item-toggle:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.4);
  color: var(--nf-accent, #4da0a9);
  background: rgba(var(--nf-accent-rgb), 0.06);
}
.nf-qq-item--sel .nf-qq-item-toggle {
  background: var(--nf-accent, #4da0a9);
  border-color: var(--nf-accent, #4da0a9);
  color: #fff;
}
.nf-qq-item--sel .nf-qq-item-toggle:hover {
  background: rgba(var(--nf-accent-rgb), 0.8);
}

/* quickQuote modal width */
#quickQuoteModal .nf-modal-inner.nf-modal-form.nf-modal-ds {
  max-width: 520px;
}



.nf-icon-btn {
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: var(--nf-color-surface);
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
}

.nf-icon-btn:hover {  
  box-shadow: 0 10px 24px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--nf-color-text-muted);
  fill: none;
}



.nf-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  /* close speed — резко */
  transition: opacity 0.08s ease-in;
}
.nf-modal .nf-modal-inner {
  transform: scale(0.96) translateY(12px);
  /* close speed */
  transition: transform 0.08s ease-in;
}

.nf-modal-visible {
  pointer-events: auto;
  opacity: 1;
  /* open speed — плавно */
  transition: opacity 0.26s ease-out;
}
.nf-modal-visible .nf-modal-inner {
  transform: scale(1) translateY(0);
  /* open speed — spring */
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.nf-modal-inner {
  max-width: 100%;
  width: 100%;
  min-height: 0;
  background: var(--adm-surface);
  border-radius: 22px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.78);
  padding: 20px 24px 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid var(--adm-border);
  color: var(--adm-text);
}

.nf-modal-news {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 26px);
  box-sizing: border-box;
}

.nf-news-modal-article {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  flex: 1;
}

.nf-news-modal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 48px;
  margin-bottom: 16px;
}

.nf-news-modal-meta {
  font-size: 13px;
  color: var(--nf-color-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.nf-news-modal-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--nf-color-text-primary);
}

.nf-news-modal-media {
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  box-shadow: 0 8px 28px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-news-modal-img {
  display: block;
  width: 100%;
  max-height: min(280px, 40vh);
  object-fit: contain;
  object-position: center;
}

.nf-news-modal-body {
  flex: 1;
  min-height: 0;
  margin-top: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.nf-news-modal-paragraph {
  margin: 0 0 1.1em;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--nf-color-text-tertiary);
}

.nf-news-modal-paragraph:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  #newsModal .nf-modal-inner.nf-modal-news {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  #newsModal .nf-news-modal-body {
    max-height: min(52vh, 440px);
  }
}

@media (max-width: 768px) {
  
  #newsModal {
    padding: max(12px, env(safe-area-inset-top, 0px)) 12px
      max(12px, env(safe-area-inset-bottom, 0px));
  }

  #newsModal .nf-modal-inner.nf-modal-news {
    width: min(640px, calc(100vw - 24px));
    max-height: min(88vh, 800px);
    height: auto;
    min-height: min(70vh, 560px);
  }

  #newsModal .nf-news-modal-body {
    max-height: min(46vh, 380px);
  }

  #quickQuoteModal .nf-modal-close.nf-modal-ds-close {
    top: 12px;
    right: 12px;
  }
}



.nf-modal-product {
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: start;
}

.nf-modal-product-left {
  min-width: 0;
}

.nf-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.nf-modal-product-main-image-wrapper {
  border-radius: 14px;
  background: linear-gradient(145deg, var(--nf-color-surface-subtle) 0%, color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%) 50%, var(--nf-color-border) 100%);
  width: 100%;
  max-width: 100%;
  height: min(68vh, 760px);
  min-height: min(320px, 48vh);
  max-height: min(74vh, 800px);
  min-width: 0;
  margin: 0 0 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-modal-product-imgwrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none), (pointer: coarse) {
  .nf-modal-product-imgwrap {
    cursor: default;
  }

  .nf-modal-product-imgwrap.nf-pdp-zoom-viewport--active {
    cursor: default;
  }
}

.nf-modal-product-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
}

.nf-modal-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 11px;
  color: var(--nf-color-text-muted);
  background: rgba(255, 255, 255, 0.86);
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
}

.nf-modal-thumbs {
  display: flex;
  gap: 8px;
}

.nf-modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nf-color-hairline), var(--nf-color-surface-alt));
  cursor: pointer;
  border: 2px solid transparent;
}

.nf-modal-thumb-active {
  border-color: rgba(var(--nf-accent-rgb), 0.7);
}

.nf-modal-product-right h2 {
  margin: 0 0 6px;
}

.nf-modal-product-detail {
  margin-top: 12px;
  max-height: min(40vh, 340px);
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nf-modal-product-description {
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-tertiary);
}

.nf-modal-product-description p {
  margin: 0;
}

.nf-modal-product-specs-wrap .nf-pdp-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
}

.nf-modal-product-panel .nf-tab-section-title {
  margin-bottom: 6px;
}

.nf-modal-subtitle {
  font-size: 13px;
  color: var(--nf-color-text-muted);
  margin: 0 0 10px;
}

.nf-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--nf-color-text-muted);
  margin-bottom: 10px;
}

.nf-modal-qty-price {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.nf-qty-control span {
  font-size: 12px;
  color: var(--nf-color-text-muted);
}

.nf-qty-input {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--nf-color-border);
  overflow: hidden;
}

.nf-qty-input:focus-within {
  border-color: var(--nf-color-primary);
  box-shadow: 0 0 0 3px var(--nf-color-primary-light);
}

.nf-qty-input button {
  border: none;
  background: var(--nf-color-surface-subtle);
  color: var(--nf-color-text-secondary);
  font-size: 1rem;
  width: 26px;
  height: 28px;
  cursor: pointer;
}

.nf-qty-input button:hover {
  background: color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  color: var(--nf-color-text-primary);
}

.nf-qty-input input {
  width: 48px;
  border: none;
  text-align: center;
}

.nf-price-info {
  font-size: 0.875rem;
  color: var(--nf-color-muted);
}

.nf-price-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-modal-cta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 10px;
}



.nf-tabs-header {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.nf-tab-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 10px;
  background: var(--nf-color-surface-subtle);
  color: var(--nf-color-muted);
  border: 1px solid transparent;
  cursor: pointer;
  
}

@media (max-width: 768px) {
  .nf-tabs-header,
  .nf-contacts-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .nf-tabs-header::-webkit-scrollbar,
  .nf-contacts-tabs::-webkit-scrollbar {
    display: none;
  }

  .nf-tab-btn {
    flex: 0 0 auto;
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

.nf-tab-btn:hover {
  background: color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  color: var(--nf-color-text-secondary);
}

.nf-tab-btn-active {
  background: var(--nf-color-primary-light);
  color: var(--nf-color-primary-dark);
  font-weight: 600;
  border-color: var(--nf-color-primary-border);
}

.nf-tabs-body {
  font-size: 14px;
  max-height: 280px;
  overflow-y: auto;
  line-height: 1.65;
  padding-right: 4px;
}

.nf-tab {
  display: none;
}

.nf-tab-active {
  display: block;
}

.nf-tab-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.nf-tab-description p {
  margin: 0 0 8px;
}

.nf-install-note {
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  border: 1px solid var(--nf-color-border);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--nf-accent-rgb), 0.07), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(var(--nf-accent-rgb), 0.04), transparent 55%),
    var(--nf-color-surface-subtle);
}

.nf-install-note-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.nf-install-note-rows > div {
  border-radius: 14px;
  background: var(--nf-color-surface);
  border: 1px solid var(--nf-color-hairline);
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.04);
  position: relative;
}

.nf-install-note-rows > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--nf-color-accent), var(--nf-color-accent-hover));
}

.nf-install-note-rows h4 {
  margin: 0 0 4px 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nf-install-note-rows h4::before {
  content: "⚙";
  font-size: 13px;
  color: var(--nf-color-accent-contrast);
}

.nf-install-note-rows ul {
  margin: 0;
  padding-left: 22px;
  font-size: 12px;
}

.nf-install-steps {
  margin: 0;
  padding-left: 20px;
}



.nf-modal-form:not(.nf-modal-ds) {
  max-width: 100%;
  width: 100%;
  padding: 8px 24px 24px;
  box-sizing: border-box;
}

.nf-modal-form:not(.nf-modal-ds) .nf-btn[type="submit"] {
  margin-top: 12px;
}



.nf-toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: auto;
  left: auto;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(420px, calc(100vw - 28px));
  pointer-events: none;
}

.nf-toast-item {
  pointer-events: auto;
  border-radius: 14px;
  padding: 12px 14px 12px 16px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(var(--nf-graphite-rgb), 0.92);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  box-shadow:
    0 18px 44px rgba(var(--nf-graphite-rgb), 0.1),
    0 2px 8px rgba(var(--nf-graphite-rgb), 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translate3d(18px, -8px, 0) scale(0.98);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
}

.nf-toast-item--visible {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.nf-toast-item--leaving {
  transform: translate3d(16px, -12px, 0) scale(0.96);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease;
}

.nf-toast-item--success {
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  box-shadow:
    0 20px 48px rgba(var(--nf-accent-rgb), 0.12),
    0 2px 10px rgba(var(--nf-graphite-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.nf-toast-item__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.nf-toast-item__message {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.nf-toast-item__action {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.35);
  background: rgba(var(--nf-accent-rgb), 0.1);
  color: rgb(var(--nf-accent-rgb));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.14s ease;
}

.nf-toast-item__action:hover {
  background: rgba(var(--nf-accent-rgb), 0.16);
  border-color: rgba(var(--nf-accent-rgb), 0.5);
}

.nf-toast-item__action:active {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .nf-toast-item,
  .nf-toast-item--visible,
  .nf-toast-item--leaving {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}



.nf-footer {
  background: var(--nf-color-text-primary);
  color: var(--nf-color-hairline);
  margin-top: 32px;
}

.nf-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px 18px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 24px;
  font-size: 13px;
}

.nf-footer-logo {
  background: rgba(var(--nf-graphite-rgb), 0.96);
  border-color: rgba(31, 41, 55, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.nf-footer-logo .nf-logo-title {
  color: var(--nf-color-surface-subtle);
}

.nf-footer-logo .nf-logo-subtitle {
  color: var(--nf-color-placeholder);
}

.nf-footer-brand p {
  margin: 6px 0;
  color: var(--nf-color-hairline);
}

.nf-footer-brand a {
  color: var(--nf-color-hairline);
  text-decoration: none;
}



body.nf-admin-mode .nf-nav {
  display: none;
}

body.nf-admin-mode .nf-header-search-wrapper,
body.nf-admin-mode .nf-lang-switcher,
body.nf-admin-mode #quickQuoteBtn,
body.nf-admin-mode #cartToggleBtn {
  display: none;
}

body.nf-admin-mode .nf-footer {
  display: none;
}

body.nf-admin-mode {
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--nf-graphite-rgb), 0.9), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(var(--nf-graphite-rgb), 0.9), transparent 60%),
    var(--nf-admin-bg);
}

body.nf-admin-mode .nf-main {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 32px 40px 40px;
  box-sizing: border-box;
}

body.nf-admin-mode [aria-label="Админ-панель"] {
  width: 100%;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}

body.nf-admin-mode #adminRoot {
  flex: 1;
}

body.nf-admin-mode .nf-admin-page {
  width: 100%;
  min-height: inherit;
}

.nf-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nf-footer-col h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
}

.nf-footer-link {
  border: none;
  background: none;
  color: var(--nf-color-hairline);
  padding: 2px 0;
  text-align: left;
  cursor: pointer;
  display: block;
  font-size: 13px;
  
}

.nf-footer-link:hover {
  color: var(--nf-color-surface);
  }

.nf-footer-text {
  display: block;
  padding: 2px 0;
  color: var(--nf-color-placeholder);
}

.nf-footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  position: relative;
}

.nf-footer-gradient {
  height: 3px;
  background: linear-gradient(90deg, var(--nf-color-accent), var(--nf-color-accent-deep));
}

.nf-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.footer-credit {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: #4da0a9;
  text-shadow: 0 0 10px rgba(77, 160, 169, 0.35);
}



[hidden] {
  display: none !important;
}



.nf-cta {
  margin: 40px 0 16px;
}

.nf-cta__box {
  border-radius: 24px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at top left, rgba(var(--nf-accent-rgb), 0.18), transparent 55%),
    linear-gradient(135deg, var(--nf-hero-dark-2), var(--nf-hero-dark-1));
  color: var(--nf-color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nf-cta__box h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.nf-cta__box p {
  margin: 0;
  font-size: 14px;
  color: var(--nf-color-hairline);
}



@media (max-width: 1024px) {
  .nf-header-inner {
    flex-wrap: wrap;
  }

  .nf-logo {
    flex-shrink: 0;
  }

.nf-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

  
  .nf-header-search-wrapper {
    order: 3;
    flex: 1 1 100%;
  }

  .nf-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 24px;
  }

  .nf-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: 1.2fr 1fr;
  }

  .nf-catalog-layout {
    grid-template-columns: minmax(210px, 236px) minmax(0, 1fr);
  }

  .nf-about-layout {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .nf-about-side {
    display: none;
  }

  .nf-about-stats-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nf-about-hero-shell {
    padding: 32px 18px 36px;
  }

  .nf-about-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-about-mission-side {
    flex-direction: column;
  }

  .nf-contacts-hero-title {
    font-size: 24px;
  }

  .carousel-viewport::before,
  .carousel-viewport::after {
    width: 40px;
  }
}


@media (max-width: 1024px) {
  
  .nf-hero {
    padding-block: 16px 20px;
    margin-bottom: 20px;
  }

  .nf-header-inner {
    padding-inline: 20px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .nf-nav {
    display: none;
  }

  .nf-header-search-wrapper,
  .nf-header-actions {
    display: none;
  }

  .nf-main {
    padding-inline: 20px;
  }

  .nf-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 20px 16px;
    border-radius: 24px;
    gap: 28px;
  }

  .nf-hero__visual {
    display: none;
  }

  .nf-hero-ctas,
  .nf-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .nf-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-hero-content h1,
  .nf-hero__content h1 {
    font-size: 26px;
  }

  .nf-categories-grid,
  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners-grid,
  .nf-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-filters {
    position: static;
    max-height: none;
    margin-bottom: 12px;
  }

  .nf-filters-toggle {
    display: none;
  }

  

  .nf-contacts-hub {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 18px 22px;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .contact-hero-media {
    height: 220px;
  }

  .nf-contacts-hub-aside {
    position: static;
    top: auto;
    min-height: 0;
    gap: 12px;
  }

  .contact-office-media {
    flex: none;
    min-height: 220px;
  }

  .nf-contacts-map-wrap {
    position: static;
    top: auto;
  }

  .nf-map-card {
    min-height: 280px;
  }

  .nf-contact-card-actions .nf-btn {
    width: auto;
  }

  .nf-contacts-map {
    height: 260px;
  }

  .nf-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-admin-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nf-admin-nav-btn {
    width: auto;
    flex: 1;
    text-align: center;
  }

  .nf-products-list .nf-product-card,
  .nf-products-large .nf-product-card {
    grid-template-columns: 110px minmax(0, 1.5fr);
    grid-template-rows: auto auto;
  }

  .nf-products-list .nf-product-card > :nth-child(3),
  .nf-products-list .nf-product-card > :nth-child(4),
  .nf-products-large .nf-product-card > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .nf-footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .nf-categories-grid,
  .nf-categories__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-partners-grid,
  .nf-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



.nf-modal-partner {
  max-width: none;
  width: 100%;
  background: var(--nf-color-surface);
  color: var(--nf-color-text-primary);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(18px, 2.5vw, 26px) clamp(18px, 2.5vw, 28px) clamp(20px, 2.5vw, 28px);
}

@media (max-width: 768px) {
  
  #partnerModal {
    inset: auto;
    display: block;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    height: auto;
    max-height: 92vh;
    padding: 0;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: transparent;
    transform: translate(-50%, 100%);
  
  }

  #partnerModal.nf-modal-visible {
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  #partnerModal .nf-modal-partner,
  #partnerModal .nf-modal-inner {
    max-width: 100%;
    width: 100%;
    max-height: 92vh;
    padding: 16px 16px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px 18px 0 0;
  }

  .nf-partner-modal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nf-partner-modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(320px, 1fr);
  gap: 0 clamp(20px, 2.8vw, 32px);
  align-items: stretch;
  min-height: 0;
}

.nf-partner-modal-left {
  padding: 4px clamp(8px, 1.5vw, 16px) 12px 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  height: 100%;
  background: var(--nf-color-surface);
  border-right: 1px solid rgba(var(--nf-line-rgb), 0.14);
}

.nf-partner-modal-head{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-right: 44px;
}

.nf-partner-modal-logo{
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 4px 18px rgba(var(--nf-graphite-rgb), 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nf-partner-modal-logo img{
  max-width: calc(100% - 22px);
  max-height: calc(100% - 22px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.nf-partner-modal-meta{
  margin-top: 4px;
  font-size: 12px;
  color: var(--nf-color-placeholder);
}

.nf-partner-modal-desc{
  margin-top: 8px;
  color: var(--nf-color-text-secondary);
  line-height: 1.65;
  font-size: 14px;
}

.nf-partner-modal-titles h2,
#partnerModalTitle {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--nf-color-text-primary);
}

.nf-partner-modal-stats{
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.nf-stat {
  border: 1px solid rgba(var(--nf-line-rgb), 0.16);
  border-radius: var(--nf-radius-md);
  padding: 10px 14px;
  background: color-mix(in srgb, var(--nf-color-surface-subtle) 88%, var(--nf-color-accent-soft) 12%);
}

.nf-stat-k{
  font-size: 11px;
  font-weight: 600;
  color: var(--nf-color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nf-stat-v{
  margin-top: 3px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
}

.nf-partner-modal-actions{
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nf-partner-modal-actions .nf-btn {
  flex: 1 1 148px;
  min-height: 44px;
  justify-content: center;
}

@media (max-width: 420px) {
  .nf-partner-modal-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .nf-partner-modal-actions .nf-btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

.nf-partner-modal-right {
  border: 1px solid rgba(var(--nf-line-rgb), 0.12);
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface-subtle);
  padding: 16px 16px 14px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--nf-shadow-xs);
}

.nf-partner-modal-right-head{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 0;
  padding-right: 44px;
}

.nf-partner-modal-right-head h3{
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-partner-modal-products{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 120px;
  max-height: min(55vh, 520px);
  overflow: auto;
  padding: 2px 4px 6px 0;
}

@media (max-width: 900px) {
  .nf-partner-modal-grid {
    grid-template-columns: 1fr;
  }

  .nf-partner-modal-left {
    border-right: none;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
  }

  .nf-partner-modal-products {
    max-height: 40vh;
  }
}

@media (max-width: 768px) {
  
  #partnerModal .nf-modal-inner,
  #partnerModal .nf-modal-partner {
    padding: 14px 16px 20px;
    border-radius: 22px 22px 0 0;
  }

  #partnerModal .nf-modal-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  #partnerModal .nf-modal-grabber {
    margin: 6px auto 12px;
  }

  
  .nf-partner-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nf-partner-modal-left,
  .nf-partner-modal-right {
    padding: 0;
    border: 0;
  }

  
  .nf-partner-modal-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .nf-partner-modal-logo {
    width: 72px;
    height: 72px;
  }

  .nf-partner-modal-titles h2,
  #partnerModalTitle {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    word-break: break-word;
  }

  .nf-partner-modal-meta {
    margin-top: 4px;
    font-size: 12px;
  }

  
  .nf-partner-modal-desc {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
  }

  .nf-partner-modal-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .nf-stat {
    border-radius: 16px;
    padding: 12px 14px;
  }

  
  .nf-partner-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nf-partner-modal-actions .nf-btn {
    width: 100%;
    min-height: 46px;
  }

  
  .nf-partner-modal-right-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .nf-partner-modal-right-head h3 {
    font-size: 15px;
  }

  .nf-partner-modal-products {
    max-height: 34vh;
    overflow-y: auto;
    padding-right: 2px;
  }

  
  #partnerModal .nf-modal-inner::-webkit-scrollbar,
  .nf-partner-modal-products::-webkit-scrollbar {
    width: 4px;
  }

  #partnerModal .nf-modal-inner::-webkit-scrollbar-thumb,
  .nf-partner-modal-products::-webkit-scrollbar-thumb {
    background: rgba(var(--nf-line-rgb), 0.45);
    border-radius: 999px;
  }

  #partnerModal .nf-modal-inner::-webkit-scrollbar-track,
  .nf-partner-modal-products::-webkit-scrollbar-track {
    background: transparent;
  }
}

@media (max-width: 768px) {

  
  #partnerModal .nf-modal-inner {
    padding-top: 8px;
  }

  
  .nf-partner-modal-head {
    margin-top: 2px;
    margin-bottom: 6px;
  }

  
  .nf-partner-modal-logo {
    box-shadow:
      0 6px 14px rgba(15,23,42,0.10),
      inset 0 1px 0 rgba(255,255,255,0.8);
  }

  
  #partnerModalTitle {
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  
  .nf-partner-modal-desc {
    margin-top: 6px;
  }

  .nf-partner-modal-stats {
    margin-top: 6px;
  }

  .nf-partner-modal-actions {
    margin-top: 10px;
  }

  
  .nf-partner-modal-products {
    margin-top: 4px;
  }

}




.nf-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(var(--nf-graphite-rgb), 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  
  z-index: 90;
}

.nf-backdrop.nf-backdrop-visible{
  opacity: 1;
  pointer-events: auto;
}


#productModal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: min(1040px, calc(100vw - 28px));
  max-height: min(78vh, 760px);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  border-radius: 22px;
  box-shadow:
    0 32px 90px rgba(var(--nf-graphite-rgb), 0.26),
    0 10px 24px rgba(var(--nf-graphite-rgb), 0.12);
  opacity: 0;
  pointer-events: none;
  
  z-index: 95;
  overflow: hidden;
}

#productModal.nf-modal-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}


.nf-modal-close{
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.10);
  background: rgba(255,255,255,0.92);
  color: var(--nf-color-text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  
  z-index: 2;
}
.nf-modal-close:hover{ background: var(--nf-color-surface); }



.nf-input{
  width: 100%;
  height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.10);
  outline: none;
  background: var(--nf-color-surface);
  color: var(--nf-color-text-primary);
  font-size: 13px;
  
}
.nf-input:focus{
  border-color: rgba(var(--nf-accent-rgb),0.60);
  box-shadow: 0 0 0 4px rgba(var(--nf-accent-rgb),0.18);
}


.nf-partner-modal-products{
  flex: 1;
  min-height: 180px;
  overflow: auto;
  padding: 4px 4px 10px 2px;
}


.nf-partner-modal-products::-webkit-scrollbar{ width: 8px; }
.nf-partner-modal-products::-webkit-scrollbar-thumb{
  background: rgba(var(--nf-line-rgb), 0.55);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.nf-partner-modal-products::-webkit-scrollbar-track{ background: transparent; }


body.nf-overlay-open::-webkit-scrollbar {
  width: 8px;
}
body.nf-overlay-open::-webkit-scrollbar-track {
  background: transparent;
}
body.nf-overlay-open::-webkit-scrollbar-thumb {
  background: rgba(var(--nf-graphite-rgb), 0.8);
  border-radius: 999px;
  border: 2px solid rgba(var(--nf-graphite-rgb), 0.3);
  background-clip: padding-box;
}
body.nf-overlay-open::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--nf-graphite-rgb), 0.96);
}


.nf-partner-prod {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.12);
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface);
  box-shadow: none;
  
}

.nf-partner-prod:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  background: color-mix(in srgb, var(--nf-color-surface) 75%, var(--nf-color-accent-soft) 25%);
}

.nf-partner-prod-main{
  min-width: 0;
  flex: 1;
}

.nf-partner-prod-title{
  font-size: 14px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nf-partner-prod-meta{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(var(--nf-graphite-rgb), 0.60);
  line-height: 1.4;
}

.nf-partner-prod-actions{
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  align-items: stretch;
  min-width: 148px;
}

.nf-partner-prod-actions .nf-btn {
  min-height: 40px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 520px) {
  .nf-partner-prod-actions {
    flex-direction: row;
    min-width: 212px;
  }
}

@media (max-width: 519px) {
  .nf-partner-prod {
    flex-direction: column;
    align-items: stretch;
  }

  .nf-partner-prod-actions {
    width: 100%;
    min-width: 0;
    flex-direction: row;
  }
}


.nf-empty{
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(15,23,42,0.14);
  color: rgba(15,23,42,0.55);
  background: rgba(15,23,42,0.02);
  font-size: 13px;
}



@media (max-width: 980px) {
  #productModal {
    width: min(880px, calc(100vw - 22px));
    max-height: 84vh;
  }

  .nf-partner-modal-grid {
    grid-template-columns: 1fr;
  }

  .nf-partner-modal-left {
    border-right: none;
    border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
  }

  .nf-partner-modal-actions {
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  #productModal {
    width: calc(100vw - 16px);
    border-radius: 18px;
  }
  .nf-partner-modal-left,
  .nf-partner-modal-right{
    padding: 18px 16px 18px 16px;
  }
  .nf-partner-modal-title{ font-size: 20px; }
  .nf-partner-modal-info{ grid-template-columns: 1fr; }
  .nf-modal-close{
    right: 10px;
    top: 10px;
  }
}



.nf-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(var(--nf-graphite-rgb), .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  
  z-index: 200;
}

.nf-backdrop.nf-backdrop-visible{
  opacity: 1;
  pointer-events: auto;
}

#productModal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: min(1040px, calc(100vw - 36px));
  max-height: min(740px, calc(100vh - 36px));
  background: var(--nf-color-surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(var(--nf-graphite-rgb), 0.22);
  opacity: 0;
  pointer-events: none;
  
  z-index: 210;
  overflow: hidden;
}

#productModal.nf-modal-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.nf-modal-close{
  position:absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--nf-color-hairline);
  background: rgba(255,255,255,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  
  z-index: 3;
}
.nf-modal-close:hover{ transform: scale(1.03); background:var(--nf-color-surface); }

.nf-product-modal{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  height: 100%;
}

@media (max-width: 940px){
  .nf-product-modal{ grid-template-columns: 1fr; }
}

.nf-product-modal__media{
  background: linear-gradient(180deg,var(--nf-color-surface-alt),var(--nf-color-surface));
  padding: 18px;
  border-right: 1px solid var(--nf-color-hairline);
}

@media (max-width: 940px){
  .nf-product-modal__media{ border-right: 0; border-bottom: 1px solid var(--nf-color-hairline); }
}

.nf-product-modal__hero{
  border-radius: 18px;
  background: var(--nf-color-hairline);
  height: 280px;
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--nf-color-line-muted);
  font-size: 13px;
}

.nf-product-modal__thumbs{
  margin-top: 12px;
  display:flex;
  gap: 10px;
}

.nf-modal-thumb{
  width: 64px;
  height: 52px;
  border-radius: 14px;
  background: var(--nf-color-surface-alt);
  border: 1px solid var(--nf-color-hairline);
  cursor:pointer;
}
.nf-modal-thumb-active{
  outline: 2px solid rgba(var(--nf-accent-rgb),.55);
  border-color: rgba(var(--nf-accent-rgb),.55);
  background: var(--nf-color-accent-soft);
}

.nf-product-modal__content{
  padding: 18px 20px 16px;
  overflow:auto;
}

.nf-product-modal__title{
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color:var(--nf-color-text-primary);
}

.nf-product-modal__sub{
  margin-top: 6px;
  font-size: 13px;
  color:var(--nf-color-muted);
  line-height: 1.45;
}

.nf-product-modal__meta{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color:var(--nf-color-placeholder);
}

.nf-product-modal__meta span{
  background:var(--nf-color-surface-subtle);
  border: 1px solid var(--nf-color-hairline);
  padding: 6px 10px;
  border-radius: 999px;
}

.nf-product-modal__row{
  margin-top: 12px;
  display:flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.nf-qty-input{
  display:flex;
  align-items:center;
  gap: 8px;
  background:var(--nf-color-surface-subtle);
  border: 1px solid var(--nf-color-hairline);
  border-radius: 999px;
  padding: 6px 8px;
}

.nf-qty-input input{
  width: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  outline: none;
  font-size: 13px;
}

.nf-qty-input button{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--nf-color-hairline);
  background:var(--nf-color-surface);
  cursor:pointer;
}

.nf-product-modal__price{
  text-align:right;
  font-size: 12px;
  color:var(--nf-color-muted);
}
.nf-product-modal__price strong{
  display:block;
  font-size: 14px;
  color:var(--nf-color-text-primary);
}

.nf-product-modal__actions{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nf-tabs{
  margin-top: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nf-tab-btn{
  border: 1px solid var(--nf-color-hairline);
  background:var(--nf-color-surface);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  color:var(--nf-color-text-tertiary);
  cursor:pointer;
}

.nf-tab-btn-active{
  border-color: rgba(var(--nf-accent-rgb),.7);
  background: rgba(var(--nf-accent-rgb),.12);
  color:var(--nf-color-text-primary);
}

.nf-tab{
  display:none;
  margin-top: 12px;
  font-size: 13px;
  color:var(--nf-color-text-primary);
  line-height: 1.55;
}
.nf-tab-active{ display:block; }

.nf-tab ul, .nf-tab ol{ padding-left: 18px; margin: 8px 0; }
.nf-tab li{ margin: 6px 0; color:var(--nf-color-text-tertiary); }


body.nf-overlay-open {
  overflow: hidden;
  touch-action: none;
}

#cartBackdrop { z-index: 40; }
.nf-cart-panel { z-index: 50; }
#productModalBackdrop,
#partnerModalBackdrop,
#newsModalBackdrop,
#quickQuoteBackdrop,
#modalOverlay {
  z-index: 100;
  position: fixed;
  inset: 0;
  background: rgba(var(--nf-graphite-rgb), 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  
}
#productModalBackdrop.nf-backdrop-visible,
#partnerModalBackdrop.nf-backdrop-visible,
#newsModalBackdrop.nf-backdrop-visible,
#quickQuoteBackdrop.nf-backdrop-visible {
  opacity: 1;
  pointer-events: auto;
}


#partnerModal,
#quickQuoteModal {
  z-index: 110;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  opacity: 0;
  pointer-events: none;
}

#partnerModal .nf-modal-inner,
#quickQuoteModal .nf-modal-inner {
  pointer-events: auto;
}


#newsModal {
  z-index: 110;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
}

#newsModal .nf-modal-inner.nf-modal-news {
  width: min(1000px, 100%);
  max-width: 1000px;
  max-height: min(90vh, 880px);
  min-height: 0;
  height: min(82vh, 820px);
  flex: 0 1 auto;
  margin: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  border-radius: var(--nf-radius-lg);
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
  background: var(--nf-color-surface);
  box-shadow: var(--nf-shadow-modal);
}

#newsModal .nf-modal-inner.nf-modal-news::before {
  display: none;
}

#newsModal .nf-news-modal-header {
  position: relative;
  padding: 4px 52px 0 2px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.14);
  padding-bottom: 16px;
}

#newsModal .nf-news-modal-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
}

#newsModal .nf-news-modal-title {
  margin: 10px 0 0;
  max-width: 32ch;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--nf-color-text-primary);
  text-wrap: balance;
}

#newsModal .nf-news-modal-media {
  margin: 0 0 20px;
  border-radius: var(--nf-radius-card);
  overflow: hidden;
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  background: var(--nf-color-surface-subtle);
  box-shadow: var(--nf-shadow-subtle);
}

#newsModal .nf-news-modal-img {
  display: block;
  width: 100%;
  max-height: min(320px, 42vh);
  object-fit: cover;
  object-position: center;
}

#newsModal .nf-news-modal-body {
  flex: 1;
  min-height: 0;
  margin-top: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

#newsModal .nf-news-modal-paragraph {
  margin: 0 0 1.14em;
  max-width: 66ch;
  font-size: 1.04rem;
  line-height: 1.83;
  color: var(--nf-color-text-tertiary);
}

#newsModal .nf-news-modal-paragraph:first-child,
#newsModal .nf-news-modal-paragraph.nf-news-modal-intro {
  margin-bottom: 1.25em;
  padding: 0 0 16px;
  border: none;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nf-color-text-secondary);
  font-size: 1.06rem;
  line-height: 1.72;
  font-weight: 500;
}

#newsModal .nf-news-modal-paragraph:last-child {
  margin-bottom: 0;
}

#productModal {
  z-index: 110;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1240px, calc(100vw - 24px));
  height: min(92vh, 920px);
  max-height: min(92vh, 920px);
  background: var(--nf-color-surface);
  border-radius: 20px;
  box-shadow: var(--nf-shadow-modal);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  
}
#productModal.nf-modal-visible,
#newsModal.nf-modal-visible {
  opacity: 1;
  pointer-events: auto;
}


#quickQuoteModal.nf-modal-visible {
  opacity: 1;
  pointer-events: none;
}


#partnerModal.nf-modal-visible {
  opacity: 1;
  pointer-events: auto;
}

#toastContainer {
  z-index: 400;
}

.nf-modal-inner {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  max-height: min(82vh, 700px);
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

#productModal .nf-modal-inner {
  max-height: min(92vh, 920px);
}

#newsModal .nf-modal-inner {
  max-height: none;
  height: min(84vh, 860px);
  min-height: 0;
}

#quickQuoteModal .nf-modal-inner {
  width: min(580px, 100%);
  max-width: 100%;
  height: auto;
  max-height: min(92vh, 880px);
  min-height: 0;
  margin: auto;
  flex: 0 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--nf-color-surface);
  border-radius: var(--nf-radius-lg);
  box-shadow: var(--nf-shadow-modal);
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
}

#partnerModal .nf-modal-inner.nf-modal-partner {
  width: min(1080px, 100%);
  max-width: 100%;
  max-height: min(86vh, 780px);
  margin: auto;
  flex: 0 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--nf-color-surface);
  border-radius: var(--nf-radius-lg);
  box-shadow: var(--nf-shadow-modal);
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
}

#newsModal .nf-modal-grabber {
  display: none;
}

#newsModal .nf-news-modal-article {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0;
}

#newsModal .nf-news-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(18px, 2.5vw, 28px);
  flex: 1;
  min-height: 0;
}

#newsModal .nf-news-modal-content {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 4px 4px 2px;
}

#newsModal .nf-news-modal-body {
  min-height: 0;
  padding-right: 10px;
}

#newsModal .nf-news-modal-media-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--nf-radius-card);
  border: 1px solid rgba(var(--nf-line-rgb), 0.16);
  background: var(--nf-color-surface-subtle);
  box-shadow: var(--nf-shadow-xs);
}

#newsModal .nf-news-modal-media {
  margin: 0;
  border-radius: var(--nf-radius-md);
  overflow: hidden;
  min-height: 240px;
  max-height: 58vh;
  background: color-mix(in srgb, var(--nf-color-accent-soft) 55%, var(--nf-color-surface) 45%);
  box-shadow: none;
}

#newsModal .nf-news-modal-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 58vh;
  object-fit: cover;
  object-position: center;
}

#newsModal .nf-news-modal-media-fallback {
  min-height: 240px;
  border-radius: var(--nf-radius-md);
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  background:
    linear-gradient(145deg, rgba(var(--nf-accent-rgb), 0.08) 0%, transparent 42%),
    linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

#newsModal .nf-news-modal-fallback-inner {
  width: 100%;
  max-width: 34ch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-align: center;
}

#newsModal .nf-news-modal-fallback-kicker {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.14);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
  line-height: 1.45;
}

#newsModal .nf-news-modal-fallback-caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nf-color-text-tertiary);
  text-wrap: balance;
}

#newsModal .nf-news-modal-gallery {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

#newsModal .nf-news-modal-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74px;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

#newsModal .nf-news-modal-gallery-thumb {
  border: 1px solid rgba(var(--nf-line-rgb), 0.26);
  border-radius: 10px;
  padding: 0;
  height: 54px;
  background: var(--nf-color-surface-subtle);
  overflow: hidden;
  cursor: pointer;
}

#newsModal .nf-news-modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#newsModal .nf-news-modal-gallery-thumb.is-active {
  border-color: rgba(var(--nf-accent-rgb), 0.7);
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.16);
}

#newsModal .nf-news-modal-gallery-nav {
  width: 34px;
  height: 34px;
  border-radius: var(--nf-radius-sm);
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
  background: var(--nf-color-surface);
  color: var(--nf-color-text-secondary);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--nf-shadow-xs);
}

#quickQuoteBackdrop,
#partnerModalBackdrop,
#newsModalBackdrop {
  background: rgba(var(--nf-graphite-rgb), 0.46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


#partnerModal .nf-modal-inner,
#partnerModal .nf-modal-partner,
#newsModal .nf-modal-inner,
#newsModal .nf-modal-news,
#quickQuoteModal .nf-modal-inner,
#quickQuoteModal .nf-modal-form {
  background: var(--nf-color-surface);
  color: var(--nf-color-text-primary);
}

#partnerModal .nf-modal-close.nf-modal-ds-close,
#newsModal .nf-modal-close.nf-modal-ds-close,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--nf-radius-md);
  border: 1px solid rgba(var(--nf-line-rgb), 0.26);
  background: var(--nf-color-surface-subtle);
  box-shadow: var(--nf-shadow-xs);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#partnerModal .nf-modal-close.nf-modal-ds-close:hover,
#newsModal .nf-modal-close.nf-modal-ds-close:hover,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close:hover {
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.42);
  box-shadow: var(--nf-shadow-sm);
}

#partnerModal .nf-modal-ds-close svg,
#newsModal .nf-modal-ds-close svg,
#quickQuoteModal .nf-modal-ds-close svg {
  stroke: var(--nf-color-text-muted);
}

#partnerModal .nf-modal-ds-close:hover svg,
#newsModal .nf-modal-ds-close:hover svg,
#quickQuoteModal .nf-modal-ds-close:hover svg {
  stroke: var(--nf-color-text-primary);
}

.nf-modal-grabber {
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(var(--nf-line-rgb), 0.7);
  margin: 6px auto 12px;
}

@media (min-width: 769px) {
  #partnerModal .nf-modal-grabber {
    display: none;
  }
}


@media (max-width: 768px) {
  #partnerModal {
    inset: auto;
    display: block;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    height: auto;
    max-height: 92vh;
    padding: 0;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: transparent;
    transform: translate(-50%, 100%);
  
  }

  #partnerModal.nf-modal-visible {
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  #quickQuoteModal {
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    padding: max(10px, env(safe-area-inset-top, 0px)) 12px
      max(10px, env(safe-area-inset-bottom, 0px)) 12px;
    overflow-y: auto;
  }

  
  #partnerModal .nf-modal-inner,
  #partnerModal .nf-modal-partner {
    background: var(--nf-color-surface);
    color: var(--nf-color-text-primary);
    border-radius: 22px 22px 0 0;
    border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
    box-shadow: 0 24px 60px rgba(var(--nf-graphite-rgb), 0.16);
    padding: 14px 16px 20px;
    max-height: 92vh;
  }

  
  #newsModal .nf-modal-news {
    border-radius: 22px;
    padding: 18px 16px 18px;
  }

  #newsModal .nf-news-modal-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #newsModal .nf-news-modal-media-panel {
    order: -1;
    padding: 6px;
    border-radius: 16px;
  }

  #newsModal .nf-news-modal-media,
  #newsModal .nf-news-modal-img,
  #newsModal .nf-news-modal-media-fallback {
    min-height: 210px;
    max-height: 38vh;
  }

  #newsModal .nf-news-modal-gallery-track {
    grid-auto-columns: 62px;
  }

  #newsModal .nf-news-modal-gallery-thumb {
    height: 48px;
  }

  #newsModal .nf-modal-close.nf-modal-ds-close,
  #partnerModal .nf-modal-close.nf-modal-ds-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--nf-radius-md);
    background: var(--nf-color-surface-subtle);
    border: 1px solid rgba(var(--nf-line-rgb), 0.26);
    box-shadow: var(--nf-shadow-xs);
  }

  #newsModal .nf-modal-close.nf-modal-ds-close:hover,
  #partnerModal .nf-modal-close.nf-modal-ds-close:hover {
    background: var(--nf-color-surface);
    border-color: rgba(var(--nf-accent-rgb), 0.38);
    box-shadow: var(--nf-shadow-sm);
  }

  
  #newsModal .nf-news-modal-header {
    padding-right: 52px;
    margin-bottom: 14px;
    padding-bottom: 6px;
  }

  #newsModal .nf-news-modal-meta {
    color: var(--nf-color-muted);
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  #newsModal .nf-news-modal-title {
    color: var(--nf-color-text-primary);
    font-size: clamp(1.28rem, 5.2vw, 1.56rem);
    line-height: 1.23;
    font-weight: 720;
    margin: 0;
    letter-spacing: -0.02em;
  }

  #newsModal .nf-news-modal-media {
    margin-bottom: 16px;
  }

  #newsModal .nf-news-modal-body {
    color: var(--nf-color-text-tertiary);
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding-right: 4px;
    scroll-behavior: smooth;
  }

  #newsModal .nf-news-modal-paragraph {
    color: var(--nf-color-text-tertiary);
    max-width: none;
    font-size: 15px;
    line-height: 1.74;
  }

  #newsModal .nf-news-modal-paragraph:first-child,
  #newsModal .nf-news-modal-paragraph.nf-news-modal-intro {
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.68;
  }

  
  .nf-partner-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nf-partner-modal-head {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 6px;
  }

  .nf-partner-modal-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
    border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
    box-shadow: 0 6px 20px rgba(var(--nf-graphite-rgb), 0.08);
  }

  .nf-partner-modal-logo img {
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    width: auto;
    height: auto;
    object-fit: contain;
  }

  #partnerModalTitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--nf-color-text-primary);
    letter-spacing: -0.01em;
    word-break: break-word;
  }

  .nf-partner-modal-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--nf-color-placeholder);
  }

  .nf-partner-modal-desc {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--nf-color-text-secondary);
  }

  .nf-partner-modal-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .nf-stat {
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid var(--nf-color-hairline);
    background: var(--nf-color-surface-subtle);
  }

  .nf-stat-k {
    font-size: 11px;
    color: var(--nf-color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .nf-stat-v {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--nf-color-text-primary);
  }

  .nf-partner-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .nf-partner-modal-actions .nf-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
  }

  .nf-partner-modal-right-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
  }

  .nf-partner-modal-right-head h3 {
    margin: 0;
    font-size: 15px;
    color: var(--nf-color-text-primary);
  }

  .nf-partner-modal-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 34vh;
    overflow-y: auto;
    padding-right: 2px;
  }

  .nf-partner-prod {
    border-radius: 16px;
    border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
    background: var(--nf-color-surface);
    padding: 12px 14px;
    box-shadow: 0 4px 14px rgba(var(--nf-graphite-rgb), 0.04);
  }

  .nf-partner-prod-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nf-color-text-primary);
  }

  .nf-partner-prod-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--nf-color-placeholder);
  }

  
  #partnerModal .nf-modal-inner::-webkit-scrollbar,
  #newsModal .nf-modal-inner::-webkit-scrollbar,
  .nf-partner-modal-products::-webkit-scrollbar,
  .nf-news-modal-body::-webkit-scrollbar {
    width: 4px;
  }

  #partnerModal .nf-modal-inner::-webkit-scrollbar-thumb,
  #newsModal .nf-modal-inner::-webkit-scrollbar-thumb,
  .nf-partner-modal-products::-webkit-scrollbar-thumb,
  .nf-news-modal-body::-webkit-scrollbar-thumb {
    background: rgba(var(--nf-line-rgb), 0.38);
    border-radius: 999px;
  }

  #partnerModal .nf-modal-inner::-webkit-scrollbar-track,
  #newsModal .nf-modal-inner::-webkit-scrollbar-track,
  .nf-partner-modal-products::-webkit-scrollbar-track,
  .nf-news-modal-body::-webkit-scrollbar-track {
    background: transparent;
  }
}

.nf-modal-close,
.nf-icon-btn.nf-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--adm-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  box-shadow: 0 0 0 0 rgba(var(--nf-graphite-rgb), 0.0);
}
.nf-modal-close:hover,
.nf-icon-btn.nf-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--adm-text);
  
  box-shadow:
    0 0 0 1px rgba(var(--nf-line-rgb), 0.3),
    0 0 0 8px rgba(var(--nf-graphite-rgb), 0.85);
}


.nf-modal-product-main-image-wrapper {
  background: linear-gradient(145deg, var(--nf-color-surface-subtle) 0%, color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%) 50%, var(--nf-color-border) 100%);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.nf-modal-product-right h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
  line-height: 1.25;
}
.nf-modal-subtitle {
  font-size: 0.9375rem;
  color: var(--nf-color-muted);
  line-height: 1.5;
}
.nf-modal-meta {
  font-size: 0.8125rem;
  color: var(--nf-color-muted);
  letter-spacing: 0.01em;
}
.nf-modal-qty-price {
  padding: 12px 0;
  border-top: 1px solid color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  border-bottom: 1px solid color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
}

.nf-tab ul {
  padding-left: 1.25rem;
  color: var(--nf-color-text-tertiary);
  line-height: 1.7;
}
.nf-tab li {
  margin-bottom: 6px;
}


/* ══════════════════════════════════════════════
   QUICK QUOTE MODAL — Two-column shell redesign
   ══════════════════════════════════════════════ */

#quickQuoteModal .nf-modal-inner.nf-modal-form.nf-modal-ds {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: min(92vh, 780px);
}

/* ─── Form panel ─── */
.nf-qq-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--nf-color-surface);
}
.nf-qq-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 10;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2) !important;
  background: var(--nf-color-surface) !important;
  box-shadow: var(--nf-shadow-xs) !important;
}
.nf-qq-close-btn:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.35) !important;
  box-shadow: var(--nf-shadow-sm) !important;
}
.nf-qq-right-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 24px;
}
.nf-qq-right-head {
  margin-bottom: 22px;
  padding-right: 40px;
}
.nf-qq-right-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--nf-color-text-primary);
}
.nf-qq-right-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-muted);
}

/* Form fields */
.nf-form-modal-ds {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nf-qq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 20px;
}
.nf-qq-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nf-qq-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-text-secondary);
  letter-spacing: 0.01em;
}
.nf-qq-label em {
  font-style: normal;
  color: var(--nf-accent, #4da0a9);
  margin-left: 2px;
}
.nf-qq-input {
  border-radius: 10px !important;
  border: 1.5px solid rgba(var(--nf-line-rgb), 0.18) !important;
  padding: 10px 13px !important;
  font-size: 14px !important;
  background: var(--nf-color-surface-subtle) !important;
  color: var(--nf-color-text-primary) !important;
  min-height: 44px !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s !important;
  box-shadow: none !important;
}
.nf-qq-input::placeholder {
  color: var(--nf-color-text-muted) !important;
  font-size: 13px !important;
}
.nf-qq-input:focus {
  background: var(--nf-color-surface) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.55) !important;
  box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.12) !important;
  outline: none !important;
}

/* Picker section heading */
.nf-qq-picker-section {
  margin-bottom: 4px;
}
.nf-qq-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.nf-qq-picker-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--nf-color-text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nf-qq-sel-count {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 100px;
  background: rgba(var(--nf-accent-rgb), 0.1);
  color: var(--nf-accent, #4da0a9);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
}

/* Actions */
.nf-qq-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nf-qq-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #4da0a9 0%, #3a8a93 100%) !important;
  box-shadow: 0 4px 16px rgba(var(--nf-accent-rgb), 0.28) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.nf-qq-submit:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(var(--nf-accent-rgb), 0.36) !important;
}
.nf-qq-submit:active {
  transform: translateY(0) !important;
}

/* Success */
.nf-qq-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(var(--nf-accent-rgb), 0.08);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  color: var(--nf-accent, #4da0a9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.nf-qq-success svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 560px) {
  .nf-qq-right-scroll { padding: 18px 16px 18px; }
  .nf-qq-form-grid { grid-template-columns: 1fr; gap: 10px; }
}

.nf-partner-modal-head {
  padding-bottom: 12px;
}
.nf-partner-modal-desc {
  font-size: 0.9375rem;
  color: var(--nf-color-text-secondary);
  line-height: 1.6;
}
.nf-partner-modal-stats .nf-stat,
.nf-partner-modal-info > div {
  background: var(--nf-color-surface-subtle);
  border: 1px solid var(--nf-color-border);
  border-radius: 12px;
  padding: 10px 14px;
  
}
.nf-partner-modal-stats .nf-stat-k,
.nf-partner-modal-info span {
  font-size: 0.75rem;
  color: var(--nf-color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nf-partner-modal-stats .nf-stat-v,
.nf-partner-modal-info strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  margin-top: 2px;
}
.nf-partner-modal-right-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--nf-color-text-primary);
}
.nf-partner-modal-right .nf-input {
  border-radius: var(--nf-radius-md);
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
  padding: 11px 14px;
  min-height: 44px;
  font-size: 14px;
  background-color: var(--nf-color-surface);
  box-shadow: var(--nf-shadow-xs);
}

.nf-partner-modal-right .nf-input:focus {
  border-color: rgba(var(--nf-accent-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.18);
  outline: none;
}

.nf-partner-modal-products {
  border-radius: var(--nf-radius-md);
  background: var(--nf-color-surface-subtle);
  padding: 10px 10px 12px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nf-partner-modal-empty.nf-empty {
  margin: 8px 4px;
  padding: 28px 20px;
  border-radius: var(--nf-radius-md);
  border: 1px dashed rgba(var(--nf-line-rgb), 0.28);
  background: var(--nf-color-surface);
  font-size: 14px;
  line-height: 1.5;
  color: var(--nf-color-muted);
}

.nf-empty {
  color: var(--nf-color-muted);
  font-size: 0.9375rem;
  padding: 24px;
  text-align: center;
}

.nf-tabs-body {
  margin-top: 10px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: var(--nf-color-surface);
  border: 1px solid var(--nf-color-hairline);
  box-shadow: 0 10px 28px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-tab-section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nf-tab-section-title::before {
  content: "☺";
  font-size: 15px;
  color: var(--nf-color-primary-dark);
}

.nf-install-note {
  background: color-mix(in srgb, var(--nf-warning) 12%, var(--nf-color-surface) 88%);
}


.nf-product-docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.nf-product-docs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--nf-color-surface-subtle);
  border: 1px solid var(--nf-color-hairline);
}

.nf-product-docs-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-product-docs-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-strong);
}

.nf-product-docs-item-meta {
  font-size: 11px;
  color: var(--nf-color-placeholder);
}

.nf-product-docs-link {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--nf-color-primary-border);
  background: var(--nf-color-accent-soft);
  color: var(--nf-color-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nf-product-docs-link:hover {
  background: var(--nf-color-accent-soft);
}


.nf-admin-wysiwyg {
  border-radius: 12px;
  border: 1px solid var(--nf-color-hairline);
  background: var(--nf-color-surface-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nf-admin-wysiwyg-toolbar {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--nf-color-hairline);
  background: var(--nf-color-surface-alt);
}

.nf-admin-wysiwyg-btn {
  border: none;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 11px;
  cursor: pointer;
  background: transparent;
  color: var(--nf-color-text-secondary);
}

.nf-admin-wysiwyg-btn:hover {
  background: var(--nf-color-hairline);
}

.nf-admin-wysiwyg-editor {
  min-height: 120px;
  max-height: 260px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.6;
  overflow: auto;
  background: var(--adm-bg);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.35);
}

.nf-admin-wysiwyg-editor:focus-visible {
  outline: none;
}


.nf-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 20px);
  box-sizing: border-box;
  background: rgba(var(--nf-graphite-rgb), 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  
}

.nf-product-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nf-product-lightbox-inner {
  position: relative;
  width: min(96vw, 1440px);
  height: min(92vh, 1040px);
  max-height: min(92vh, 1040px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.nf-product-lightbox-image-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 18px;
  background: radial-gradient(circle at top, var(--nf-color-dark-surface-2), var(--nf-color-text-primary));
  box-shadow: 0 35px 80px rgba(var(--nf-graphite-rgb), 0.9);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.nf-product-lightbox-img-clip {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-height: min(58vh, 720px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.nf-product-lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
}

@media (hover: none), (pointer: coarse) {
  .nf-product-lightbox-img-clip {
    cursor: default;
  }
}

.nf-product-lightbox-caption {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--nf-color-hairline);
  padding: 0 4px;
}

.nf-product-lightbox-counter {
  opacity: 0.8;
}

.nf-product-lightbox-close,
.nf-product-lightbox-prev,
.nf-product-lightbox-next,
.nf-product-lightbox-zoom {
  position: absolute;
  z-index: 8;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  color: var(--nf-color-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(var(--nf-graphite-rgb), 0.75);
  
  opacity: 0.9;
}

.nf-product-lightbox-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nf-product-lightbox-icon svg {
  width: 18px;
  height: 18px;
}

.nf-product-lightbox-close:hover,
.nf-product-lightbox-prev:hover,
.nf-product-lightbox-next:hover,
.nf-product-lightbox-zoom:hover {
  background: rgba(var(--nf-graphite-rgb), 0.95);
  
  box-shadow: 0 18px 60px rgba(var(--nf-graphite-rgb), 0.9);
  opacity: 1;
}

.nf-product-lightbox-close {
  right: 12px;
}

.nf-product-lightbox-zoom {
  right: 52px;
  top: 12px;
  font-size: 14px;
}

.nf-product-lightbox-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.nf-product-lightbox-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .nf-product-lightbox {
    padding: 0;
  }

  .nf-product-lightbox-inner {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    gap: 8px;
  }

  .nf-product-lightbox-image-wrap {
    border-radius: 0;
    flex: 1 1 auto;
  }

  .nf-product-lightbox-img-clip {
    min-height: 0;
  }

  .nf-product-lightbox-caption {
    padding: 0 12px 10px;
  }
}

@media (max-width: 768px) {
  
  .nf-main {
    padding-left: 0;
    padding-right: 0;
  }

  .container,
  .nf-container {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nf-main > section:not(:has(.container)) {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nf-main > section {
    margin-bottom: 28px;
  }

  .nf-main > section:last-child {
    margin-bottom: 0;
  }

  
  .nf-container.nf-catalog-layout.nf-page-container--wide {
    max-width: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nf-catalog-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nf-filters,
  .nf-catalog-main {
    width: 100%;
    max-width: 100%;
  }

  
  .nf-adv,
  .nf-partner,
  .nf-partner-card,
  .nf-category,
  .nf-category-card,
  .nf-news-main,
  .nf-news-card,
  .nf-contact-card,
  .nf-contacts-form-shell,
  .nf-catalog-grid .nf-product-card,
  .nf-popular__track .nf-product-card--popular {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .nf-popular:not(.nf-home-section) {
    padding-bottom: 32px;
  }

  .nf-main > section.nf-home-section {
    margin-bottom: 0;
  }

  .nf-popular__viewport {
    overflow: hidden;
    padding: 0 0 8px;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }

  .nf-popular__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    width: max-content;
    min-width: 100%;
    padding-inline: 20px;
  
  }

  
  .nf-popular__track .nf-product-card--popular {
    flex: 0 0 clamp(220px, 65vw, 260px);
    width: clamp(220px, 65vw, 260px);
    min-width: 220px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .nf-popular__track .nf-product-thumb,
  .nf-popular__track .nf-product-thumb--popular {
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 -12px 8px;
    border-radius: 12px;
    overflow: hidden;
  }

  .nf-popular__track .nf-product-thumb-inner,
  .nf-popular__track .nf-product-thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nf-popular__track .nf-popular-actions .nf-btn {
    width: 100%;
    height: 44px;
    border-radius: 12px;
  }

  .nf-popular__viewport.nf-carousel-dragging .nf-popular__track {
  
  }

  
  .nf-catalog-grid .nf-product-card,
  .nf-catalog-grid .nf-product-card--catalog {
    width: 100%;
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular) {
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 0 8px 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular) .nf-product-thumb-inner,
  .nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular) .nf-product-thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nf-catalog-grid .nf-product-card--catalog .nf-product-thumb--popular {
    height: 160px;
    margin: 0 -12px 10px;
    border-radius: 16px;
  }

  .nf-catalog-grid .nf-product-actions:not(.nf-popular-actions) .nf-btn,
  .nf-catalog-grid .nf-product-actions:not(.nf-popular-actions) .nf-btn-primary,
  .nf-catalog-grid .nf-product-actions:not(.nf-popular-actions) .nf-btn-secondary {
    width: 100%;
    height: 40px;
    border-radius: 12px;
  }

  .nf-catalog-grid .nf-product-card--catalog .nf-popular-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nf-catalog-grid .nf-product-card--catalog .nf-popular-actions .nf-btn {
    width: 100%;
    min-height: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
  }

  
  #productModal .nf-modal-inner {
    padding: 20px;
    max-height: min(92vh, 920px);
  }

  #productModal .nf-modal-product {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  #productModal .nf-modal-product-left {
    order: 0;
  }

  #productModal .nf-modal-product-main-image-wrapper {
    width: 100%;
    max-width: 100%;
    height: min(72vh, 92vw);
    min-height: min(260px, 42vh);
    max-height: min(80vh, 96vw);
    border-radius: 14px;
    margin-bottom: 10px;
  }

  #productModal .nf-modal-product-detail {
    max-height: min(42vh, 360px);
  }

  #productModal .nf-modal-product-image {
    object-fit: contain;
  }

  #productModal .nf-modal-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  #productModal .nf-modal-thumb {
    flex: 0 0 auto;
  }

  #productModal .nf-modal-qty-price {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #productModal .nf-qty-control,
  #productModal .nf-price-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  #productModal .nf-modal-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #productModal .nf-modal-cta .nf-btn {
    width: 100%;
    height: 48px;
    min-height: 44px;
    border-radius: 14px;
    font-size: 15px;
  }

  #productModal .nf-tabs-header {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }

  #productModal .nf-tab-btn {
    flex: 0 0 auto;
  }

  
  .nf-partners__grid,
  .nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .nf-partners .nf-partner,
  .nf-partners .nf-partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    border-radius: 16px;
    min-height: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    text-align: center;
  }

  .nf-partners .nf-partner-logo-wrap {
    width: 60px;
    height: 60px;
  }

  .nf-partners .nf-partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  
  .nf-news-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .nf-news-main,
  .nf-news-card,
  #homeNews .nf-news-main,
  #homeNews .nf-news-card {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .nf-news-main-image,
  .nf-news-card__image {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
  }

  .nf-news-main-image-img,
  .nf-news-card__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  
  .nf-categories__grid,
  .nf-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nf-category,
  .nf-category-card {
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .nf-category-footer,
  .nf-category-card .nf-category-footer {
    margin-top: auto;
    padding-top: 12px;
  }

  
  .nf-partners-grid-detailed,
  #partnersList.nf-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  #partnersList .nf-partner,
  #partnersList .nf-partner-card {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  
  .nf-about-hero-shell {
    padding: 28px 16px 30px;
  }

  .nf-about-hero-title {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.18;
  }

  .nf-about-hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(208, 228, 226, 0.9);
  }

  .nf-about-hero-main {
    gap: 14px;
  }

  .nf-about-page {
    --nf-about-section-y: 28px;
  }

  .nf-about-mission-note {
    padding: 18px 18px 20px;
  }

  
  .nf-contacts-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .nf-contacts-tabs .nf-tab-btn {
    height: 44px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    flex: 0 0 auto;
    align-items: center;
    display: inline-flex;
  }

  
  .section-head {
    margin-bottom: 16px;
    gap: 12px;
  }

  .nf-cta {
    margin-bottom: 32px;
  }

  .nf-cta__box {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  
  
  
  }
}




@media (max-width: 1024px) {
  :root {
    --nf-phone-pad: 16px;
    --nf-phone-gap: 12px;
    --nf-phone-radius: 20px;
    --nf-phone-card-radius: 18px;
    --nf-phone-shadow: 0 1px 2px rgba(var(--nf-graphite-rgb), 0.04);
    --nf-phone-border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  }

  
  .nf-main {
    max-width: 100%;
    margin: 0;
    padding: 16px 0 48px;
    box-sizing: border-box;
  }

  
  .container {
    padding-left: var(--nf-phone-pad);
    padding-right: var(--nf-phone-pad);
  }

  
  .nf-hero,
  .nf-advantages,
  .nf-popular,
  .nf-categories,
  .nf-partners,
  .nf-news,
  .nf-cta,
  .nf-hero__grid,
  .nf-advantages__grid,
  .nf-popular__carousel-wrap,
  .nf-popular__viewport,
  .nf-popular__track,
  .nf-categories__ecosystem,
  .nf-categories__grid,
  .nf-partners__grid,
  .nf-news-layout,
  .nf-cta__box,
  .nf-adv,
  .nf-product-card--popular {
    max-width: 100%;
    box-sizing: border-box;
  }

  .nf-hero h1,
  .nf-hero p,
  .nf-adv h3,
  .nf-adv p,
  .nf-product-card--popular * {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  
  .nf-categories {
    margin-bottom: 28px;
  }

  .nf-categories .section-head {
    margin-bottom: 14px;
  }

  .nf-categories__grid {
    display: grid;
    gap: var(--nf-phone-gap);
    width: 100%;
    min-width: 0;
  }

  .nf-categories__grid .nf-category-card,
  .nf-categories__grid .nf-category {
    min-width: 0;
    width: 100%;
  }

  
  .nf-partners {
    margin-bottom: 28px;
  }

  .nf-partners .section-head {
    margin-bottom: 14px;
  }

  .nf-partners__grid {
    display: grid;
    gap: var(--nf-phone-gap);
    width: 100%;
    min-width: 0;
  }

  .nf-partners__grid .nf-partner-card,
  .nf-partners__grid .nf-partner {
    min-width: 0;
  }

  
  .nf-news {
    margin-bottom: 28px;
  }

  .nf-news .section-head {
    margin-bottom: 14px;
  }

  .nf-news-layout {
    display: grid;
    gap: var(--nf-phone-gap);
    width: 100%;
    min-width: 0;
  }

  .nf-news-layout .nf-news-main,
  .nf-news-layout .nf-news-card {
    min-width: 0;
    max-width: 100%;
  }

  
  .nf-cta {
    margin-bottom: 0;
  }

  .nf-cta__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 20px var(--nf-phone-pad);
    border-radius: var(--nf-phone-radius);
  }

  .nf-cta__box h2,
  .nf-cta__box p {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .nf-cta__box .btn {
    flex-shrink: 0;
  }

  
  .nf-header::after {
    display: none;
  }

  .nf-header-inner {
    max-width: 100%;
    padding: 12px 20px;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .nf-header-search-wrapper,
  .nf-header-actions,
  .nf-nav {
    display: none !important;
  }

  .nf-logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  .nf-logo-img-header {
    display: block;
    max-height: 34px;
    width: auto;
    object-fit: contain;
  }

  .nf-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

.nf-header-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: var(--nf-color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

  .nf-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  
  .nf-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
  
  }

  .nf-mobile-menu.nf-mobile-menu--open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  
  }

  .nf-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(var(--nf-graphite-rgb), 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
  
  }

  .nf-mobile-menu.nf-mobile-menu--open .nf-mobile-menu__backdrop {
    opacity: 1;
  }

  .nf-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100%;
    background: var(--nf-color-surface);
    box-shadow: -4px 0 24px rgba(var(--nf-graphite-rgb), 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
  
  }

  .nf-mobile-menu.nf-mobile-menu--open .nf-mobile-menu__panel {
    transform: translateX(0);
  }

  .nf-mobile-menu__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    min-height: 72px;
    border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  }

  .nf-mobile-menu__logo {
    padding: 0;
    border: none;
    background: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  .nf-mobile-menu__logo .nf-logo-img-header {
    height: 32px;
    display: block;
  }

  .nf-mobile-menu__close {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--nf-color-surface-mid);
    color: var(--nf-color-text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
  }

  .nf-mobile-menu__close:hover {
    background: var(--nf-color-surface-dim);
  }

  .nf-mobile-menu__close svg {
    width: 22px;
    height: 22px;
  }

  .nf-mobile-menu__nav {
    flex: 1;
    padding: 24px 20px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nf-mobile-menu__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    width: 100%;
    padding: 0 20px;
    margin: 0;
    border: none;
    background: var(--nf-color-surface-alt);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--nf-color-text-primary);
    text-align: left;
    cursor: pointer;
    border-radius: 14px;
  
    -webkit-tap-highlight-color: transparent;
  }

  .nf-mobile-menu__link:hover {
    background: rgba(var(--nf-accent-rgb), 0.08);
    color: var(--nf-accent);
  }

  .nf-mobile-menu__link:active {
    background: rgba(var(--nf-accent-rgb), 0.14);
    color: var(--nf-accent);
  }

  .nf-mobile-menu__link.nf-nav-link-active {
    background: rgba(var(--nf-accent-rgb), 0.12);
    color: var(--nf-accent);
  }

  .nf-mobile-menu__link:focus-visible {
    outline: none;
    border: 1px solid var(--nf-accent);
    box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.18);
  }

  body.nf-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  
  .nf-hero {
    margin-bottom: 28px;
    padding: 10px 0 0;
  }

  .nf-hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
    box-shadow: 0 8px 24px rgba(var(--nf-graphite-rgb), 0.05);
  }

  .nf-hero__visual {
    display: none !important;
  }

  .nf-hero__content {
    min-width: 0;
  }

  .nf-hero__content h1 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 100%;
  }

  .nf-hero__content p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--nf-color-text-secondary);
    max-width: 100%;
  }

  .nf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
  }

  .nf-hero__actions .btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
  }

  
  .nf-advantages {
    margin-bottom: 28px;
  }

  .nf-advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .nf-adv {
    min-width: 0;
    width: 100%;
    padding: 20px;
    border-radius: var(--nf-phone-card-radius);
    background: var(--nf-color-surface);
    border: var(--nf-phone-border);
    box-shadow: var(--nf-phone-shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nf-adv h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .nf-adv p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nf-color-muted);
  }

  
  .nf-popular:not(.nf-home-section) {
    padding: 0 0 28px;
  }

  .nf-popular__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  .nf-popular__head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .nf-popular__all-link {
    flex: 0 0 auto;
    font-size: 14px;
    white-space: nowrap;
  }

  .nf-popular__carousel-wrap {
    overflow: visible;
  }

  .nf-popular__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .nf-popular__viewport::-webkit-scrollbar {
    display: none;
  }

  .nf-popular__track {
    display: flex;
    gap: 14px;
    padding: 2px 0 6px;
    width: max-content;
    min-width: 100%;
  }

  .nf-popular .nf-product-card--popular {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    border-radius: 18px;
    border: var(--nf-phone-border);
    box-shadow: var(--nf-phone-shadow);
    padding: 12px;
    scroll-snap-align: start;
  }

  .nf-popular .nf-product-thumb--popular,
  .nf-popular .nf-product-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
  }

  .nf-popular .nf-product-body {
    padding-top: 12px;
  }

  .nf-popular .nf-popular-title-block {
    gap: 8px;
  }

  .nf-popular .nf-popular-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nf-popular .nf-popular-actions .nf-btn,
  .nf-popular .nf-popular-actions button,
  .nf-popular .nf-popular-actions a {
    min-height: 44px;
    width: 100%;
    border-radius: 14px;
  }

  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


@media (min-width: 1025px) {
  .nf-nav {
    display: flex !important;
  }

  .nf-burger {
    display: none !important;
  }

  .nf-mobile-menu {
    display: none !important;
  }
}


@media (max-width: 480px) {
  :root {
    --nf-phone-pad: 16px;
  }

  
  .nf-header-inner {
    padding: 10px 16px;
    min-height: 68px;
  }

  .nf-logo-img-header {
    max-height: 30px;
  }

  .nf-header-right {
    gap: 8px;
  }

  .nf-header-icon-btn,
  .nf-cart-btn,
  .nf-burger {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  
  .nf-hero {
    margin-bottom: 24px;
    padding-top: 8px;
  }

  .nf-hero__grid {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .nf-hero__content h1 {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .nf-hero__content p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  
  .nf-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .nf-hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  
  .nf-advantages {
    margin-bottom: 24px;
  }

  
  .nf-advantages__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nf-adv {
    padding: 18px;
    border-radius: 18px;
  }

  .nf-adv h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .nf-adv p {
    font-size: 14px;
    line-height: 1.5;
  }

  
  .nf-popular__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  .nf-popular__head h2 {
    font-size: 20px;
    line-height: 1.15;
  }

  .nf-popular__all-link {
    font-size: 13px;
  }

  .nf-categories__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nf-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-cta__box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .nf-cta__box .btn {
    width: 100%;
    justify-content: center;
  }
}


@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --nf-phone-pad: 20px;
  }

  .nf-hero__content h1 {
    font-size: 30px;
  }

  
  .nf-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .nf-hero__actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .nf-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .nf-main {
    padding: 20px 0 56px;
  }

  .nf-hero__content h1 {
    font-size: 32px;
  }

  .nf-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nf-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}





html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


#app-root,
.nf-app,
.nf-main {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* —— Home: master section-divider = тот же блок, что между hero и «Популярное» (.section--home-flow-100) */
.nf-home-firstscreen {
  position: relative;
  z-index: 2;
}

.nf-home-layer--hero {
  isolation: isolate;
  margin-bottom: 0;
  padding-bottom: var(--nf-home-hero-exit-bottom);
  box-shadow: var(--nf-home-shadow-hero);
}

.nf-home-section {
  position: relative;
  z-index: 0;
  margin: 0;
  box-sizing: border-box;
  padding-top: var(--nf-home-section-pad-top);
  padding-bottom: var(--nf-home-section-pad-bottom);
  background-color: transparent;
  background-image: none;
  box-shadow: none;
}

/* Все главные секции со стыком: те же тени и альфы, что у эталона hero→popular */
.nf-home-section.section--home-flow-100 {
  isolation: isolate;
  z-index: 0;
  background-color: var(--nf-color-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, var(--nf-home-divider-inset-a)),
    0 -14px 34px -24px rgba(var(--nf-graphite-rgb), var(--nf-home-divider-shade-up)),
    0 20px 48px -38px rgba(var(--nf-graphite-rgb), var(--nf-home-divider-shade-dn));
}

.nf-home-section.section--home-flow-100::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--nf-home-divider-zone-h);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, var(--nf-home-divider-grad-white)) 0%,
    rgba(var(--nf-accent-rgb), var(--nf-home-divider-grad-accent)) 26%,
    transparent 72%
  );
}

.nf-home-section.section--home-flow-100 > .nf-home-section__container {
  position: relative;
  z-index: 1;
}

.nf-popular.nf-home-section.section--home-flow-100.section--lowered,
.nf-popular.nf-home-section.section--home-flow-100.section--lower {
  padding-top: var(--nf-home-after-hero-top);
  padding-bottom: var(--nf-home-section-pad-bottom);
}

/* Контентные настройки (воздух / сетки); стык — divider system выше */
.nf-home-section.section--layer-clean {
  padding-top: var(--nf-home-clean-pad-top);
  padding-bottom: var(--nf-home-clean-pad-bottom);
}

.nf-home-section.section--layer-clean .nf-home-section__content {
  padding-bottom: clamp(4px, 0.6vw, 12px);
}

.nf-home-section.section--layer-clean .nf-categories__grid {
  gap: clamp(20px, 2.6vw, 30px);
}

.nf-home-section.section--layer-showcase {
  padding-top: var(--nf-home-showcase-pad-top);
  padding-bottom: var(--nf-home-showcase-pad-bottom);
}

.nf-home-section.section--layer-showcase .nf-partners__grid {
  gap: clamp(22px, 3vw, 36px);
}

.nf-home-section.section--layer-editorial {
  padding-top: var(--nf-home-editorial-pad-top);
  padding-bottom: var(--nf-home-editorial-pad-bottom);
}

.nf-home-section.section--layer-editorial.section--last {
  padding-bottom: calc(var(--nf-home-editorial-pad-bottom) + clamp(16px, 2.6vw, 32px));
}

.nf-home-section .nf-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 var(--nf-home-section-head-gap);
  flex-wrap: wrap;
}

.nf-home-section.section--layer-editorial .nf-home-section-head {
  margin-bottom: calc(var(--nf-home-section-head-gap) + clamp(4px, 0.8vw, 12px));
}

.nf-home-section .nf-home-section-head--solo {
  justify-content: flex-start;
}

.nf-home-section__content {
  position: relative;
  width: 100%;
  padding-bottom: clamp(2px, 0.4vw, 8px);
}

/* Домашняя лента (#homeNews): featured + колонка карточек — иерархия «главный материал → вторичные» */
.nf-home-section.section--layer-editorial .nf-news-layout {
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 0.88fr);
  gap: clamp(20px, 2.6vw, 36px);
  align-items: start;
}

.nf-home-section.section--layer-editorial .news-featured {
  margin-bottom: 0;
}

.nf-home-section.section--layer-editorial .news-featured-card {
  position: relative;
  cursor: pointer;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(18px, 2.1vw, 28px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: calc(var(--nf-radius-lg) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 251, 250, 0.88) 48%, rgba(244, 248, 247, 0.92) 100%);
  box-shadow:
    0 22px 60px -24px rgba(var(--nf-graphite-rgb), 0.14),
    0 10px 32px -16px rgba(var(--nf-graphite-rgb), 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.28s ease;
}

.nf-home-section.section--layer-editorial .news-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--nf-accent-rgb), 0.14);
  box-shadow:
    0 28px 72px -28px rgba(var(--nf-graphite-rgb), 0.16),
    0 14px 40px -18px rgba(var(--nf-accent-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.nf-home-section.section--layer-editorial .news-featured-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--nf-radius-lg) - 2px);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(var(--nf-accent-rgb), 0.16), transparent 52%),
    radial-gradient(90% 70% at 88% 100%, rgba(var(--nf-graphite-rgb), 0.06), transparent 50%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.55) 0%, rgba(246, 249, 248, 0.95) 100%);
}

.nf-home-section.section--layer-editorial .news-featured-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(200px, 24vw, 280px);
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-home-section.section--layer-editorial .news-featured-card:hover .news-featured-media img {
  transform: scale(1.03);
}

.nf-home-section.section--layer-editorial .news-featured-media--placeholder {
  min-height: clamp(200px, 24vw, 280px);
  display: flex;
  align-items: stretch;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb {
  position: relative;
  flex: 1;
  min-height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 42% at 18% 22%, rgba(var(--nf-accent-rgb), 0.22), transparent 55%),
    radial-gradient(ellipse 48% 40% at 78% 78%, rgba(var(--nf-accent-rgb), 0.1), transparent 58%),
    conic-gradient(from 210deg at 50% 50%, rgba(255, 255, 255, 0.14), transparent 28%, rgba(var(--nf-accent-rgb), 0.06), transparent 72%, rgba(255, 255, 255, 0.1));
  opacity: 0.95;
  pointer-events: none;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__glow {
  position: absolute;
  inset: auto -30% -35% -30%;
  height: 65%;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--nf-accent-rgb), 0.2), transparent 62%);
  pointer-events: none;
  filter: blur(2px);
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
  min-height: clamp(200px, 24vw, 280px);
  padding: clamp(18px, 2.2vw, 26px);
  box-sizing: border-box;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.42);
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__wordmark {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--nf-color-text-primary);
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb__hint {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb), 0.75);
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb--side .nf-home-news-thumb__content {
  min-height: 148px;
  padding: 14px 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb--side .nf-home-news-thumb__eyebrow {
  letter-spacing: 0.24em;
  font-size: 9px;
}

.nf-home-section.section--layer-editorial .nf-home-news-thumb--side .nf-home-news-thumb__wordmark {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: rgba(var(--nf-graphite-rgb), 0.78);
}

.nf-home-section.section--layer-editorial .news-featured-body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  padding: clamp(4px, 0.6vw, 10px) 4px 6px 8px;
  min-height: 0;
}

.nf-home-section.section--layer-editorial .news-featured-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  color: var(--nf-color-accent-contrast);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nf-home-section.section--layer-editorial .news-featured-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.25vw + 1rem, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.034em;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-home-section.section--layer-editorial .news-featured-meta {
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-graphite-rgb), 0.48);
}

.nf-home-section.section--layer-editorial .news-featured-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 46ch;
  color: var(--nf-color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-home-section.section--layer-editorial .news-featured-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(var(--nf-graphite-rgb), 0.5);
  transition: color 0.28s ease, gap 0.28s ease;
}

.nf-home-section.section--layer-editorial .news-featured-card:hover .news-featured-open {
  color: var(--nf-color-accent-contrast);
}

.nf-home-section.section--layer-editorial .news-featured-open__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.65;
}

.nf-home-section.section--layer-editorial .news-featured-card:hover .news-featured-open__arrow {
  transform: translateX(4px);
  opacity: 0.95;
}

.nf-home-section.section--layer-editorial .news-list-grid {
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 16px);
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--nf-radius-lg) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(176deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 250, 0.88) 100%);
  box-shadow:
    0 12px 32px -18px rgba(var(--nf-graphite-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.28s ease;
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--nf-accent-rgb), 0.12);
  box-shadow:
    0 18px 44px -20px rgba(var(--nf-graphite-rgb), 0.12),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.06);
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.28;
  color: var(--nf-color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card-meta {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(var(--nf-graphite-rgb), 0.45);
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card-chip {
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.16);
  color: var(--nf-color-accent-contrast);
}

.nf-home-section.section--layer-editorial .news-feed-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}

.nf-home-section.section--layer-editorial .news-feed-card-media {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 10% 0%, rgba(var(--nf-accent-rgb), 0.14), transparent 55%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.5) 0%, rgba(244, 248, 247, 0.95) 100%);
}

.nf-home-section.section--layer-editorial .news-feed-card-media img {
  width: 100%;
  height: 148px;
  min-height: 148px;
  object-fit: cover;
  display: block;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card:hover .news-feed-card-media img {
  transform: scale(1.04);
}

.nf-home-section.section--layer-editorial .news-feed-card-media--placeholder {
  height: 148px;
  min-height: 148px;
}

.nf-home-section.section--layer-editorial .news-feed-card-media--placeholder .nf-home-news-thumb {
  border-radius: 0;
}

.nf-home-section.section--layer-editorial .news-list-grid .nf-news-card-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

@media (max-width: 960px) {
  .nf-home-section.section--layer-editorial .nf-news-layout {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 28px);
  }

  .nf-home-section.section--layer-editorial .news-featured-card {
    grid-template-columns: 1fr;
  }

  .nf-home-section.section--layer-editorial .nf-home-news-thumb__content {
    min-height: clamp(180px, 42vw, 240px);
  }

  .nf-home-section.section--layer-editorial .news-feed-card-media img,
  .nf-home-section.section--layer-editorial .news-feed-card-media--placeholder {
    height: 132px;
    min-height: 132px;
  }

  .nf-home-section.section--layer-editorial .nf-home-news-thumb--side .nf-home-news-thumb__content {
    min-height: 132px;
  }
}

/* Совместимость: старые модификаторы на других страницах */
.nf-home-section.section--raised:not(.section--layer-clean),
.nf-home-section.section--base:not(.section--layer-clean) {
  background-color: var(--nf-color-surface-alt);
  box-shadow: 0 12px 36px -28px rgba(var(--nf-graphite-rgb), 0.045);
}

.nf-home-section.section--neutral.section--raised,
.nf-home-section.section--neutral.section--base {
  background-color: var(--nf-color-bg);
  box-shadow: none;
}

.nf-home-section.section--lowered:not(.nf-popular),
.nf-home-section.section--lower:not(.nf-popular) {
  background-color: var(--nf-color-bg);
  box-shadow: none;
}

.nf-popular {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}


.nf-popular .nf-home-section__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .nf-popular__track {
    padding-right: max(24px, env(safe-area-inset-right));
  }
}


.nf-popular__carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}


.nf-popular__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  
  scroll-behavior: auto;
  touch-action: pan-x;
  scrollbar-gutter: stable;

  
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nf-popular__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}


.nf-popular__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  box-sizing: border-box;
  width: max-content;
  min-width: 100%;
  max-width: none;
  
  
}


.nf-popular .nf-product-card--popular {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}


.nf-popular__nav {
  pointer-events: none;
}

.nf-popular__nav-btn {
  pointer-events: auto;
}


@media (max-width: 480px) {
  .nf-popular {
    overflow-x: hidden;
  }

  .nf-popular__carousel-wrap {
    overflow: hidden;
  }

  .nf-popular__viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    
    padding-inline: 10px;
  }

  
  .nf-popular__track {
    gap: 10px;
    padding: 2px 0 8px;
  }

  .nf-popular .nf-product-card--popular {
    
    width: calc((100vw - 24px - 20px - 10px) / 2);
    min-width: calc((100vw - 24px - 20px - 10px) / 2);
    max-width: calc((100vw - 24px - 20px - 10px) / 2);
  }
}


@media (min-width: 481px) and (max-width: 767px) {
  .nf-popular__viewport {
    
    padding-inline: 10px;
  }

  .nf-popular__track {
    gap: 12px;
  }

  .nf-popular .nf-product-card--popular {
    
    width: calc((100vw - 32px - 20px - 12px) / 2);
    min-width: calc((100vw - 32px - 20px - 12px) / 2);
    max-width: calc((100vw - 32px - 20px - 12px) / 2);
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .nf-popular {
    overflow-x: hidden;
  }

  .nf-popular__viewport {
    overflow-x: auto;
  }

  .nf-popular .nf-product-card--popular {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }
}




html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--nf-accent-rgb), 0.65) rgba(0, 0, 0, 0.04);
}


*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(var(--nf-graphite-rgb), 0.04);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(var(--nf-accent-rgb), 0.85),
    rgba(65, 114, 108, 0.95)
  );
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 1), rgba(65, 114, 108, 1));
}

*::-webkit-scrollbar-corner {
  background: transparent;
}


.grid > *,
[class*="grid"] > *,
.flex > *,
[class*="card"],
[class*="product"] {
  min-width: 0;
}



.nf-catalog-main .nf-catalog-grid .nf-product-card,
.nf-catalog-main .nf-products-grid .nf-product-card,
.nf-catalog-grid .nf-product-card,
.nf-products-grid .nf-product-card {
  padding: 0 18px 16px;
  border-radius: var(--nf-radius-card);
  background: var(--nf-color-surface);
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  box-shadow: var(--nf-shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    box-shadow var(--nf-transition-ui),
    border-color var(--nf-transition-ui);
}

.nf-catalog-main .nf-catalog-grid .nf-product-card--catalog:hover,
.nf-catalog-main .nf-products-grid .nf-product-card--catalog:hover,
.nf-catalog-grid .nf-product-card--catalog:hover,
.nf-products-grid .nf-product-card--catalog:hover {
  box-shadow: var(--nf-shadow-card-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

/* Каталог: витринная зона превью в логике «Популярное оборудование» (showcase stage), только сетка */
.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb--popular {
  height: 178px;
  aspect-ratio: auto;
  max-height: none;
  margin: 0 -18px 12px;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  border: none;
  background:
    radial-gradient(ellipse 92% 78% at 50% 100%, rgba(var(--nf-accent-rgb), 0.09), transparent 58%),
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(255, 255, 255, 0.55), transparent 52%),
    linear-gradient(185deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 250, 0.88) 48%, rgba(238, 245, 243, 0.94) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 14px 36px -12px rgba(var(--nf-graphite-rgb), 0.07) inset,
    0 3px 10px rgba(var(--nf-graphite-rgb), 0.035);
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog:hover
  .nf-product-thumb--popular {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 18px 44px -10px rgba(var(--nf-graphite-rgb), 0.08) inset,
    0 4px 14px rgba(var(--nf-graphite-rgb), 0.04);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb--popular
  .nf-product-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 14px) clamp(10px, 1.4vw, 16px);
  border-radius: inherit;
  box-sizing: border-box;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb--popular
  .nf-product-thumb-inner
  img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: inherit;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog:hover
  .nf-product-thumb--popular
  .nf-product-thumb-inner
  img {
  transform: scale(1.028);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-body.nf-product-body--popular {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nf-catalog-main #catalogProducts.nf-products-grid:not(.nf-products-list-mode) .nf-product-card--catalog {
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.998) 0%,
    rgba(252, 253, 252, 0.97) 42%,
    rgba(245, 249, 248, 0.96) 100%
  );
  overflow: hidden;
}

.nf-catalog-main .nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular),
.nf-catalog-main .nf-products-grid .nf-product-thumb:not(.nf-product-thumb--popular),
.nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular),
.nf-products-grid .nf-product-thumb:not(.nf-product-thumb--popular) {
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--nf-color-surface-alt);
  padding: 6px;
  aspect-ratio: 1 / 1;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-catalog-main .nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular) img,
.nf-catalog-main .nf-products-grid .nf-product-thumb:not(.nf-product-thumb--popular) img,
.nf-catalog-grid .nf-product-thumb:not(.nf-product-thumb--popular) img,
.nf-products-grid .nf-product-thumb:not(.nf-product-thumb--popular) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.nf-catalog-main .nf-catalog-grid .nf-product-card__title,
.nf-catalog-main .nf-products-grid .nf-product-card__title,
.nf-catalog-main .nf-catalog-grid .nf-product-title,
.nf-catalog-main .nf-products-grid .nf-product-title,
.nf-catalog-grid .nf-product-card__title,
.nf-products-grid .nf-product-card__title,
.nf-catalog-grid .nf-product-title,
.nf-products-grid .nf-product-title {
  font-size: 16px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--nf-color-text-strong);
  margin-bottom: 6px;
}

.nf-catalog-main .nf-catalog-grid .nf-product-meta,
.nf-catalog-main .nf-products-grid .nf-product-meta,
.nf-catalog-grid .nf-product-meta,
.nf-products-grid .nf-product-meta {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(100, 116, 139, 0.95);
}

.nf-catalog-main .nf-catalog-grid .nf-product-card--catalog .nf-product-meta--brand,
.nf-catalog-main #catalogProducts .nf-product-card--catalog .nf-product-meta--brand {
  font-weight: 500;
  opacity: 0.85;
}

.nf-catalog-main .nf-catalog-grid .nf-product-card--catalog .nf-product-meta--category,
.nf-catalog-main #catalogProducts .nf-product-card--catalog .nf-product-meta--category {
  opacity: 0.75;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-meta-row--topline
  .nf-product-meta--category:not(:first-child)::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.4;
  font-weight: 400;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-footer.nf-product-footer--popular {
  margin-top: auto;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.065);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 252, 251, 0.35) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 12px 28px -20px rgba(var(--nf-graphite-rgb), 0.028);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-footer--popular
  .nf-price.nf-price--popular {
  margin: 0;
  padding: 0;
  border: none;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--nf-color-accent-contrast);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-footer--popular
  .nf-price-muted {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 14px;
  font-weight: 650;
  color: rgba(71, 85, 105, 0.84);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-actions.nf-popular-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn {
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn-primary {
  position: relative;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow: hidden;
  box-shadow:
    0 8px 22px rgba(var(--nf-accent-rgb), 0.22),
    0 2px 8px rgba(var(--nf-graphite-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    filter 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.03);
  box-shadow:
    0 12px 30px rgba(var(--nf-accent-rgb), 0.3),
    0 4px 14px rgba(var(--nf-graphite-rgb), 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn-primary:active:not(:disabled) {
  filter: brightness(0.98);
  box-shadow:
    0 6px 18px rgba(var(--nf-accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn-ghost {
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(var(--nf-graphite-rgb), 0.52);
  background: rgba(var(--nf-graphite-rgb), 0.03);
  border: 1px solid transparent;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease;
}

.nf-catalog-main
  #catalogProducts.nf-products-grid:not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-popular-actions
  .nf-btn-ghost:hover:not(:disabled) {
  color: rgba(var(--nf-graphite-rgb), 0.72);
  background: rgba(var(--nf-accent-rgb), 0.07);
  border-color: rgba(var(--nf-line-rgb), 0.12);
  box-shadow: 0 4px 14px -4px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-catalog-main .nf-catalog-grid .nf-product-badge,
.nf-catalog-main .nf-products-grid .nf-product-badge,
.nf-catalog-grid .nf-product-badge,
.nf-products-grid .nf-product-badge {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


@media (max-width: 560px) {
  .nf-catalog-main .nf-catalog-grid .nf-product-card,
  .nf-catalog-main .nf-products-grid .nf-product-card,
  .nf-catalog-grid .nf-product-card,
  .nf-products-grid .nf-product-card {
    padding: 14px;
    border-radius: 22px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-card__title,
  .nf-catalog-main .nf-products-grid .nf-product-card__title,
  .nf-catalog-main .nf-catalog-grid .nf-product-title,
  .nf-catalog-main .nf-products-grid .nf-product-title,
  .nf-catalog-grid .nf-product-card__title,
  .nf-products-grid .nf-product-card__title,
  .nf-catalog-grid .nf-product-title,
  .nf-products-grid .nf-product-title {
    font-size: 16px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-price,
  .nf-catalog-main .nf-products-grid .nf-product-price,
  .nf-catalog-grid .nf-product-price,
  .nf-products-grid .nf-product-price {
    font-size: 16px;
  }
}







#catalogProducts.nf-products-grid.nf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 28px);
  align-items: stretch;
}

@media (min-width: 1440px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 2.6vw, 32px);
  }
}

@media (max-width: 1279px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 24px);
  }
}

@media (max-width: 1100px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 26px);
  }
}

@media (max-width: 1024px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 22px);
  }
}

@media (max-width: 768px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .nf-container.nf-catalog-layout.nf-page-container--wide {
    padding-left: 8px;
    padding-right: 8px;
  }

  .nf-catalog-main {
    padding-left: 10px;
    padding-right: 10px;
  }
}


@media (max-width: 768px) {

  
  .nf-catalog-layout {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  
  .nf-catalog-layout.nf-container.nf-page-container--wide {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  
  .nf-product-grid {
    gap: 14px;
  }

  
  .nf-catalog-filters {
    width: 100%;
  }

  
  .nf-catalog-results {
    width: 100%;
  }

}


@media (max-width: 768px) {
  .nf-catalog-main {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .nf-filters {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .nf-products-grid:not(#catalogProducts),
  .nf-catalog-grid:not(#catalogProducts) {
    gap: 10px !important;
  }

  #catalogProducts.nf-products-grid.nf-catalog-grid {
    gap: 14px !important;
  }

  .nf-product-card {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  #catalogProducts.nf-catalog-grid .nf-product-card--catalog .nf-product-thumb--popular {
    margin-left: -10px;
    margin-right: -10px;
  }

  .nf-catalog-layout.nf-container.nf-page-container--wide {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

@media (max-width: 480px) {
  .nf-catalog-main {
    padding: 10px !important;
  }

  .nf-filters {
    padding: 10px !important;
  }

  .nf-product-card {
    padding: 9px !important;
  }

  #catalogProducts.nf-catalog-grid .nf-product-card--catalog .nf-product-thumb--popular {
    margin-left: -9px;
    margin-right: -9px;
  }

  .nf-catalog-layout.nf-container.nf-page-container--wide {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

#catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-list,
#catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-large {
  grid-template-columns: minmax(0, 1fr) !important;
}



#catalogProducts.nf-products-grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}



#catalogProducts.nf-products-list-mode {
  display: flex;
  flex-direction: column;
  gap: 12px;
}



#catalogProducts.nf-products-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}


@media (max-width: 768px) {
  .nf-catalog-main .nf-catalog-grid .nf-product-card,
  .nf-catalog-main .nf-products-grid .nf-product-card,
  .nf-catalog-grid .nf-product-card,
  .nf-products-grid .nf-product-card {
    padding: 10px;
    border-radius: 18px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-thumb,
  .nf-catalog-main .nf-products-grid .nf-product-thumb,
  .nf-catalog-grid .nf-product-thumb,
  .nf-products-grid .nf-product-thumb {
    margin-bottom: 8px;
    padding: 4px;
    border-radius: 12px;
    max-height: 168px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-thumb img,
  .nf-catalog-main .nf-products-grid .nf-product-thumb img,
  .nf-catalog-grid .nf-product-thumb img,
  .nf-products-grid .nf-product-thumb img {
    object-fit: contain;
    border-radius: 10px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-title,
  .nf-catalog-main .nf-products-grid .nf-product-title,
  .nf-catalog-grid .nf-product-title,
  .nf-products-grid .nf-product-title,
  .nf-catalog-main .nf-catalog-grid .nf-product-card__title,
  .nf-catalog-main .nf-products-grid .nf-product-card__title,
  .nf-catalog-grid .nf-product-card__title,
  .nf-products-grid .nf-product-card__title {
    font-size: 14px;
    line-height: 1.24;
    margin-bottom: 4px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-meta,
  .nf-catalog-main .nf-products-grid .nf-product-meta,
  .nf-catalog-grid .nf-product-meta,
  .nf-products-grid .nf-product-meta {
    font-size: 12px;
    line-height: 1.35;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-price,
  .nf-catalog-main .nf-products-grid .nf-product-price,
  .nf-catalog-grid .nf-product-price,
  .nf-products-grid .nf-product-price {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-top: 8px;
    font-size: 14px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-actions,
  .nf-catalog-main .nf-products-grid .nf-product-actions,
  .nf-catalog-grid .nf-product-actions,
  .nf-products-grid .nf-product-actions {
    gap: 6px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-actions .nf-btn,
  .nf-catalog-main .nf-products-grid .nf-product-actions .nf-btn,
  .nf-catalog-grid .nf-product-actions .nf-btn,
  .nf-products-grid .nf-product-actions .nf-btn {
    height: 38px;
    min-height: 38px;
    font-size: 14px;
    border-radius: 12px;
    padding-inline: 10px;
  }
}

@media (max-width: 560px) {
  .nf-catalog-main .nf-catalog-grid .nf-product-card,
  .nf-catalog-main .nf-products.grid .nf-product.card,
  .nf-catalog.grid .nf-product.card,
  .nf-products.grid .nf-product.card {
    padding: 9px;
  }
}

@media (max-width: 768px) {
  
  .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    padding: 0 12px;
  }

  
  .catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }

  
  .catalog-sort .nf-sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }

  .catalog-sort .nf-sort-control-label {
    display: none;
  }

  .catalog-sort .nf-select-shell {
    width: 100%;
    min-width: 0;
  }

  .catalog-sort .nf-select-display {
    width: 100%;
    min-height: 48px;
    padding: 0 44px 0 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--nf-color-surface-alt);
    border: 1px solid var(--nf-color-border);
    box-shadow: none;
    transform: none;
    line-height: 1.1;
  }

  .catalog-sort .nf-select-display::after {
    right: 14px;
    width: 18px;
    height: 18px;
    background-size: 14px 14px;
  }

  
  .catalog-sort .nf-select-menu {
    width: auto;
    min-width: 240px;
    max-width: calc(100vw - 32px);
    left: 0;
    right: auto;
    background: var(--nf-color-surface);
    border: 1px solid var(--nf-color-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    padding: 8px;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-sort .nf-select-option {
    min-height: 44px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
  }

  .catalog-sort .nf-select-option + .nf-select-option {
    margin-top: 4px;
  }

  .catalog-sort .nf-select-option:hover {
    background: rgba(var(--nf-accent-rgb), 0.08);
  }

  .catalog-sort .nf-select-option:active {
    background: rgba(var(--nf-accent-rgb), 0.14);
  }

  .catalog-sort .nf-select-option.is-active {
    background: rgba(var(--nf-accent-rgb), 0.16);
    color: var(--nf-color-text-primary);
    font-weight: 700;
  }

  
  .catalog-view-toggle {
    display: flex;
    gap: 6px;
    background: var(--nf-color-surface-alt);
    border-radius: 20px;
    padding: 4px;
    flex: 0 0 auto;
    align-self: center;
  }

  .catalog-view-toggle .nf-view-switch-btn {
    width: 32px;
    height: 32px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  
  .catalog-toolbar,
  .nf-catalog-controls,
  .nf-catalog-controls-primary,
  .nf-sort-control,
  .nf-sort-control .nf-select-shell {
    overflow: visible;
  }

  .nf-catalog-main {
    overflow-x: clip;
  }

  .nf-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }

  .nf-catalog-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
  }

  .nf-catalog-controls-primary {
    width: 100%;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    min-width: 0;
  }

  .nf-filters-toggle {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0 10px;
    height: 38px;
  }

  .nf-sort-control {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 0 10px 0 12px;
    overflow: visible;
  }

  .nf-sort-control-label {
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .nf-sort-control .nf-select,
  .nf-sort-control select,
  .nf-sort-control .nf-select-shell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .nf-sort-control .nf-select-shell {
    display: block;
  }

  .nf-sort-control .nf-select-display {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 10px 34px 10px 10px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nf-sort-control .nf-select-menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .nf-view-switch {
    align-self: flex-start;
  }
}


@media (max-width: 480px) {
  .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding: 0 10px;
  }

  .catalog-sort {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 64px);
    overflow: visible;
  }

  .catalog-view-toggle {
    flex: 0 0 auto;
    margin-left: 8px;
  }

  
  .catalog-sort .nf-select-display {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  
  .catalog-sort .nf-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: max-content;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 20px));
    background: var(--nf-color-surface);
    border: 1px solid var(--nf-color-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 320;
  }

  .catalog-sort .nf-select-option {
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    white-space: normal;
    word-break: keep-all;
  }

  .catalog-sort .nf-select-option + .nf-select-option {
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .nf-catalog-controls-primary {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .nf-filters-toggle {
    height: 36px;
    font-size: 12px;
    padding: 0 8px;
  }

  .nf-sort-control {
    min-height: 36px;
    padding: 0 8px 0 10px;
    gap: 6px;
  }

  .nf-sort-control-label {
    font-size: 11px;
  }

  .nf-sort-control .nf-select-display {
    font-size: 12px;
    padding: 9px 30px 9px 8px;
  }
}
@media (max-width: 768px) {
  .nf-catalog-main .nf-catalog-grid .nf-product-card,
  .nf-catalog-main .nf-products-grid .nf-product-card {
    padding: 10px;
    border-radius: 18px;
    gap: 6px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-thumb,
  .nf-catalog-main .nf-products-grid .nf-product-thumb {
    margin-bottom: 6px;
    padding: 4px;
    border-radius: 12px;
    max-height: 148px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-thumb img,
  .nf-catalog-main .nf-products-grid .nf-product-thumb img {
    object-fit: contain;
    border-radius: 10px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-title,
  .nf-catalog-main .nf-products-grid .nf-product-title,
  .nf-catalog-main .nf-catalog-grid .nf-product-card__title,
  .nf-catalog-main .nf-products-grid .nf-product-card__title {
    font-size: 14px;
    line-height: 1.24;
    margin-bottom: 4px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-meta,
  .nf-catalog-main .nf-products-grid .nf-product-meta {
    font-size: 12px;
    line-height: 1.35;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-price,
  .nf-catalog-main .nf-products-grid .nf-product-price {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-top: 8px;
    font-size: 14px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-actions,
  .nf-catalog-main .nf-products-grid .nf-product-actions {
    gap: 6px;
    margin-top: 6px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-actions .nf-btn,
  .nf-catalog-main .nf-products-grid .nf-product-actions .nf-btn {
    min-height: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 14px;
    padding: 0 10px;
  }

  .nf-catalog-main .nf-catalog-grid .nf-product-badge,
  .nf-catalog-main .nf-products-grid .nf-product-badge {
    min-height: 24px;
    padding: 0 10px;
    font-size: 10px;
  }
}


.nf-sort-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: linear-gradient(to bottom, var(--nf-color-surface), var(--nf-color-surface-subtle));
  box-shadow: 0 4px 12px rgba(var(--nf-graphite-rgb), 0.04);
  
}

.nf-sort-control:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.35);
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-sort-control:focus-within {
  border-color: rgba(var(--nf-accent-rgb), 0.7);
  box-shadow:
    0 6px 20px rgba(var(--nf-graphite-rgb), 0.08),
    0 0 0 3px rgba(var(--nf-accent-rgb), 0.12);
}

.nf-sort-control-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nf-sort-control #sortSelect,
.nf-sort-control select,
.nf-sort-control .nf-select {
  flex: 1 1 auto;
  min-width: 180px;
  width: auto;
  height: 38px;
  border: none;
  outline: none;
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2351a8b1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px 12px;
  box-shadow: none;
  padding: 0 28px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--nf-color-text-strong);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.nf-sort-control #sortSelect:focus,
.nf-sort-control select:focus,
.nf-sort-control .nf-select:focus {
  outline: none;
  box-shadow: none;
}

@media (min-width: 1025px) {
  .nf-sort-control {
    min-width: 340px;
  }

  .nf-sort-control .nf-select-shell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .nf-sort-control .nf-select-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
  }

  .nf-sort-control .nf-select-display {
    width: 100%;
    min-height: 38px;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 28px 0 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--nf-color-text-strong);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nf-sort-control .nf-select-display::after {
    right: 4px;
    width: 14px;
    height: 14px;
    background-size: 12px 12px;
  }

  .nf-sort-control .nf-select-shell.is-open .nf-select-display {
    border: none;
    box-shadow: none;
    transform: none;
  }

  .nf-sort-control .nf-select-menu {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 20px 48px rgba(var(--nf-graphite-rgb), 0.16),
      0 8px 24px rgba(var(--nf-graphite-rgb), 0.08);
    backdrop-filter: blur(10px);
    padding: 8px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 60;
  }

  .nf-sort-control .nf-select-option {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nf-color-text-primary);
  
  }

  .nf-sort-control .nf-select-option:hover {
    background: rgba(var(--nf-accent-rgb), 0.10);
    color: var(--nf-color-text-primary);
  }

  .nf-sort-control .nf-select-option.is-active {
    background: rgba(var(--nf-accent-rgb), 0.16);
    color: var(--nf-color-text-primary);
    font-weight: 700;
  }
}



.nf-popular {
  --nf-popular-gap: 20px;
  --nf-popular-card-w: 340px;
  --nf-popular-card-radius: 26px;
  --nf-popular-card-pad: 16px;

  --nf-popular-thumb-h: 178px;
  --nf-popular-thumb-radius: 22px;

  --nf-popular-card-shade:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 60px -22px rgba(var(--nf-graphite-rgb), 0.068),
    0 12px 32px -10px rgba(var(--nf-graphite-rgb), 0.042),
    0 4px 14px -4px rgba(var(--nf-graphite-rgb), 0.03);

  --nf-popular-card-shade-hover:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 36px 78px -22px rgba(var(--nf-graphite-rgb), 0.082),
    0 16px 42px -10px rgba(var(--nf-graphite-rgb), 0.052),
    0 8px 20px -6px rgba(var(--nf-graphite-rgb), 0.038);

  --nf-popular-border: rgba(var(--nf-line-rgb), 0.1);
  --nf-popular-ink: var(--nf-color-text-primary);
  --nf-popular-muted: rgba(71, 85, 105, 0.82);
  --nf-popular-muted-2: rgba(100, 116, 139, 0.58);
  --nf-popular-accent: var(--nf-color-accent);
  --nf-popular-accent-2: var(--nf-color-accent-hover);

  position: relative;
}

/* Soft brand wash when popular uses lowered layer */
.nf-popular.nf-home-section.section--lowered::after,
.nf-popular.nf-home-section.section--lower::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 260px at 14% 0%, rgba(var(--nf-accent-rgb), 0.032), transparent 58%),
    radial-gradient(720px 220px at 92% 8%, rgba(var(--nf-graphite-rgb), 0.018), transparent 56%);
}

.nf-popular .nf-home-section__container {
  position: relative;
  z-index: 1;
}

.nf-popular__head {
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 12px;
}

.nf-popular__head h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--nf-popular-ink);
}

.nf-popular__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: rgba(var(--nf-graphite-rgb), 0.82);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(var(--nf-line-rgb), 0.24);
  box-shadow: 0 8px 24px rgba(var(--nf-graphite-rgb), 0.06);
  backdrop-filter: blur(8px);
}

.nf-popular__all-link:hover {  
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.34);
  box-shadow: 0 14px 34px rgba(var(--nf-graphite-rgb), 0.10);
}

.nf-popular__carousel-wrap {
  position: relative;
}

/* Мягкая «платформа» под каруселью на главной — только свет, без серой коробки */
.nf-popular.nf-home-section .nf-popular__carousel-wrap::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: clamp(2px, 0.6vw, 8px);
  right: clamp(2px, 0.6vw, 8px);
  top: 4px;
  bottom: 0;
  border-radius: clamp(26px, 3vw, 36px);
  pointer-events: none;
  background: linear-gradient(
    188deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(250, 253, 252, 0.48) 32%,
    rgba(244, 249, 247, 0.22) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 28px 72px -42px rgba(var(--nf-graphite-rgb), 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nf-popular.nf-home-section .nf-popular__carousel-wrap > * {
  position: relative;
  z-index: 1;
}

.nf-popular:not(.nf-home-section) .nf-popular__nav {
  display: none !important;
}

/* «Весь каталог» — премиальный ghost pill в системе сайта (вариант B) */
.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary {
  gap: 7px;
  padding: 8px 18px 8px 20px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-graphite-rgb), 0.68) !important;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(252, 253, 253, 0.72) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 18px -6px rgba(var(--nf-graphite-rgb), 0.06);
  transition:
    color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.35s ease,
    transform 0.32s ease;
}

.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary:hover {
  color: var(--nf-color-accent-contrast) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 252, 251, 0.88) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 26px -8px rgba(var(--nf-graphite-rgb), 0.08),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.08);
  transform: translateY(-1px);
}

.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), 0 4px 18px -6px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-popular.nf-home-section .nf-popular__catalog-cta .nf-home-link-secondary__arrow {
  opacity: 0.55;
  font-size: 1em;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {
  opacity: 0.85;
  transform: translateX(3px);
}

/* «Все новости» — тот же ghost pill, что «Весь каталог» */
.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary {
  gap: 7px;
  padding: 8px 18px 8px 20px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-graphite-rgb), 0.68) !important;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(252, 253, 253, 0.72) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 18px -6px rgba(var(--nf-graphite-rgb), 0.06);
  transition:
    color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.35s ease,
    transform 0.32s ease;
}

.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary:hover {
  color: var(--nf-color-accent-contrast) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 252, 251, 0.88) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 26px -8px rgba(var(--nf-graphite-rgb), 0.08),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.08);
  transform: translateY(-1px);
}

.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), 0 4px 18px -6px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-news.nf-home-section .nf-news__all-cta .nf-home-link-secondary__arrow {
  opacity: 0.55;
  font-size: 1em;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {
  opacity: 0.85;
  transform: translateX(3px);
}

/* Стрелки по бокам витрины, по центру по вертикали */
.nf-popular.nf-home-section .nf-popular__carousel-wrap {
  padding-inline: clamp(44px, 5.2vw, 62px);
}

.nf-popular.nf-home-section .nf-popular__nav {
  display: flex !important;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(2px, 0.4vw, 6px);
  pointer-events: none;
  z-index: 4;
}

.nf-popular.nf-home-section .nf-popular__nav-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 252, 251, 0.86) 100%);
  color: rgba(var(--nf-graphite-rgb), 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 6px 20px -4px rgba(var(--nf-graphite-rgb), 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    background-color 0.28s ease,
    opacity 0.28s ease;
}

.nf-popular.nf-home-section .nf-popular__nav-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.85;
}

.nf-popular.nf-home-section .nf-popular__nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  color: var(--nf-color-accent-contrast);
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 252, 0.94) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 28px -6px rgba(var(--nf-graphite-rgb), 0.1);
}

.nf-popular.nf-home-section .nf-popular__nav-btn:focus-visible:not(:disabled) {
  outline: none;
  box-shadow: var(--nf-focus), 0 6px 20px -4px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-popular.nf-home-section .nf-popular__nav-btn:active:not(:disabled) {
  transform: translateY(0);
}

.nf-popular__viewport {
  position: relative;
  overflow: hidden !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: pan-y !important;
  cursor: grab;
}

.nf-popular:not(.nf-home-section) .nf-popular__viewport {
  border-radius: 24px;
  margin-top: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, rgba(246, 250, 249, 0.92), rgba(237, 243, 243, 0.92));
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 60px rgba(var(--nf-graphite-rgb), 0.08);
}

/* Главная: витринная подложка под треком */
.nf-popular.nf-home-section .nf-popular__viewport,
.nf-home-section.section--lowered .nf-popular__viewport,
.nf-home-section.section--lower .nf-popular__viewport {
  margin-top: clamp(10px, 1.5vw, 16px);
  border-radius: clamp(20px, 2.4vw, 28px);
  padding: clamp(14px, 2vw, 24px) 0;
  background:
    linear-gradient(198deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 34%, rgba(248, 251, 250, 0.32) 100%),
    linear-gradient(0deg, rgba(var(--nf-accent-rgb), 0.045) 0%, transparent 44%);
  border: 1px solid rgba(var(--nf-line-rgb), 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -28px 52px -34px rgba(var(--nf-graphite-rgb), 0.036),
    0 14px 44px -26px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-popular__viewport::-webkit-scrollbar {
  display: none !important;
}

.nf-popular__viewport.nf-carousel-dragging {
  cursor: grabbing;
}

.nf-popular__viewport.nf-carousel-dragging * {
  user-select: none;
}

.nf-popular__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: max-content !important;
  min-width: 100% !important;
  gap: var(--nf-popular-gap) !important;
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) !important;
  scroll-snap-align: none !important;
  box-sizing: border-box;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase {
  flex: 0 0 auto;
  width: var(--nf-popular-card-w) !important;
  min-width: var(--nf-popular-card-w) !important;
  max-width: var(--nf-popular-card-w) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  padding: 0 !important;
  border-radius: var(--nf-popular-card-radius) !important;
  border: 1px solid var(--nf-popular-border) !important;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.998) 0%,
    rgba(252, 253, 252, 0.97) 42%,
    rgba(245, 249, 248, 0.96) 100%
  );
  box-shadow: var(--nf-popular-card-shade) !important;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background 0.35s ease;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase > * {
  position: relative;
  z-index: 2;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 38%, transparent 62%);
  opacity: 0.65;
  transition: opacity 0.35s ease;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase:hover::before {
  opacity: 0.5;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--nf-accent-rgb), 0.2) !important;
  box-shadow: var(--nf-popular-card-shade-hover) !important;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase:focus-visible {
  outline: none;
  border-color: rgba(var(--nf-accent-rgb), 0.32) !important;
  box-shadow: var(--nf-popular-card-shade-hover), 0 0 0 3px rgba(var(--nf-accent-rgb), 0.22) !important;
}

.nf-popular .nf-popular-showcase__media {
  padding: clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 22px) clamp(4px, 0.6vw, 8px);
  margin: 0;
}

.nf-popular .nf-popular-showcase__stage.nf-product-thumb--popular {
  height: var(--nf-popular-thumb-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--nf-popular-thumb-radius) !important;
  overflow: hidden;
  border: none !important;
  background:
    radial-gradient(ellipse 92% 78% at 50% 100%, rgba(var(--nf-accent-rgb), 0.09), transparent 58%),
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(255, 255, 255, 0.55), transparent 52%),
    linear-gradient(185deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 250, 0.88) 48%, rgba(238, 245, 243, 0.94) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 14px 36px -12px rgba(var(--nf-graphite-rgb), 0.07) inset,
    0 3px 10px rgba(var(--nf-graphite-rgb), 0.035);
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease;
}

.nf-popular .nf-product-card--popular.nf-popular-showcase:hover .nf-popular-showcase__stage.nf-product-thumb--popular {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.78) inset,
    0 18px 44px -10px rgba(var(--nf-graphite-rgb), 0.08) inset,
    0 4px 14px rgba(var(--nf-graphite-rgb), 0.04);
}

.nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 14px) clamp(10px, 1.4vw, 16px);
  border-radius: inherit;
  box-sizing: border-box;
}

.nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 92% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-popular .nf-product-card--popular.nf-popular-showcase:hover .nf-popular-showcase__stage .nf-product-thumb-inner img {
  transform: scale(1.028);
}

.nf-popular .nf-popular-showcase__body.nf-product-body--popular {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(10px, 1.2vw, 14px) clamp(16px, 1.8vw, 22px) clamp(6px, 0.8vw, 10px) !important;
  margin: 0 !important;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nf-popular .nf-popular-showcase .nf-popular-title-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.nf-popular .nf-popular-badge-wrap {
  margin-bottom: 0;
}

.nf-popular .nf-popular-showcase .nf-popular-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(var(--nf-accent-rgb), 0.09);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  color: rgba(11, 31, 28, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.nf-popular .nf-popular-showcase .nf-product-title--popular,
.nf-popular .nf-popular-showcase .nf-product-title.nf-product-title--popular {
  margin: 0;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.028em;
  color: var(--nf-popular-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-popular .nf-popular-showcase__meta.nf-product-meta-row--topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.38;
}

.nf-popular .nf-popular-showcase__meta .nf-product-meta--brand {
  font-weight: 600;
  color: var(--nf-popular-muted);
  letter-spacing: -0.012em;
}

.nf-popular .nf-popular-showcase__meta .nf-product-meta--category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--nf-popular-muted-2);
}

.nf-popular .nf-popular-showcase__meta .nf-product-meta--category:not(:first-child)::before {
  content: "·";
  margin-right: 8px;
  opacity: 0.4;
  font-weight: 400;
}

.nf-popular .nf-product-footer--popular.nf-popular-showcase__footer {
  margin-top: auto;
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 1.8vw, 22px) clamp(14px, 1.6vw, 18px) !important;
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.065);
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 252, 251, 0.35) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 12px 28px -20px rgba(var(--nf-graphite-rgb), 0.028);
}

.nf-popular .nf-popular-showcase__commerce {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nf-popular .nf-popular-showcase__price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.nf-popular .nf-popular-showcase__price-num.nf-price--popular {
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--nf-color-accent-contrast);
}

.nf-popular .nf-popular-showcase__price-context {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(71, 85, 105, 0.55);
  line-height: 1.4;
}

.nf-popular .nf-popular-showcase__b2b-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 36, 35, 0.5);
}

.nf-popular .nf-popular-showcase__b2b-hint {
  font-size: 10.5px;
  color: rgba(71, 85, 105, 0.52);
  font-weight: 450;
}

.nf-popular .nf-popular-price-block {
  display: flex;
  align-items: center;
  min-height: 28px;
}

.nf-popular .nf-price-muted.nf-price--popular {
  font-size: 14px;
  font-weight: 650;
  color: rgba(71, 85, 105, 0.84);
}

.nf-popular .nf-popular-actions--showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Убираем legacy .btn-primary::after (радиальный блик) — не трогаем остальной сайт */
.nf-popular.nf-home-section .nf-btn.btn-primary::after {
  content: none !important;
  display: none !important;
}

.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__cta.nf-btn-primary {
  position: relative;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow: hidden;
  box-shadow:
    0 8px 22px rgba(var(--nf-accent-rgb), 0.22),
    0 2px 8px rgba(var(--nf-graphite-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s ease,
    filter 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__cta.nf-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.03);
  box-shadow:
    0 12px 30px rgba(var(--nf-accent-rgb), 0.3),
    0 4px 14px rgba(var(--nf-graphite-rgb), 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__cta.nf-btn-primary:active:not(:disabled) {
  filter: brightness(0.98);
  box-shadow:
    0 6px 18px rgba(var(--nf-accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__detail.nf-btn-ghost {
  height: 40px;
  min-height: 40px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(var(--nf-graphite-rgb), 0.52);
  background: rgba(var(--nf-graphite-rgb), 0.03);
  border: 1px solid transparent;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease;
}

.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__detail.nf-btn-ghost:hover:not(:disabled) {
  color: rgba(var(--nf-graphite-rgb), 0.72);
  background: rgba(var(--nf-accent-rgb), 0.07);
  border-color: rgba(var(--nf-line-rgb), 0.12);
  box-shadow: 0 4px 14px -4px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-popular .nf-popular-actions--showcase .nf-btn {
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
}

/* Лёгкая вариативность карточек: только свет и глубина */
.nf-popular .nf-popular-card[data-popular-variant="1"].nf-popular-showcase {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 30px 64px -22px rgba(var(--nf-graphite-rgb), 0.074),
    0 12px 32px -10px rgba(var(--nf-graphite-rgb), 0.044),
    0 4px 14px -4px rgba(var(--nf-graphite-rgb), 0.032) !important;
}

.nf-popular .nf-popular-card[data-popular-variant="2"] .nf-popular-showcase__stage.nf-product-thumb--popular {
  background:
    radial-gradient(ellipse 88% 72% at 50% 100%, rgba(var(--nf-accent-rgb), 0.085), transparent 58%),
    radial-gradient(ellipse 62% 50% at 82% 18%, rgba(255, 255, 255, 0.42), transparent 55%),
    linear-gradient(185deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 251, 250, 0.9) 50%, rgba(236, 244, 241, 0.93) 100%);
}

.nf-popular .nf-popular-card[data-popular-variant="0"] .nf-popular-showcase__stage.nf-product-thumb--popular {
  background:
    radial-gradient(ellipse 90% 75% at 50% 100%, rgba(var(--nf-accent-rgb), 0.075), transparent 60%),
    radial-gradient(ellipse 55% 48% at 14% 22%, rgba(255, 255, 255, 0.5), transparent 58%),
    linear-gradient(188deg, rgba(255, 255, 255, 0.93) 0%, rgba(249, 252, 251, 0.86) 52%, rgba(239, 246, 244, 0.95) 100%);
}

.nf-popular .nf-popular-card[data-popular-variant="1"].nf-popular-showcase:hover {
  box-shadow: var(--nf-popular-card-shade-hover) !important;
}


@media (max-width: 1024px) {
  .nf-popular {
    --nf-popular-gap: 16px;
    --nf-popular-card-w: clamp(292px, 43vw, 328px);
    --nf-popular-thumb-h: 158px;
    --nf-popular-card-radius: 20px;
  }

  .nf-popular:not(.nf-home-section) {
    padding: 0 0 40px;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    border-radius: 22px;
  }

  .nf-popular.nf-home-section .nf-popular__viewport,
  .nf-home-section.section--lowered .nf-popular__viewport,
  .nf-home-section.section--lower .nf-popular__viewport {
    border-radius: clamp(18px, 2.2vw, 22px);
  }

  .nf-popular__track {
    padding: 14px 16px 16px !important;
  }
}


@media (max-width: 768px) {
  .nf-popular {
    --nf-popular-gap: 12px;
    --nf-popular-card-w: clamp(258px, 82vw, 296px);
    --nf-popular-card-pad: 12px;
    --nf-popular-card-radius: 18px;
    --nf-popular-thumb-h: 144px;
    --nf-popular-thumb-radius: 16px;
  }

  .nf-popular:not(.nf-home-section) {
    padding: 0;
  }

  .nf-popular__head {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }

  .nf-popular__head h2 {
    font-size: 20px;
    line-height: 1.08;
  }

  .nf-popular__all-link {
    padding: 7px 11px;
    font-size: 12px;
  }

  .nf-popular:not(.nf-home-section) .nf-popular__viewport {
    margin-top: 14px;
    border-radius: 18px;
  }

  .nf-popular.nf-home-section .nf-popular__carousel-wrap::before {
    opacity: 0.55;
    top: 2px;
  }

  .nf-home-section.section--lowered .nf-popular__viewport,
  .nf-home-section.section--lower .nf-popular__viewport {
    margin-top: 12px;
    border-radius: clamp(16px, 3.5vw, 20px);
    padding: 12px 0 14px;
    background:
      linear-gradient(198deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(248, 251, 250, 0.22) 100%),
      linear-gradient(0deg, rgba(var(--nf-accent-rgb), 0.038) 0%, transparent 46%);
    border-color: rgba(var(--nf-line-rgb), 0.07);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.48),
      inset 0 -18px 36px -28px rgba(var(--nf-graphite-rgb), 0.032),
      0 8px 28px -18px rgba(var(--nf-graphite-rgb), 0.05);
  }

  .nf-popular__track {
    padding: 12px 12px 14px !important;
  }

  .nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner {
    padding: 6px 8px;
  }

  .nf-popular .nf-popular-showcase .nf-popular-title-block {
    gap: 5px;
  }

  .nf-popular .nf-popular-showcase .nf-product-title--popular,
  .nf-popular .nf-popular-showcase .nf-product-title.nf-product-title--popular {
    font-size: 14px;
    line-height: 1.24;
  }

  .nf-popular .nf-popular-showcase__meta.nf-product-meta-row--topline {
    font-size: 11px;
    gap: 4px 8px;
  }

  .nf-popular .nf-product-footer--popular.nf-popular-showcase__footer {
    padding: 12px 14px 14px !important;
    gap: 10px;
  }

  .nf-popular .nf-popular-actions--showcase {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nf-popular .nf-popular-actions--showcase .nf-btn {
    height: 42px;
    min-height: 42px;
    border-radius: 13px;
    font-size: 13px;
  }

  .nf-popular.nf-home-section .nf-popular__carousel-wrap {
    padding-inline: clamp(36px, 4.5vw, 48px);
  }

  .nf-popular.nf-home-section .nf-popular__nav-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .nf-popular.nf-home-section .nf-popular__nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-popular .nf-product-card--popular.nf-popular-showcase,
  .nf-popular .nf-product-card--popular.nf-popular-showcase:hover {
    transition: none;
    transform: none;
  }

  .nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner img {
    transition: none;
    transform: none !important;
  }

  .nf-popular .nf-popular-actions--showcase .nf-btn {
    transition: none;
  }
}



.nf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  transform: none;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  min-height: 80px;

  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.1);

  box-shadow:
    0 7px 22px rgba(var(--nf-graphite-rgb), 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);

  border-radius: 0;
  margin: 0;
}


.nf-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;

  background: rgba(var(--nf-accent-rgb), 0.1);
  opacity: 0.35;
}


.nf-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 6px;

  display: flex;
  align-items: center;
  gap: 12px;
}


.nf-header-logo-section {
  display: flex;
  align-items: center;
  padding-top: 0;
}

.nf-logo {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 6px 12px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.05);

  
}

.nf-logo:hover {
  background: rgba(255, 255, 255, 0.55);
  }

.nf-logo-img-header {
  height: 48px;
}


.nf-header-search-wrapper {
  flex: 0 0 auto;
  width: clamp(300px, 34vw, 440px);
  max-width: 100%;
}

.nf-search {
  display: flex;
  align-items: center;
  --nf-search-focus-rgb: 15, 23, 42;
  --nf-search-text-line-height: 20px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);

  height: 40px;
  min-height: 40px;
  padding: 3px 9px 3px 11px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 5px 12px rgba(var(--nf-graphite-rgb), 0.035);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.nf-search:focus-within {
  border-color: rgba(var(--nf-accent-rgb), 0.42);
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.1);
}

.nf-search-input {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 3px 7px;
  font-size: 16px;
  font-weight: 500;
  line-height: var(--nf-search-text-line-height);
  color: rgba(15, 23, 42, 0.92);
}

.nf-search-icon {
  fill: rgba(26, 36, 35, 0.6);
}

.nf-search:focus-within .nf-search-icon {
  fill: rgba(26, 36, 35, 0.76);
}

.nf-search-input::placeholder {
  color: rgba(26, 36, 35, 0.52);
}

.nf-search-input:focus,
.nf-search-input:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
}


.nf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-header-icon-btn {
  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);

  backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(var(--nf-graphite-rgb), 0.05);

  
}

.nf-header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.65);
  }


.nf-lang-switcher {
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.45);

  border: 1px solid rgba(255, 255, 255, 0.5);

  backdrop-filter: blur(10px);

  padding: 2px;
}


.nf-nav {
  max-width: 1200px;
  margin: 8px auto 0;
  padding: 0 20px 12px;

  display: flex;
  justify-content: center;
  gap: 8px;
}


.nf-nav-link {
  padding: 8px 14px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.3);

  
}

.nf-nav-link:hover {
  background: rgba(var(--nf-accent-rgb), 0.08);
  color: var(--nf-accent);
  }

.nf-nav-link-active {
  background: rgba(var(--nf-accent-rgb), 0.15);
  color: var(--nf-accent);
}


.nf-header * {
  
}
@media (min-width: 1200px) {
  .nf-hero {
    padding: 8px 0 6px !important;
    margin-top: 0 !important;
  }

  .nf-hero__grid {
    min-height: 640px !important;
    max-height: 640px !important;
    padding: 32px 24px !important;
    gap: 20px !important;
  }

  .nf-hero__center {
    gap: 20px !important;
  }

  .nf-hero-stat-card {
    min-width: 140px !important;
    padding: 20px 24px !important;
  }

  .nf-hero-stat-number {
    font-size: 32px !important;
  }

  .nf-hero-floating-badge {
    top: 15% !important;
    right: -15px !important;
    padding: 10px 20px !important;
    font-size: 12px !important;
  }

  .nf-hero-glow-line {
    height: 85% !important;
  }

  .nf-advantages {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .nf-popular__head {
    margin: 0 0 20px !important;
  }
}



.nf-first-screen > .nf-hero-cards {
  width: 100%;
  margin: -70px 0 0 !important;
  position: relative;
  z-index: 5;
  padding: 0 !important;
}

@media (min-width: 1024px) {
  :root {
    --nf-home-content-max: 1560px;
    --nf-home-section-gap: 32px;
  }

  .nf-home-firstscreen > .nf-hero > .container,
  .nf-home-firstscreen > .nf-hero-cards > .container {
    width: min(calc(100% - 48px), var(--nf-home-content-max)) !important;
    max-width: var(--nf-home-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  .nf-home-section__container {
    width: min(100%, var(--nf-home-content-max)) !important;
    max-width: var(--nf-home-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .nf-popular:not(.nf-home-section),
  .nf-categories:not(.nf-home-section),
  .nf-partners:not(.nf-home-section),
  .nf-news:not(.nf-home-section) {
    margin-top: var(--nf-home-section-gap) !important;
  }

  .nf-news:not(.nf-home-section) {
    margin-bottom: var(--nf-home-section-gap) !important;
  }

  .nf-home-firstscreen.nf-first-screen {
    margin-bottom: 0;
  }
}


.nf-home-firstscreen .nf-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.22);
  background:
    radial-gradient(700px 320px at 12% 8%, rgba(var(--nf-accent-rgb), 0.18), transparent 62%),
    radial-gradient(840px 360px at 86% 22%, rgba(var(--nf-graphite-rgb), 0.09), transparent 64%),
    linear-gradient(140deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 48%, var(--nf-color-surface-alt) 100%);
  box-shadow:
    0 28px 60px rgba(var(--nf-graphite-rgb), 0.12),
    0 8px 20px rgba(var(--nf-graphite-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.nf-home-firstscreen .nf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 46%),
    radial-gradient(550px 200px at 70% 100%, rgba(255, 255, 255, 0.45), transparent 70%);
}

.nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: clamp(26px, 3vw, 44px);
  padding: clamp(26px, 3vw, 42px);
}

.nf-home-firstscreen .nf-hero__content {
  max-width: 640px;
}

.nf-home-firstscreen .nf-hero__eyebrow {
  border: 1px solid rgba(95, 174, 165, 0.34);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-home-firstscreen .nf-hero__title {
  color: var(--nf-color-text-primary);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.nf-home-firstscreen .nf-hero__desc {
  color: var(--nf-color-text-secondary);
  max-width: 58ch;
}

.nf-home-firstscreen .hero-line {
  background: linear-gradient(90deg, rgba(95, 174, 165, 0.85), rgba(95, 174, 165, 0.2), transparent);
  height: 2px;
}

.nf-home-firstscreen .nf-hero__buttons .btn {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary {
  background: linear-gradient(135deg, var(--nf-color-accent-contrast) 0%, var(--nf-color-accent) 55%, var(--nf-color-accent-hover) 100%);
  border: 1px solid rgba(44, 106, 98, 0.52);
  box-shadow:
    0 14px 30px rgba(47, 127, 119, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary:hover {  
  box-shadow:
    0 20px 36px rgba(47, 127, 119, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.nf-home-firstscreen .nf-hero__buttons .btn-outline {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--nf-line-rgb), 0.58);
  color: var(--nf-color-text-strong);
  box-shadow: 0 10px 22px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-home-firstscreen .nf-hero__buttons .btn-outline:hover {  
  background: var(--nf-color-surface);
  border-color: rgba(95, 174, 165, 0.48);
  box-shadow: 0 16px 30px rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-home-firstscreen .nf-hero__visual {
  perspective: 1200px;
}

.nf-home-firstscreen .nf-hero__image-wrap {
  position: relative;
  min-height: clamp(390px, 34vw, 500px);
  border-radius: 24px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.38);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.35) 42%, transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.56), rgba(234, 243, 246, 0.68));
  box-shadow:
    0 36px 72px rgba(var(--nf-graphite-rgb), 0.18),
    0 12px 30px rgba(var(--nf-graphite-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(3px);
  transform-style: preserve-3d;
}

.nf-home-firstscreen .nf-hero__image-bg {
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.3);
  background:
    radial-gradient(circle at 78% 24%, rgba(var(--nf-accent-rgb), 0.22), transparent 42%),
    radial-gradient(circle at 24% 78%, rgba(var(--nf-line-rgb), 0.24), transparent 44%),
    linear-gradient(152deg, rgba(247, 251, 253, 0.82), rgba(229, 239, 243, 0.78));
}

.nf-home-firstscreen .nf-hero-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(var(--nf-line-rgb), 0.35);
  opacity: 0.72;
}

.nf-home-firstscreen .nf-hero-orbit--one {
  width: 210px;
  height: 210px;
  top: -46px;
  right: -36px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.nf-home-firstscreen .nf-hero-orbit--two {
  width: 130px;
  height: 130px;
  left: -34px;
  bottom: 34px;
  border-color: rgba(95, 174, 165, 0.36);
}

.nf-home-firstscreen .nf-hero-float {
  position: absolute;
  pointer-events: none;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.36);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 248, 0.64));
  box-shadow:
    0 16px 28px rgba(var(--nf-graphite-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nf-home-firstscreen .nf-hero-float::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.2);
}

.nf-home-firstscreen .nf-hero-float--top {
  width: 124px;
  height: 78px;
  top: 26px;
  left: -26px;
}

.nf-home-firstscreen .nf-hero-float--side {
  width: 86px;
  height: 56px;
  right: -24px;
  bottom: 80px;
}

.nf-home-firstscreen .nf-hero__picture {
  z-index: 2;
  filter: drop-shadow(0 26px 46px rgba(var(--nf-graphite-rgb), 0.2));
}

.nf-home-firstscreen .nf-hero-ui-card {
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.44);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 28px rgba(var(--nf-graphite-rgb), 0.14);
}

.nf-home-firstscreen .nf-hero-ui-card strong {
  color: var(--nf-color-text-strong);
}

.nf-home-firstscreen .nf-hero-ui-card p {
  color: var(--nf-color-muted);
}


.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero__content > .nf-hero-reveal:nth-child(1) {  }
.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero__content > .nf-hero-reveal:nth-child(2) {  }
.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero__content > .nf-hero-reveal:nth-child(4) {  }
.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero__content > .nf-hero-reveal:nth-child(5) {  }

.nf-home-firstscreen:not(.nf-premium-hero).is-ready .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}









.nf-home-firstscreen .nf-hero-float--top {
  
}

.nf-home-firstscreen .nf-hero-float--side {
  
  
}

.nf-home-firstscreen .nf-hero-orbit {
  
}

@media (max-width: 1023px) {
  .nf-home-firstscreen .nf-hero {
    border-radius: 20px;
  }

  .nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
    padding: 22px 20px;
  }

  .nf-home-firstscreen .nf-hero__image-wrap {
    min-height: 340px;
  }

  .nf-home-firstscreen .nf-hero-float--top {
    left: 8px;
    top: 12px;
  }

  .nf-home-firstscreen .nf-hero-float--side {
    right: 8px;
    bottom: 56px;
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
    padding: 16px 14px;
    gap: 18px;
  }

  .nf-home-firstscreen .nf-hero__image-wrap {
    min-height: 280px;
    border-radius: 18px;
  }

  .nf-home-firstscreen .nf-hero-orbit--one {
    width: 140px;
    height: 140px;
    right: -30px;
    top: -22px;
  }

  .nf-home-firstscreen .nf-hero-orbit--two,
  .nf-home-firstscreen .nf-hero-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-firstscreen:not(.nf-premium-hero) .nf-hero-reveal {
    opacity: 1 !important;
    transform: none !important;
  
  }

  .nf-home-firstscreen .nf-hero-float,
  .nf-home-firstscreen .nf-hero-orbit {
  
  }
}


.nf-advantages.nf-hero-cards {
  margin: 0 !important;
  padding: 8px 0 0 !important;
}

.nf-advantages .nf-advantages__strip {
  position: relative;
  padding: clamp(24px, 3.2vw, 38px) 0 clamp(20px, 2.4vw, 30px);
  isolation: isolate;
}

.nf-advantages .nf-advantages__strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 22px;
  background:
    radial-gradient(440px 180px at 8% 16%, rgba(var(--nf-accent-rgb), 0.16), transparent 65%),
    radial-gradient(420px 160px at 92% 84%, rgba(var(--nf-graphite-rgb), 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 251, 253, 0.46));
  pointer-events: none;
}

.nf-advantages .nf-advantages__eyebrow {
  display: inline-flex;
  margin-bottom: clamp(18px, 2vw, 28px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nf-color-text-secondary);
}

.nf-advantages .nf-advantages__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.nf-advantages .nf-adv {
  position: relative;
  padding: 12px 8px 16px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(16px);
  opacity: 0;
  
}

.nf-advantages .nf-adv::before,
.nf-advantages .nf-adv::after,
.nf-advantages .nf-adv__accent,
.nf-advantages .nf-adv__accent::before,
.nf-advantages .nf-adv__accent::after {
  display: none !important;
  content: none !important;
}

.nf-advantages .nf-adv h3 {
  margin: 0 0 12px !important;
  font-size: clamp(30px, 2.35vw, 42px) !important;
  line-height: 1.02 !important;
  font-weight: 780 !important;
  letter-spacing: -0.03em;
  color: var(--nf-color-text-primary) !important;
}

.nf-advantages .nf-adv p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--nf-color-placeholder) !important;
  max-width: 31ch;
}

.nf-advantages .nf-adv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nf-advantages .nf-adv.is-visible h3 {
  
  
}

.nf-advantages .nf-adv:hover {  
  filter: drop-shadow(0 10px 22px rgba(var(--nf-graphite-rgb), 0.12));
}

.nf-advantages .nf-adv::selection,
.nf-advantages .nf-adv h3::selection,
.nf-advantages .nf-adv p::selection {
  background: rgba(var(--nf-accent-rgb), 0.2);
}

.nf-advantages .nf-adv p::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--nf-color-accent), rgba(95, 174, 165, 0.2));
  transform-origin: left center;
  transform: scaleX(0.16);
  opacity: 0.6;
  
}

.nf-advantages .nf-adv.is-visible p::after {
  transform: scaleX(1);
  opacity: 0.92;
}

.nf-advantages .nf-adv:hover p::after {
  opacity: 1;
}





@media (max-width: 1279px) {
  .nf-advantages .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
  }

  .nf-advantages .nf-adv h3 {
    font-size: clamp(28px, 4.1vw, 38px) !important;
  }
}

@media (max-width: 768px) {
  .nf-advantages .nf-advantages__strip {
    padding: 20px 0 12px;
  }

  .nf-advantages .nf-advantages__strip::before {
    border-radius: 16px;
  }

  .nf-advantages .nf-advantages__eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .nf-advantages .nf-advantages__items {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nf-advantages .nf-adv {
    padding: 10px 2px 14px !important;
  }

  .nf-advantages .nf-adv h3 {
    margin-bottom: 8px !important;
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .nf-advantages .nf-adv p {
    max-width: none;
    font-size: 13px !important;
  }
}


.nf-home-firstscreen.nf-first-screen {
  background: var(--nf-color-surface-subtle);
}

.nf-home-firstscreen.nf-first-screen .nf-hero {
  position: relative;
  padding: 68px 0 44px !important;
  background: var(--nf-color-surface-subtle) !important;
  overflow: hidden;
}

.nf-home-firstscreen.nf-first-screen .nf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 360px at 82% 14%, rgba(15, 118, 110, 0.08), transparent 65%),
    radial-gradient(540px 260px at 14% 82%, rgba(15, 118, 110, 0.05), transparent 70%);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__layout {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__content {
  max-width: 690px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow {
  margin: 0 0 22px;
  padding: 0 0 12px;
  display: inline-block;
  border-bottom: 1px solid rgba(15, 23, 40, 0.15);
  color: var(--nf-color-placeholder);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title {
  margin: 0;
  color: var(--nf-color-text-primary);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__desc {
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--nf-color-placeholder);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary {
  border: 1px solid var(--nf-color-accent-active);
  background: var(--nf-color-accent-active);
  color: var(--nf-color-surface);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary:hover {
  background: var(--nf-color-accent-contrast);
  border-color: var(--nf-color-accent-contrast);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.26);
  }

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-outline {
  border: 1px solid rgba(15, 23, 40, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: var(--nf-color-text-primary);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-outline:hover {
  border-color: rgba(15, 118, 110, 0.48);
  color: var(--nf-color-accent-active);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 40, 0.08);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
  position: relative;
  height: 520px;
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 40, 0.12);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.88) 0%, rgba(242, 246, 248, 0.96) 68%, rgba(233, 239, 242, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 56px rgba(15, 23, 40, 0.12);
  overflow: hidden;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 72%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(15, 118, 110, 0.16) 0%, rgba(15, 118, 110, 0.02) 58%, transparent 74%);
  filter: blur(4px);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 40, 0.22);
  transform: translate(-50%, -50%);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ring--outer {
  width: 78%;
  aspect-ratio: 1 / 1;
  border-color: rgba(15, 23, 40, 0.16);
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.3), 0 16px 38px rgba(15, 23, 40, 0.12);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ring--inner {
  width: 56%;
  aspect-ratio: 1 / 1;
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: inset 0 0 24px rgba(15, 118, 110, 0.12), 0 0 0 8px rgba(255, 255, 255, 0.25);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__core {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 148px;
  height: 148px;
  border-radius: 28px;
  transform: translate(-50%, -50%) rotate(8deg);
  border: 1px solid rgba(15, 23, 40, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(230, 237, 241, 0.9)),
    linear-gradient(0deg, rgba(15, 118, 110, 0.22), rgba(15, 118, 110, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 42px rgba(15, 23, 40, 0.14);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 40, 0), rgba(15, 23, 40, 0.3), rgba(15, 23, 40, 0));
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__line--one {
  left: 12%;
  right: 12%;
  top: 34%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__line--two {
  left: 20%;
  right: 20%;
  bottom: 30%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-cards {
  padding: 6px 0 40px;
  background: var(--nf-color-surface-subtle);
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__strip {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__eyebrow {
  margin: 0 0 18px;
  color: var(--nf-color-placeholder);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.nf-home-firstscreen.nf-first-screen .nf-adv {
  position: relative;
  min-height: 216px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 40, 0.1);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(15, 23, 40, 0.08);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(18px);
  
}

.nf-home-firstscreen.nf-first-screen .nf-adv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nf-home-firstscreen.nf-first-screen .nf-adv__label {
  color: var(--nf-color-placeholder);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-adv h3 {
  margin: 14px 0 10px;
  color: var(--nf-color-text-primary);
  font-size: clamp(30px, 2.3vw, 40px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.nf-home-firstscreen.nf-first-screen .nf-adv p {
  margin: 0;
  color: var(--nf-color-placeholder);
  font-size: 14px;
  line-height: 1.5;
  max-width: 28ch;
}

.nf-home-firstscreen.nf-first-screen .nf-adv__accent {
  margin-top: auto;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.9), rgba(15, 118, 110, 0.2));
  box-shadow: 0 0 16px rgba(15, 118, 110, 0.18);
}

.nf-home-firstscreen.nf-first-screen .nf-adv:hover {  
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 20px 40px rgba(15, 23, 40, 0.14);
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero) .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero) .nf-hero__eyebrow {  }
.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero) .nf-hero__title {  }
.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero) .nf-hero__desc {  }
.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero) .nf-hero__buttons {  }

.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(1) {  }
.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(2) {  }
.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(3) {  }
.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(4) {  }









@media (max-width: 1150px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__content {
    max-width: 100%;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual {
    min-height: 460px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 48px 0 24px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__layout,
  .nf-home-firstscreen.nf-first-screen .nf-advantages__strip {
    width: min(1320px, calc(100% - 30px));
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__title {
    font-size: clamp(32px, 10.8vw, 46px);
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__desc {
    font-size: 15px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual {
    min-height: 380px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    height: 380px;
    border-radius: 24px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__core {
    width: 118px;
    height: 118px;
    border-radius: 22px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-advantages__items {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-adv {
    min-height: 188px;
  }
}


.nf-home-firstscreen {
  --nf-first-bg: var(--nf-color-surface-subtle);
  --nf-first-text: var(--nf-color-text-primary);
  --nf-first-muted: var(--nf-color-placeholder);
  --nf-first-accent: var(--nf-color-accent-active);
  --nf-first-border: rgba(15, 23, 40, 0.1);
  --nf-first-shadow:
    0 24px 54px rgba(15, 23, 40, 0.08),
    0 8px 20px rgba(15, 23, 40, 0.05);
}

.nf-home-firstscreen > .nf-hero > .container,
.nf-home-firstscreen > .nf-hero-cards > .container {
  max-width: 1320px !important;
}

.nf-home-firstscreen .nf-hero {
  border-radius: 20px !important;
  border: 1px solid var(--nf-first-border) !important;
  background:
    radial-gradient(760px 340px at 12% 0%, rgba(15, 118, 110, 0.1), transparent 62%),
    radial-gradient(680px 300px at 96% 90%, rgba(15, 23, 40, 0.08), transparent 68%),
    linear-gradient(165deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 45%, var(--nf-first-bg) 100%) !important;
  box-shadow: var(--nf-first-shadow) !important;
  padding: 0 !important;
}

.nf-home-firstscreen .nf-hero::after {
  display: none !important;
}

.nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
  gap: clamp(34px, 4vw, 56px) !important;
  padding: clamp(34px, 4vw, 56px) !important;
}

.nf-home-firstscreen .nf-hero__eyebrow {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--nf-color-text-secondary) !important;
  font-size: 12px !important;
  letter-spacing: 0.11em !important;
  font-weight: 600 !important;
  text-transform: uppercase;
}

.nf-home-firstscreen .nf-hero__title {
  color: var(--nf-first-text) !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.032em !important;
  max-width: 16ch;
  text-wrap: pretty;
}

.nf-home-firstscreen .hero-line {
  margin: 22px 0 18px !important;
  width: 108px !important;
  height: 2px !important;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.9), rgba(15, 118, 110, 0.24), transparent) !important;
}

.nf-home-firstscreen .nf-hero__desc {
  color: var(--nf-first-muted) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  max-width: 58ch !important;
}

.nf-home-firstscreen .nf-hero__buttons {
  gap: 12px !important;
}

.nf-home-firstscreen .nf-hero__buttons .btn {
  min-height: 50px;
  border-radius: 12px !important;
  padding: 0 22px !important;
  font-weight: 650 !important;
  font-size: 15px !important;
  
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary {
  border: 1px solid var(--nf-color-accent-contrast) !important;
  background: linear-gradient(135deg, var(--nf-color-accent-active) 0%, var(--nf-color-accent-active) 100%) !important;
  color: var(--nf-color-surface-subtle) !important;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24) !important;
}

.nf-home-firstscreen .nf-hero__buttons .btn-primary:hover {  
  box-shadow: 0 18px 32px rgba(15, 118, 110, 0.3) !important;
}

.nf-home-firstscreen .nf-hero__buttons .btn-outline {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 40, 0.24) !important;
  color: var(--nf-color-text-primary) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 40, 0.08) !important;
}

.nf-home-firstscreen .nf-hero__buttons .btn-outline:hover {  
  background: var(--nf-color-surface) !important;
  border-color: rgba(15, 118, 110, 0.42) !important;
}

.nf-home-firstscreen .nf-hero__visual {
  perspective: 1400px;
}

.nf-home-firstscreen .nf-hero__image-wrap {
  min-height: clamp(390px, 38vw, 540px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 40, 0.16) !important;
  background:
    radial-gradient(460px 200px at 20% 14%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.2) 66%, transparent),
    linear-gradient(155deg, rgba(255, 255, 255, 0.62), rgba(231, 237, 240, 0.7)) !important;
  box-shadow:
    0 34px 68px rgba(15, 23, 40, 0.16),
    0 10px 22px rgba(15, 23, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.nf-home-firstscreen .nf-hero__image-bg {
  inset: 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 40, 0.14) !important;
  background:
    radial-gradient(circle at 78% 20%, rgba(15, 118, 110, 0.2), transparent 44%),
    linear-gradient(160deg, rgba(243, 247, 249, 0.95), rgba(226, 233, 236, 0.78)) !important;
}

.nf-home-firstscreen .nf-hero-machine {
  position: absolute;
  inset: 12% 12%;
  z-index: 2;
  transform-style: preserve-3d;
}

.nf-home-firstscreen .nf-hero-machine__ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 40, 0.22);
}

.nf-home-firstscreen .nf-hero-machine__ring--outer {
  inset: 4%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 18px 44px rgba(15, 23, 40, 0.14);
}

.nf-home-firstscreen .nf-hero-machine__ring--inner {
  inset: 22%;
  border-color: rgba(15, 118, 110, 0.46);
  box-shadow: inset 0 0 24px rgba(15, 118, 110, 0.2);
}

.nf-home-firstscreen .nf-hero-machine__core {
  position: absolute;
  inset: 34%;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 28%, var(--nf-color-surface), var(--nf-color-border) 68%, var(--nf-color-border-strong) 100%);
  box-shadow:
    0 20px 34px rgba(15, 23, 40, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nf-home-firstscreen .nf-hero-machine__plate {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 4%;
  height: 22%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 40, 0.16);
  background: linear-gradient(180deg, rgba(249, 251, 252, 0.88), rgba(224, 231, 235, 0.84));
  box-shadow: 0 12px 20px rgba(15, 23, 40, 0.16);
}

.nf-home-firstscreen .nf-hero__picture,
.nf-home-firstscreen .nf-hero__image,
.nf-home-firstscreen .nf-hero-ui-card {
  display: none !important;
}

.nf-home-firstscreen .nf-hero-orbit,
.nf-home-firstscreen .nf-hero-float {
  border-color: rgba(15, 23, 40, 0.22) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(231, 237, 241, 0.66)) !important;
}

.nf-home-firstscreen .nf-hero-orbit--two {
  border-color: rgba(15, 118, 110, 0.42) !important;
}

.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen:not(.nf-premium-hero).is-ready .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen .nf-advantages__strip {
  padding: 26px 0 6px !important;
}

.nf-home-firstscreen .nf-advantages__strip::before {
  border-radius: 0 !important;
  background: transparent !important;
}

.nf-home-firstscreen .nf-advantages__eyebrow {
  margin-bottom: 16px !important;
  color: var(--nf-color-text-secondary) !important;
}

.nf-home-firstscreen .nf-advantages__items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
}

.nf-home-firstscreen .nf-adv {
  border-radius: 24px !important;
  border: 1px solid rgba(15, 23, 40, 0.1) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 249, 0.88)) !important;
  box-shadow:
    0 12px 24px rgba(15, 23, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  padding: 18px 18px 16px !important;
  transform: translateY(14px);
}

.nf-home-firstscreen .nf-adv__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-color-muted);
  font-weight: 650;
}

.nf-home-firstscreen .nf-adv h3 {
  font-size: clamp(30px, 2.1vw, 38px) !important;
  line-height: 1.06 !important;
  color: var(--nf-color-text-primary) !important;
  margin: 0 0 10px !important;
  max-width: none !important;
}

.nf-home-firstscreen .nf-adv p {
  color: var(--nf-color-placeholder) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  max-width: none !important;
}

.nf-home-firstscreen .nf-adv p::after {
  margin-top: 12px;
}

.nf-home-firstscreen .nf-adv:hover {  
  box-shadow:
    0 18px 34px rgba(15, 23, 40, 0.14),
    inset 0 0 0 1px rgba(15, 118, 110, 0.26) !important;
}

@media (max-width: 1100px) {
  .nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
  }

  .nf-home-firstscreen .nf-hero__title {
    max-width: none;
    font-size: clamp(32px, 6vw, 48px) !important;
  }

  .nf-home-firstscreen .nf-hero__image-wrap {
    min-height: 330px !important;
  }

  .nf-home-firstscreen .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen .nf-hero {
    border-radius: 16px !important;
  }

  .nf-home-firstscreen .nf-hero > .container.nf-hero__layout {
    padding: 20px 16px !important;
    gap: 20px !important;
  }

  .nf-home-firstscreen .nf-hero__desc {
    font-size: 15px !important;
  }

  .nf-home-firstscreen .nf-hero__buttons .btn {
    width: 100%;
  }

  .nf-home-firstscreen .nf-hero__image-wrap {
    min-height: 260px !important;
  }

  .nf-home-firstscreen .nf-hero-float,
  .nf-home-firstscreen .nf-hero-orbit--two {
    display: none !important;
  }

  .nf-home-firstscreen .nf-advantages__items {
    grid-template-columns: 1fr;
  }
}


.nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: none !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr) !important;
  gap: 64px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero {
  border-radius: 0 !important;
  background: var(--nf-color-surface-subtle) !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__eyebrow {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__kicker {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__title {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__title span {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__desc {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__buttons {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow {
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(15, 23, 40, 0.15) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
  display: block !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__image-wrap,
.nf-home-firstscreen.nf-first-screen .nf-hero-machine,
.nf-home-firstscreen.nf-first-screen .hero-line,
.nf-home-firstscreen.nf-first-screen .nf-hero-orbit,
.nf-home-firstscreen.nf-first-screen .nf-hero-float,
.nf-home-firstscreen.nf-first-screen .nf-hero__image-bg,
.nf-home-firstscreen.nf-first-screen .nf-hero__picture,
.nf-home-firstscreen.nf-first-screen .nf-hero-ui-card {
  display: none !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__items {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv {
  min-height: 216px !important;
  padding: 24px 22px 26px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv__accent {
  display: block !important;
}

@media (max-width: 1150px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    width: min(1320px, calc(100% - 30px)) !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
    width: 100% !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-advantages__items {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


.nf-home-firstscreen.nf-first-screen .nf-hero {
  padding: 78px 0 52px !important;
  background:
    radial-gradient(920px 460px at 84% 14%, rgba(15, 118, 110, 0.09), transparent 66%),
    radial-gradient(620px 320px at 9% 88%, rgba(35, 73, 112, 0.06), transparent 74%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 54%, var(--nf-color-surface-alt) 100%) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(15, 23, 40, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 40, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(1200px 520px at 66% 20%, black 24%, transparent 72%);
}

.nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(520px, 0.92fr) !important;
  gap: 72px !important;
  align-items: center !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__content {
  max-width: 760px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow {
  position: relative;
  margin: 0 0 26px !important;
  padding: 0 0 14px !important;
  color: var(--nf-color-text-secondary) !important;
  font-size: 11px !important;
  letter-spacing: 0.19em !important;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 124px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 23, 40, 0.35), rgba(15, 23, 40, 0.08));
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 !important;
  color: var(--nf-color-text-primary) !important;
  font-size: clamp(44px, 4.95vw, 74px) !important;
  font-weight: 820 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
  text-wrap: balance;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title span:nth-child(3) {
  color: var(--nf-color-text-strong);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__desc {
  margin-top: 26px !important;
  max-width: 60ch !important;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.48 !important;
  color: var(--nf-color-text-secondary) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  color: var(--nf-color-text-secondary);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.04em;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta span {
  position: relative;
  padding: 0 16px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta span:first-child {
  padding-left: 0;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(15, 23, 40, 0.18);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
  margin-top: 34px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
  min-height: 54px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 640;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary {
  border-color: var(--nf-color-accent-contrast) !important;
  background:
    linear-gradient(180deg, var(--nf-color-accent-contrast) 0%, var(--nf-color-accent-contrast) 100%) !important;
  box-shadow:
    0 14px 28px rgba(15, 63, 83, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary:hover {  
  box-shadow:
    0 18px 34px rgba(15, 63, 83, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(15, 63, 83, 0.3) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-outline {
  border: 1px solid rgba(15, 23, 40, 0.24) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-outline:hover {  
  border-color: rgba(15, 63, 83, 0.44) !important;
  color: var(--nf-color-accent-contrast) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 40, 0.12);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__trust {
  margin: 14px 0 0;
  color: var(--nf-color-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual {
  min-height: 560px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
  position: relative;
  height: 560px !important;
  border-radius: 36px !important;
  border: 1px solid rgba(15, 23, 40, 0.14) !important;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94) 0%, rgba(236, 241, 245, 0.95) 64%, rgba(223, 231, 236, 0.96) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 30px 70px rgba(15, 23, 40, 0.18),
    0 8px 22px rgba(15, 23, 40, 0.08) !important;
  overflow: hidden;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(15, 118, 110, 0.16) 0%, rgba(15, 118, 110, 0.03) 38%, transparent 62%),
    radial-gradient(circle at 22% 78%, rgba(35, 73, 112, 0.14) 0%, rgba(35, 73, 112, 0.03) 36%, transparent 60%);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__chamber {
  position: absolute;
  inset: 58px 44px 52px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(232, 240, 246, 0.44));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(15, 23, 40, 0.08);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__panel {
  position: absolute;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(225, 236, 244, 0.36));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__panel--back {
  left: 18%;
  right: 22%;
  top: 20%;
  height: 42%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__panel--mid {
  left: 26%;
  right: 12%;
  top: 28%;
  height: 46%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__pedestal {
  position: absolute;
  left: 22%;
  right: 14%;
  bottom: 14%;
  height: 46%;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 40, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(212, 223, 231, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 22px 44px rgba(15, 23, 40, 0.2);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__unit {
  position: absolute;
  inset: 14% 16% 24%;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 40, 0.2);
  background:
    linear-gradient(148deg, rgba(249, 252, 253, 0.94), rgba(211, 222, 230, 0.96) 72%, rgba(188, 203, 213, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 26px rgba(15, 23, 40, 0.24);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__lens {
  position: absolute;
  width: 74px;
  height: 74px;
  left: 22%;
  top: 24%;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 40, 0.22);
  background:
    radial-gradient(circle at 35% 34%, rgba(255, 255, 255, 0.85), rgba(205, 224, 236, 0.56) 46%, rgba(15, 63, 83, 0.26) 78%, rgba(15, 63, 83, 0.36));
  box-shadow:
    inset 0 0 0 8px rgba(248, 252, 255, 0.4),
    0 10px 18px rgba(15, 23, 40, 0.2);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__detail {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 63, 83, 0.7), rgba(15, 118, 110, 0.4));
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__detail--one {
  left: 24%;
  right: 16%;
  bottom: 28%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__detail--two {
  left: 24%;
  right: 30%;
  bottom: 18%;
  opacity: 0.6;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__rail {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 40, 0.36), transparent);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__rail--one {
  left: 10%;
  right: 10%;
  top: 32%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__rail--two {
  left: 18%;
  right: 18%;
  bottom: 22%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__shine {
  position: absolute;
  top: -14%;
  right: -10%;
  width: 58%;
  height: 148%;
  transform: rotate(20deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  opacity: 0.58;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__glow,
.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ring,
.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__core,
.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__line {
  display: none !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__strip {
  padding: 14px 0 12px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__eyebrow {
  margin-bottom: 20px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__items {
  gap: 22px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv {
  min-height: 236px !important;
  padding: 26px 24px 24px !important;
  border: 1px solid rgba(15, 23, 40, 0.13) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(240, 244, 246, 0.88)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 30px rgba(15, 23, 40, 0.09),
    0 30px 56px rgba(15, 23, 40, 0.08) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.nf-home-firstscreen.nf-first-screen .nf-adv__label {
  color: var(--nf-color-text-secondary) !important;
  font-size: 10px !important;
  font-weight: 680 !important;
  letter-spacing: 0.14em !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv h3 {
  margin: 16px 0 12px !important;
  font-size: clamp(30px, 2.2vw, 42px) !important;
  line-height: 1 !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv p {
  color: var(--nf-color-text-secondary) !important;
  font-size: 14px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv__accent {
  width: 98px !important;
  height: 4px !important;
  margin-top: auto !important;
  background: linear-gradient(90deg, rgba(15, 63, 83, 0.95), rgba(15, 118, 110, 0.22)) !important;
  box-shadow: 0 0 22px rgba(15, 118, 110, 0.2) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv:hover {  
  border-color: rgba(15, 63, 83, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 42px rgba(15, 23, 40, 0.14),
    0 40px 70px rgba(15, 23, 40, 0.14) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv:hover .nf-adv__accent {
  background: linear-gradient(90deg, rgba(15, 63, 83, 1), rgba(15, 118, 110, 0.45)) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(2),
.nf-home-firstscreen.nf-first-screen .nf-adv:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(252, 254, 255, 0.9), rgba(232, 239, 245, 0.9)) !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__meta {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-firstscreen.nf-first-screen:not(.nf-premium-hero).is-ready .nf-hero__trust {
  opacity: 1 !important;
  transform: none !important;
}









@media (max-width: 1220px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual {
    min-height: 500px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    height: 500px !important;
  }
}

@media (max-width: 900px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 56px 0 24px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__title {
    font-size: clamp(34px, 9vw, 54px) !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__meta {
    font-size: 11px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__meta span {
    padding: 0 12px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual,
  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    min-height: 400px !important;
    height: 400px !important;
  }
}

@media (max-width: 640px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero__meta {
    flex-direction: column;
    gap: 8px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__meta span {
    padding: 0;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__meta span + span::before {
    display: none;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
    margin-top: 26px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
    width: 100% !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__trust {
    font-size: 11px;
    line-height: 1.4;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    border-radius: 24px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__chamber {
    inset: 40px 20px 32px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__pedestal {
    left: 12%;
    right: 10%;
    bottom: 10%;
  }

  .nf-home-firstscreen.nf-first-screen .nf-advantages__items {
    gap: 14px !important;
  }
}


.nf-home-firstscreen.nf-first-screen .nf-hero {
  padding: 38px 0 14px !important;
  background:
    radial-gradient(820px 360px at 84% 14%, rgba(15, 118, 110, 0.08), transparent 66%),
    radial-gradient(520px 260px at 10% 86%, rgba(15, 118, 110, 0.05), transparent 74%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 56%, var(--nf-color-surface-alt) 100%) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.85fr) !important;
  gap: 56px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__content {
  max-width: 680px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow {
  margin: 0 0 16px !important;
  padding: 0 0 9px !important;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  color: var(--nf-color-muted) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__eyebrow::after {
  width: 94px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.5), rgba(15, 118, 110, 0.1));
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title {
  font-size: clamp(32px, 3.05vw, 46px) !important;
  line-height: 0.97 !important;
  letter-spacing: -0.034em !important;
  gap: 0 !important;
  max-width: 680px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title-line--lead,
.nf-home-firstscreen.nf-first-screen .nf-hero__title-line--shine {
  white-space: nowrap;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__subtitle {
  white-space: normal;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title span:nth-child(3) {
  color: var(--nf-color-text-primary) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__desc {
  margin-top: 16px !important;
  max-width: 58ch !important;
  font-size: clamp(15px, 1.08vw, 17px) !important;
  line-height: 1.42 !important;
  color: var(--nf-color-muted) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.02em;
  gap: 8px 0;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta span {
  padding: 0 12px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta span + span::before {
  height: 10px;
  background: rgba(15, 118, 110, 0.28);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
  margin-top: 18px !important;
  gap: 10px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary {
  border-color: var(--nf-color-accent-active) !important;
  background: linear-gradient(180deg, var(--nf-color-accent-hover) 0%, var(--nf-color-accent-active) 100%) !important;
  box-shadow:
    0 10px 22px rgba(15, 118, 110, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-primary:hover {
  box-shadow:
    0 14px 26px rgba(15, 118, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons .btn-outline:hover {
  border-color: rgba(15, 118, 110, 0.45) !important;
  color: var(--nf-color-accent-active) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__trust {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.045em;
  color: var(--nf-color-muted);
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual {
  min-height: 420px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
  height: 420px !important;
  border-radius: 28px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 44px rgba(15, 23, 40, 0.14),
    0 6px 16px rgba(15, 23, 40, 0.06) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__ambient {
  background:
    radial-gradient(circle at 74% 20%, rgba(15, 118, 110, 0.13) 0%, rgba(15, 118, 110, 0.02) 40%, transparent 62%),
    radial-gradient(circle at 20% 78%, rgba(15, 118, 110, 0.11) 0%, rgba(15, 118, 110, 0.02) 34%, transparent 58%);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__chamber {
  inset: 42px 34px 36px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__panel--back {
  left: 17%;
  right: 23%;
  top: 19%;
  height: 39%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__panel--mid {
  left: 25%;
  right: 13%;
  top: 27%;
  height: 42%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__pedestal {
  left: 22%;
  right: 14%;
  bottom: 12%;
  height: 42%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__unit {
  inset: 14% 16% 23%;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__lens {
  width: 60px;
  height: 60px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__detail {
  height: 6px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.78), rgba(15, 118, 110, 0.32));
}

.nf-home-firstscreen.nf-first-screen .nf-hero-cards {
  padding: 0 0 24px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__strip {
  padding: 4px 0 8px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__eyebrow {
  margin-bottom: 14px !important;
  color: var(--nf-color-muted) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-advantages__items {
  gap: 16px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv {
  min-height: 204px !important;
  padding: 20px 20px 18px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv h3 {
  margin: 12px 0 10px !important;
  font-size: clamp(28px, 1.9vw, 36px) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv p {
  font-size: 13.5px !important;
  line-height: 1.42 !important;
}

.nf-home-firstscreen.nf-first-screen .nf-adv__accent {
  width: 84px !important;
  height: 3px !important;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.92), rgba(15, 118, 110, 0.2)) !important;
}

@media (max-width: 1440px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 40px 0 18px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    gap: 38px !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.82fr) !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__title {
    font-size: clamp(32px, 3.08vw, 46px) !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual,
  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    min-height: 380px !important;
    height: 380px !important;
  }
}

@media (max-width: 1220px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 36px 0 16px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__title {
    font-size: clamp(34px, 5.7vw, 48px) !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual,
  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
    min-height: 340px !important;
    height: 340px !important;
  }
}

@media (max-width: 900px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 34px 0 14px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__meta {
    margin-top: 12px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
    margin-top: 16px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-adv {
    min-height: 186px !important;
  }
}


.nf-home-firstscreen.nf-first-screen .nf-hero__visual {
  min-height: 390px !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual::before {
  content: "";
  position: absolute;
  right: 38px;
  top: 44px;
  width: 320px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.1), rgba(15, 118, 110, 0));
  filter: blur(10px);
  pointer-events: none;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph {
  position: absolute;
  stroke: rgba(15, 118, 110, 0.26);
  stroke-width: 1.2;
  opacity: 0.45;
  fill: none;
  filter: blur(0.1px);
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--cross {
  width: 18px;
  height: 18px;
  top: 72px;
  right: 18px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--wave {
  width: 42px;
  height: 16px;
  top: 218px;
  left: 10px;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--nodes {
  width: 34px;
  height: 34px;
  bottom: 26px;
  right: 8px;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat {
  position: relative;
  width: min(420px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 40, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 247, 0.86));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 16px 36px rgba(15, 23, 40, 0.11);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  
  z-index: 1;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(460px 180px at 96% 0%, rgba(15, 118, 110, 0.09), transparent 70%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04), rgba(15, 118, 110, 0));
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px 11px;
  border-bottom: 1px solid rgba(15, 23, 40, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__label {
  color: var(--nf-color-text-primary);
  font-size: 11px;
  font-weight: 660;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nf-color-accent-active);
  font-size: 11px;
  font-weight: 620;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nf-color-accent-active);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__messages {
  position: relative;
  z-index: 1;
  padding: 10px 12px 8px;
  display: grid;
  gap: 0;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role {
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--nf-color-muted);
  opacity: 0;
  transform: translateY(6px);
  margin-bottom: 7px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role--client {
  justify-self: end;
  margin: 1px 2px 7px 0;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role--agent {
  justify-self: start;
  margin: 1px 0 7px 2px;
  color: var(--nf-color-muted);
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg {
  max-width: 92%;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 40, 0.1);
  padding: 10px 11px;
  box-shadow: 0 6px 16px rgba(15, 23, 40, 0.07);
  opacity: 0;
  transform: translateY(8px);
  margin-bottom: 12px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg p {
  margin: 0;
  color: var(--nf-color-text-strong);
  font-size: 13px;
  line-height: 1.42;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--client {
  margin-left: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 246, 0.94));
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--agent {
  margin-right: auto;
  background:
    linear-gradient(180deg, rgba(236, 247, 245, 0.96), rgba(228, 242, 239, 0.94));
  border-color: rgba(15, 118, 110, 0.2);
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--typing {
  width: 66px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-4 {
  margin-bottom: 2px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.58);
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--typing span:nth-child(2) {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg--typing span:nth-child(3) {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-1 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-typing {
  
    nfMsgIn 0.38s ease 1.46s forwards,
    nfTypingOut 0.32s ease 2.44s forwards;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-2 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-3 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-4 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(15, 23, 40, 0.08);
  background: rgba(255, 255, 255, 0.52);
  color: var(--nf-color-text-secondary);
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-status {
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process {
  width: min(420px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 40, 0.1);
  background: linear-gradient(180deg, rgba(253, 255, 254, 0.9), rgba(246, 250, 248, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(15, 23, 40, 0.08);
  padding: 10px 12px 11px;
  opacity: 0;
  transform: translateY(8px);
  z-index: 1;
  position: relative;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.34), transparent);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process h3 {
  margin: 0 0 8px;
  color: var(--nf-color-text-strong);
  font-size: 12px;
  font-weight: 660;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process li {
  position: relative;
  padding-left: 18px;
  color: var(--nf-color-text-secondary);
  font-size: 12px;
  line-height: 1.34;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nf-color-accent-active);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-process {
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nf-color-accent-active);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}





















.nf-home-firstscreen.nf-first-screen .nf-hero-tech-object {
  display: none !important;
}

@media (max-width: 1440px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero {
    padding: 34px 0 12px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__visual {
    min-height: 360px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-chat {
    width: min(390px, 100%);
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-process {
    width: min(390px, 100%);
    padding: 9px 11px 10px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-process li {
    font-size: 11.5px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--wave {
    left: 4px;
  }
}

@media (max-width: 1220px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero__visual {
    min-height: auto !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero__title span {
    white-space: normal;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-chat {
    margin-left: 0;
    width: min(460px, 100%);
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-process {
    width: min(460px, 100%);
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-ambient {
    display: none;
  }
}

@media (max-width: 640px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero-chat {
    width: 100%;
    border-radius: 16px;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-process {
    width: 100%;
  }

  .nf-home-firstscreen.nf-first-screen .nf-chat-msg p {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-firstscreen.nf-first-screen .nf-hero-chat,
  .nf-home-firstscreen.nf-first-screen .nf-chat-msg,
  .nf-home-firstscreen.nf-first-screen .nf-hero-chat__status,
  .nf-home-firstscreen.nf-first-screen .nf-hero-process,
  .nf-home-firstscreen.nf-first-screen .nf-chat-msg--typing span {
  
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph {
  
  }
}


.nf-home-firstscreen.nf-first-screen .nf-hero {
  padding: 32px 0 12px !important;
  background:
    radial-gradient(720px 320px at 80% 24%, rgba(15, 118, 110, 0.09), transparent 68%),
    radial-gradient(380px 220px at 16% 88%, rgba(15, 118, 110, 0.05), transparent 70%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-alt) 56%, var(--nf-color-surface-alt) 100%) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.85fr) !important;
  gap: 74px !important;
  align-items: center !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__content {
  max-width: 590px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title {
  max-width: 530px !important;
  font-size: clamp(30px, 2.65vw, 40px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.026em !important;
  gap: 1px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title span {
  display: block;
  white-space: nowrap !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title span:nth-child(1),
.nf-home-firstscreen.nf-first-screen .nf-hero__title span:nth-child(2) {
  color: var(--nf-color-text-primary) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__title span:nth-child(3) {
  color: var(--nf-color-accent-active) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__desc {
  margin-top: 15px !important;
  max-width: 53ch !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__meta {
  margin-top: 12px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__buttons {
  margin-top: 16px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__trust {
  margin-top: 8px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual {
  min-height: 376px !important;
  justify-content: center;
  align-items: flex-end;
}

.nf-home-firstscreen.nf-first-screen .nf-hero__visual::before {
  right: 22px;
  top: 42px;
  width: 334px;
  height: 286px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), rgba(15, 118, 110, 0));
  filter: blur(10px);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph {
  stroke: rgba(15, 118, 110, 0.2);
  opacity: 0.28;
  stroke-width: 1.05;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--cross {
  top: 62px;
  right: 22px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--wave {
  top: 202px;
  left: 8px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-ambient__glyph--nodes {
  bottom: 18px;
  right: 4px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-system {
  width: min(396px, 100%);
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat,
.nf-home-firstscreen.nf-first-screen .nf-hero-process {
  width: 100%;
  border: 1px solid rgba(15, 23, 40, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 28px rgba(15, 23, 40, 0.09);
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat {
  border-radius: 18px;
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__head {
  padding: 11px 14px 10px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__messages {
  padding: 10px 11px 7px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role {
  margin: 0 0 6px !important;
  font-size: 11px;
  letter-spacing: 0.035em;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role--client {
  margin-right: 1px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-role--agent {
  margin-left: 1px !important;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 11px;
  box-shadow: 0 5px 12px rgba(15, 23, 40, 0.06);
}

.nf-home-firstscreen.nf-first-screen .nf-chat-msg p {
  font-size: 12.5px;
  line-height: 1.36;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-1 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-2 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-3 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-4 {
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-chat__status {
  padding: 9px 12px 10px;
  font-size: 10.5px;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-status {
  
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process {
  border-radius: 14px;
  padding: 9px 11px 10px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process h3 {
  margin-bottom: 6px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process ul {
  gap: 5px;
}

.nf-home-firstscreen.nf-first-screen .nf-hero-process li {
  font-size: 11.5px;
  line-height: 1.32;
}

.nf-home-firstscreen.nf-first-screen .nf-chat-anim-process {
  
}

@media (max-width: 1440px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr) !important;
    gap: 54px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-system {
    width: min(378px, 100%);
  }
}

@media (max-width: 1220px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero__title span {
    white-space: normal !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-system {
    width: min(460px, 100%);
  }
}

@media (max-width: 640px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero-system {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-firstscreen.nf-first-screen .nf-hero-system,
  .nf-home-firstscreen.nf-first-screen .nf-chat-role,
  .nf-home-firstscreen.nf-first-screen .nf-chat-msg,
  .nf-home-firstscreen.nf-first-screen .nf-hero-chat__status,
  .nf-home-firstscreen.nf-first-screen .nf-hero-process {
  
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}


.nf-premium-hero {
  
  --brand-top: var(--nf-color-accent);
  --brand-base: var(--nf-color-accent-hover);
  --primary: var(--brand-base);
  --primary-hover: var(--nf-color-accent-contrast);
  --primary-active: var(--nf-color-accent-deep);
  --primary-soft: rgba(var(--nf-accent-rgb), 0.12);
  --primary-soft-solid: var(--nf-color-accent-soft);
  --accent-glow: rgba(var(--nf-accent-rgb), 0.22);
  --text-main: var(--nf-color-text-strong);
  --text-secondary: rgba(26, 36, 35, 0.54);
  --lux-x: 50%;
  --lux-y: 42%;
  --lux-teal: var(--primary);
  --lux-teal-deep: var(--primary-hover);
  --lux-teal-soft: var(--primary-soft);
  --lux-ink: var(--text-main);
  --lux-ink-muted: var(--text-secondary);
  --lux-porcelain: var(--nf-color-surface-subtle);
  
  --hero-pointer-glow-strength: 1;
  --hero-parallax-pixels: 11;
  
  --nf-home-motion-y: 20px;
  --nf-home-motion-dur: 0.68s;
  --nf-home-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nf-home-motion-step: 0.1s;
  --lux-chrome: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(245, 250, 249, 0.65) 100%
  );
  --lux-shadow-ambient:
    0 32px 72px rgba(26, 36, 35, 0.08),
    0 12px 32px rgba(26, 36, 35, 0.05);
  --lux-shadow-lift:
    0 40px 80px rgba(26, 36, 35, 0.1),
    0 18px 40px rgba(var(--nf-accent-rgb), 0.1);
  background:
    radial-gradient(ellipse 58% 52% at 24% 44%, rgba(255, 255, 255, 0.72), transparent 62%),
    radial-gradient(ellipse 78% 58% at 78% 20%, rgba(var(--nf-accent-rgb), 0.065), transparent 58%),
    radial-gradient(ellipse 85% 65% at 72% 18%, rgba(var(--nf-accent-rgb), 0.07), transparent 58%),
    var(--nf-color-surface-subtle) !important;
}

.nf-premium-hero .nf-hero.nf-hero--premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px) !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  
  
}

.nf-premium-hero .nf-hero__cinematic {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nf-premium-hero .nf-hero__strata {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, transparent 18%),
    linear-gradient(12deg, transparent 0%, transparent 42%, rgba(var(--nf-accent-rgb), 0.05) 48%, transparent 54%),
    linear-gradient(185deg, transparent 55%, rgba(28, 43, 41, 0.04) 100%);
}

.nf-premium-hero .nf-hero__aurora {
  position: absolute;
  inset: -35%;
  opacity: 0.22;
  background: conic-gradient(
    from 210deg at 70% 35%,
    transparent 0deg,
    rgba(var(--nf-accent-rgb), 0.14) 55deg,
    rgba(var(--nf-accent-rgb), 0.1) 120deg,
    transparent 200deg,
    rgba(255, 255, 255, 0.08) 280deg,
    transparent 360deg
  );
  filter: blur(14px);
  
}

.nf-premium-hero .nf-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 92% 88% at 50% 48%,
    transparent 46%,
    rgba(26, 36, 35, 0.052) 100%
  );
}

.nf-premium-hero .nf-hero__wash {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 58% 48% at var(--lux-x) var(--lux-y), rgba(var(--nf-accent-rgb), 0.2), transparent 55%),
    radial-gradient(ellipse 38% 46% at 82% 12%, rgba(255, 255, 255, 0.52), transparent 58%),
    radial-gradient(ellipse 52% 44% at 8% 92%, rgba(var(--nf-accent-rgb), 0.12), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 110%, rgba(28, 43, 41, 0.05), transparent 45%);
  
}

.nf-premium-hero .nf-hero__grid-mesh {
  position: absolute;
  inset: -8%;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(28, 43, 41, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 43, 41, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 72% 68% at 48% 46%, black 18%, transparent 78%);
  transform-origin: 50% 50%;
  
}

.nf-premium-hero .nf-hero__grid-fine {
  position: absolute;
  inset: -5%;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(rgba(28, 43, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 43, 41, 0.035) 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: radial-gradient(ellipse 68% 64% at 52% 48%, black 25%, transparent 72%);
  
}

.nf-premium-hero .nf-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}


.nf-premium-hero .nf-hero__strata,
.nf-premium-hero .nf-hero__aurora,
.nf-premium-hero .nf-hero__wash,
.nf-premium-hero .nf-hero__grid-mesh,
.nf-premium-hero .nf-hero__grid-fine,
.nf-premium-hero .nf-hero__light-sweep,
.nf-premium-hero .nf-hero__nodes {
  display: none !important;
}

.nf-premium-hero .nf-hero__nodes {
  position: absolute;
  inset: 0;
}

.nf-premium-hero .nf-hero__nodes span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(var(--nf-accent-rgb), 0.65);
  box-shadow:
    0 0 20px rgba(var(--nf-accent-rgb), 0.5),
    0 0 40px rgba(var(--nf-accent-rgb), 0.18);
  
}

.nf-premium-hero .nf-hero__nodes span:nth-child(1) { left: 12%; top: 22%;  }
.nf-premium-hero .nf-hero__nodes span:nth-child(2) { left: 88%; top: 18%;  }
.nf-premium-hero .nf-hero__nodes span:nth-child(3) { left: 72%; top: 62%;  }
.nf-premium-hero .nf-hero__nodes span:nth-child(4) { left: 22%; top: 78%;  }
.nf-premium-hero .nf-hero__nodes span:nth-child(5) { left: 48%; top: 12%;  }
.nf-premium-hero .nf-hero__nodes span:nth-child(6) { left: 54%; top: 88%;  }

.nf-premium-hero .nf-hero__light-sweep {
  position: absolute;
  inset: -45% -65%;
  background: linear-gradient(
    102deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(220, 245, 240, 0.12) 52%,
    transparent 60%
  );
  transform: translateX(-12%) rotate(11deg);
  
  mix-blend-mode: soft-light;
}

.nf-premium-hero .nf-hero__mouse-rim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px 400px at var(--lux-x) var(--lux-y),
      rgba(255, 255, 255, 0.35) 0%,
      transparent 52%
    ),
    radial-gradient(
      380px 300px at var(--lux-x) var(--lux-y),
      rgba(var(--nf-accent-rgb), 0.06) 0%,
      transparent 48%
    );
  opacity: 0.64;
  mix-blend-mode: soft-light;
  
}


.nf-premium-hero .nf-hero__pointer-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      720px 520px at var(--lux-x) var(--lux-y),
      rgba(var(--nf-accent-rgb), calc(0.11 * var(--hero-pointer-glow-strength, 1))) 0%,
      rgba(var(--nf-accent-rgb), calc(0.04 * var(--hero-pointer-glow-strength, 1))) 38%,
      transparent 58%
    );
  opacity: 0.85;
  mix-blend-mode: multiply;
  
}


.nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.88fr) !important;
  gap: clamp(32px, 4.5vw, 72px) !important;
  align-items: center;
}

@media (max-width: 1440px) {
  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.88fr) !important;
    gap: clamp(32px, 4.5vw, 72px) !important;
  }
}

@media (max-width: 1220px) {
  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.88fr) !important;
  }
}

@media (max-width: 1150px) {
  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.88fr) !important;
  }
}

.nf-premium-hero .nf-hero__content {
  max-width: 640px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.nf-premium-hero .nf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
}

.nf-premium-hero .nf-hero__eyebrow-mark {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-base), transparent);
}

.nf-premium-hero .nf-hero__title {
  margin: 0 !important;
  font-weight: 650;
  letter-spacing: -0.041em;
  line-height: 1.04;
  color: var(--lux-ink) !important;
  max-width: none !important;
}

.nf-premium-hero .nf-hero__title-line {
  display: block;
}

.nf-premium-hero .nf-hero__title-line--lead {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  color: var(--text-main) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 28px 56px rgba(28, 43, 41, 0.07);
  letter-spacing: -0.045em;
}

.nf-premium-hero .nf-hero__title-line--shine {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.043em;
  background: linear-gradient(
    118deg,
    var(--nf-color-dark-surface) 0%,
    var(--nf-color-dark-surface-2) 26%,
    var(--brand-base) 52%,
    var(--primary-hover) 78%,
    var(--nf-color-dark-surface) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 8px 24px rgba(var(--nf-accent-rgb), 0.12));
}

.nf-premium-hero .nf-hero__title-line--sub {
  margin-top: 0.35em;
  max-width: 22ch;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.34;
  color: rgba(26, 36, 35, 0.5) !important;
}

.nf-premium-hero .nf-hero__desc {
  margin: 28px 0 0 !important;
  max-width: 52ch !important;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  line-height: 1.74 !important;
  color: var(--text-secondary) !important;
}


.nf-premium-hero .nf-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  row-gap: 6px;
  margin-top: 28px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 36, 35, 0.08);
}

.nf-premium-hero .nf-hero__pill {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
  color: var(--text-secondary);
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  cursor: default;
  
}

.nf-premium-hero .nf-hero__pill:not(:last-child)::after {
  content: "·";
  margin: 0 1.15rem;
  font-weight: 400;
  font-size: 1.05em;
  color: rgba(26, 36, 35, 0.2);
  pointer-events: none;
}

.nf-premium-hero .nf-hero__pill:hover {
  opacity: 0.82;
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: rgba(var(--nf-accent-rgb), 0.35);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.nf-premium-hero .nf-hero__pill em {
  font-style: normal;
  font-weight: 700;
  font-size: 1.06em;
  letter-spacing: -0.02em;
  color: var(--brand-base);
}

.nf-premium-hero .nf-hero__pill:not(:has(em)) {
  font-weight: 500;
  color: var(--text-secondary);
}

@supports not selector(:has(*)) {
  .nf-premium-hero .nf-hero__pill:last-child {
    font-weight: 500;
  }
}

.nf-premium-hero .nf-hero__buttons {
  margin-top: 32px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nf-premium-hero .nf-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  
}

.nf-premium-hero .nf-cta--primary {
  border: 1px solid rgba(79, 130, 123, 0.48);
  color: var(--nf-color-surface) !important;
  background: linear-gradient(180deg, var(--nf-color-accent) 0%, var(--brand-top) 28%, var(--brand-base) 100%);
  box-shadow:
    0 14px 34px rgba(var(--nf-accent-rgb), 0.3),
    0 4px 12px rgba(var(--nf-accent-rgb), 0.14),
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 -10px 22px rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(26, 36, 35, 0.14) inset;
}

.nf-premium-hero .nf-cta--primary:hover {  
  background: linear-gradient(180deg, var(--nf-color-accent-hover) 0%, var(--nf-color-accent) 32%, var(--primary-hover) 100%);
  border-color: rgba(66, 111, 106, 0.58);
  box-shadow:
    0 22px 48px rgba(var(--nf-accent-rgb), 0.34),
    0 8px 18px rgba(26, 36, 35, 0.1),
    0 4px 10px rgba(var(--nf-accent-rgb), 0.16),
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 -12px 26px rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(26, 36, 35, 0.16) inset;
}

.nf-premium-hero .nf-cta--primary:active {
  background: linear-gradient(180deg, var(--brand-base) 0%, var(--primary-active) 100%);
  box-shadow:
    0 6px 16px rgba(var(--nf-accent-rgb), 0.22),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 2px 6px rgba(26, 36, 35, 0.12) inset;
}

.nf-premium-hero .nf-cta--primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--nf-color-surface-subtle),
    0 0 0 4px var(--brand-base),
    0 14px 32px rgba(var(--nf-accent-rgb), 0.26),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.nf-premium-hero .nf-cta--secondary {
  border: 1px solid rgba(var(--nf-accent-rgb), 0.34);
  color: var(--brand-base) !important;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.nf-premium-hero .nf-cta--secondary:hover {  
  border-color: rgba(var(--nf-accent-rgb), 0.48);
  color: var(--primary-hover) !important;
  background: rgba(var(--nf-accent-rgb), 0.065);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.08) inset,
    0 10px 28px rgba(26, 36, 35, 0.055);
}

.nf-premium-hero .nf-cta--secondary:active {
  background: rgba(var(--nf-accent-rgb), 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.nf-premium-hero .nf-cta--secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--nf-color-surface-subtle),
    0 0 0 4px rgba(var(--nf-accent-rgb), 0.35),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.nf-premium-hero .nf-cta__arrow {
  
}

.nf-premium-hero .nf-cta--primary:hover .nf-cta__arrow {  }

.nf-premium-hero .nf-hero__trust {
  margin: 26px 0 0 !important;
  max-width: 52ch;
  font-size: 12px !important;
  line-height: 1.55 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(28, 43, 41, 0.46) !important;
}

.nf-premium-hero .nf-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.nf-premium-hero .nf-hero__atmosphere-bloom {
  position: absolute;
  inset: -42% -12% -32% -12%;
  z-index: 0;
  background:
    radial-gradient(ellipse 88% 78% at 38% 42%, rgba(var(--nf-accent-rgb), 0.11), transparent 66%),
    radial-gradient(ellipse 62% 58% at 82% 58%, rgba(255, 255, 255, 0.14), transparent 64%),
    radial-gradient(ellipse 55% 48% at 50% 92%, rgba(var(--nf-accent-rgb), 0.06), transparent 58%);
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
  
}

.nf-premium-hero .nf-hero__atmosphere-sheen {
  position: absolute;
  left: 50%;
  top: 2%;
  bottom: 2%;
  width: min(36%, 240px);
  z-index: 1;
  transform: translateX(-50%);
  background: linear-gradient(
    102deg,
    transparent 38%,
    rgba(255, 255, 255, 0.1) 48.5%,
    rgba(var(--nf-accent-rgb), 0.06) 50%,
    transparent 60%
  );
  opacity: 0.32;
  mix-blend-mode: soft-light;
  pointer-events: none;
  
}

.nf-premium-hero .nf-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(380px, 44vw, 560px);
  perspective: 1600px;
  --lux-art-depth: 0;
  --lux-line-boost: 0;
  
  filter: drop-shadow(0 20px 44px rgba(26, 36, 35, 0.085));
}

.nf-premium-hero .nf-hero__visual::before {
  content: none;
}

.nf-premium-hero .nf-hero__art-root {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  transform: translateZ(0);
}

.nf-premium-hero .nf-hero__art {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transform-origin: 50% 46%;
  transform: translate3d(0, 0, 0);
  
  backface-visibility: hidden;
}

.nf-premium-hero .nf-hero__art-body {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transform-origin: 50% 48%;
  
}


.nf-premium-hero .nf-hero__scene {
  position: absolute;
  inset: -6% -10% -4% -8%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.nf-premium-hero .nf-hero__scene-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(13px);
  opacity: 0.58;
  
}

.nf-premium-hero .nf-hero__scene-glow--a {
  width: 72%;
  height: 58%;
  right: -6%;
  bottom: 8%;
  background: radial-gradient(
    circle at 40% 42%,
    rgba(var(--nf-accent-rgb), 0.22),
    rgba(var(--nf-accent-rgb), 0.08) 52%,
    transparent 72%
  );
  
}

.nf-premium-hero .nf-hero__scene-glow--b {
  width: 48%;
  height: 44%;
  left: -2%;
  top: 16%;
  background: radial-gradient(circle at 55% 48%, rgba(255, 255, 255, 0.35), transparent 68%);
  opacity: 0.35;
  
  
}

.nf-premium-hero .nf-hero__scene-plate {
  position: absolute;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(248, 252, 251, 0.06) 48%,
    rgba(var(--nf-accent-rgb), 0.04) 100%
  );
  box-shadow:
    0 24px 48px rgba(26, 36, 35, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nf-premium-hero .nf-hero__scene-plate--back {
  width: 56%;
  height: 42%;
  left: 4%;
  bottom: 18%;
  opacity: 0.55;
  transform: rotate(-11deg) skewX(-2deg);
  
}

.nf-premium-hero .nf-hero__scene-plate--side {
  width: 38%;
  height: 52%;
  right: 2%;
  top: 12%;
  opacity: 0.42;
  transform: rotate(9deg);
  
}

.nf-premium-hero .nf-hero__scene-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  border-radius: 50%;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 28px rgba(var(--nf-accent-rgb), 0.06);
  transform: translate3d(-50%, -50%, 0);
  
}

.nf-premium-hero .nf-hero__scene-ring--outer {
  width: min(92%, 380px);
  aspect-ratio: 1.12;
  opacity: 0.65;
}

.nf-premium-hero .nf-hero__scene-ring--inner {
  width: min(76%, 300px);
  aspect-ratio: 1.08;
  border-color: rgba(26, 36, 35, 0.07);
  opacity: 0.5;
}

.nf-premium-hero .nf-hero__scene-orbit {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(104%, 460px);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0.85;
  
}

.nf-premium-hero .nf-hero__scene-orbit svg {
  display: block;
  width: 100%;
  height: auto;
}

.nf-premium-hero .nf-hero__scene-particles {
  position: absolute;
  inset: 0;
}

.nf-premium-hero .nf-hero__scene-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--nf-accent-rgb), 0.45);
  box-shadow: 0 0 12px rgba(var(--nf-accent-rgb), 0.25);
  opacity: 0.5;
  
}

.nf-premium-hero .nf-hero__scene-particles span:nth-child(1) { left: 18%; top: 24%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(2) { left: 84%; top: 20%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(3) { left: 72%; top: 68%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(4) { left: 12%; top: 58%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(5) { left: 52%; top: 10%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(6) { left: 44%; top: 88%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(7) { left: 92%; top: 48%;  }
.nf-premium-hero .nf-hero__scene-particles span:nth-child(8) { left: 28%; top: 38%;  }

.nf-premium-hero .nf-hero__art-plinth {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 4%;
  height: 30%;
  border-radius: 28px;
  background: linear-gradient(
    185deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(232, 244, 241, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 48px 80px rgba(26, 36, 35, 0.1),
    0 20px 40px rgba(26, 36, 35, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    inset 0 -16px 32px rgba(var(--nf-accent-rgb), 0.05);
  transform: rotateX(58deg) scaleY(0.46);
  transform-origin: 50% 100%;
  opacity: 0.95;
}

.nf-premium-hero .nf-hero__art-glass {
  position: absolute;
  inset: 0% 2% 10%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(
      152deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.28) 42%,
      rgba(240, 248, 246, 0.42) 100%
    );
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
  overflow: hidden;
  
  box-shadow:
    0 calc(26px + var(--lux-art-depth, 0) * 12px) calc(58px + var(--lux-art-depth, 0) * 22px)
      rgba(26, 36, 35, calc(0.052 + var(--lux-art-depth, 0) * 0.05)),
    0 calc(11px + var(--lux-art-depth, 0) * 4px) calc(26px + var(--lux-art-depth, 0) * 10px)
      rgba(26, 36, 35, calc(0.032 + var(--lux-art-depth, 0) * 0.028)),
    0 0 0 1px rgba(255, 255, 255, calc(0.35 + var(--lux-art-depth, 0) * 0.08)) inset,
    0 1px 0 rgba(255, 255, 255, calc(0.75 + var(--lux-art-depth, 0) * 0.12)) inset,
    0 -24px 56px rgba(255, 255, 255, 0.06) inset,
    0 0 calc(36px + var(--lux-art-depth, 0) * 32px) rgba(var(--nf-accent-rgb), calc(0.06 + var(--lux-art-depth, 0) * 0.09)),
    inset 0 0 48px rgba(var(--nf-accent-rgb), 0.04);
}

.nf-premium-hero .nf-hero__art-glass::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 6;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.2) 49.5%,
    rgba(220, 242, 236, 0.08) 51%,
    transparent 63%
  );
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
  
}

.nf-premium-hero .nf-hero__atmosphere-blob {
  position: absolute;
  width: min(160%, 1100px);
  height: min(140%, 900px);
  max-width: none;
  max-height: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(ellipse 52% 48% at 42% 40%, rgba(var(--nf-accent-rgb), 0.32), rgba(var(--nf-accent-rgb), 0.12) 54%, transparent 70%),
    radial-gradient(ellipse 46% 42% at 62% 58%, rgba(var(--nf-accent-rgb), 0.16), transparent 60%);
  filter: blur(20px);
  opacity: 0.88;
  pointer-events: none;
  z-index: 2;
  left: 50%;
  top: 48%;
}

.nf-premium-hero .nf-hero__atmosphere-blob--ambient {
  
}

.nf-premium-hero .nf-hero__lens-stack {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(72%, 320px);
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 1;
  
}

.nf-premium-hero .nf-hero.nf-hero--motion-live .nf-hero__lens-stack {
  
}

.nf-premium-hero .nf-hero__lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(6, 16, 24, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 20px 50px rgba(6, 16, 24, 0.08);
  transform-origin: 50% 50%;
}

.nf-premium-hero .nf-hero__lens-ring--outer {
  inset: 0;
  border-color: rgba(6, 16, 24, 0.12);
  background: conic-gradient(
    from 220deg,
    rgba(255, 255, 255, 0.15),
    transparent 30%,
    rgba(var(--nf-accent-rgb), 0.08) 55%,
    transparent 75%,
    rgba(255, 255, 255, 0.1)
  );
  
}

.nf-premium-hero .nf-hero__lens-ring--mid {
  inset: 14%;
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  box-shadow:
    0 0 28px rgba(26, 36, 35, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  
}

.nf-premium-hero .nf-hero__lens-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(230, 240, 242, 0.5) 45%, rgba(180, 210, 212, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 16px 40px rgba(6, 16, 24, 0.15),
    0 0 20px rgba(255, 255, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -8px 20px rgba(230, 240, 242, 0.12);
}

.nf-premium-hero .nf-hero__art-specular {
  position: absolute;
  inset: -30%;
  z-index: 4;
  background: linear-gradient(
    125deg,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 49%,
    rgba(255, 255, 255, 0.08) 54%,
    transparent 62%
  );
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: soft-light;
  
}

.nf-premium-hero .nf-hero__art-svg {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(100%, 440px);
  height: auto;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0.96;
  z-index: 3;
}

.nf-premium-hero .nf-hero__path--orbit {
  stroke-dasharray: 780;
  stroke-dashoffset: 780;
  
}

.nf-premium-hero .nf-hero__path--slow {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  
}

.nf-premium-hero .nf-hero__path--cross {
  opacity: 0.62;
  vector-effect: non-scaling-stroke;
}

.nf-premium-hero .nf-hero__path--ekg {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  
}

.nf-premium-hero .nf-hero__glow-node {
  
}

.nf-premium-hero .nf-hero__glow-node--delay {
  
}

.nf-premium-hero .nf-hero__glow-node--delay2 {
  
}

.nf-premium-hero .nf-hero__art-badge {
  position: absolute;
  left: 8%;
  bottom: 7%;
  right: 12%;
  z-index: 5;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(6, 16, 24, 0.12),
    0 8px 20px rgba(6, 16, 24, 0.06);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nf-premium-hero .nf-hero__art-badge-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lux-teal);
}

.nf-premium-hero .nf-hero__art-badge-v {
  font-size: 11px;
  line-height: 1.35;
  color: var(--lux-ink-muted);
}

.nf-premium-hero .nf-hero__accent {
  position: absolute;
  z-index: 6;
  right: 6%;
  top: 9%;
  pointer-events: none;
}

.nf-premium-hero .nf-hero__accent-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nf-premium-hero .nf-hero__accent-cluster {
  position: relative;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}

.nf-premium-hero .nf-hero__accent-halo {
  position: absolute;
  inset: -26px;
  border-radius: 42px;
  background: radial-gradient(
    circle at 42% 40%,
    rgba(var(--nf-accent-rgb), 0.16) 0%,
    rgba(var(--nf-accent-rgb), 0.05) 45%,
    transparent 68%
  );
  z-index: 0;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
}

.nf-premium-hero .nf-hero__accent-ghost {
  position: absolute;
  inset: -5px;
  border-radius: 28px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  background: linear-gradient(
    152deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(248, 252, 251, 0.06) 42%,
    rgba(var(--nf-accent-rgb), 0.05) 100%
  );
  opacity: 0.62;
  z-index: 1;
  transform: translate3d(0, 0, 0) rotate(-18deg);
  transform-origin: 50% 50%;
}

.nf-premium-hero .nf-hero__accent-module {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(250, 252, 251, 0.94) 38%,
    rgba(238, 246, 244, 0.9) 100%
  );
  box-shadow:
    0 26px 52px rgba(6, 16, 24, 0.11),
    0 10px 24px rgba(var(--nf-accent-rgb), 0.07),
    0 0 0 1px rgba(6, 16, 24, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -10px 22px rgba(var(--nf-accent-rgb), 0.045);
  z-index: 2;
  transform: translate3d(0, 0, 0) rotate(-14deg);
  transform-origin: 50% 50%;
}

.nf-premium-hero .nf-hero__accent-axis {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
  --hero-axis-bloom: 0.22;
}

.nf-premium-hero .nf-hero__accent-vline-bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 148px;
  margin: -74px 0 0 -11px;
  border-radius: 11px;
  background: radial-gradient(
    closest-side,
    rgba(var(--nf-accent-rgb), 0.34) 0%,
    rgba(var(--nf-accent-rgb), 0.08) 55%,
    transparent 100%
  );
  opacity: var(--hero-axis-bloom, 0.22);
  pointer-events: none;
  z-index: 0;
}

.nf-premium-hero .nf-hero__accent-vline {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 148px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(15, 23, 40, 0.26);
  flex-shrink: 0;
  transform: none;
  box-shadow: none;
}


.nf-premium-hero .nf-hero-reveal {
  
}


.nf-premium-hero .nf-hero__content > .nf-hero__title,
.nf-premium-hero .nf-hero__content > .nf-hero__title .nf-hero__title-line--lead,
.nf-premium-hero .nf-hero__content > .nf-hero__title .nf-hero__title-line--shine,
.nf-premium-hero .nf-hero__content > .nf-hero__title .nf-hero__subtitle,
.nf-premium-hero .nf-hero__content > .nf-hero__text,
.nf-premium-hero .nf-hero__content > .nf-hero__buttons,
.nf-premium-hero .nf-hero__content > .nf-hero__meta,
.nf-premium-hero .nf-hero__content > .nf-hero__trust,
.nf-premium-hero .nf-advantages__head.nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}


.nf-premium-hero .nf-advantages--lux {
  position: relative;
  padding: 8px 0 56px !important;
  background: linear-gradient(
    180deg,
    rgba(var(--nf-accent-rgb), 0.045) 0%,
    rgba(244, 248, 247, 0.55) 18%,
    rgba(247, 249, 248, 0.25) 55%,
    transparent 100%
  ) !important;
}

.nf-premium-hero .nf-advantages__strip {
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.nf-premium-hero .nf-advantages .nf-advantages__strip::before {
  inset: 0;
  border-radius: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(var(--nf-accent-rgb), 0.2) 18%, rgba(26, 36, 35, 0.06) 50%, rgba(var(--nf-accent-rgb), 0.2) 82%, transparent 100%)
      center top / min(1280px, 100%) 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%);
}

.nf-premium-hero .nf-advantages__head {
  margin-bottom: 28px;
  max-width: 720px;
}

.nf-premium-hero .nf-advantages__eyebrow {
  display: block;
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(26, 36, 35, 0.44) !important;
}

.nf-premium-hero .nf-advantages__lede {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--lux-ink);
  text-wrap: balance;
}

.nf-premium-hero .nf-advantages__items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.1vw, 26px) !important;
}


.nf-premium-hero .nf-advantages .nf-feature-panel.is-visible h3.nf-feature-panel__title {
  
}

.nf-premium-hero .nf-advantages .nf-feature-panel p.nf-feature-panel__copy::after {
  display: none !important;
  content: none !important;
}

.nf-premium-hero .nf-feature-panel {
  --fp-ink: var(--text-main);
  --fp-muted: var(--text-secondary);
  --fp-brand: var(--nf-color-accent-contrast);
  --fp-brand-mid: var(--nf-color-accent-hover);
  --fp-brand-hover: var(--nf-color-accent-contrast);
  position: relative;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(26, 36, 35, 0.069) !important;
  background:
    linear-gradient(175deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(168deg, rgba(var(--nf-accent-rgb), 0.048) 0%, rgba(255, 255, 255, 0) 52%),
    var(--nf-color-surface-subtle) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.99) inset,
    0 14px 28px rgba(255, 255, 255, 0.38) inset,
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 1px 0 rgba(26, 36, 35, 0.035),
    0 22px 50px rgba(26, 36, 35, 0.048),
    0 6px 14px rgba(26, 36, 35, 0.032) !important;
  overflow: hidden !important;
  
  opacity: 1 !important;
  transform: none !important;
  
  filter: none !important;
}

.nf-premium-hero .nf-feature-panel--alliance {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.99) inset,
    0 14px 28px rgba(255, 255, 255, 0.38) inset,
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.065) inset,
    0 1px 0 rgba(26, 36, 35, 0.035),
    0 22px 50px rgba(26, 36, 35, 0.048),
    0 6px 14px rgba(26, 36, 35, 0.032) !important;
}


.nf-premium-hero .nf-feature-panel--heritage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(
    180deg,
    var(--fp-brand-mid) 0%,
    rgba(85, 143, 136, 0.42) 72%,
    rgba(var(--nf-accent-rgb), 0.18) 100%
  );
  opacity: 0.88;
  pointer-events: none;
  z-index: 1;
  
}


.nf-premium-hero .nf-feature-panel--scale::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(var(--nf-accent-rgb), 0.2) 0%,
    var(--fp-brand-mid) 22%,
    rgba(var(--nf-accent-rgb), 0.35) 52%,
    rgba(26, 36, 35, 0.07) 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  
}


.nf-premium-hero .nf-feature-panel--alliance::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 26px;
  height: 26px;
  border-top: 1px solid rgba(var(--nf-accent-rgb), 0.42);
  border-right: 1px solid rgba(var(--nf-accent-rgb), 0.42);
  border-radius: 0 9px 0 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.82;
  
}

.nf-premium-hero .nf-feature-panel.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

.nf-premium-hero .nf-feature-panel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 248px;
  padding: clamp(22px, 2.4vw, 28px) clamp(21px, 2.25vw, 26px) clamp(22px, 2.4vw, 28px);
  padding-top: clamp(23px, 2.5vw, 29px);
}

.nf-premium-hero .nf-feature-panel--heritage .nf-feature-panel__inner {
  padding-left: clamp(26px, 2.8vw, 32px);
}

.nf-premium-hero .nf-feature-panel--scale .nf-feature-panel__inner {
  padding-top: clamp(26px, 2.7vw, 32px);
}

.nf-premium-hero .nf-feature-panel__label {
  display: block;
  margin: 0 0 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(26, 36, 35, 0.4);
}

.nf-premium-hero .nf-feature-panel__stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0;
}

.nf-premium-hero .nf-feature-panel__stat--word {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.nf-premium-hero .nf-feature-panel__stat-num {
  font-size: clamp(1.42rem, 1.05vw + 0.95rem, 1.78rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--fp-brand);
  font-variant-numeric: tabular-nums;
  
}

.nf-premium-hero .nf-feature-panel__stat--word .nf-feature-panel__stat-num {
  font-size: clamp(1.28rem, 0.88vw + 0.88rem, 1.52rem);
  letter-spacing: 0.11em;
  font-weight: 600;
}

.nf-premium-hero .nf-feature-panel__stat-cap {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(26, 36, 35, 0.4);
  max-width: 24ch;
  line-height: 1.45;
}

.nf-premium-hero .nf-advantages .nf-feature-panel h3.nf-feature-panel__title {
  margin: 14px 0 0 !important;
  font-size: clamp(1.28rem, 0.95vw + 1rem, 1.48rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.038em !important;
  line-height: 1.2 !important;
  color: var(--fp-ink) !important;
}

.nf-premium-hero .nf-advantages .nf-feature-panel p.nf-feature-panel__copy {
  margin: 9px 0 0 !important;
  flex: 1 1 auto;
  font-size: 13.5px !important;
  line-height: 1.52 !important;
  color: rgba(26, 36, 35, 0.5) !important;
  max-width: 34ch;
  letter-spacing: -0.01em;
}


.nf-premium-hero .nf-feature-panel__baseline {
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  flex-shrink: 0;
}

.nf-premium-hero .nf-feature-panel__baseline::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--nf-accent-rgb), 0.28) 18%,
    var(--fp-brand-mid) 50%,
    rgba(var(--nf-accent-rgb), 0.28) 82%,
    transparent 100%
  );
  opacity: 0.85;
  
}

.nf-premium-hero .nf-feature-panel:hover {  
  border-color: rgba(26, 36, 35, 0.088) !important;
  filter: none !important;
  background:
    linear-gradient(178deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(168deg, rgba(var(--nf-accent-rgb), 0.055) 0%, rgba(255, 255, 255, 0) 54%),
    var(--nf-color-surface-subtle) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 18px 36px rgba(255, 255, 255, 0.48) inset,
    0 0 0 1px rgba(255, 255, 255, 0.52) inset,
    0 2px 0 rgba(26, 36, 35, 0.038),
    0 30px 68px rgba(26, 36, 35, 0.058),
    0 10px 22px rgba(26, 36, 35, 0.04) !important;
}

.nf-premium-hero .nf-feature-panel--alliance:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 18px 36px rgba(255, 255, 255, 0.48) inset,
    0 0 0 1px rgba(255, 255, 255, 0.52) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.1) inset,
    0 2px 0 rgba(26, 36, 35, 0.038),
    0 30px 68px rgba(26, 36, 35, 0.058),
    0 10px 22px rgba(26, 36, 35, 0.04) !important;
}

.nf-premium-hero .nf-feature-panel:hover .nf-feature-panel__stat-num {
  color: var(--fp-brand-hover);
}

.nf-premium-hero .nf-feature-panel--heritage:hover::before {
  opacity: 1;
}

.nf-premium-hero .nf-feature-panel--scale:hover::before {
  opacity: 1;
}

.nf-premium-hero .nf-feature-panel--alliance:hover::before {
  border-color: rgba(var(--nf-accent-rgb), 0.58);
  opacity: 0.95;
}

.nf-premium-hero .nf-feature-panel--orbit:hover .nf-feature-panel__baseline::before {
  opacity: 1;
}

@media (max-width: 640px) {
  .nf-premium-hero .nf-feature-panel__inner {
    min-height: 0;
  }
}





































@media (prefers-reduced-motion: reduce) {
  .nf-premium-hero .nf-hero__atmosphere-blob--ambient,
  .nf-premium-hero .nf-hero__art.nf-hero__art--ambient,
  .nf-premium-hero .nf-hero__atmosphere-bloom,
  .nf-premium-hero .nf-hero__atmosphere-sheen,
  .nf-premium-hero .nf-hero__art,
  .nf-premium-hero .nf-hero__art-body,
  .nf-premium-hero .nf-hero__pointer-glow,
  .nf-premium-hero .nf-hero__scene-glow,
  .nf-premium-hero .nf-hero__scene-particles span {
  
  }

  .nf-premium-hero .nf-hero__scene-plate,
  .nf-premium-hero .nf-hero__scene-ring,
  .nf-premium-hero .nf-hero__scene-orbit {
  
  }

  .nf-premium-hero .nf-hero__accent-module,
  .nf-premium-hero .nf-hero__accent-halo,
  .nf-premium-hero .nf-hero__accent-ghost {
  
  }
}

















































@media (max-width: 1100px) {
  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
  }

  .nf-premium-hero .nf-hero__visual {
    order: -1;
    min-height: 340px;
  }

  .nf-premium-hero .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .nf-premium-hero .nf-hero.nf-hero--premium {
    padding-top: 40px !important;
  }

  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    width: calc(100% - 32px) !important;
  }

  .nf-premium-hero .nf-cta {
    width: 100%;
  }

  .nf-premium-hero .nf-hero__accent {
    right: 5%;
    top: 8%;
  }

  .nf-premium-hero .nf-hero__accent-stack {
    gap: 12px;
  }

  .nf-premium-hero .nf-hero__accent-cluster {
    width: 88px;
    height: 88px;
  }

  .nf-premium-hero .nf-hero__accent-halo {
    inset: -16px;
    border-radius: 28px;
  }

  .nf-premium-hero .nf-hero__accent-ghost {
    inset: -3px;
    border-radius: 19px;
  }

  .nf-premium-hero .nf-hero__accent-module {
    border-radius: 18px;
  }

  .nf-premium-hero .nf-hero__accent-axis {
    width: 16px;
    height: 104px;
  }

  .nf-premium-hero .nf-hero__accent-vline {
    height: 100px;
  }

  .nf-premium-hero .nf-hero__accent-vline-bloom {
    height: 100px;
    margin: -50px 0 0 -11px;
  }

  .nf-premium-hero .nf-advantages__items {
    grid-template-columns: 1fr !important;
  }

  .nf-premium-hero .nf-feature-panel {
    min-height: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-premium-hero .nf-hero__wash,
  .nf-premium-hero .nf-hero__grid-mesh,
  .nf-premium-hero .nf-hero__grid-fine,
  .nf-premium-hero .nf-hero__aurora,
  .nf-premium-hero .nf-hero__nodes span,
  .nf-premium-hero .nf-hero__light-sweep,
  .nf-premium-hero .nf-hero__art-glass,
  .nf-premium-hero .nf-hero__art-glass::after,
  .nf-premium-hero .nf-hero__lens-stack,
  .nf-premium-hero .nf-hero__lens-ring--outer,
  .nf-premium-hero .nf-hero__lens-ring--mid {
  
  }

  .nf-premium-hero .nf-hero__accent-module,
  .nf-premium-hero .nf-hero__accent-halo,
  .nf-premium-hero .nf-hero__accent-ghost,
  .nf-premium-hero .nf-hero__art-specular,
  .nf-premium-hero .nf-hero__pointer-glow,
  .nf-premium-hero .nf-hero__path--slow,
  .nf-premium-hero .nf-hero__path--ekg,
  .nf-premium-hero .nf-hero__path--orbit,
  .nf-premium-hero .nf-hero__path--cross,
  .nf-premium-hero .nf-hero__glow-node {
  
  }

  .nf-premium-hero .nf-hero__path--slow,
  .nf-premium-hero .nf-hero__path--ekg,
  .nf-premium-hero .nf-hero__path--orbit {
    stroke-dashoffset: 0 !important;
  }

  .nf-premium-hero .nf-hero__title-line,
  .nf-premium-hero .nf-hero__subtitle,
  .nf-premium-hero .nf-hero__text,
  .nf-premium-hero .nf-hero__buttons,
  .nf-premium-hero .nf-hero__meta,
  .nf-premium-hero .nf-hero__trust,
  .nf-premium-hero .nf-advantages__head.nf-hero-reveal,
  .nf-premium-hero .nf-hero-reveal {
    opacity: 1 !important;
    transform: none !important;
  
  
  }

  .nf-enter,
  .nf-enter.is-visible,
  .nf-vp-reveal,
  .nf-vp-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  
  }

  .nf-home-ds.nf-popular .nf-popular__track > * {
  
    opacity: 1 !important;
  }

  .nf-home-ds .nf-categories__grid > .nf-category-card,
  .nf-home-ds .nf-partners__grid > .nf-partner,
  .nf-home-ds .nf-news-layout > .nf-news-main,
  .nf-home-ds .nf-news-side-grid > .nf-news-card--side {
  
    opacity: 1 !important;
    transform: none !important;
  }

  .nf-advantages .nf-adv {
  
    opacity: 1 !important;
    transform: none !important;
  
  }

  .nf-hero,
  .nf-hero::before,
  .nf-hero__bg-orb,
  .nf-hero__title span,
  .nf-hero__desc {
  
  
    transform: none !important;
    opacity: 1 !important;
  }

  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object,
  .nf-home-firstscreen.nf-first-screen .nf-hero-tech-object__shine,
  .nf-home-firstscreen.nf-first-screen .nf-hero-reveal,
  .nf-home-firstscreen.nf-first-screen .nf-adv,
  .nf-home-firstscreen.nf-first-screen .nf-hero__meta,
  .nf-home-firstscreen.nf-first-screen .nf-hero__trust {
  
  
    transform: none !important;
    opacity: 1 !important;
  }

  .nf-premium-hero .nf-feature-panel {
    opacity: 1 !important;
    transform: none !important;
  
  }

  .nf-premium-hero .nf-feature-panel:hover {  }

  .nf-premium-hero .nf-cta--primary:hover,
  .nf-premium-hero .nf-cta--secondary:hover,
  .nf-premium-hero .nf-cta--primary:active,
  .nf-premium-hero .nf-cta--secondary:active {  }
}




.nf-enter,
.nf-enter.is-visible {
  opacity: 1;
  transform: none;
}

.nf-reveal,
.nf-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.nf-vp-reveal,
.nf-vp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.nf-catalog-load-sentinel {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

.nf-catalog-load-more {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  padding: 12px 20px;
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(26, 36, 35, 0.14);
  background: var(--nf-color-surface);
  color: var(--nf-color-text-strong);
}

.nf-catalog-load-more:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.45);
}

.nf-catalog-load-more.nf-hidden {
  display: none;
}



.nf-content-visibility-section {
  content-visibility: visible;
}

.nf-home-ds {
  content-visibility: visible;
  --hds-ink: var(--nf-color-text-strong);
  --hds-muted: rgba(26, 36, 35, 0.52);
  --hds-faint: rgba(26, 36, 35, 0.38);
  --hds-brand: var(--nf-color-accent-hover);
  --hds-brand-top: var(--nf-color-accent);
  --hds-brand-deep: var(--nf-color-accent-contrast);
  --hds-radius: 12px;
  --hds-radius-sm: 10px;
  --hds-sh-1: 0 1px 0 rgba(255, 255, 255, 0.96) inset, 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  --hds-sh-2: 0 20px 48px rgba(26, 36, 35, 0.05), 0 6px 16px rgba(26, 36, 35, 0.032);
  --hds-sh-hover: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 28px 64px rgba(26, 36, 35, 0.065), 0 10px 22px rgba(26, 36, 35, 0.042);
  padding-block: clamp(52px, 6.5vw, 80px);
  color: var(--hds-ink);
}

.nf-home-ds--band {
  background: linear-gradient(180deg, rgba(var(--nf-accent-rgb), 0.04) 0%, transparent 55%), var(--nf-color-surface-subtle);
}

.nf-home-ds:not(.nf-home-ds--band) {
  background: var(--nf-color-surface-subtle);
}

.nf-home-ds.nf-categories {
  margin-bottom: 0 !important;
}






.nf-home-ds .nf-categories__grid > .nf-category-card,
.nf-home-ds .nf-partners__grid > .nf-partner,
.nf-home-ds .nf-news-layout > .nf-news-main {
  opacity: 1 !important;
  transform: none !important;
}

.nf-home-ds .nf-news-side-grid > .nf-news-card--side {
  opacity: 1 !important;
  transform: none !important;
}


.nf-home-ds .nf-news-layout > .nf-news-side-grid {
  
  opacity: 1 !important;
  transform: none !important;
}


.nf-home-section-head__title {
  margin: 0 !important;
  font-size: clamp(1.55rem, 1.4vw + 1.1rem, 2rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.038em !important;
  line-height: 1.15 !important;
  color: var(--hds-ink) !important;
  max-width: 20ch;
}

.nf-home-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: var(--hds-radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  color: var(--hds-brand) !important;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.34);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  
}

.nf-home-link-secondary:hover {  
  border-color: rgba(var(--nf-accent-rgb), 0.48);
  background: rgba(var(--nf-accent-rgb), 0.07);
  color: var(--hds-brand-deep) !important;
  box-shadow: var(--hds-sh-hover);
}

.nf-home-link-secondary__arrow {
  font-size: 1.05em;
  opacity: 0.75;
  
}

.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {  }


.nf-home-ds.nf-popular .nf-popular__carousel-wrap {
  position: relative;
  box-sizing: border-box;
  padding-inline: clamp(52px, 6vw, 72px);
}

.nf-home-ds.nf-popular .nf-popular__nav {
  display: flex !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
  padding: 0 clamp(4px, 1vw, 10px);
  box-sizing: border-box;
}

.nf-home-ds.nf-popular .nf-popular__nav-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(26, 36, 35, 0.09);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 250, 0.92));
  color: rgba(26, 36, 35, 0.58);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px rgba(26, 36, 35, 0.08);
  cursor: pointer;
  box-sizing: border-box;
  transform: scale(1) translateY(0);
  transform-origin: center center;
  
}

.nf-home-ds.nf-popular .nf-popular__nav-btn:hover:not(:disabled) {
  border-color: rgba(var(--nf-accent-rgb), 0.36);
  color: var(--nf-color-accent-contrast);
  background: linear-gradient(165deg, rgba(255, 255, 255, 1), rgba(250, 252, 251, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 14px 36px rgba(26, 36, 35, 0.11),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.1);
  }

.nf-home-ds.nf-popular .nf-popular__nav-btn:focus-visible {
  outline: 2px solid rgba(var(--nf-accent-rgb), 0.45);
  outline-offset: 3px;
}

.nf-home-ds.nf-popular .nf-popular__nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.nf-home-ds.nf-popular .nf-popular__nav-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

@media (max-width: 768px) {
  .nf-home-ds.nf-popular .nf-popular__carousel-wrap {
    padding-inline: clamp(42px, 11vw, 52px);
  }

  .nf-home-ds.nf-popular .nf-popular__nav {
    padding: 0 clamp(2px, 2vw, 8px);
  }

  .nf-home-ds.nf-popular .nf-popular__nav-btn {
    width: 38px;
    height: 38px;
  }

  .nf-home-ds.nf-popular .nf-popular__nav-btn:hover:not(:disabled) {  }

  .nf-home-ds.nf-popular .nf-popular__nav-btn svg {
    width: 19px;
    height: 19px;
  }
}

.nf-home-ds .nf-popular__viewport {
  margin-top: 0;
  border-radius: var(--hds-radius);
  border: 1px solid rgba(26, 36, 35, 0.06);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(247, 249, 248, 0.92) 100%);
  box-shadow: var(--hds-sh-1), 0 12px 36px rgba(26, 36, 35, 0.04);
  padding: clamp(14px, 2vw, 22px) 0;
}

.nf-home-ds .nf-popular__track {
  gap: clamp(18px, 2vw, 24px);
  padding-inline: clamp(18px, 2.2vw, 28px);
}


.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase {
  width: 286px !important;
  min-width: 286px !important;
  max-width: 286px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--hds-radius) !important;
  border: 1px solid rgba(26, 36, 35, 0.078) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 250, 0.94) 100%),
    linear-gradient(145deg, rgba(var(--nf-accent-rgb), 0.04) 0%, transparent 42%),
    var(--nf-color-surface-subtle) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 42px rgba(26, 36, 35, 0.065),
    0 6px 16px rgba(26, 36, 35, 0.035),
    var(--hds-sh-1) !important;
  
}

.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase:hover {  
  border-color: rgba(26, 36, 35, 0.11) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 22px 52px rgba(26, 36, 35, 0.09),
    0 8px 22px rgba(26, 36, 35, 0.045),
    var(--hds-sh-hover) !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__media {
  padding: 18px 18px 0;
  margin: 0;
}

.nf-home-ds.nf-popular .nf-popular-showcase__stage.nf-product-thumb--popular {
  height: 192px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(26, 36, 35, 0.055) !important;
  background:
    radial-gradient(ellipse 88% 72% at 50% 92%, rgba(var(--nf-accent-rgb), 0.085), transparent 58%),
    linear-gradient(172deg, var(--nf-color-surface) 0%, rgba(249, 252, 251, 0.97) 45%, rgba(241, 247, 245, 0.9) 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -1px 0 rgba(26, 36, 35, 0.03) inset,
    0 10px 32px rgba(26, 36, 35, 0.05) inset,
    0 4px 14px rgba(26, 36, 35, 0.04) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  
}

.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase:hover .nf-popular-showcase__stage {
  border-color: rgba(var(--nf-accent-rgb), 0.22) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 36px rgba(26, 36, 35, 0.055) inset,
    0 6px 18px rgba(var(--nf-accent-rgb), 0.06) !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 12px !important;
  box-sizing: border-box;
}

.nf-home-ds.nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner img {
  width: auto !important;
  height: auto !important;
  max-width: 92% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  
}

.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase:hover .nf-popular-showcase__stage .nf-product-thumb-inner img {  }

.nf-home-ds.nf-popular .nf-popular-showcase__body.nf-product-body--popular {
  padding: 10px 18px 0 !important;
  gap: 6px !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase .nf-popular-title-block {
  min-height: 0;
}

.nf-home-ds.nf-popular .nf-popular-showcase .nf-popular-badge--showcase {
  padding: 3px 8px !important;
  border-radius: 5px !important;
  font-size: 8px !important;
  font-weight: 650 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  background: rgba(var(--nf-accent-rgb), 0.08) !important;
  color: var(--hds-brand-deep) !important;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.nf-home-ds.nf-popular .nf-popular-showcase .nf-product-title--popular {
  font-size: 15.75px !important;
  font-weight: 640 !important;
  letter-spacing: -0.032em !important;
  line-height: 1.28 !important;
  color: var(--hds-ink) !important;
  margin: 0 !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__meta.nf-product-meta-row--topline {
  margin-top: 2px;
  gap: 0 8px !important;
  align-items: center;
}

.nf-home-ds.nf-popular .nf-popular-showcase__meta .nf-product-meta--brand,
.nf-home-ds.nf-popular .nf-popular-showcase__meta .nf-product-meta--category {
  color: var(--hds-muted) !important;
  font-size: 12px !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__meta .nf-product-meta--category:not(:first-child)::before {
  content: "·";
  margin-right: 7px;
  opacity: 0.35;
  font-weight: 400;
}

.nf-home-ds.nf-popular .nf-product-footer--popular.nf-popular-showcase__footer {
  margin-top: 14px !important;
  padding: 14px 18px 16px !important;
  border-top: 1px solid rgba(26, 36, 35, 0.068) !important;
  gap: 14px !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__commerce {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-home-ds.nf-popular .nf-popular-showcase__price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.nf-home-ds.nf-popular .nf-popular-showcase__price-num.nf-price--popular {
  font-size: 15px !important;
  font-weight: 640 !important;
  letter-spacing: -0.025em !important;
  color: var(--hds-ink) !important;
  line-height: 1.2 !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__price-context {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  color: rgba(26, 36, 35, 0.42) !important;
  line-height: 1.35 !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__b2b-label {
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: rgba(26, 36, 35, 0.52) !important;
  line-height: 1.35 !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__b2b-hint {
  font-size: 10.5px !important;
  color: rgba(26, 36, 35, 0.4) !important;
  font-weight: 450 !important;
  letter-spacing: 0.03em !important;
}

.nf-home-ds.nf-popular .nf-popular-actions--showcase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 0;
  grid-template-columns: unset;
}

.nf-home-ds.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__cta {
  width: 100%;
  min-height: 42px;
}

.nf-home-ds.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__detail {
  align-self: center;
  width: 100%;
}

@media (max-width: 768px) {
  .nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase {
    width: clamp(258px, 82vw, 296px) !important;
    min-width: min(258px, 78vw) !important;
    max-width: min(296px, 92vw) !important;
  }

  .nf-home-ds.nf-popular .nf-popular-showcase__media {
    padding: 14px 14px 0;
  }

  .nf-home-ds.nf-popular .nf-popular-showcase__stage.nf-product-thumb--popular {
    height: 168px !important;
  }

  .nf-home-ds.nf-popular .nf-popular-showcase__body.nf-product-body--popular {
    padding: 8px 14px 0 !important;
  }

  .nf-home-ds.nf-popular .nf-product-footer--popular.nf-popular-showcase__footer {
    padding: 12px 14px 14px !important;
  }

  .nf-home-ds.nf-popular .nf-popular-actions--showcase .nf-popular-showcase__cta {
    min-height: 44px;
  }
}

.nf-home-ds .nf-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--hds-radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  
}

.nf-home-ds .nf-home-btn--primary {
  color: var(--nf-color-surface) !important;
  border-color: rgba(79, 130, 123, 0.45);
  background: linear-gradient(180deg, var(--hds-brand-top) 0%, var(--hds-brand) 100%);
  box-shadow:
    0 10px 26px rgba(var(--nf-accent-rgb), 0.28),
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 -1px 0 rgba(26, 36, 35, 0.12) inset;
}

.nf-home-ds .nf-home-btn--primary:hover {  
  background: linear-gradient(180deg, var(--hds-brand-top) 0%, var(--hds-brand-deep) 100%);
  box-shadow:
    0 14px 32px rgba(var(--nf-accent-rgb), 0.32),
    0 1px 0 rgba(255, 255, 255, 0.36) inset,
    0 -1px 0 rgba(26, 36, 35, 0.14) inset;
}

.nf-home-ds .nf-home-btn--secondary {
  color: var(--hds-brand) !important;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.nf-home-ds .nf-home-btn--secondary:hover {  
  background: rgba(var(--nf-accent-rgb), 0.08);
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  color: var(--hds-brand-deep) !important;
}


.nf-home-ds .nf-categories__grid {
  gap: clamp(18px, 2vw, 22px);
}

.nf-home-ds .nf-category-card {
  position: relative;
  border-radius: var(--hds-radius);
  padding: 0;
  min-height: 168px;
  border: 1px solid rgba(26, 36, 35, 0.069);
  background: linear-gradient(178deg, rgba(255, 255, 255, 0.7) 0%, transparent 48%),
    linear-gradient(168deg, rgba(var(--nf-accent-rgb), 0.04) 0%, transparent 55%), var(--nf-color-surface-subtle);
  box-shadow: var(--hds-sh-1), var(--hds-sh-2);
  overflow: hidden;
  
}

.nf-home-ds .nf-category-card__rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--nf-accent-rgb), 0.45) 35%, var(--hds-brand) 50%, rgba(var(--nf-accent-rgb), 0.45) 65%, transparent);
  opacity: 0.85;
  pointer-events: none;
}

.nf-home-ds .nf-category-card__body {
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-home-ds .nf-category-card:hover {  
  border-color: rgba(26, 36, 35, 0.085);
  box-shadow: var(--hds-sh-hover);
}

.nf-home-ds .nf-category-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--hds-ink);
}

.nf-home-ds .nf-category-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.52;
  color: var(--hds-muted);
}

.nf-home-ds .nf-category-footer {
  margin-top: auto;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(26, 36, 35, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nf-home-ds .nf-category-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hds-faint);
}

.nf-home-ds .nf-category-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--hds-brand);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.28);
  background: rgba(255, 255, 255, 0.7);
  
}

.nf-home-ds .nf-category-card:hover .nf-category-cta {
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  background: rgba(var(--nf-accent-rgb), 0.08);
  color: var(--hds-brand-deep);
}


.nf-home-ds.nf-partners {
  margin: 0;
}

.nf-home-ds .nf-partners__grid {
  gap: clamp(16px, 1.8vw, 20px);
}

.nf-home-ds .nf-partner {
  border-radius: var(--hds-radius);
  padding: 20px 16px 18px;
  min-height: 158px;
  border: 1px solid rgba(26, 36, 35, 0.069);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.55) 0%, transparent 40%), var(--nf-color-surface-subtle);
  box-shadow: var(--hds-sh-1), var(--hds-sh-2);
  
}

.nf-home-ds .nf-partner:hover {  
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  box-shadow: var(--hds-sh-hover);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.75) 0%, rgba(var(--nf-accent-rgb), 0.04) 100%), var(--nf-color-surface-subtle);
}

.nf-home-ds .nf-partner-logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(26, 36, 35, 0.07);
  background: linear-gradient(165deg, var(--nf-color-surface) 0%, rgba(247, 250, 249, 0.95) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 10px 24px rgba(26, 36, 35, 0.06);
  
}

.nf-home-ds .nf-partner:hover .nf-partner-logo-wrap {  
  border-color: rgba(var(--nf-accent-rgb), 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 14px 32px rgba(26, 36, 35, 0.07);
}

.nf-home-ds .nf-partner-logo-img {
  opacity: 0.92;
  
}

.nf-home-ds .nf-partner:hover .nf-partner-logo-img {
  opacity: 1;
}

.nf-home-ds .nf-partner-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hds-ink);
}


.nf-home-ds.nf-news {
  margin-bottom: 0;
}

.nf-home-ds .nf-news-layout {
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
}

.nf-home-ds .nf-news-main {
  border-radius: var(--hds-radius);
  padding: 0;
  gap: 0;
  border: 1px solid rgba(26, 36, 35, 0.069);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.65) 0%, transparent 45%),
    linear-gradient(168deg, rgba(var(--nf-accent-rgb), 0.04) 0%, transparent 52%), var(--nf-color-surface-subtle);
  box-shadow: var(--hds-sh-1), var(--hds-sh-2);
  overflow: hidden;
  
}

.nf-home-ds .nf-news-main:hover {  
  border-color: rgba(26, 36, 35, 0.088);
  box-shadow: var(--hds-sh-hover);
}

.nf-home-ds .nf-news-main-image {
  height: clamp(168px, 22vw, 220px);
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(26, 36, 35, 0.06);
  background: linear-gradient(145deg, rgba(var(--nf-accent-rgb), 0.08) 0%, rgba(247, 249, 248, 0.98) 100%);
}

.nf-home-ds .nf-news-main-image-placeholder {
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hds-faint);
}

.nf-home-ds .nf-news-main-image-placeholder span:first-child {
  color: var(--hds-brand);
  letter-spacing: 0.22em;
}

.nf-home-ds .nf-news-pill {
  align-self: flex-start;
  margin: 18px 22px 0;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hds-brand-deep);
  background: rgba(var(--nf-accent-rgb), 0.11);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
}

.nf-home-ds .nf-news-main-title {
  margin: 12px 22px 0 !important;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.45rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.22 !important;
  color: var(--hds-ink) !important;
}

.nf-home-ds .nf-news-main-meta {
  margin: 8px 22px 0;
  font-size: 12px;
  color: var(--hds-muted);
  letter-spacing: 0.01em;
}

.nf-home-ds .nf-news-main-text {
  margin: 12px 22px 22px !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  color: var(--hds-muted) !important;
}

.nf-home-ds .nf-news-side-grid {
  gap: 12px;
}

.nf-home-ds .nf-news-card--side {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 0;
  border-radius: var(--hds-radius);
  border: 1px solid rgba(26, 36, 35, 0.069);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.55) 0%, transparent 40%), var(--nf-color-surface-subtle);
  box-shadow: var(--hds-sh-1), 0 8px 22px rgba(26, 36, 35, 0.035);
  overflow: hidden;
  
}

.nf-home-ds .nf-news-card--side:hover {  
  border-color: rgba(26, 36, 35, 0.085);
  box-shadow: var(--hds-sh-hover);
}

.nf-home-ds .nf-news-card--side .nf-news-card__image {
  flex: 0 0 112px;
  width: 112px;
  height: auto;
  min-height: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(26, 36, 35, 0.06);
  background: linear-gradient(160deg, rgba(var(--nf-accent-rgb), 0.07) 0%, var(--nf-color-surface-subtle) 100%);
}

.nf-home-ds .nf-news-card--side .nf-news-card__image--empty {
  min-height: 96px;
}

.nf-home-ds .nf-news-card--side .nf-news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px 16px;
  min-width: 0;
}

.nf-home-ds .nf-news-card--side .nf-news-card-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--hds-ink);
}

.nf-home-ds .nf-news-card--side .nf-news-card-meta {
  font-size: 11px;
  color: var(--hds-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .nf-home-ds .nf-news-layout {
    grid-template-columns: 1fr;
  }

  .nf-home-ds .nf-news-card--side {
    flex-direction: column;
  }

  .nf-home-ds .nf-news-card--side .nf-news-card__image {
    flex: none;
    width: 100%;
    height: 120px;
    border-right: none;
    border-bottom: 1px solid rgba(26, 36, 35, 0.06);
  }
}

@media (max-width: 768px) {
  .nf-home-ds .nf-product-card--popular {
    width: auto;
  }

  .nf-home-section .nf-home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-ds.nf-popular .nf-popular__track > * {
  
    opacity: 1 !important;
  }

  .nf-home-ds.nf-popular .nf-popular__track--carousel .nf-popular-card {
    opacity: 1 !important;
    transform: none !important;
  
  }

  .nf-popular__track--carousel {
  
  }

  .nf-home-ds .nf-categories__grid > .nf-category-card,
  .nf-home-ds .nf-partners__grid > .nf-partner,
  .nf-home-ds .nf-news-layout > .nf-news-main,
  .nf-home-ds .nf-news-side-grid > .nf-news-card--side {
  
    opacity: 1 !important;
    transform: none !important;
  }

  .nf-home-ds .nf-product-card--popular:hover,
  .nf-home-ds .nf-category-card:hover,
  .nf-home-ds .nf-partner:hover,
  .nf-home-ds .nf-news-main:hover,
  .nf-home-ds .nf-news-card--side:hover,
  .nf-home-link-secondary:hover {  }
}



.nf-header--ds {
  --hds-brand: var(--nf-color-accent-hover);
  --hds-brand-top: var(--nf-color-accent);
  --hds-brand-deep: var(--nf-color-accent-contrast);
  min-height: 72px;
  background:
    radial-gradient(520px 200px at 6% 0%, rgba(var(--nf-accent-rgb), 0.11), transparent 52%),
    radial-gradient(420px 200px at 96% 30%, rgba(var(--nf-accent-rgb), 0.07), transparent 58%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 50%, var(--nf-color-accent-soft) 100%);
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 11px 30px rgba(26, 36, 35, 0.04),
    0 3px 10px rgba(26, 36, 35, 0.025);
}

.nf-header--ds::after {
  opacity: 0.2;
}

.nf-header--ds.nf-header--scrolled {
  background: rgba(252, 253, 253, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(26, 36, 35, 0.045),
    0 10px 36px rgba(26, 36, 35, 0.055);
}

.nf-header--ds .nf-header-inner {
  max-width: min(1240px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  min-height: 72px;
  padding: 12px 24px;
  gap: 12px 16px;
  row-gap: 10px;
  align-items: center;
}

.nf-header--ds .nf-header-logo-section .nf-logo {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(26, 36, 35, 0.05);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.nf-header--ds .nf-header-logo-section .nf-logo:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(var(--nf-accent-rgb), 0.14);
  box-shadow: 0 10px 26px rgba(26, 36, 35, 0.06);
}

.nf-header--ds .nf-logo-img-header {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nf-header--ds .nf-header-search-wrapper {
  flex: 0 0 auto;
  width: clamp(300px, 34vw, 440px);
  max-width: 100%;
  min-width: 0;
}


.nf-header--ds .nf-search {
  height: 40px;
  min-height: 40px;
  padding: 3px 9px 3px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 5px 12px rgba(26, 36, 35, 0.035);
}

.nf-header--ds .nf-search:hover {  
  border-color: rgba(var(--nf-accent-rgb), 0.3);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.94) inset,
    0 7px 15px rgba(26, 36, 35, 0.04);
}

.nf-header--ds .nf-search:focus-within {
  transform: none;
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.44);
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.11);
}

.nf-header--ds .nf-search-icon {
  fill: rgba(26, 36, 35, 0.6);
}

.nf-header--ds .nf-search:focus-within .nf-search-icon {
  fill: rgba(26, 36, 35, 0.76);
}

.nf-header--ds .nf-search-input {
  font-size: 16px;
  font-weight: 500;
  padding: 3px 7px;
  line-height: var(--nf-search-text-line-height);
  color: rgba(15, 23, 42, 0.92);
}

.nf-header--ds .nf-search-input::placeholder {
  color: rgba(26, 36, 35, 0.52);
}

.nf-header--ds .nf-search-idle-hint,
.nf-header--ds .nf-search-focused-hint {
  color: rgba(26, 36, 35, 0.54);
}


.nf-header--ds .nf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 3px 6px 3px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(26, 36, 35, 0.045);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.nf-header--ds .nf-lang-switcher {
  padding: 2px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 36, 35, 0.05);
  box-shadow: none;
}

.nf-header--ds .nf-lang-btn {
  padding: 4px 8px;
  font-size: 9.5px;
  letter-spacing: 0.11em;
  color: rgba(100, 116, 139, 0.68);
}

.nf-header--ds .nf-lang-btn:hover {
  color: rgba(26, 36, 35, 0.58);
  }

.nf-header--ds .nf-lang-btn-active {
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--hds-brand-deep) !important;
  box-shadow: 0 0 0 1px rgba(var(--nf-accent-rgb), 0.18);
}


.nf-header--ds .nf-header-actions .nf-btn-ghost {
  min-height: 40px;
  min-width: 148px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  color: #ffffff;
  background: var(--nf-color-accent) !important;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.32) !important;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(var(--nf-accent-rgb), 0.2) !important;
}

.nf-header--ds .nf-header-actions .nf-btn-ghost:hover {
  color: #ffffff;
  background: var(--nf-color-accent-hover) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.44) !important;
  
}


.nf-header--ds .nf-nav {
  max-width: min(1240px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  margin-top: 2px;
  padding: 10px 24px 14px;
  border-top: none;
  gap: 6px;
  position: relative;
}

.nf-header--ds .nf-nav-link {
  padding: 9px 14px 11px !important;
  font-size: 14px !important;
  font-weight: 550 !important;
  letter-spacing: 0.01em !important;
  color: rgba(26, 36, 35, 0.64) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: color 180ms ease !important;
}

.nf-header--ds .nf-nav-link:hover {
  color: var(--nf-accent) !important;
  background: transparent !important;
  
}

.nf-header--ds .nf-nav-link-active {
  color: var(--nf-accent) !important;
  font-weight: 600 !important;
  background: transparent !important;
}

.nf-header--ds .nf-nav-link-active:hover {
  background: transparent !important;
}

.nf-header--ds .nf-nav-indicator {
  top: 0;
  background: var(--nf-accent);
  opacity: 0.92;
}


.nf-header--ds .nf-header-right {
  gap: 10px;
}

.nf-header--ds .nf-header-right .nf-cart-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(26, 36, 35, 0.065);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 18px rgba(26, 36, 35, 0.045);
}

.nf-header--ds .nf-header-right .nf-cart-btn:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  background: var(--nf-color-surface);
  
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 28px rgba(26, 36, 35, 0.07);
}

.nf-header--ds .nf-cart-count {
  font-size: 9.5px;
  box-shadow:
    0 4px 14px rgba(var(--nf-accent-rgb), 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.98);
}

.nf-header--ds .nf-header-right .nf-burger {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(26, 36, 35, 0.065);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 18px rgba(26, 36, 35, 0.045);
}

.nf-header--ds .nf-header-right .nf-burger:hover {
  background: var(--nf-color-surface);
  border-color: rgba(var(--nf-accent-rgb), 0.18);
}

body.nf-admin-mode .nf-mobile-menu__quick-quote {
  display: none !important;
}

.nf-mobile-menu__extras {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-mobile-menu__quick-quote {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.26);
  background: rgba(var(--nf-accent-rgb), 0.08);
  color: var(--nf-color-accent-contrast);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  
}

.nf-mobile-menu__quick-quote:hover {
  background: rgba(var(--nf-accent-rgb), 0.12);
  border-color: rgba(var(--nf-accent-rgb), 0.38);
}



.nf-footer-shell {
  width: 100%;
  max-width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.nf-footer.nf-footer--premium {
  position: relative;
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: 0;
  overflow: hidden;
  color: var(--nf-on-dark-mid);
  
  background: var(--nf-color-text-primary);
  border-top: 1px solid rgba(var(--nf-accent-rgb), 0.15);
}

/* Home: soften jump from light main to dark footer */
.nf-app:has(.nf-home-firstscreen) .nf-footer.nf-footer--premium {
  margin-top: clamp(28px, 4.2vw, 44px);
  border-top-color: rgba(var(--nf-accent-rgb), 0.08);
}

.nf-app:has(.nf-home-firstscreen) .nf-footer.nf-footer--premium::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: clamp(52px, 11vw, 112px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--nf-color-bg) 0%,
    color-mix(in srgb, var(--nf-color-bg) 62%, var(--nf-color-text-primary) 38%) 55%,
    color-mix(in srgb, var(--nf-color-bg) 22%, var(--nf-color-text-primary) 78%) 100%
  );
  opacity: 0.92;
}

.nf-footer-premium-glow {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--nf-line-rgb), 0.35) 50%,
    transparent
  );
  opacity: 0.45;
}

.nf-footer--premium .nf-footer-top {
  padding: 40px 0 34px;
  border-bottom: 1px solid rgba(var(--nf-line-rgb), 0.12);
}

.nf-footer--premium .nf-footer-top-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.nf-footer--premium .nf-footer-brand-block {
  max-width: 520px;
}

.nf-footer--premium .nf-footer-logo {
  margin-bottom: 16px;
  background: rgba(var(--nf-accent-rgb), 0.04);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.45);
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nf-footer--premium .nf-footer-logo:hover {
  border-color: var(--nf-color-accent);
  background: rgba(var(--nf-accent-rgb), 0.08);
  box-shadow: 0 0 0 1px rgba(var(--nf-accent-rgb), 0.25);
}

/* Footer on dark: light wordmark + crisp mark (header logo unchanged) */
.nf-footer--premium .nf-footer-logo .nf-logo-title {
  color: #ffffff;
}

.nf-footer--premium .nf-footer-logo .nf-logo-subtitle {
  color: rgba(255, 255, 255, 0.66);
}

.nf-footer--premium .nf-footer-logo .nf-logo-mark-img--footer-dark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(var(--nf-accent-rgb), 0.35));
  flex-shrink: 0;
}

.nf-footer--premium .nf-footer-logo > svg {
  fill: var(--nf-color-accent);
}

.nf-footer--premium .nf-footer-tagline {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-on-dark-mid);
}

.nf-footer--premium .nf-footer-email {
  font-size: 13px;
  color: var(--nf-color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.nf-footer--premium .nf-footer-email:hover {
  color: color-mix(in srgb, var(--nf-color-accent) 78%, var(--nf-color-surface) 22%);
  border-bottom-color: rgba(var(--nf-accent-rgb), 0.4);
}

.nf-footer--premium .nf-footer-email:focus-visible {
  outline: 2px solid rgba(var(--nf-accent-rgb), 0.45);
  outline-offset: 3px;
  border-radius: 2px;
}

.nf-footer-cta-panel {
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 360px;
  padding: 22px 24px;
  border-radius: var(--nf-radius-lg);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(var(--nf-line-rgb), 0.14);
  box-shadow: 0 14px 36px rgba(var(--nf-graphite-rgb), 0.35);
}

.nf-footer-cta-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-line-rgb), 0.88);
}

.nf-footer-cta-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-on-dark-mid);
}

.nf-footer-cta-btn.nf-btn {
  width: 100%;
  justify-content: center;
}

.nf-footer--premium .nf-footer-cta-btn.nf-btn-primary {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.nf-footer--premium .nf-footer-cta-btn.nf-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(var(--nf-accent-rgb), 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: brightness(1.02);
}

.nf-footer--premium .nf-footer-cta-btn.nf-btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(1);
  box-shadow:
    0 3px 10px rgba(var(--nf-accent-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .nf-footer--premium .nf-footer-cta-btn.nf-btn-primary,
  .nf-footer--premium .nf-footer-cta-btn.nf-btn-primary:hover:not(:disabled),
  .nf-footer--premium .nf-footer-cta-btn.nf-btn-primary:active:not(:disabled) {
    transform: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease;
  }
}

.nf-footer--premium .nf-footer-columns-wrap {
  padding: 28px 0 30px;
}

.nf-footer--premium .nf-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.nf-footer--premium .nf-footer-col-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb), 0.75);
}

.nf-footer--premium .nf-footer-link {
  
  color: color-mix(in srgb, var(--nf-on-dark-mid) 58%, var(--nf-color-border) 42%);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nf-footer--premium .nf-footer-link:hover {
  color: var(--nf-color-accent);
  }

.nf-footer--premium .nf-footer-link:focus-visible {
  outline: 2px solid rgba(var(--nf-accent-rgb), 0.45);
  outline-offset: 2px;
  border-radius: 2px;
}

.nf-footer--premium .nf-footer-bottom--premium {
  border-top: 1px solid rgba(var(--nf-line-rgb), 0.18);
  background: #151515;
}

.nf-footer--premium .nf-footer-bottom--premium .nf-footer-bottom-inner {
  padding: 14px 24px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-line-rgb), 0.52);
}

@media (max-width: 900px) {
  .nf-footer--premium .nf-footer-top-inner {
    grid-template-columns: 1fr;
  }

  .nf-footer-cta-panel {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .nf-footer--premium .nf-footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-header--ds,
  .nf-header--ds .nf-header-inner,
  .nf-header--ds .nf-logo-img-header {
  
  }
}




.nf-premium-hero .nf-hero__content {
  opacity: 1;
  transform: translateY(0);
}

.nf-hero.nf-hero--premium,
.nf-premium-hero .nf-hero.nf-hero--premium {
  
  background-size: 100% 100% !important;
}

.nf-hero.nf-hero--premium::before,
.nf-premium-hero .nf-hero::before {
  
}

.nf-hero {
  
  background-size: 100% 100% !important;
}

.nf-hero::before {
  
}

.nf-hero__bg-orb {
  
  
}

.nf-hero__title span,
.nf-hero__desc {
  
  opacity: 1 !important;
  transform: none !important;
}

.nf-premium-hero .nf-hero__cinematic,
.nf-premium-hero .nf-hero__cinematic *,
.nf-premium-hero .nf-hero__atmosphere,
.nf-premium-hero .nf-hero__atmosphere *,
.nf-premium-hero .nf-hero__visual .nf-hero__scene,
.nf-premium-hero .nf-hero__visual .nf-hero__scene * {
  
}

.nf-hero__art,
.nf-hero__scene,
.nf-hero__visual {
  
}

.nf-hero__noise,
.nf-hero__grid-fine,
.nf-hero__light-sweep,
.nf-hero__mouse-rim,
.nf-hero__pointer-glow {
  display: none !important;
}

.nf-hero__aurora,
.nf-hero__wash {
  filter: blur(20px);
}

.nf-premium-hero .nf-hero__aurora,
.nf-premium-hero .nf-hero__wash {
  filter: blur(20px);
}

.nf-popular__nav {
  display: flex !important;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}


.nf-popular__viewport--carousel {
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scroll-snap-type: none !important;
  width: 100%;
  touch-action: pan-y;
  cursor: default;
  outline: none;
}

.nf-popular__viewport--carousel:focus-visible {
  box-shadow: 0 0 0 2px rgba(var(--nf-accent-rgb), 0.45);
}


.nf-popular .nf-popular__track.nf-popular__track--carousel {
  
}

.nf-popular__track--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: max-content !important;
  min-width: 100% !important;
  box-sizing: border-box;
  gap: 24px;
  
  
}

.nf-popular__track--carousel.nf-popular__track--no-motion {
  
}

.nf-home-ds.nf-popular .nf-popular__track > * {
  
}

.nf-home-ds .nf-categories__grid > .nf-category-card,
.nf-home-ds .nf-partners__grid > .nf-partner,
.nf-home-ds .nf-news-layout > .nf-news-main,
.nf-home-ds .nf-news-side-grid > .nf-news-card--side {
  
  opacity: 1 !important;
  transform: none !important;
}

.nf-category-card,
.nf-product-card--catalog {
  
}

.nf-category-card:hover,
.nf-product-card--catalog:hover {  
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


.nf-popular__track--carousel .nf-popular-card {
  opacity: 1;
  transform: translateY(0);
  
}

.nf-popular__track--carousel .nf-popular-card:hover {  
  box-shadow:
    0 26px 58px rgba(26, 36, 35, 0.14),
    0 12px 32px rgba(var(--nf-graphite-rgb), 0.1);
}

.nf-home-ds.nf-popular
  .nf-popular__track--carousel
  .nf-product-card--popular.nf-popular-showcase.nf-popular-card {
  
}

.nf-home-ds.nf-popular
  .nf-popular__track--carousel
  .nf-product-card--popular.nf-popular-showcase.nf-popular-card:hover {
  
}

.nf-popular__track--carousel .nf-popular-card__image img,
.nf-popular__track--carousel .nf-popular-card img {
  
}

.nf-popular__track--carousel .nf-popular-card:hover .nf-popular-card__image img,
.nf-popular__track--carousel .nf-popular-card:hover img {  }

.nf-home-ds.nf-popular .nf-popular__track--carousel .nf-popular-card.nf-popular-showcase:hover {  
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 28px 64px rgba(26, 36, 35, 0.12),
    0 10px 26px rgba(26, 36, 35, 0.055),
    var(--hds-sh-hover) !important;
}

.nf-home-ds.nf-popular .nf-popular__track--carousel .nf-popular-card.nf-popular-showcase:hover .nf-popular-showcase__stage .nf-product-thumb-inner img {  }

.nf-popular .nf-popular__nav-btn {
  
}

.nf-popular .nf-popular__nav-btn:hover:not(:disabled) {  }

@media (max-width: 768px) {
  .nf-popular__track.nf-popular__track--carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    width: max-content !important;
    min-width: 100% !important;
    padding-inline: 16px !important;
    padding-block: 0 12px !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }
}



.nf-popular__viewport--carousel {
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scroll-snap-type: none !important;
  width: 100%;
  touch-action: pan-y;
  cursor: default;
  outline: none;
}

.nf-popular__track--carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 24px !important;
  padding-inline: 24px !important;
  width: max-content !important;
  min-width: 100% !important;
  box-sizing: border-box;
  transform: translateX(0);
  
  
}

.nf-popular__track--carousel.nf-popular__track--no-motion {
  
}

.nf-popular__track--carousel .nf-product-card--popular,
.nf-popular__track--carousel .nf-popular-card {
  flex: 0 0 auto !important;
  width: 260px !important;
  opacity: 1;
  transform: translateY(0);
  
}

.nf-popular__track--carousel .nf-product-card--popular:hover,
.nf-popular__track--carousel .nf-popular-card:hover {  }

.nf-popular__track--carousel .nf-product-thumb-inner img,
.nf-popular__track--carousel .nf-product-thumb img {
  
}

.nf-popular__track--carousel .nf-product-card--popular:hover .nf-product-thumb-inner img,
.nf-popular__track--carousel .nf-popular-card:hover .nf-product-thumb-inner img,
.nf-popular__track--carousel .nf-product-card--popular:hover .nf-product-thumb img,
.nf-popular__track--carousel .nf-popular-card:hover .nf-product-thumb img {  }

.nf-popular__nav-btn {
  
}

.nf-popular__nav-btn:hover {  }

@media (max-width: 1024px) {
  .nf-popular__track--carousel {
    gap: 20px !important;
    padding-inline: 20px !important;
  }

  .nf-popular__track--carousel .nf-product-card--popular,
  .nf-popular__track--carousel .nf-popular-card {
    width: 240px !important;
  }
}

@media (max-width: 768px) {
  .nf-popular__viewport--carousel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 18px;
  }

  .nf-popular__track--carousel {
    display: flex !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    gap: 14px !important;
    padding-inline: 16px !important;
    width: max-content !important;
    min-width: 100% !important;
  }

  .nf-popular__track--carousel .nf-product-card--popular,
  .nf-popular__track--carousel .nf-popular-card {
    flex: 0 0 auto !important;
    width: clamp(260px, 78vw, 320px) !important;
    min-width: 0;
  }
}



.nf-home-firstscreen.nf-premium-hero {
  background:
    radial-gradient(ellipse 58% 50% at 20% 32%, rgba(255, 255, 255, 0.92), transparent 60%),
    radial-gradient(ellipse 42% 36% at 92% 18%, rgba(var(--nf-accent-rgb), 0.075), transparent 58%),
    var(--nf-color-surface-subtle) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 56% at 78% 42%, rgba(var(--nf-accent-rgb), 0.1), transparent 64%),
    radial-gradient(ellipse 48% 40% at 52% 88%, rgba(var(--nf-accent-rgb), 0.055), transparent 58%);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero.nf-hero--premium {
  position: relative;
  z-index: 1;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title-line--lead {
  text-shadow: none !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title-line--shine {
  filter: none !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--secondary {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.78) !important;
}


.nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
  grid-template-columns: 1fr !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__visual {
  position: relative;
  z-index: 2;
  min-height: clamp(420px, 52vh, 680px);
  filter: none !important;
  perspective: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__figure--mass {
  position: relative;
  width: 100%;
  max-width: min(620px, 100%);
  height: min(72vh, 640px);
  min-height: clamp(400px, 52vh, 620px);
}


.nf-home-firstscreen.nf-premium-hero .nf-hero__figure-depth {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: -6% -10% -4% -4%;
  border-radius: 54% 46% 48% 52% / 52% 48% 52% 48%;
  background:
    radial-gradient(
      ellipse 78% 72% at 70% 38%,
      rgba(var(--nf-accent-rgb), 0.22) 0%,
      rgba(var(--nf-accent-rgb), 0.06) 45%,
      transparent 72%
    ),
    radial-gradient(ellipse 55% 50% at 22% 78%, rgba(255, 255, 255, 0.55) 0%, transparent 68%);
}


.nf-home-firstscreen.nf-premium-hero .nf-hero__figure-surface {
  position: absolute;
  z-index: 1;
  inset: 4% 0 2% 6%;
  border-radius: clamp(36px, 5.5vw, 56px) clamp(40px, 6vw, 60px) clamp(38px, 5.2vw, 54px) clamp(32px, 4.8vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(ellipse 90% 62% at 14% 8%, rgba(255, 255, 255, 0.92) 0%, transparent 55%),
    radial-gradient(ellipse 65% 50% at 92% 88%, rgba(var(--nf-accent-rgb), 0.18) 0%, transparent 52%),
    linear-gradient(168deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 35%, var(--nf-color-border) 72%, var(--nf-color-border-strong) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 28px 56px rgba(26, 36, 35, 0.09);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__figure-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.38) 0%, transparent 50%);
}

@media (max-width: 900px) {
  .nf-home-firstscreen.nf-first-screen.nf-premium-hero .nf-hero > .container.nf-hero__layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .nf-home-firstscreen.nf-premium-hero .nf-hero__visual {
    min-height: clamp(340px, 66vw, 520px);
    order: 2;
    padding: 0 2vw;
  }

  .nf-home-firstscreen.nf-premium-hero .nf-hero__content {
    order: 1;
  }

  .nf-home-firstscreen.nf-premium-hero .nf-hero__figure--mass {
    max-width: min(100%, 520px);
    min-height: clamp(320px, 62vw, 480px);
    height: min(58vh, 480px);
  }

  .nf-home-firstscreen.nf-premium-hero .nf-hero__figure-surface {
    inset: 5% 3% 3% 5%;
  }
}


.nf-home-firstscreen.nf-premium-hero .nf-advantages--lux {
  padding: clamp(16px, 2.2vw, 24px) 0 clamp(44px, 5.5vw, 72px) !important;
  background: linear-gradient(
    180deg,
    rgba(var(--nf-accent-rgb), 0.05) 0%,
    rgba(247, 249, 248, 0.72) 32%,
    transparent 100%
  ) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__head {
  margin-bottom: clamp(28px, 3.2vw, 40px) !important;
  max-width: 44rem;
  padding-left: 14px;
  border-left: 2px solid rgba(var(--nf-accent-rgb), 0.35);
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__eyebrow {
  margin-bottom: 14px !important;
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
  color: rgba(26, 36, 35, 0.44) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__lede {
  font-size: clamp(1.15rem, 1.15vw + 0.9rem, 1.42rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.032em !important;
  line-height: 1.32 !important;
  color: var(--text-main, var(--nf-color-text-strong)) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages .nf-advantages__strip::before {
  background:
    linear-gradient(90deg, transparent 0%, rgba(var(--nf-accent-rgb), 0.18) 18%, rgba(26, 36, 35, 0.06) 50%, rgba(var(--nf-accent-rgb), 0.18) 82%, transparent 100%)
      center top / min(1280px, 100%) 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 44%);
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
  gap: clamp(18px, 2vw, 22px) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel {
  position: relative;
  border-radius: 18px !important;
  border: 1px solid rgba(26, 36, 35, 0.1) !important;
  background: linear-gradient(155deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 38%, var(--nf-color-accent-soft) 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 14px 32px rgba(26, 36, 35, 0.06) !important;
  overflow: hidden;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--heritage {
  border-left: 3px solid rgba(var(--nf-accent-rgb), 0.52) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--scale {
  border-left: 3px solid rgba(var(--nf-accent-rgb), 0.38) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--alliance {
  border-left: 3px solid rgba(var(--nf-accent-rgb), 0.62) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.06) inset,
    0 14px 32px rgba(26, 36, 35, 0.06) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--orbit {
  border-left: 3px solid rgba(26, 36, 35, 0.14) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--heritage::before,
.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--scale::before,
.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--alliance::before {
  display: none !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__inner {
  position: relative;
  min-height: 280px;
  padding: 26px 24px 22px 26px !important;
  justify-content: flex-start;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__index {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: clamp(2.5rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(26, 36, 35, 0.06);
  user-select: none;
  pointer-events: none;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--heritage .nf-feature-panel__inner {
  padding-left: 26px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--scale .nf-feature-panel__inner {
  padding-top: 26px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__rule {
  width: 100%;
  height: 0;
  margin: 0 0 16px;
  border: none;
  border-top: 1px solid rgba(26, 36, 35, 0.085);
  opacity: 1;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__label {
  display: block;
  margin: 0 0 10px !important;
  padding-right: 3.5rem;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  color: rgba(26, 36, 35, 0.42) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__stat {
  margin: 0 0 16px;
  gap: 0.45rem 0.7rem;
  align-items: baseline;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__stat-num {
  font-size: clamp(1.72rem, 1.35vw + 1.05rem, 2.15rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  color: var(--brand-base, var(--nf-color-accent-hover)) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__stat-cap {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(26, 36, 35, 0.4) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__title {
  margin: 0 0 14px !important;
  font-size: clamp(1.08rem, 0.55vw + 0.97rem, 1.28rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.038em !important;
  line-height: 1.2 !important;
  color: var(--text-main, var(--nf-color-text-strong)) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__copy {
  margin: 0 !important;
  flex-grow: 0;
  font-size: 13.5px !important;
  line-height: 1.62 !important;
  letter-spacing: -0.008em;
  color: rgba(26, 36, 35, 0.54) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__foot {
  margin-top: auto;
  padding-top: 22px;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__foot-line {
  display: block;
  height: 2px;
  width: 44px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--brand-base, var(--nf-color-accent-hover)) 0%, rgba(var(--nf-accent-rgb), 0.18) 100%);
}


.nf-home-firstscreen.nf-premium-hero .nf-feature-panel:hover {
  border-top-color: rgba(26, 36, 35, 0.1) !important;
  border-right-color: rgba(26, 36, 35, 0.1) !important;
  border-bottom-color: rgba(26, 36, 35, 0.1) !important;
  filter: none !important;
  background: linear-gradient(155deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 38%, var(--nf-color-accent-soft) 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 14px 32px rgba(26, 36, 35, 0.06) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--heritage:hover {
  border-left-color: rgba(var(--nf-accent-rgb), 0.52) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--scale:hover {
  border-left-color: rgba(var(--nf-accent-rgb), 0.38) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--alliance:hover {
  border-left-color: rgba(var(--nf-accent-rgb), 0.62) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.06) inset,
    0 14px 32px rgba(26, 36, 35, 0.06) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--orbit:hover {
  border-left-color: rgba(26, 36, 35, 0.14) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel:hover .nf-feature-panel__stat-num {
  color: var(--brand-base, var(--nf-color-accent-hover)) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--heritage:hover::before,
.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--scale:hover::before,
.nf-home-firstscreen.nf-premium-hero .nf-feature-panel--alliance:hover::before {
  opacity: 0 !important;
  border-color: transparent !important;
}

@media (max-width: 1100px) {
  .nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .nf-home-firstscreen.nf-premium-hero .nf-feature-panel__inner {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
    grid-template-columns: 1fr !important;
  }
}



.nf-hero__eyebrow,
.nf-hero__title,
.nf-hero__desc,
.nf-hero__buttons,
.nf-hero__title span,
.nf-home-firstscreen:not(.nf-premium-hero) .nf-hero-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.nf-advantages .nf-adv {
  opacity: 1 !important;
  transform: none !important;
}

.card, .stat-card {
  opacity: 1 !important;
  transform: none !important;
}


html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}





#page-root.nf-main {
  will-change: auto;
}

#page-root.nf-page-leave {
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

#page-root.nf-page-enter {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
}

#page-root.nf-page-enter--ready {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 180ms ease,
    transform 220ms var(--nf-motion-ease-enter);
}


.nf-vp-reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.nf-vp-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-enter),
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-enter);
  transition-delay: var(--nf-vp-stagger, 0ms);
}

.nf-enter:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.nf-enter.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-enter),
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-enter);
  transition-delay: var(--nf-vp-stagger, 0ms);
}

body.nf-admin-mode .nf-vp-reveal,
body.nf-admin-mode .nf-enter {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}



.nf-header .nf-btn:not(:disabled):hover,
.nf-header .nf-btn:not(:disabled):active,
.nf-header .nf-header-icon-btn:hover,
.nf-header .nf-header-icon-btn:active {
  transform: none;
}

.nf-header .nf-btn:not(:disabled):hover .nf-btn-icon {
  transform: none;
}

.nf-btn:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), 0 8px 28px rgba(var(--nf-graphite-rgb), 0.07);
}

.nf-btn .nf-btn-icon {
  display: inline-flex;
  transition: transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-btn:not(:disabled):hover .nf-btn-icon {
  transform: translateX(2px);
}

.nf-cta {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    background var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    color var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-cta:hover {
  transform: translate3d(0, var(--nf-motion-lift-hover), 0);
}

.nf-cta:active {
  transform: translate3d(0, 0, 0) scale(var(--nf-motion-scale-active));
}

.nf-cta:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), 0 10px 32px rgba(var(--nf-graphite-rgb), 0.08);
}

.nf-cta .nf-cta__arrow,
.nf-cta__arrow {
  transition: transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-cta:hover .nf-cta__arrow {
  transform: translateX(3px);
}

.nf-popular__nav-btn,
.nf-view-switch-btn,
.nf-icon-btn,
.nf-header-icon-btn,
.nf-filters-toggle,
.nf-mobile-menu__close {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    background-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-popular__nav-btn:not(:disabled):hover,
.nf-view-switch-btn:hover,
.nf-icon-btn:hover,
.nf-header-icon-btn:hover {
  transform: translate3d(0, var(--nf-motion-lift-hover), 0);
}

.nf-popular__nav-btn:not(:disabled):active,
.nf-view-switch-btn:active,
.nf-icon-btn:active {
  transform: scale(var(--nf-motion-scale-active));
}


.nf-product-card--catalog {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-product-card--catalog:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--nf-shadow-card-hover);
}

#catalogProducts.nf-catalog-mutation {
  opacity: 0.94;
  transition: opacity var(--nf-motion-duration-fast) var(--nf-motion-ease-standard);
}

.nf-popular .nf-product-card--popular {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-popular .nf-product-card--popular:hover {
  transform: translate3d(0, -2px, 0);
}

.nf-category-card,
.nf-partner,
.nf-partner-card,
.nf-news-card,
.nf-news-main,
.nf-contact-card {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-category-card:hover,
.nf-partner:hover,
button.nf-partner-card:hover,
.nf-news-card:hover,
.nf-news-main:hover {
  transform: translate3d(0, -2px, 0);
}


/* Главная «Наши партнёры»: витрина — блок #homePartnersGrid ниже по файлу. */

#partnersList.nf-partners-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

#partnersList .nf-partner,
#partnersList .nf-partner-card {
  border-radius: 24px;
  min-height: 204px;
  padding: 28px 20px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  gap: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

#partnersList .nf-partner:hover,
#partnersList .nf-partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--nf-accent-rgb), 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

#partnersList .nf-partner-logo-wrap {
  width: min(120px, 100%);
  height: 100px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  background: linear-gradient(145deg, var(--nf-color-surface-subtle), var(--nf-color-surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  padding: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 2px;
}

#partnersList .nf-partner-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease;
}

#partnersList .nf-partner:hover .nf-partner-logo-img,
#partnersList .nf-partner-card:hover .nf-partner-logo-img {
  transform: scale(1.05);
}

#partnersList .nf-partner-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--nf-color-accent-contrast);
}

#partnersList .nf-partner-country {
  font-size: 13px;
  line-height: 1.35;
  color: var(--nf-color-placeholder);
  font-weight: 500;
  margin-top: -2px;
}

#partnersList .nf-partner-country::before {
  content: "· ";
}

@media (max-width: 1200px) {
  #partnersList.nf-partners-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  #partnersList.nf-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  #partnersList.nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #partnersList .nf-partner,
  #partnersList .nf-partner-card {
    min-height: 174px;
    padding: 12px 10px;
    border-radius: 18px;
  }

  #partnersList .nf-partner-logo-wrap {
    width: min(108px, 100%);
    height: 82px;
    padding: 8px;
  }

  #partnersList .nf-partner-name {
    font-size: 13px;
  }

  #partnersList .nf-partner-country {
    font-size: 12px;
  }
}


#partnersList.nf-partners-grid {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  #partnersList.nf-partners-grid {
    max-width: none;
    margin-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  #partnersList.nf-partners-grid {
    gap: 14px;
  }
}

#partnersList .nf-partner,
#partnersList .nf-partner-card {
  min-width: 0;
  min-height: 0;
  padding: 18px 16px 15px;
  gap: 5px;
  justify-content: center;
}

#partnersList .nf-partner-logo-wrap {
  width: min(200px, 88%);
  height: 120px;
  padding: 12px;
  margin: 0 auto;
  border-radius: 15px;
}

#partnersList .nf-partner-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  object-position: center;
}

#partnersList .nf-partner-name {
  min-width: 0;
  width: 100%;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#partnersList .nf-partner-country {
  margin-top: 0;
  font-size: 12.5px;
  line-height: 1.28;
}

@media (max-width: 768px) {
  #partnersList .nf-partner,
  #partnersList .nf-partner-card {
    min-height: 0;
    padding: 14px 12px 12px;
    gap: 5px;
  }

  #partnersList .nf-partner-logo-wrap {
    width: min(148px, 94%);
    height: 100px;
    padding: 10px;
  }

  #partnersList .nf-partner-logo-img {
    max-height: 80px;
  }

  #partnersList .nf-partner-name {
    font-size: 13px;
    line-height: 1.24;
  }

  #partnersList .nf-partner-country {
    font-size: 12px;
    line-height: 1.26;
  }
}


.nf-popular__viewport {
  contain: none;
}

/* Трек двигается через JS (rAF + translate3d). CSS-marquee отключена: она перебивала transform при --nf-marquee-shift: 0 */
.nf-popular__track--marquee {
  animation: none !important;
  will-change: transform;
}


.nf-page-catalog {
  
  --nf-cat-ctrl-h: 42px;
  --nf-cat-ctrl-radius: 10px;
  --nf-cat-ctrl-radius-inner: 8px;
  --nf-cat-border: rgba(var(--nf-graphite-rgb), 0.09);
  --nf-cat-border-hover: rgba(var(--nf-accent-rgb), 0.32);
  --nf-cat-border-active: rgba(var(--nf-accent-rgb), 0.42);
  --nf-cat-surface: var(--nf-color-surface);
  --nf-cat-surface-muted: var(--nf-color-surface-subtle);
  --nf-cat-shadow: 0 1px 3px rgba(var(--nf-graphite-rgb), 0.04);
  --nf-cat-shadow-menu: 0 8px 22px rgba(var(--nf-graphite-rgb), 0.07);
  --nf-cat-fill-hover: rgba(var(--nf-accent-rgb), 0.08);
  --nf-cat-fill-active: rgba(var(--nf-accent-rgb), 0.12);
  --nf-cat-fill-selected: rgba(var(--nf-accent-rgb), 0.15);
  --nf-cat-segment-active: rgba(var(--nf-accent-rgb), 0.11);
  --nf-cat-text: var(--nf-color-text-secondary);
  --nf-cat-text-strong: var(--nf-color-text-tertiary);
  --nf-cat-text-label: var(--nf-color-muted);
  --nf-cat-transition: 0.22s ease;
  --nf-cat-focus-ring: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.14);

  background:
    radial-gradient(1200px 480px at 8% -6%, rgba(var(--nf-accent-rgb), 0.12), transparent 56%),
    linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-surface-subtle) 100%);
}


.nf-page-catalog .catalog-toolbar {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nf-page-catalog .catalog-filter-toggle {
  height: var(--nf-cat-ctrl-h);
  min-height: var(--nf-cat-ctrl-h);
  padding: 0 14px 0 16px;
  gap: 8px;
  border-radius: var(--nf-cat-ctrl-radius);
  border: 1px solid var(--nf-cat-border);
  background: var(--nf-cat-surface);
  box-shadow: var(--nf-cat-shadow);
  color: var(--nf-cat-text-strong);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--nf-cat-transition),
    border-color var(--nf-cat-transition),
    box-shadow var(--nf-cat-transition),
    color var(--nf-cat-transition);
}

.nf-page-catalog .catalog-filter-toggle:hover {
  background: var(--nf-cat-surface-muted);
  border-color: var(--nf-cat-border-hover);
  box-shadow: var(--nf-cat-shadow);
}

.nf-page-catalog .catalog-filter-toggle.is-active {
  background: var(--nf-cat-fill-active);
  border-color: var(--nf-cat-border-active);
  color: var(--nf-color-accent-contrast);
}

.nf-page-catalog .catalog-filter-toggle:focus-visible {
  outline: none;
  border-color: var(--nf-cat-border-hover);
  box-shadow: var(--nf-cat-shadow), var(--nf-cat-focus-ring);
}

.nf-page-catalog .catalog-filter-toggle__arrow {
  display: inline-flex;
  color: var(--nf-color-line-muted);
  opacity: 0.92;
  transition: transform var(--nf-cat-transition), color var(--nf-cat-transition);
}

.nf-page-catalog .catalog-filter-toggle:hover .catalog-filter-toggle__arrow {
  color: var(--nf-color-accent-contrast);
}

.nf-page-catalog .catalog-filter-toggle.is-active .catalog-filter-toggle__arrow {
  color: var(--nf-color-accent-contrast);
}

.nf-page-catalog .catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--nf-cat-ctrl-h);
  min-height: var(--nf-cat-ctrl-h);
  padding: 0 6px 0 14px;
  border-radius: var(--nf-cat-ctrl-radius);
  border: 1px solid var(--nf-cat-border);
  background: var(--nf-cat-surface);
  box-shadow: var(--nf-cat-shadow);
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  transition:
    border-color var(--nf-cat-transition),
    box-shadow var(--nf-cat-transition),
    background-color var(--nf-cat-transition);
}

.nf-page-catalog .catalog-sort:hover {
  border-color: var(--nf-cat-border-hover);
}

.nf-page-catalog .catalog-sort:focus-within,
.nf-page-catalog .catalog-sort:has(.nf-select-shell.is-open) {
  border-color: var(--nf-cat-border-hover);
  box-shadow: var(--nf-cat-shadow), var(--nf-cat-focus-ring);
}

.nf-page-catalog .catalog-sort__label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nf-cat-text-label);
  line-height: 1.2;
  user-select: none;
}

.nf-page-catalog .catalog-sort__control {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nf-page-catalog .catalog-sort .nf-select-shell {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.nf-page-catalog .catalog-sort .nf-select-display {
  flex: 1 1 auto;
  min-width: 0;
  min-height: calc(var(--nf-cat-ctrl-h) - 8px);
  height: auto;
  align-self: center;
  margin: 3px 3px 3px 0;
  padding: 6px 32px 6px 4px;
  border: none;
  border-radius: var(--nf-cat-ctrl-radius-inner);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--nf-cat-text-strong);
  transition:
    background-color var(--nf-cat-transition),
    color var(--nf-cat-transition);
}

.nf-page-catalog .catalog-sort .nf-select-display:hover {
  background: rgba(var(--nf-accent-rgb), 0.04);
}

.nf-page-catalog .catalog-sort .nf-select-shell.is-open .nf-select-display {
  background: rgba(var(--nf-accent-rgb), 0.06);
}

.nf-page-catalog .catalog-sort .nf-select-display::after {
  right: 8px;
  width: 14px;
  height: 14px;
  background-size: 11px 11px;
  opacity: 0.75;
}

.nf-page-catalog .catalog-sort .nf-select-display:focus-visible {
  outline: none;
  background: rgba(var(--nf-accent-rgb), 0.07);
  box-shadow: inset 0 0 0 1px rgba(var(--nf-accent-rgb), 0.22);
}

.nf-page-catalog .catalog-sort .nf-select-menu {
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  border-radius: var(--nf-cat-ctrl-radius);
  border: 1px solid var(--nf-cat-border);
  background: var(--nf-cat-surface);
  box-shadow: var(--nf-cat-shadow-menu);
  padding: 5px;
  z-index: 320;
}

.nf-page-catalog .catalog-sort .nf-select-option {
  width: 100%;
  border-radius: var(--nf-cat-ctrl-radius-inner);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 450;
  color: var(--nf-cat-text-strong);
  text-align: left;
  transition: background-color var(--nf-cat-transition), color var(--nf-cat-transition);
}

.nf-page-catalog .catalog-sort .nf-select-option + .nf-select-option {
  margin-top: 2px;
}

.nf-page-catalog .catalog-sort .nf-select-option:hover {
  background: var(--nf-cat-fill-hover);
}

.nf-page-catalog .catalog-sort .nf-select-option:focus {
  outline: none;
  background: var(--nf-cat-fill-hover);
}

.nf-page-catalog .catalog-sort .nf-select-option:focus-visible {
  background: var(--nf-cat-fill-hover);
  box-shadow: inset 0 0 0 1px rgba(var(--nf-accent-rgb), 0.35);
}

.nf-page-catalog .catalog-sort .nf-select-option.is-active {
  background: var(--nf-cat-fill-selected);
  color: var(--nf-color-accent-contrast);
  font-weight: 550;
}

.nf-page-catalog .catalog-view-toggle {
  height: var(--nf-cat-ctrl-h);
  min-height: var(--nf-cat-ctrl-h);
  padding: 3px;
  gap: 2px;
  border-radius: var(--nf-cat-ctrl-radius);
  border: 1px solid var(--nf-cat-border);
  background: var(--nf-cat-surface-muted);
  box-shadow: var(--nf-cat-shadow);
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn {
  width: 36px;
  min-width: 36px;
  height: calc(var(--nf-cat-ctrl-h) - 6px);
  border-radius: var(--nf-cat-ctrl-radius-inner);
  border: none;
  background: transparent;
  color: var(--nf-color-muted);
  padding: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--nf-cat-transition),
    color var(--nf-cat-transition),
    box-shadow var(--nf-cat-transition);
  transform: none;
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn:hover {
  background: rgba(var(--nf-accent-rgb), 0.07);
  color: var(--nf-color-accent-contrast);
  transform: none;
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn:active {
  transform: none;
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn.is-active,
.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn.nf-view-switch-btn-active {
  background: var(--nf-cat-segment-active);
  color: var(--nf-color-accent-contrast);
  box-shadow: inset 0 0 0 1px rgba(var(--nf-accent-rgb), 0.24);
}

.nf-page-catalog .catalog-view-toggle .nf-view-switch-btn:focus-visible {
  outline: none;
  box-shadow: var(--nf-cat-focus-ring);
}

@media (max-width: 1024px) {
  .nf-page-catalog .catalog-sort {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nf-page-catalog .catalog-toolbar {
    gap: 10px;
    margin-bottom: 0;
    padding: 0;
  }

  .nf-page-catalog .catalog-sort {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px;
    gap: 10px;
    height: auto;
    min-height: var(--nf-cat-ctrl-h);
  }

  .nf-page-catalog .catalog-sort__label {
    display: none;
  }

  .nf-page-catalog .catalog-sort .nf-select-display {
    margin: 2px;
    min-height: 40px;
    padding: 8px 36px 8px 6px;
    font-size: 14px;
  }

  .nf-page-catalog .catalog-filter-toggle {
    flex: 0 0 auto;
    padding-inline: 12px 12px;
  }

  .nf-page-catalog .catalog-view-toggle {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .nf-page-catalog .catalog-toolbar {
    margin-bottom: 0;
    padding: 0;
  }

  .nf-page-catalog .catalog-sort {
    max-width: none;
  }

  .nf-page-catalog .catalog-sort .nf-select-menu {
    min-width: min(300px, calc(100vw - 28px));
  }
}

.nf-catalog-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.nf-catalog-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-catalog-controls-primary.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nf-filters-toggle,
.nf-sort-control .nf-select,
.nf-sort-control .nf-select-display,
.nf-view-switch-btn {
  min-height: 42px;
  border-radius: 12px;
}

.nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
  max-width: min(var(--nf-page-container-wide-max), calc(100vw - 24px));
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(200px, 228px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding-inline: clamp(10px, 1.5vw, 20px);
}

.nf-page-catalog .nf-filters {
  top: 96px;
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  box-shadow: 0 18px 42px rgba(var(--nf-graphite-rgb), 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 10px;
}

.nf-page-catalog .nf-filters-header h2 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--nf-color-text-primary);
}

.nf-page-catalog .nf-filters .nf-filter-block {
  min-width: 0;
  margin: 0;
}

.nf-page-catalog .nf-filters .nf-filter-label {
  display: flex;
  align-items: flex-end;
  line-height: 1.22;
  min-height: 2.45em;
  margin-bottom: 6px;
}

.nf-page-catalog .nf-filters .nf-select-shell {
  position: relative;
  max-width: 100%;
}

.nf-page-catalog .nf-filters .nf-select-display {
  max-width: 100%;
  min-height: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-page-catalog .nf-filters .nf-select-menu {
  left: 0;
  right: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.nf-page-catalog .nf-filters .nf-select-option {
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-page-catalog .nf-filters .nf-input {
  min-height: 44px;
}

.nf-page-catalog #filtersResetBtn.nf-btn {
  margin-top: 4px !important;
  width: 100%;
  min-height: 42px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  padding-inline: 14px;
  border-radius: 12px;
}

.nf-page-catalog .nf-catalog-main {
  min-width: 0;
  width: 100%;
  max-width: none;
}

.nf-page-catalog .nf-catalog-toolbar.catalog-toolbar {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(var(--nf-graphite-rgb), 0.07);
}

.nf-page-catalog .nf-catalog-count {
  font-size: 14px;
  font-weight: 640;
  color: var(--nf-color-text-primary);
}

.nf-page-catalog .nf-catalog-controls {
  align-items: center;
  gap: 10px;
}

.nf-page-catalog .nf-catalog-controls-primary.catalog-sort {
  align-items: center;
  gap: 10px;
}

.nf-page-catalog .nf-filters-toggle,
.nf-page-catalog .nf-sort-control .nf-select-display,
.nf-page-catalog .nf-sort-control .nf-select {
  min-height: 44px;
  border-radius: 12px;
}

.nf-page-catalog .nf-sort-control {
  min-width: 240px;
}

@media (max-width: 1490px) {
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
    max-width: min(var(--nf-page-container-wide-max), calc(100vw - 24px));
    grid-template-columns: minmax(188px, 216px) minmax(0, 1fr);
    gap: clamp(14px, 1.8vw, 20px);
  }
}

@media (max-width: 1240px) {
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
    grid-template-columns: minmax(188px, 220px) minmax(0, 1fr);
    gap: clamp(14px, 1.8vw, 20px);
  }

  .nf-page-catalog .nf-sort-control {
    min-width: 210px;
  }
}

@media (max-width: 980px) {
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: calc(100vw - 16px);
    padding-inline: 0;
  }

  .nf-page-catalog .nf-filters {
    position: static;
  }

  .nf-page-catalog .nf-catalog-toolbar.catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nf-page-catalog .nf-catalog-controls,
  .nf-page-catalog .nf-catalog-controls-primary.catalog-sort {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


.nf-page-catalog .nf-catalog-toolbar.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.nf-page-catalog .nf-catalog-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-wrap: nowrap;
}

.nf-page-catalog .nf-catalog-controls-primary.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nf-page-catalog .nf-filters-toggle,
.nf-page-catalog .nf-sort-control .nf-select-display,
.nf-page-catalog .nf-sort-control .nf-select {
  min-height: 42px;
}

.nf-page-catalog .nf-sort-control {
  min-width: 220px;
}


/* ── List mode container ─────────────────────────────────────────── */

.nf-page-catalog #catalogProducts.nf-products-list,
.nf-page-catalog #catalogProducts.nf-products-list-mode {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}

/*
 * ── List card: compact procurement-row layout ───────────────────
 * [ 96px image ] [ badge · title · brand/category ] [ price · actions ]
 * Target max-height: 120–140px
 */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) minmax(180px, 210px);
  align-items: center;
  column-gap: 16px;
  row-gap: 0;
  padding: 12px 16px 12px 12px !important;
  min-height: 0;
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.07);
  background: var(--nf-color-surface, #fff);
  /* inset 3px 0 0 transparent reserves the left accent slot without shifting layout */
  box-shadow: 0 1px 3px rgba(var(--nf-graphite-rgb), 0.05), inset 3px 0 0 transparent;
  transition: border-color 0.18s ease, box-shadow 0.22s ease, background 0.18s ease;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog:hover,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.18);
  background: rgba(var(--nf-accent-rgb), 0.022);
  box-shadow:
    0 1px 3px rgba(var(--nf-graphite-rgb), 0.06),
    0 6px 20px rgba(var(--nf-graphite-rgb), 0.08),
    inset 3px 0 0 var(--nf-color-accent, #4da0a9);
}

/* ── Thumb: 96×96 ───────────────────────────────────────────────── */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb {
  margin: 0;
  align-self: center;
  width: 96px;
  height: 96px;
  max-width: none;
  min-height: 0;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--nf-color-accent-soft) 0%, rgba(var(--nf-graphite-rgb), 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb-inner,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb-inner {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 7px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb-inner img,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb-inner img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ── Body: title + meta ─────────────────────────────────────────── */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-body,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-body {
  margin: 0;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-popular-title-block,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-popular-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-popular-badge-wrap,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-popular-badge-wrap {
  margin: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-title,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 660;
  letter-spacing: -0.018em;
  color: var(--nf-color-text-primary);
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-meta-row,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-meta-row {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  align-items: center;
  min-width: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-meta,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-meta {
  font-size: 12px;
  line-height: 1.35;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  white-space: normal;
  word-break: break-word;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-meta--brand,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-meta--brand {
  font-weight: 600;
  color: var(--nf-color-accent-contrast);
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-meta--category,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-meta--category {
  color: var(--nf-color-muted);
  font-weight: 500;
}

/* ── CTA column: price + actions — no box, hairline separator ───── */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog > .nf-product-footer,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog > .nf-product-footer {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer-main,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 6px 0 6px 16px;
  border-left: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: transparent;
  border-radius: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
}

/* Price */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer .nf-price,
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer .nf-price-muted,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer .nf-price,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer .nf-price-muted {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.018em;
  color: var(--nf-color-text-primary);
  text-align: left;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer .nf-price-muted,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer .nf-price-muted {
  /* "Цена по запросу" — give it B2B authority, not grey whisper */
  color: var(--nf-color-accent-contrast, #2d6b72);
  font-weight: 620;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

/* Actions: primary stacked over secondary */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  width: 100%;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn {
  flex: 0 0 auto;
  width: 100%;
  min-height: 32px;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* Ghost "Подробнее" — quieter than primary, link-weight feel */
.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn-ghost,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn-ghost {
  min-height: 26px;
  font-size: 12px;
  opacity: 0.72;
  letter-spacing: 0;
}

.nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn-ghost:hover,
.nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn-ghost:hover {
  opacity: 1;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog {
    grid-template-columns: 88px minmax(0, 1fr) minmax(168px, 196px);
    column-gap: 14px;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 980px) {
  .nf-page-catalog .nf-catalog-toolbar.catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .nf-page-catalog .nf-catalog-controls {
    justify-self: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nf-page-catalog .nf-catalog-controls-primary.catalog-sort {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nf-page-catalog .nf-sort-control {
    min-width: 180px;
    width: 100%;
  }

  /* At 980px: drop to 2-column, footer spans full width */
  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog {
    grid-template-columns: 80px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 10px;
    column-gap: 12px;
    padding: 12px !important;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb {
    width: 80px;
    height: 80px;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog > .nf-product-footer,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog > .nf-product-footer {
    grid-column: 1 / -1;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer-main,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 0 0;
    border-left: none;
    border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer .nf-price,
  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer .nf-price-muted,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer .nf-price,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer .nf-price-muted {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-end;
    gap: 6px;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 34px;
  }

  /* Restore ghost opacity at ≤980px since it's in a row */
  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn-ghost,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn-ghost {
    min-height: 34px;
    opacity: 0.82;
  }
}

@media (max-width: 560px) {
  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 10px !important;
    gap: 10px;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-thumb,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-thumb {
    width: 72px;
    height: 72px;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-footer-main,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-footer-main {
    flex-direction: column;
    align-items: stretch;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions {
    flex-direction: row;
  }

  .nf-page-catalog #catalogProducts.nf-products-list .nf-product-card--catalog .nf-product-actions .nf-btn,
  .nf-page-catalog #catalogProducts.nf-products-list-mode .nf-product-card--catalog .nf-product-actions .nf-btn {
    flex: 1 1 0;
    width: auto;
  }
}

.nf-popular__track--marquee.nf-popular__track--paused {
  animation-play-state: paused;
}

@keyframes nf-popular-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--nf-marquee-shift)), 0, 0);
  }
}

.nf-popular__viewport--scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}


.nf-popular__viewport--carousel.nf-popular__viewport--scroll {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  touch-action: pan-x !important;
  cursor: grab;
}

.nf-popular__viewport--carousel.nf-popular__viewport--scroll:active {
  cursor: grabbing;
}

.nf-popular__track--scroll {
  animation: none !important;
}

.nf-popular__track--scroll .nf-product-card--popular {
  scroll-snap-align: start;
}


.nf-backdrop {
  transition: opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-cart-panel {
  transition: transform var(--nf-motion-duration-slow) var(--nf-motion-ease-enter);
}

.nf-modal {
  transition:
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    visibility 0s linear var(--nf-motion-duration-base);
}

.nf-modal:not(.nf-modal-visible) {
  visibility: hidden;
}

.nf-modal.nf-modal-visible {
  visibility: visible;
  transition:
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    visibility 0s;
}

.nf-backdrop:not(.nf-backdrop-visible) {
  visibility: hidden;
}

.nf-backdrop.nf-backdrop-visible {
  visibility: visible;
  transition:
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    visibility 0s;
}

@media (min-width: 769px) {
  #productModal .nf-modal-inner,
  #quickQuoteModal .nf-modal-inner,
  #newsModal .nf-modal-inner {
    transition:
      opacity var(--nf-motion-duration-slow) var(--nf-motion-ease-enter),
      transform var(--nf-motion-duration-slow) var(--nf-motion-ease-enter);
  }

  #productModal:not(.nf-modal-visible) .nf-modal-inner,
  #quickQuoteModal:not(.nf-modal-visible) .nf-modal-inner,
  #newsModal:not(.nf-modal-visible) .nf-modal-inner {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.965);
  }

  #productModal.nf-modal-visible .nf-modal-inner,
  #quickQuoteModal.nf-modal-visible .nf-modal-inner,
  #newsModal.nf-modal-visible .nf-modal-inner {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 768px) {
  #partnerModal {
    transition:
      transform var(--nf-motion-duration-slow) var(--nf-motion-ease-enter),
      opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
  }

  #newsModal {
    transition: opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
  }
}


@media (max-width: 1024px) {
  .nf-mobile-menu__backdrop {
    transition: opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
  }

  .nf-mobile-menu__panel {
    transition: transform var(--nf-motion-duration-slow) var(--nf-motion-ease-enter);
  }

  .nf-mobile-menu {
    transition:
      opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
      visibility 0s linear var(--nf-motion-duration-base);
  }

  .nf-mobile-menu.nf-mobile-menu--open {
    transition: opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
  }
}


.nf-tab.nf-tab-active,
.nf-contacts-info-panel.nf-tab-active,
.nf-legal-panel.nf-tab-active {
  animation: nf-tab-panel-in var(--nf-motion-duration-slow) var(--nf-motion-ease-enter);
}

@keyframes nf-tab-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


.nf-input,
textarea.nf-input,
.nf-textarea,
.nf-form textarea,
.nf-form input:not([type="hidden"]) {
  transition:
    border-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    background-color var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-input:focus,
.nf-textarea:focus,
.nf-form textarea:focus,
.nf-form input:focus {
  box-shadow: var(--nf-focus);
}


.nf-select-display::after {
  transition: transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-select-shell.is-open .nf-select-display::after {
  transform: translateY(-50%) rotate(180deg);
}

.nf-home-link-secondary {
  transition:
    color var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-home-link-secondary__arrow {
  display: inline-block;
  transition: transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {
  transform: translateX(2px);
}

.nf-feature-panel {
  transition:
    transform var(--nf-motion-duration-base) var(--nf-motion-ease-standard),
    box-shadow var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-feature-panel:hover {
  transform: translate3d(0, -2px, 0);
}


.nf-product-page-main-image img {
  transition: opacity var(--nf-motion-duration-base) var(--nf-motion-ease-standard);
}

.nf-product-page-main-image img.nf-product-img-swapping {
  opacity: 0.65;
}

.nf-pdp-media-img {
  transition: opacity 0.25s ease-in-out;
}

.nf-pdp-media-img.nf-product-img-swapping {
  opacity: 0.72;
}


.nf-page-catalog .nf-sort-control,
.nf-page-catalog .nf-sort-control .nf-select-shell,
.nf-page-catalog .nf-sort-control .nf-select-display {
  white-space: nowrap;
}

.nf-page-catalog .nf-sort-control .nf-select-display {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 240px;
}

.nf-page-catalog .nf-sort-control-label {
  white-space: nowrap;
}


@media (min-width: 1025px) {
  .nf-page-catalog .nf-catalog-layout.is-filters-collapsed {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .nf-page-catalog .nf-catalog-layout.is-filters-collapsed .nf-filters {
    display: none !important;
  }

  .nf-page-catalog .nf-catalog-layout.is-filters-collapsed .nf-catalog-main {
    width: 100%;
    max-width: 100%;
  }

  /* При скрытых фильтрах товарная сетка расширяется и пересобирается */
  .nf-page-catalog
    .nf-catalog-layout.is-filters-collapsed
    #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list-mode):not(.nf-products-large) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 2.4vw, 32px);
  }
}

@media (min-width: 1025px) and (max-width: 1380px) {
  .nf-page-catalog
    .nf-catalog-layout.is-filters-collapsed
    #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list-mode):not(.nf-products-large) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.nf-page-catalog .nf-catalog-main,
.nf-page-catalog .nf-catalog-toolbar,
.nf-page-catalog .nf-catalog-controls,
.nf-page-catalog .nf-catalog-controls-primary.catalog-sort,
.nf-page-catalog .nf-sort-control,
.nf-page-catalog .nf-sort-control .nf-select-shell {
  overflow: visible !important;
}

.nf-page-catalog .nf-sort-control {
  min-width: clamp(260px, 24vw, 340px);
  max-width: 360px;
}

.nf-page-catalog .nf-sort-control .nf-select-shell {
  width: 100%;
  min-width: 0;
}

.nf-page-catalog .nf-sort-control .nf-select-display {
  width: 100%;
  min-height: 42px;
  padding: 0 40px 0 14px;
  display: flex;
  align-items: center;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nf-page-catalog .nf-sort-control .nf-select-display::after {
  right: 12px;
}

.nf-page-catalog .nf-sort-control .nf-select-menu {
  left: 0 !important;
  right: auto !important;
  top: calc(100% + 8px);
  min-width: 100%;
  width: max-content;
  max-width: min(420px, calc(100vw - 28px));
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.12);
  box-shadow: 0 16px 34px rgba(var(--nf-graphite-rgb), 0.14);
  padding: 6px;
  overflow-x: hidden;
}

.nf-page-catalog .nf-sort-control .nf-select-option {
  min-height: 38px;
  padding: 8px 10px;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}


.nf-page-catalog .nf-sort-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(320px, 100%);
  min-width: 0;
  max-width: 320px;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  background: var(--nf-color-surface);
  box-shadow: 0 6px 16px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-page-catalog .nf-sort-control-label {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--nf-color-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nf-page-catalog .nf-sort-control .nf-select-shell {
  display: block !important;
  position: static;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
}

.nf-page-catalog .nf-sort-control .nf-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.nf-page-catalog .nf-sort-control .nf-select-display {
  min-height: 44px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--nf-color-text-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 0 30px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nf-page-catalog .nf-sort-control .nf-select-display::after {
  right: 8px;
}

.nf-page-catalog .nf-sort-control:focus-within {
  border-color: rgba(var(--nf-accent-rgb), 0.54);
  box-shadow: 0 0 0 4px rgba(var(--nf-accent-rgb), 0.16);
}

.nf-page-catalog .nf-sort-control .nf-select-menu {
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  box-shadow: 0 12px 28px rgba(var(--nf-graphite-rgb), 0.12);
  padding: 6px;
  background: var(--nf-color-surface);
  overflow: hidden;
}

.nf-page-catalog .nf-sort-control .nf-select-option {
  min-height: 40px;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px 10px;
}

.nf-page-catalog .nf-sort-control .nf-select-option:hover {
  background: rgba(var(--nf-accent-rgb), 0.12);
}

.nf-page-catalog .nf-sort-control .nf-select-option.is-active {
  background: rgba(var(--nf-accent-rgb), 0.18);
  font-weight: 600;
}

@media (max-width: 980px) {
  .nf-page-catalog .nf-sort-control {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}


.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list):not(.nf-products-list-mode) .nf-product-card--catalog,
.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-grid-mode .nf-product-card--catalog {
  border-radius: 20px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.18);
  background: linear-gradient(180deg, var(--nf-color-surface) 0%, var(--nf-color-surface-subtle) 100%);
  box-shadow:
    0 10px 24px rgba(var(--nf-graphite-rgb), 0.07),
    0 2px 8px rgba(var(--nf-graphite-rgb), 0.04);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list):not(.nf-products-list-mode) .nf-product-card--catalog:hover,
.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-grid-mode .nf-product-card--catalog:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  box-shadow:
    0 18px 34px rgba(var(--nf-graphite-rgb), 0.12),
    0 8px 16px rgba(var(--nf-graphite-rgb), 0.06);
}


.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list):not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular),
.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-grid-mode
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular) {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--nf-color-surface-subtle) 0%, var(--nf-color-accent-soft) 100%);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  cursor: pointer;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list):not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular)
  .nf-product-thumb-inner,
.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-grid-mode
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular)
  .nf-product-thumb-inner {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.09);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid:not(.nf-products-list):not(.nf-products-list-mode)
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular)
  .nf-product-thumb-inner
  img,
.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid.nf-products-grid-mode
  .nf-product-card--catalog
  .nf-product-thumb:not(.nf-product-thumb--popular)
  .nf-product-thumb-inner
  img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-body {
  padding: 12px 14px 8px;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-popular-badge-wrap {
  margin-bottom: 7px;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-popular-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.32);
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-accent-contrast);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-card--catalog .nf-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-title {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.36;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-width: 0;
}

.nf-page-catalog #catalogProducts .nf-product-card--catalog .nf-product-meta-row .nf-product-meta {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-meta--brand {
  color: var(--nf-color-muted);
  font-weight: 600;
  font-size: 12px;
}

.nf-page-catalog #catalogProducts.nf-products-grid.nf-catalog-grid .nf-product-meta--category {
  color: var(--nf-color-muted);
  font-weight: 500;
  font-size: 11.5px;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular) {
  padding: 10px 14px 14px;
  display: grid;
  gap: 10px;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-price,
.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-price-muted {
  margin: 0;
  padding-top: 2px;
  font-size: 15px;
  line-height: 1.3;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-price {
  color: var(--nf-color-text-primary);
  font-weight: 800;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-price-muted {
  color: var(--nf-color-muted);
  font-weight: 600;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-product-actions {
  margin-top: 0;
  gap: 8px;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-product-actions
  .nf-btn {
  min-height: 38px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 650;
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-product-actions
  .nf-btn-secondary {
  border-color: rgba(var(--nf-line-rgb), 0.42);
  color: var(--nf-color-text-strong);
  background: var(--nf-color-surface-subtle);
}

.nf-page-catalog
  #catalogProducts.nf-products-grid.nf-catalog-grid
  .nf-product-footer:not(.nf-product-footer--popular)
  .nf-product-actions
  .nf-btn-secondary:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.46);
  background: var(--nf-color-accent-soft);
}


.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}


@media (prefers-reduced-motion: reduce) {
  .nf-vp-reveal:not(.is-visible),
  .nf-enter:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }

  .nf-vp-reveal.is-visible,
  .nf-enter.is-visible {
    transition: none !important;
  }

  #page-root.nf-page-leave,
  #page-root.nf-page-enter,
  #page-root.nf-page-enter--ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nf-nav-indicator {
    transition: none !important;
    box-shadow: none !important;
  }

  .nf-btn:not(:disabled):hover,
  .nf-btn:not(:disabled):active,
  .nf-cta:hover,
  .nf-cta:active,
  .nf-popular__nav-btn:hover,
  .nf-product-card--catalog:hover,
  .nf-popular .nf-product-card--popular:hover,
  .nf-feature-panel:hover {
    transform: none;
  }

  .nf-popular__track--marquee {
    animation: none !important;
  }

  .nf-tab.nf-tab-active,
  .nf-contacts-info-panel.nf-tab-active,
  .nf-legal-panel.nf-tab-active {
    animation: none;
  }
}





.nf-pdp {
  --nf-pdp-radius: var(--nf-radius-card);
  --nf-pdp-radius-sm: var(--nf-radius-sm);
  --nf-pdp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nf-pdp-t: 0.28s;
  --nf-pdp-t-fast: 0.2s;
  --nf-pdp-text: var(--nf-color-text-primary);
  --nf-pdp-muted: var(--nf-color-muted);
  --nf-pdp-border: rgba(var(--nf-graphite-rgb), 0.09);
  --nf-pdp-surface: var(--nf-color-surface-subtle);
  --nf-pdp-accent: #6aa79f;
  --nf-accent-rgb: 106, 167, 159;
  --nf-color-accent: var(--nf-pdp-accent);
  --nf-color-accent-contrast: #2f5c56;
  --nf-shadow-pdp: 0 1px 2px rgba(var(--nf-graphite-rgb), 0.04), 0 12px 36px rgba(var(--nf-graphite-rgb), 0.06);
  --nf-shadow-pdp-hover: 0 2px 4px rgba(var(--nf-graphite-rgb), 0.05), 0 18px 44px rgba(var(--nf-graphite-rgb), 0.09);
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
  padding: 0 var(--nf-page-container-padding-inline) 48px;
  padding-bottom: max(48px, env(safe-area-inset-bottom));
}

@media (max-width: 899px) {
  .nf-pdp {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

.nf-pdp-toolbar {
  margin-bottom: 20px;
}

.nf-pdp-back {
  border: none;
  background: transparent;
  padding: 6px 12px;
  margin-left: -6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-primary-dark, var(--nf-color-accent-contrast));
  cursor: pointer;
  transition: background-color var(--nf-pdp-t) var(--nf-pdp-ease), color var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-back:hover {
  background: rgba(var(--nf-accent-rgb), 0.12);
}

/* Sticky in-page section nav */
.nf-pdp-subnav {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0 calc(-1 * var(--nf-page-container-padding-inline, 16px)) 24px;
  padding: 10px var(--nf-page-container-padding-inline, 16px);
  background: color-mix(in srgb, var(--nf-color-surface-alt) 92%, transparent);
  border-bottom: 1px solid var(--nf-pdp-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nf-pdp-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
}

.nf-pdp-subnav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nf-color-text-tertiary);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    background-color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    border-color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp-subnav-link:hover {
  color: var(--nf-pdp-text);
  background: rgba(var(--nf-accent-rgb), 0.08);
}

.nf-pdp-subnav-link--active {
  color: var(--nf-color-accent-contrast);
  background: rgba(var(--nf-accent-rgb), 0.14);
  border-color: rgba(var(--nf-accent-rgb), 0.28);
}

.nf-pdp-hero.nf-pdp-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--nf-pdp-border);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.nf-pdp-gallery-col {
  min-width: 0;
}

.nf-pdp-gallery-sticky {
  position: sticky;
  top: calc(12px + env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
}

.nf-pdp-gallery--product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.nf-pdp-gallery--product.nf-pdp-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.nf-pdp-quick-card {
  border-radius: var(--nf-pdp-radius);
  border: 1px solid var(--nf-pdp-border);
  background: var(--nf-color-surface);
  padding: 18px 18px 16px;
  box-shadow: var(--nf-shadow-pdp);
  transition: box-shadow var(--nf-pdp-t) var(--nf-pdp-ease), border-color var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-quick-card:hover {
  box-shadow: var(--nf-shadow-pdp-hover);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-pdp-quick-card-head {
  margin-bottom: 12px;
}

.nf-pdp-quick-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-pdp-text);
}

.nf-pdp-quick-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-pdp-quick-spec {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-pdp-quick-spec:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.nf-pdp-quick-spec-k {
  color: var(--nf-color-text-tertiary);
  font-weight: 500;
}

.nf-pdp-quick-spec-v {
  color: var(--nf-pdp-text);
  font-weight: 600;
  text-align: right;
}

.nf-pdp-quick-spec-full {
  grid-column: 1 / -1;
  color: var(--nf-color-text-secondary);
  font-weight: 500;
}

.nf-pdp-trust-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--nf-pdp-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-pdp-trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-trust-icon {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(var(--nf-accent-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.15);
}

.nf-pdp-info-col,
.nf-pdp-buy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

.nf-pdp-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nf-pdp-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-color-text-tertiary);
  background: rgba(var(--nf-graphite-rgb), 0.04);
  border: 1px solid var(--nf-pdp-border);
}

.nf-pdp-eyebrow-tag--accent {
  color: var(--nf-color-accent-contrast);
  background: rgba(var(--nf-accent-rgb), 0.12);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-pdp-eyebrow-tag[hidden],
.nf-pdp-meta-sku:empty {
  display: none !important;
}

.nf-pdp-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.nf-pdp-meta-sku {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nf-pdp-status--stock {
  color: var(--nf-color-accent-contrast);
  background: rgba(var(--nf-accent-rgb), 0.15);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.28);
}

.nf-pdp-status--order {
  color: var(--nf-color-text-secondary);
  background: rgba(var(--nf-graphite-rgb), 0.05);
  border: 1px solid var(--nf-pdp-border);
}

.nf-pdp-brand-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-commerce-card {
  margin-top: 4px;
  padding: 18px;
  border-radius: var(--nf-pdp-radius);
  border: 1px solid var(--nf-pdp-border);
  background: linear-gradient(
    165deg,
    rgba(var(--nf-accent-rgb), 0.06) 0%,
    var(--nf-color-surface) 42%
  );
  box-shadow: var(--nf-shadow-pdp);
}

.nf-pdp-commerce--card-inner {
  border-top: none;
  border-bottom: none;
  padding: 0;
}

.nf-pdp-actions--hero {
  margin-top: 16px;
}

.nf-pdp-actions--hero .nf-btn-primary {
  transition:
    transform var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    background-color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp-actions--hero .nf-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(var(--nf-accent-rgb), 0.28);
}

.nf-pdp-actions--hero .nf-btn-secondary:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  background: rgba(var(--nf-accent-rgb), 0.06);
}

.nf-pdp-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--nf-color-accent-contrast);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--nf-pdp-t) var(--nf-pdp-ease),
    transform var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-media-stage:hover .nf-pdp-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.nf-pdp-main {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}

.nf-pdp-content-section {
  scroll-margin-top: 96px;
}

.nf-pdp-section-head {
  margin-bottom: 16px;
}

.nf-pdp-section-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--nf-pdp-text);
}

.nf-pdp-prose .nf-pdp-prose-p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-prose .nf-pdp-prose-p:last-child {
  margin-bottom: 0;
}

.nf-pdp-prose-muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-spec-card {
  border-radius: var(--nf-pdp-radius);
  border: 1px solid var(--nf-pdp-border);
  background: var(--nf-color-surface);
  padding: 8px 0;
  box-shadow: var(--nf-shadow-pdp);
}

.nf-pdp-spec-table {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-pdp-spec-row {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-pdp-spec-row:last-child {
  border-bottom: none;
}

.nf-pdp-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nf-pdp-docs-item {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  border: 1px solid var(--nf-pdp-border);
  background: var(--nf-color-surface-subtle);
  font-size: 14px;
  font-weight: 500;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-docs-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 3px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.35);
  background: rgba(var(--nf-accent-rgb), 0.1);
}

.nf-pdp-mobile-cta {
  display: none;
}

@media (max-width: 899px) {
  .nf-pdp-gallery-sticky {
    position: relative;
    top: auto;
  }

  .nf-pdp-gallery--product {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-pdp-thumbs--vertical {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nf-pdp-subnav-link {
    font-size: 12px;
    padding: 6px 10px;
  }

  .nf-pdp-mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--nf-color-surface-alt) 94%, transparent);
    border-top: 1px solid var(--nf-pdp-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -16px 40px rgba(var(--nf-graphite-rgb), 0.08);
  }

  .nf-pdp-mobile-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
    max-width: var(--nf-page-container-max);
    margin: 0 auto;
  }

  .nf-pdp-mobile-cta-main.nf-btn {
    min-height: 48px;
    font-weight: 700;
  }

  .nf-pdp-mobile-cta-secondary.nf-btn {
    min-height: 48px;
    padding-inline: 16px;
    white-space: nowrap;
  }
}

/* ========== PDP v3 — premium solution page ========== */

.nf-pdp--v3.nf-pdp {
  padding-top: 8px;
}

.nf-pdp--v3 .nf-pdp-component-product-hero {
  padding-bottom: clamp(18px, 2.4vw, 26px);
  margin-bottom: clamp(8px, 2vw, 16px);
  border-bottom: 1px solid var(--nf-pdp-border);
}

.nf-pdp--v3 .nf-pdp-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 12px;
  align-items: start;
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 22px;
  border: 1px solid var(--nf-pdp-border);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(var(--nf-accent-rgb), 0.05) 24%,
    rgba(255, 255, 255, 0.98) 100%
  );
  box-shadow:
    0 16px 38px rgba(var(--nf-graphite-rgb), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.nf-pdp--v3 .nf-pdp-hero-media,
.nf-pdp--v3 .nf-pdp-product-hero-content {
  min-width: 0;
  align-self: start;
}

.nf-pdp--v3 .nf-pdp-product-hero-media .nf-pdp-gallery-sticky {
  position: relative;
  top: auto;
  gap: 8px;
}

.nf-pdp--v3 .nf-pdp-gallery--product {
  gap: 10px;
}

.nf-pdp--v3 .nf-pdp-thumbs--vertical {
  gap: 8px;
}

.nf-pdp--v3 .nf-pdp-thumbs--vertical .nf-pdp-thumb {
  width: 48px;
  height: 48px;
}

.nf-pdp--v3 .nf-pdp-media-glass .nf-pdp-media-frame {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(247, 251, 250, 0.92) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    var(--nf-shadow-pdp),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.nf-pdp--v3 .nf-pdp-media-frame {
  aspect-ratio: 4 / 3;
  min-height: 340px;
  max-height: 420px;
  border-radius: 16px;
}

.nf-pdp--v3 .nf-pdp-product-hero-media .nf-pdp-media-stage {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-pdp--v3 .nf-pdp-product-hero-media .nf-pdp-media-imgwrap {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nf-pdp--v3 .nf-pdp-product-hero-media .nf-pdp-media-img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}

.nf-pdp--v3 .nf-pdp-hero-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: none;
}

.nf-pdp--v3 .nf-pdp-product-hero-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-product-hero-actions {
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-product-hero-content {
  align-self: center;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .nf-pdp--v3 .nf-pdp-hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 10px;
  }

  .nf-pdp--v3 .nf-pdp-media-frame {
    min-height: 300px;
    max-height: 380px;
  }
}

.nf-pdp--v3 .nf-pdp-hero-kicker {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.52);
}

.nf-pdp--v3 .nf-pdp-hero-title.nf-pdp-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.08rem);
  font-weight: 740;
  letter-spacing: -0.032em;
  line-height: 1.12;
  color: var(--nf-color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-pdp--v3 .nf-pdp-hero-vp {
  margin: 2px 0 0;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.45;
  color: var(--nf-color-text-secondary);
  max-width: 40rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-pdp--v3 .nf-pdp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 7px;
}

.nf-pdp--v3 .nf-pdp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid var(--nf-pdp-border);
  background: rgba(var(--nf-graphite-rgb), 0.03);
  transition:
    transform var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    border-color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp--v3 .nf-pdp-badge:hover {
  transform: translateY(-1px);
}

.nf-pdp--v3 .nf-pdp-badge--cert {
  border-color: rgba(var(--nf-accent-rgb), 0.35);
  background: rgba(var(--nf-accent-rgb), 0.12);
  color: var(--nf-color-accent-contrast);
}

.nf-pdp--v3 .nf-pdp-badge--stock {
  color: var(--nf-color-accent-contrast);
  border-color: rgba(var(--nf-accent-rgb), 0.42);
  background: rgba(var(--nf-accent-rgb), 0.14);
}

.nf-pdp--v3 .nf-pdp-badge--order {
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-badge--med {
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-hero-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-hero-spec-cell {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 7px;
  padding: 8px 9px;
  border-radius: 11px;
  border: 1px solid var(--nf-pdp-border);
  background: rgba(var(--nf-graphite-rgb), 0.016);
  transition:
    transform var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    border-color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp--v3 .nf-pdp-hero-spec-cell:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--nf-accent-rgb), 0.35);
  box-shadow: 0 8px 20px rgba(var(--nf-graphite-rgb), 0.05);
}

.nf-pdp--v3 .nf-pdp-hero-spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--nf-accent-rgb), 0.11);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-hero-spec-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp--v3 .nf-pdp-hero-spec-value {
  grid-column: 2;
  font-size: 11px;
  font-weight: 650;
  color: var(--nf-pdp-text);
  line-height: 1.27;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-hero-commerce {
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  border-color: rgba(var(--nf-accent-rgb), 0.2);
  background: linear-gradient(160deg, rgba(var(--nf-accent-rgb), 0.1), rgba(255, 255, 255, 0.96));
  box-shadow: 0 12px 30px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-commerce {
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  padding: 0 0 12px;
  border-top: none;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-prices {
  text-align: left;
  min-width: 0;
  flex: 1 1 200px;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-price-unit {
  font-size: 12px;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-price-total {
  font-size: 15px;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-qty-block {
  gap: 7px;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-qty-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-qty button {
  width: 36px;
  height: 36px;
}

.nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-qty input {
  width: 40px;
  font-size: 14px;
}

.nf-pdp--v3 .nf-pdp-actions--hero {
  margin-top: 12px;
  gap: 9px;
}

.nf-pdp--v3 .nf-pdp-actions--hero .nf-btn {
  min-height: 44px;
  font-size: 13.5px;
  flex: 1 1 170px;
}

.nf-pdp--v3 .nf-pdp-meta-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  padding-top: 8px;
}

.nf-pdp--v3 .nf-pdp-meta-sku {
  font-size: 10px;
  letter-spacing: 0.06em;
}

.nf-pdp--v3 .nf-pdp-brand-inline {
  margin: 0;
  font-size: 11.5px;
  color: var(--nf-color-text-secondary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-hero-trust {
  margin: 7px 0 0;
  padding-top: 9px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.09);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp--v3 .nf-pdp-subnav {
  position: sticky;
  top: 0;
  z-index: 8;
  margin: 0 calc(-1 * var(--nf-page-container-padding-inline, 16px)) clamp(24px, 3vw, 36px);
  padding: 12px var(--nf-page-container-padding-inline, 16px);
  background: color-mix(in srgb, var(--nf-color-surface-alt) 94%, transparent);
  border-bottom: 1px solid var(--nf-pdp-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nf-pdp--v3 .nf-pdp-subnav-inner {
  gap: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.nf-pdp--v3 .nf-pdp-subnav-link {
  flex: 0 0 auto;
  padding: 10px 6px;
  margin: 0 clamp(10px, 2vw, 18px) 0 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp--v3 .nf-pdp-subnav-link:hover {
  color: var(--nf-pdp-text);
  background: transparent;
}

.nf-pdp--v3 .nf-pdp-subnav-link--active {
  color: var(--nf-pdp-text);
  border-bottom-color: rgba(var(--nf-accent-rgb), 0.88);
  background: transparent;
  border-color: transparent transparent rgba(var(--nf-accent-rgb), 0.88) transparent;
}

.nf-pdp--v3 .nf-pdp-main {
  gap: clamp(40px, 6vw, 72px);
}

.nf-pdp--v3 .nf-pdp-section {
  scroll-margin-top: 104px;
}

.nf-pdp--v3 .nf-pdp-section-head {
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.nf-pdp--v3 .nf-pdp-section-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.56);
}

.nf-pdp--v3 .nf-pdp-section-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  color: var(--nf-color-text-primary);
}

.nf-pdp--v3 .nf-pdp-callout {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 3px solid rgba(var(--nf-accent-rgb), 0.75);
  background: linear-gradient(105deg, rgba(var(--nf-accent-rgb), 0.11) 0%, rgba(var(--nf-graphite-rgb), 0.03) 100%);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-prose--rich .nf-pdp-prose-p {
  font-size: 15px;
  line-height: 1.75;
}

.nf-pdp--v3 .nf-pdp-prose-strong {
  color: var(--nf-pdp-text);
  font-weight: 650;
}

.nf-pdp--v3 .nf-pdp-specs-grid {
  container-type: inline-size;
}

.nf-pdp--v3 .nf-pdp-specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  align-items: start;
}

.nf-pdp--v3 .nf-pdp-specs-panel {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.1);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(var(--nf-accent-rgb), 0.04) 55%,
    rgba(255, 255, 255, 0.95) 100%
  );
  box-shadow:
    0 12px 28px rgba(var(--nf-graphite-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.nf-pdp--v3 .nf-pdp-specs-panel--engineering {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(var(--nf-graphite-rgb), 0.02) 100%
  );
}

.nf-pdp--v3 .nf-pdp-specs-panel-head {
  margin-bottom: 10px;
}

.nf-pdp--v3 .nf-pdp-specs-panel-title {
  margin: 0;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-pdp--v3 .nf-pdp-specs-panel-subtitle {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-specs-primary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nf-pdp--v3 .nf-pdp-spec-chip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.94);
  transition:
    transform var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    border-color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    background-color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp--v3 .nf-pdp-spec-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--nf-accent-rgb), 0.36);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-pdp--v3 .nf-pdp-spec-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-spec-chip-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-pdp--v3 .nf-pdp-spec-chip-label {
  font-size: 8px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp--v3 .nf-pdp-spec-chip-value {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 680;
  color: var(--nf-pdp-text);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-specs-engineering-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.nf-pdp--v3 .nf-pdp-spec-engineering-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.07);
  background: rgba(255, 255, 255, 0.86);
}

.nf-pdp--v3 .nf-pdp-spec-engineering-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: rgba(var(--nf-accent-rgb), 0.11);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-spec-engineering-text {
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--nf-color-text-secondary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-specs-empty {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(var(--nf-accent-rgb), 0.35);
  background: rgba(var(--nf-accent-rgb), 0.08);
  color: var(--nf-color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1200px) {
  .nf-pdp--v3 .nf-pdp-specs-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nf-pdp--v3 .nf-pdp-specs-primary-list {
    grid-template-columns: 1fr;
  }

  .nf-pdp--v3 .nf-pdp-specs-engineering-list {
    grid-template-columns: 1fr;
  }
}

.nf-pdp--v3 .nf-pdp-install-env {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .nf-pdp--v3 .nf-pdp-install-env {
    grid-template-columns: 1fr;
  }
}

.nf-pdp--v3 .nf-pdp-install-env-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--nf-pdp-border);
  background: rgba(var(--nf-graphite-rgb), 0.02);
}

.nf-pdp--v3 .nf-pdp-install-env-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--nf-color-text-primary);
}

.nf-pdp--v3 .nf-pdp-install-env-h-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(var(--nf-accent-rgb), 0.12);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-install-env-h-icon .nf-pdp-icon-svg {
  width: 16px;
  height: 16px;
}

.nf-pdp--v3 .nf-pdp-install-env-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 .nf-pdp-install-env-list.nf-pdp-install-feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-pdp--v3 .nf-pdp-install-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-install-feature__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 9px;
  background: rgba(var(--nf-accent-rgb), 0.1);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-install-feature__mark .nf-pdp-icon-svg {
  width: 16px;
  height: 16px;
}

.nf-pdp--v3 .nf-pdp-install-feature__text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-timeline-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 650;
  color: var(--nf-color-text-primary);
}

.nf-pdp--v3 .nf-pdp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-pdp--v3 .nf-pdp-timeline__content {
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-timeline__step {
  position: relative;
  padding: 0 0 26px 52px;
}

.nf-pdp--v3 .nf-pdp-timeline__step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(var(--nf-accent-rgb), 0.45) 0%,
    rgba(var(--nf-accent-rgb), 0.08) 100%
  );
}

.nf-pdp--v3 .nf-pdp-timeline__step:last-child {
  padding-bottom: 0;
}

.nf-pdp--v3 .nf-pdp-timeline__step:last-child::before {
  display: none;
}

.nf-pdp--v3 .nf-pdp-timeline__dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--nf-color-accent-contrast);
  background: rgba(var(--nf-accent-rgb), 0.22);
  border: 2px solid rgba(var(--nf-accent-rgb), 0.55);
  box-shadow: 0 4px 14px rgba(var(--nf-accent-rgb), 0.18);
}

.nf-pdp--v3 .nf-pdp-timeline__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--nf-color-text-secondary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nf-pdp--v3 .nf-pdp-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .nf-pdp--v3 .nf-pdp-service-cards {
    grid-template-columns: 1fr;
  }
}

.nf-pdp--v3 .nf-pdp-service-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--nf-pdp-border);
  background: linear-gradient(165deg, rgba(var(--nf-accent-rgb), 0.06), var(--nf-color-surface));
  box-shadow: var(--nf-shadow-pdp);
  transition:
    transform var(--nf-pdp-t) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp--v3 .nf-pdp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nf-shadow-pdp-hover);
}

.nf-pdp--v3 .nf-pdp-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(var(--nf-accent-rgb), 0.14);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  color: rgba(var(--nf-accent-rgb), 0.95);
}

.nf-pdp--v3 .nf-pdp-service-card__icon .nf-pdp-icon-svg {
  width: 22px;
  height: 22px;
}

.nf-pdp--v3 .nf-pdp-icon-svg {
  display: block;
  flex-shrink: 0;
}

.nf-pdp--v3 .nf-pdp-spec-chip-icon .nf-pdp-icon-svg,
.nf-pdp--v3 .nf-pdp-spec-engineering-icon .nf-pdp-icon-svg,
.nf-pdp--v3 .nf-pdp-hero-spec-icon .nf-pdp-icon-svg {
  width: 22px;
  height: 22px;
}

.nf-pdp--v3 .nf-pdp-service-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 720;
  color: var(--nf-color-text-primary);
}

.nf-pdp--v3 .nf-pdp-service-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--nf-color-text-secondary);
}

.nf-pdp--v3 [data-pdp-reveal-scroll] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-pdp--v3 [data-pdp-reveal-scroll].nf-pdp-reveal--in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nf-pdp--v3 [data-pdp-reveal-scroll] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .nf-pdp--v3 .nf-pdp-product-hero-content {
    align-self: start;
  }

  .nf-pdp--v3 .nf-pdp-hero-shell {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .nf-pdp--v3 .nf-pdp-hero-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nf-pdp--v3 .nf-pdp-hero-commerce .nf-pdp-commerce {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nf-pdp--v3 .nf-pdp-product-hero-media .nf-pdp-gallery-sticky {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .nf-pdp--v3 .nf-pdp-hero-shell {
    border-radius: 16px;
  }

  .nf-pdp--v3 .nf-pdp-hero-spec-grid {
    grid-template-columns: 1fr;
  }
}


.nf-pdp-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.nf-pdp-media-frame {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: var(--nf-pdp-radius);
  background: var(--nf-pdp-surface);
  aspect-ratio: 4 / 3;
  max-height: min(420px, 72vw);
  overflow: hidden;
  box-shadow: var(--nf-shadow-card);
  transition: box-shadow var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-media-frame:hover {
  box-shadow: var(--nf-shadow-card-hover);
}

.nf-pdp-media-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(10px, 2vw, 18px);
  overflow: hidden;
}

.nf-pdp-media-imgwrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.nf-pdp-zoom-viewport--active {
  cursor: crosshair;
}

@media (hover: none), (pointer: coarse) {
  .nf-pdp-media-imgwrap {
    cursor: default;
  }

  .nf-pdp-zoom-viewport--active {
    cursor: default;
  }
}

.nf-pdp-media-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transform-origin: center center;
  will-change: transform;
  transition: opacity var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-media-img.nf-pdp-media-img--zooming {
  transition: opacity var(--nf-pdp-t) var(--nf-pdp-ease);
}

.nf-pdp-media-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 11px;
  color: var(--nf-pdp-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.nf-pdp-media-count {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--nf-graphite-rgb), 0.75);
  color: color-mix(in srgb, var(--nf-color-surface-alt) 62%, var(--nf-color-accent-soft) 38%);
  letter-spacing: 0.02em;
}

.nf-pdp-media-nav {
  flex-shrink: 0;
  width: 40px;
  border: none;
  background: rgba(248, 250, 252, 0.96);
  color: var(--nf-color-text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    color var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp-media-nav:hover {
  background: rgba(var(--nf-accent-rgb), 0.15);
  color: var(--nf-pdp-text);
}

.nf-pdp-media-nav:active {
  background: rgba(var(--nf-accent-rgb), 0.22);
}

.nf-pdp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nf-pdp-thumbs--vertical {
  flex-direction: column;
  flex-wrap: nowrap;
  align-self: stretch;
  gap: 10px;
  max-height: min(440px, 54vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.nf-pdp-thumbs--vertical .nf-pdp-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.nf-pdp-thumb {
  padding: 0;
  border-radius: var(--nf-pdp-radius-sm);
  border: 1px solid var(--nf-pdp-border);
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nf-color-surface);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp-thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.nf-pdp-thumb:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.45);
}

.nf-pdp-thumb--active {
  border-color: rgba(var(--nf-accent-rgb), 0.85);
  box-shadow: 0 0 0 1px rgba(var(--nf-accent-rgb), 0.2);
}


.nf-pdp-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--nf-pdp-text);
}

.nf-pdp-sku {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nf-pdp-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--nf-pdp-muted);
}

.nf-pdp-brand,
.nf-pdp-brand-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nf-color-text-secondary);
}


.nf-pdp-commerce {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--nf-pdp-border);
  border-bottom: 1px solid var(--nf-pdp-border);
}

.nf-pdp-qty-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-pdp-qty-label {
  font-size: 12px;
  color: var(--nf-pdp-muted);
}

.nf-pdp-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--nf-color-surface);
  border: 1px solid var(--nf-pdp-border);
}

.nf-pdp-qty button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--nf-pdp-surface);
  color: var(--nf-pdp-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--nf-pdp-t-fast) var(--nf-pdp-ease),
    box-shadow var(--nf-pdp-t-fast) var(--nf-pdp-ease);
}

.nf-pdp-qty button:hover {
  background: var(--nf-color-hairline);
  box-shadow: 0 2px 8px rgba(var(--nf-graphite-rgb), 0.06);
}

.nf-pdp-qty button:active {
  background: var(--nf-color-border);
}

.nf-pdp-qty input {
  width: 44px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  outline: none;
}

.nf-pdp-prices {
  text-align: right;
  min-width: 180px;
}

.nf-pdp-price-unit {
  font-size: 14px;
  color: var(--nf-pdp-muted);
  line-height: 1.35;
}

.nf-pdp-price-total {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--nf-pdp-text);
  letter-spacing: -0.02em;
}


.nf-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nf-pdp-actions .nf-btn {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}


.nf-pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.nf-pdp-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--nf-color-muted);
  background: rgba(var(--nf-graphite-rgb), 0.04);
  border: 1px solid var(--nf-pdp-border);
}


.nf-pdp-detail {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--nf-pdp-border);
}

.nf-pdp-detail-p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-detail-h {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-pdp-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nf-pdp-detail-specs {
  margin-top: 16px;
}

.nf-pdp-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-list li {
  margin-bottom: 0.35rem;
}


.nf-pdp-section {
  margin-bottom: 32px;
}

.nf-pdp-section-h {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nf-pdp-text);
}

.nf-pdp-install-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.nf-pdp-subcard {
  padding: 18px 18px 16px;
  border-radius: var(--nf-pdp-radius);
  background: var(--nf-pdp-surface);
  border: 1px solid var(--nf-pdp-border);
}

.nf-pdp-subcard-h {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-pdp-text);
}

.nf-pdp-subcard .nf-pdp-list {
  padding-left: 1.1rem;
  font-size: 13px;
}

.nf-pdp-steps-block {
  padding-top: 4px;
}

.nf-pdp-steps-h {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nf-color-text-tertiary);
}

.nf-pdp-step-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
  counter-reset: pdpstep;
}

.nf-pdp-step-list li {
  position: relative;
  counter-increment: pdpstep;
  padding: 12px 0 12px 2.25rem;
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  font-size: 14px;
  line-height: 1.55;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-step-list li:last-child {
  border-bottom: none;
}

.nf-pdp-step-list li::before {
  content: counter(pdpstep);
  position: absolute;
  left: 0;
  top: 12px;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--nf-accent-rgb), 0.18);
  color: var(--nf-color-accent-contrast);
}

.nf-pdp-section--service .nf-pdp-service {
  font-size: 14px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
}

.nf-pdp-service-fallback {
  margin: 0;
}


.nf-pdp-footnote {
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--nf-pdp-border);
  font-size: 12px;
  line-height: 1.55;
  color: var(--nf-color-line-muted);
  max-width: 52rem;
}


.nf-pdp [data-pdp-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--nf-pdp-ease),
    transform 0.35s var(--nf-pdp-ease);
  transition-delay: var(--pdp-d, 0ms);
}

.nf-pdp.nf-pdp--ready [data-pdp-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .nf-pdp [data-pdp-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nf-pdp-media-img,
  .nf-pdp-actions .nf-btn,
  .nf-pdp-qty button,
  .nf-pdp-thumb,
  .nf-pdp-back,
  .nf-pdp-media-nav {
    transition: none !important;
  }

  .nf-pdp-actions .nf-btn:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .nf-pdp-hero.nf-pdp-hero--split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }

  .nf-pdp-info-col,
  .nf-pdp-buy {
    max-width: none;
  }

  .nf-pdp-media-frame {
    max-height: min(380px, 85vw);
  }

  .nf-pdp-install-cards {
    grid-template-columns: 1fr;
  }

  .nf-pdp-commerce {
    flex-direction: column;
    align-items: stretch;
  }

  .nf-pdp-prices {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .nf-pdp-media-nav {
    width: 36px;
    font-size: 20px;
  }

  .nf-pdp-actions {
    flex-direction: column;
  }

  .nf-pdp-actions .nf-btn {
    flex: none;
    width: 100%;
  }
}


.nf-product-page-doc-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--nf-color-line-muted);
}

.nf-product-page-doc-note--modal {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
}


.nf-premium-hero .nf-hero {
  position: relative;
  overflow: hidden;
}

.nf-premium-hero .hero-bg {
  position: absolute;
  inset: -12% -8% -8% 40%;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.nf-premium-hero .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background:
    radial-gradient(58% 58% at 72% 34%, rgba(var(--nf-accent-rgb), 0.25) 0%, rgba(var(--nf-accent-rgb), 0.1) 42%, rgba(var(--nf-accent-rgb), 0) 100%),
    radial-gradient(42% 42% at 84% 66%, rgba(var(--nf-accent-rgb), 0.15) 0%, rgba(var(--nf-accent-rgb), 0) 100%);
  transform: scale(1);
  transform-origin: 68% 46%;
  will-change: transform, opacity;
  animation: nfHeroBgBreath 6.8s ease-in-out infinite alternate;
}

.nf-premium-hero .nf-hero__layout {
  position: relative;
  z-index: 1;
}

.nf-premium-hero .nf-hero__content > .nf-hero__title,
.nf-premium-hero .nf-hero__content > .nf-hero__desc,
.nf-premium-hero .nf-hero__content > .nf-hero__buttons {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: nfHeroFadeUp 620ms ease-out forwards;
}

.nf-premium-hero .nf-hero__content > .nf-hero__title {
  animation-delay: 40ms;
}

.nf-premium-hero .nf-hero__content > .nf-hero__desc {
  animation-delay: 140ms;
}

.nf-premium-hero .nf-hero__content > .nf-hero__buttons {
  animation-delay: 240ms;
}

.nf-premium-hero .nf-cta--primary {
  will-change: transform, box-shadow;
}

.nf-premium-hero .nf-cta--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 14px 28px rgba(var(--nf-accent-rgb), 0.28),
    0 4px 10px rgba(var(--nf-graphite-rgb), 0.08);
}

@keyframes nfHeroBgBreath {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.45;
  }
  to {
    transform: translate3d(0, -6px, 0) scale(1.04);
    opacity: 0.62;
  }
}

@keyframes nfHeroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-premium-hero .hero-bg,
  .nf-premium-hero .hero-bg::before {
    animation: none;
    transform: none !important;
  }

  .nf-premium-hero .nf-hero__content > .nf-hero__title,
  .nf-premium-hero .nf-hero__content > .nf-hero__desc,
  .nf-premium-hero .nf-hero__content > .nf-hero__buttons {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .nf-premium-hero .nf-cta--primary:hover {
    transform: none;
    box-shadow: var(--nf-shadow-primary);
  }
}


.nf-home-firstscreen.nf-premium-hero .nf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background:
    linear-gradient(to right, rgba(var(--nf-line-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--nf-line-rgb), 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 58% 34%, #000 55%, transparent 100%);
}

.nf-premium-hero .nf-hero__content > .nf-hero__meta,
.nf-premium-hero .nf-hero__content > .nf-hero__trust {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation: nfHeroFadeUp 620ms ease-out forwards;
}

.nf-premium-hero .nf-hero__content > .nf-hero__meta {
  animation-delay: 320ms;
}

.nf-premium-hero .nf-hero__content > .nf-hero__trust {
  animation-delay: 400ms;
}


.nf-home-firstscreen.nf-first-screen .nf-adv {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.nf-home-firstscreen.nf-first-screen .nf-adv:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(var(--nf-accent-rgb), 0.28);
  box-shadow:
    0 20px 40px rgba(var(--nf-graphite-rgb), 0.14),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
}


.nf-popular:not(.nf-home-section) .nf-popular__nav {
  display: flex !important;
  gap: 8px;
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
}

.nf-popular:not(.nf-home-section) .nf-popular__nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-line-rgb), 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: var(--nf-color-text-secondary);
  box-shadow: var(--nf-shadow-xs);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, color 220ms ease;
}

.nf-popular:not(.nf-home-section) .nf-popular__nav-btn:hover {
  transform: translate3d(0, -1px, 0);
  border-color: rgba(var(--nf-accent-rgb), 0.36);
  color: var(--nf-color-text-primary);
  box-shadow: var(--nf-shadow-sm);
}

.nf-popular .nf-product-card--popular:not(.nf-popular-showcase) {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.nf-popular .nf-product-card--popular:not(.nf-popular-showcase):hover {
  transform: translate3d(0, -4px, 0);
}

.nf-popular .nf-product-card--popular:not(.nf-popular-showcase) .nf-product-thumb--popular .nf-product-thumb-inner img {
  transition: transform 320ms ease, filter 320ms ease;
}

.nf-popular .nf-product-card--popular:not(.nf-popular-showcase):hover .nf-product-thumb--popular .nf-product-thumb-inner img {
  transform: scale(1.02);
}


.nf-home-ds .nf-category-card {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.nf-home-ds .nf-category-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(var(--nf-accent-rgb), 0.26);
}

.nf-home-ds .nf-category-cta {
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.nf-home-ds .nf-category-card:hover .nf-category-cta {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 18px rgba(var(--nf-accent-rgb), 0.12);
}


.nf-home-ds .nf-partner {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.nf-home-ds .nf-partner:hover {
  transform: translate3d(0, -3px, 0);
}

.nf-home-ds .nf-partner-logo-wrap {
  width: 96px;
  height: 96px;
}

.nf-home-ds .nf-partner-logo-img {
  max-width: 74%;
  max-height: 74%;
}


.nf-home-ds .nf-news-main,
.nf-home-ds .nf-news-card {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.nf-home-ds .nf-news-main:hover,
.nf-home-ds .nf-news-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: rgba(var(--nf-accent-rgb), 0.24);
  box-shadow: 0 18px 34px rgba(var(--nf-graphite-rgb), 0.1);
}

.nf-home-ds .nf-news-main .nf-news-media,
.nf-home-ds .nf-news-card .nf-news-media {
  background:
    radial-gradient(circle at 76% 22%, rgba(var(--nf-accent-rgb), 0.14), transparent 58%),
    linear-gradient(165deg, var(--nf-color-surface-subtle), var(--nf-color-surface-alt));
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-firstscreen.nf-first-screen .nf-adv,
  .nf-popular__nav-btn,
  .nf-popular .nf-product-card--popular:not(.nf-popular-showcase),
  .nf-popular .nf-product-card--popular.nf-popular-showcase,
  .nf-popular .nf-product-thumb--popular .nf-product-thumb-inner img,
  .nf-popular .nf-popular-showcase__stage .nf-product-thumb-inner img,
  .nf-home-ds .nf-category-card,
  .nf-home-ds .nf-category-cta,
  .nf-home-ds .nf-partner,
  .nf-home-ds .nf-news-main,
  .nf-home-ds .nf-news-card {
    transition: none !important;
    transform: none !important;
  }
}


/* ——— Страница «Партнёры»: premium витрина ——— */
.nf-partners-page {
  position: relative;
  isolation: isolate;
}

.nf-partners-page__atmos {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(52vh, 440px);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 92% 72% at 50% -8%, rgba(var(--nf-accent-rgb), 0.1), transparent 58%),
    radial-gradient(ellipse 56% 48% at 96% 12%, rgba(var(--nf-accent-rgb), 0.05), transparent 52%),
    linear-gradient(185deg, rgba(248, 252, 251, 0.98) 0%, rgba(246, 250, 249, 0.4) 52%, transparent 100%);
}

.nf-partners-page__shell {
  position: relative;
  z-index: 1;
}

.nf-partners-hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3.2vw, 44px);
  max-width: 52rem;
}

.nf-partners-hero__title {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-size: clamp(2rem, 1.2vw + 1.65rem, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.08;
  color: var(--nf-color-text-strong, #141c1b);
}

.nf-partners-hero__lede {
  margin: 0 0 clamp(16px, 2vw, 22px);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.14rem);
  line-height: 1.62;
  color: rgba(var(--nf-graphite-rgb), 0.58);
  max-width: 40em;
}

.nf-partners-hero__kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.45);
}

.nf-partners-gallery {
  margin-top: clamp(4px, 1vw, 16px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

/* Витрина партнёров: одинаковая высота в ряду + фиксированные зоны logo / text / footer */
.nf-partners-page #partnersList.nf-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 26px);
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.nf-partners-page #partnersList.nf-partners-grid > * {
  height: 100%;
  min-height: 0;
}

.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-btn {
  height: 100% !important;
}

.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner,
.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card {
  --nf-partner-tile-pad-x: clamp(18px, 2.2vw, 24px);
  --nf-partner-tile-pad-top: clamp(26px, 3vw, 34px);
  --nf-partner-tile-pad-bottom: clamp(22px, 2.6vw, 28px);
  --nf-page-partner-logo-h: 76px;
  --nf-page-partner-text-h: 58px;
  --nf-page-partner-footer-min: 44px;
  --nf-page-partner-slot-gap: 8px;
  /* Минимум карточки: паддинги + логотип + зазор + текст + футер */
  --nf-page-partner-card-min-h: calc(
    var(--nf-partner-tile-pad-top) + var(--nf-page-partner-logo-h) + var(--nf-page-partner-slot-gap) +
      var(--nf-page-partner-text-h) + var(--nf-page-partner-footer-min) + var(--nf-partner-tile-pad-bottom) + 1px
  );
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
  gap: 0;
  padding: var(--nf-partner-tile-pad-top) var(--nf-partner-tile-pad-x) var(--nf-partner-tile-pad-bottom) !important;
  min-height: var(--nf-page-partner-card-min-h) !important;
  height: 100% !important;
  border-radius: 18px !important;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.07) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 30px rgba(26, 36, 35, 0.05) !important;
  overflow: hidden;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease !important;
}

.nf-partners-page #partnersList .nf-page-partner-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--nf-page-partner-logo-h);
  flex: 0 0 var(--nf-page-partner-logo-h);
  margin: 0 0 var(--nf-page-partner-slot-gap);
}

.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner:hover,
.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card:hover {
  transform: translateY(-4px) scale(1.012) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.22) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(26, 36, 35, 0.08) !important;
}

.nf-partners-page #partnersList .nf-page-partner-logo-slot .nf-partner-logo-img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 168px);
  max-height: calc(var(--nf-page-partner-logo-h) - 8px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.32s ease !important;
}

.nf-partners-page #partnersList .nf-page-partner-tile:hover .nf-page-partner-logo-slot .nf-partner-logo-img,
.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card:hover .nf-page-partner-logo-slot .nf-partner-logo-img {
  transform: scale(1.06);
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  flex: 0 0 var(--nf-page-partner-text-h);
  height: var(--nf-page-partner-text-h);
  min-height: var(--nf-page-partner-text-h);
  max-height: var(--nf-page-partner-text-h);
  margin: 0;
  padding: 0 2px;
  overflow: hidden;
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.32;
  max-height: calc(1.32em * 2);
  letter-spacing: -0.012em;
  color: var(--nf-color-text-strong, #1a2423);
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-country {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 450;
  line-height: 1.35;
  max-height: 1.35em;
  color: rgba(var(--nf-graphite-rgb), 0.55);
  opacity: 0.5;
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-country::before {
  content: none !important;
  display: none !important;
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% + (var(--nf-partner-tile-pad-x) * 2));
  margin-inline: calc(var(--nf-partner-tile-pad-x) * -1);
  margin-top: auto;
  margin-bottom: calc(var(--nf-partner-tile-pad-bottom) * -1);
  min-height: var(--nf-page-partner-footer-min);
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 12px var(--nf-partner-tile-pad-x) 13px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: rgba(var(--nf-accent-rgb), 0.045);
  color: rgba(var(--nf-graphite-rgb), 0.64);
  font-size: 11px;
  font-weight: 540;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-action__arrow {
  display: inline-block;
  transition: transform 0.28s ease;
}

.nf-partners-page #partnersList .nf-page-partner-tile:hover .nf-partner-action,
.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card:hover .nf-partner-action {
  color: rgba(var(--nf-graphite-rgb), 0.84);
  border-top-color: rgba(var(--nf-accent-rgb), 0.22);
  background: rgba(var(--nf-accent-rgb), 0.09);
}

.nf-partners-page #partnersList .nf-page-partner-tile:hover .nf-partner-action__arrow,
.nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card:hover .nf-partner-action__arrow {
  transform: translateX(3px);
}

@media (max-width: 1279px) {
  .nf-partners-page #partnersList.nf-partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  }
}

@media (max-width: 900px) {
  .nf-partners-page #partnersList.nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .nf-partners-hero {
    padding-top: clamp(24px, 6vw, 40px);
  }

  .nf-partners-page #partnersList.nf-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .nf-partners-page #partnersList .nf-page-partner-tile.nf-partner,
  .nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card {
    --nf-partner-tile-pad-top: 22px;
    --nf-partner-tile-pad-x: 14px;
    --nf-partner-tile-pad-bottom: 18px;
    --nf-page-partner-logo-h: 64px;
    --nf-page-partner-text-h: 52px;
    --nf-page-partner-footer-min: 42px;
    --nf-page-partner-slot-gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-partners-page #partnersList .nf-page-partner-tile.nf-partner,
  .nf-partners-page #partnersList .nf-page-partner-tile.nf-partner-card {
    transition: none !important;
    transform: none !important;
  }

  .nf-partners-page #partnersList .nf-page-partner-tile .nf-page-partner-logo-slot .nf-partner-logo-img,
  .nf-partners-page #partnersList .nf-page-partner-tile .nf-partner-action__arrow {
    transform: none !important;
  }
}



.nf-home-firstscreen.nf-premium-hero {
  position: relative;
  isolation: isolate;
}

.nf-home-firstscreen.nf-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(860px 420px at 8% 6%, rgba(var(--nf-accent-rgb), 0.16), transparent 62%),
    radial-gradient(760px 380px at 92% 14%, rgba(var(--nf-accent-rgb), 0.11), transparent 66%),
    linear-gradient(180deg, #f8fbfa 0%, #f4f8f7 46%, #f7faf9 100%);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero.nf-hero--premium {
  padding-block: clamp(48px, 6vw, 82px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(var(--nf-accent-rgb), 0.16);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title {
  max-width: 15ch;
  letter-spacing: -0.03em;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__desc {
  max-width: 68ch;
  color: rgba(21, 21, 21, 0.76);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__meta {
  gap: 10px;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__pill {
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  border-color: rgba(var(--nf-accent-rgb), 0.26);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__trust {
  color: rgba(21, 21, 21, 0.62);
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages--lux {
  padding-block: 8px 24px;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
  gap: clamp(14px, 1.6vw, 18px);
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel {
  border-radius: 16px;
  min-height: 224px;
  border: 1px solid rgba(26, 36, 35, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96) inset, 0 16px 36px rgba(26, 36, 35, 0.06);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--nf-accent-rgb), 0.34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 24px 52px rgba(26, 36, 35, 0.09);
}

.nf-home-ds {
  padding-block: clamp(58px, 7vw, 92px);
}

.nf-home-ds.nf-home-ds--band {
  background:
    radial-gradient(920px 360px at 0% 0%, rgba(var(--nf-accent-rgb), 0.08), transparent 66%),
    var(--nf-color-surface-subtle);
}

.nf-home-ds.nf-popular .nf-popular__carousel-wrap {
  padding-inline: clamp(50px, 5.4vw, 74px);
}

.nf-home-ds.nf-popular .nf-popular__viewport {
  overflow: hidden;
  border-radius: 18px;
}

.nf-home-ds.nf-popular .nf-popular__track {
  gap: clamp(16px, 1.7vw, 22px);
}

.nf-home-ds .nf-product-card--popular {
  border-radius: 16px;
  min-height: 472px;
  border: 1px solid rgba(26, 36, 35, 0.08);
  background: linear-gradient(176deg, rgba(255, 255, 255, 0.78) 0%, rgba(247, 250, 249, 0.84) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 16px 34px rgba(26, 36, 35, 0.07);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.nf-home-ds .nf-product-card--popular:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--nf-accent-rgb), 0.34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 24px 52px rgba(26, 36, 35, 0.1);
}

.nf-home-ds .nf-popular-showcase__stage {
  border-radius: 14px;
  background:
    radial-gradient(circle at 14% 8%, rgba(var(--nf-accent-rgb), 0.14), transparent 56%),
    linear-gradient(180deg, #f8fbfa 0%, #f1f6f5 100%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
}

.nf-home-ds .nf-popular-showcase__cta {
  min-height: 44px;
  border-radius: 11px;
}


.nf-home-ds .nf-categories__grid {
  gap: clamp(18px, 2.1vw, 24px);
}

.nf-home-ds .nf-category-card {
  min-height: 186px;
  border-radius: 16px;
  border: 1px solid rgba(26, 36, 35, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 14px 32px rgba(26, 36, 35, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nf-home-ds .nf-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--nf-accent-rgb), 0.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 22px 44px rgba(26, 36, 35, 0.09);
}

.nf-home-ds .nf-category-card__body {
  padding: 20px 20px 14px;
}


/* Главная — «Наши партнёры»: бренд-плитки, логотип без внутренней плашки */
#homePartnersGrid.nf-partners__grid,
.nf-home-ds #homePartnersGrid.nf-partners__grid {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 26px);
}

#homePartnersGrid .nf-home-partner-tile,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile {
  --nf-partner-tile-pad-x: clamp(18px, 2.2vw, 24px);
  --nf-partner-tile-pad-top: clamp(26px, 3vw, 34px);
  --nf-partner-tile-pad-bottom: clamp(22px, 2.6vw, 28px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2.2vw, 24px);
  padding: var(--nf-partner-tile-pad-top) var(--nf-partner-tile-pad-x) var(--nf-partner-tile-pad-bottom) !important;
  min-height: 0 !important;
  border-radius: 18px !important;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.07) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 30px rgba(26, 36, 35, 0.05) !important;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease !important;
}

#homePartnersGrid .nf-home-partner-tile.nf-partner:hover,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile.nf-partner:hover {
  transform: translateY(-4px) scale(1.012) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.22) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px rgba(26, 36, 35, 0.08) !important;
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(92%, 200px);
  max-height: clamp(60px, 7vw, 70px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.32s ease !important;
}

#homePartnersGrid .nf-home-partner-tile:hover .nf-partner-logo-img,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile:hover .nf-partner-logo-img {
  transform: scale(1.06);
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin-top: auto;
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-name,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--nf-color-text-strong, #1a2423);
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-country,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-country {
  font-size: 10.5px;
  font-weight: 450;
  line-height: 1.35;
  color: rgba(var(--nf-graphite-rgb), 0.55);
  opacity: 0.5;
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-country::before,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-country::before {
  content: none !important;
  display: none !important;
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-action,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% + (var(--nf-partner-tile-pad-x) * 2));
  margin-inline: calc(var(--nf-partner-tile-pad-x) * -1);
  margin-top: clamp(10px, 1.2vw, 14px);
  margin-bottom: calc(var(--nf-partner-tile-pad-bottom) * -1);
  padding: 12px var(--nf-partner-tile-pad-x) 13px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  background: rgba(var(--nf-accent-rgb), 0.045);
  color: rgba(var(--nf-graphite-rgb), 0.64);
  font-size: 11px;
  font-weight: 540;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#homePartnersGrid .nf-home-partner-tile .nf-partner-action__arrow,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-action__arrow {
  display: inline-block;
  transition: transform 0.28s ease;
}

#homePartnersGrid .nf-home-partner-tile:hover .nf-partner-action,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile:hover .nf-partner-action {
  color: rgba(var(--nf-graphite-rgb), 0.84);
  border-top-color: rgba(var(--nf-accent-rgb), 0.22);
  background: rgba(var(--nf-accent-rgb), 0.09);
}

#homePartnersGrid .nf-home-partner-tile:hover .nf-partner-action__arrow,
.nf-home-ds #homePartnersGrid .nf-home-partner-tile:hover .nf-partner-action__arrow {
  transform: translateX(3px);
}


.nf-home-ds .nf-news-layout {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.nf-home-ds .nf-news-main,
.nf-home-ds .nf-news-card--side {
  border-radius: 16px;
  border: 1px solid rgba(26, 36, 35, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 16px 34px rgba(26, 36, 35, 0.07);
  background: linear-gradient(176deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 251, 250, 0.9) 100%);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.nf-home-ds .nf-news-main:hover,
.nf-home-ds .nf-news-card--side:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 24px 52px rgba(26, 36, 35, 0.1);
}

.nf-home-ds .nf-news-main-image,
.nf-home-ds .nf-news-card__image {
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--nf-accent-rgb), 0.14), transparent 58%),
    linear-gradient(165deg, #f6faf9, #eef4f3);
}

@media (max-width: 1279px) {
  #homePartnersGrid.nf-partners__grid,
  .nf-home-ds #homePartnersGrid.nf-partners__grid {
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  }
}

@media (max-width: 900px) {
  .nf-home-ds .nf-news-layout {
    grid-template-columns: 1fr;
  }

  #homePartnersGrid.nf-partners__grid,
  .nf-home-ds #homePartnersGrid.nf-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen.nf-premium-hero .nf-feature-panel {
    min-height: 0;
  }

  #homePartnersGrid .nf-home-partner-tile,
  .nf-home-ds #homePartnersGrid .nf-home-partner-tile {
    --nf-partner-tile-pad-top: 22px;
    --nf-partner-tile-pad-x: 14px;
    --nf-partner-tile-pad-bottom: 18px;
    gap: 16px;
  }

  #homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img,
  .nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img {
    max-height: clamp(56px, 14vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-home-firstscreen.nf-premium-hero .nf-feature-panel,
  .nf-home-ds .nf-product-card--popular,
  .nf-home-ds .nf-category-card,
  #homePartnersGrid .nf-home-partner-tile,
  .nf-home-ds #homePartnersGrid .nf-home-partner-tile,
  .nf-home-ds .nf-news-main,
  .nf-home-ds .nf-news-card--side {
    transition: none !important;
    transform: none !important;
  }

  #homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img,
  .nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-logo-img,
  #homePartnersGrid .nf-home-partner-tile .nf-partner-action__arrow,
  .nf-home-ds #homePartnersGrid .nf-home-partner-tile .nf-partner-action__arrow {
    transform: none !important;
  }
}




.nf-home-firstscreen.nf-premium-hero .nf-hero__ambient {
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 8% 6%, rgba(var(--nf-accent-rgb), 0.2), transparent 63%),
    radial-gradient(640px 340px at 94% 18%, rgba(var(--nf-accent-rgb), 0.15), transparent 67%),
    linear-gradient(132deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 250, 248, 0.94) 44%, rgba(239, 247, 245, 0.98) 100%);
  z-index: 0;
}

.nf-home-firstscreen.nf-premium-hero .hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(var(--nf-accent-rgb), 0.06) 0 2px,
      transparent 2px 28px
    );
  mix-blend-mode: multiply;
  opacity: 0.35;
  z-index: 0;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__layout {
  position: relative;
  z-index: 1;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__content {
  max-width: 820px !important;
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.78), rgba(249, 252, 251, 0.92));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 20px 52px rgba(26, 36, 35, 0.08);
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title {
  font-size: clamp(2.15rem, 2.9vw, 3.34rem) !important;
  line-height: 1.02 !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title-line--sub {
  margin-top: 14px !important;
  font-size: clamp(1rem, 0.5vw + 0.84rem, 1.22rem) !important;
  line-height: 1.36 !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__buttons {
  margin-top: 18px !important;
  gap: 12px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--primary {
  background: linear-gradient(140deg, var(--nf-color-accent) 0%, var(--nf-color-accent-hover) 100%) !important;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.54) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 14px 26px rgba(var(--nf-accent-rgb), 0.34);
}

.nf-home-firstscreen.nf-premium-hero {
  --nf-home-bg: #151515;
  --nf-home-surface: rgba(242, 246, 245, 0.08);
  --nf-home-surface-strong: rgba(245, 249, 248, 0.9);
  --nf-home-border: rgba(244, 248, 247, 0.16);
  --nf-home-border-accent: rgba(var(--nf-accent-rgb), 0.45);
  --nf-home-shadow: 0 16px 36px rgba(7, 9, 9, 0.2);
  --nf-home-lift: translateY(-4px);
}

.nf-main:has(> .nf-home-firstscreen.nf-premium-hero) {
  background: #151515;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero--premium {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid var(--nf-home-border) !important;
  background:
    radial-gradient(110% 120% at 8% -5%, rgba(var(--nf-accent-rgb), 0.12), transparent 52%),
    linear-gradient(160deg, rgba(24, 24, 24, 0.95), rgba(21, 21, 21, 0.98)) !important;
  box-shadow: var(--nf-home-shadow) !important;
  padding: clamp(32px, 4vw, 56px) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__title {
  font-size: clamp(2rem, 3.6vw, 3.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #f4f8f7 !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__subtitle,
.nf-home-firstscreen.nf-premium-hero .nf-hero__desc,
.nf-home-firstscreen.nf-premium-hero .nf-hero__trust {
  color: rgba(230, 238, 237, 0.8) !important;
  line-height: 1.65 !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__buttons {
  gap: 12px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta {
  border-radius: 16px !important;
  min-height: 48px !important;
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease, border-color .35s ease, color .35s ease !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--primary {
  background: var(--nf-color-accent) !important;
  color: #101717 !important;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.8) !important;
  box-shadow: 0 8px 24px rgba(var(--nf-accent-rgb), 0.24) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--primary:hover {
  transform: var(--nf-home-lift) !important;
  box-shadow: 0 14px 36px rgba(var(--nf-accent-rgb), 0.34), 0 0 0 8px rgba(var(--nf-accent-rgb), 0.12) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--secondary {
  border: 1px solid rgba(226, 238, 236, 0.28) !important;
  background: rgba(245, 249, 248, 0.02) !important;
  color: #e5efed !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-cta--secondary:hover {
  transform: var(--nf-home-lift) !important;
  background: rgba(var(--nf-accent-rgb), 0.15) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.5) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__meta {
  margin-top: 24px !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__pill {
  border-radius: 16px !important;
  border: 1px solid rgba(226, 238, 236, 0.24) !important;
  background: rgba(245, 249, 248, 0.06) !important;
  color: rgba(233, 242, 241, 0.86) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero__pill em {
  color: #f6f9f8 !important;
  font-size: 1.05em;
  font-style: normal;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__strip {
  border-radius: 20px !important;
  border: 1px solid var(--nf-home-border) !important;
  background: rgba(245, 249, 248, 0.94) !important;
  box-shadow: 0 14px 32px rgba(7, 9, 9, 0.12) !important;
  padding: clamp(24px, 3vw, 40px) !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel {
  position: relative;
  border-radius: 18px !important;
  border: 1px solid rgba(30, 38, 37, 0.12) !important;
  background: var(--nf-home-surface-strong) !important;
  box-shadow: 0 10px 22px rgba(19, 24, 24, 0.08) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: rgba(var(--nf-accent-rgb), 0.48);
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__inner {
  padding: 24px !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel__index {
  position: absolute;
  right: 16px;
  top: 8px;
  font-size: 2.25rem !important;
  color: rgba(21, 21, 21, 0.12) !important;
  background: transparent !important;
}

.nf-home-firstscreen.nf-premium-hero .nf-feature-panel:hover {
  transform: var(--nf-home-lift) !important;
  border-color: var(--nf-home-border-accent) !important;
  box-shadow: 0 18px 30px rgba(19, 24, 24, 0.12) !important;
}

.nf-home-ds {
  color: #e8efee;
}

.nf-home-ds .nf-home-section-head__title {
  color: #f1f7f6 !important;
}

.nf-home-ds.nf-popular .nf-popular__carousel-wrap,
.nf-home-ds.nf-categories .nf-home-section__container,
.nf-home-ds.nf-partners .nf-home-section__container,
.nf-home-ds.nf-news .nf-home-section__container {
  border-radius: 20px;
}

.nf-home-ds.nf-popular .nf-popular__carousel-wrap {
  border: 1px solid var(--nf-home-border) !important;
  background: rgba(245, 249, 248, 0.06) !important;
  padding: 24px 72px !important;
}

.nf-home-ds.nf-popular .nf-popular__nav-btn {
  border-radius: 16px !important;
  border: 1px solid rgba(226, 238, 236, 0.24) !important;
  background: rgba(245, 249, 248, 0.08) !important;
  color: #f3f8f7 !important;
  transition: transform .35s ease, border-color .35s ease, background-color .35s ease !important;
}

.nf-home-ds.nf-popular .nf-popular__nav-btn:hover:not(:disabled) {
  transform: var(--nf-home-lift) !important;
  border-color: var(--nf-home-border-accent) !important;
  background: rgba(var(--nf-accent-rgb), 0.14) !important;
}

.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase {
  border-radius: 18px !important;
  border: 1px solid rgba(228, 239, 237, 0.2) !important;
  background: rgba(245, 249, 248, 0.92) !important;
  box-shadow: 0 10px 24px rgba(14, 18, 18, 0.12) !important;
  transition: transform .35s ease, box-shadow .35s ease !important;
}

.nf-home-ds.nf-popular .nf-product-card--popular.nf-popular-showcase:hover {
  transform: var(--nf-home-lift) !important;
  box-shadow: 0 16px 32px rgba(14, 18, 18, 0.16) !important;
}

.nf-home-ds.nf-popular .nf-popular-showcase__stage.nf-product-thumb--popular {
  border-radius: 16px !important;
  border: 1px solid rgba(30, 38, 37, 0.1) !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.nf-home-ds.nf-popular .nf-product-thumb--popular img {
  transition: transform .38s ease !important;
}

.nf-home-ds.nf-popular .nf-product-card--popular:hover .nf-product-thumb--popular img {
  transform: scale(1.03) !important;
}

.nf-home-ds .nf-categories__grid {
  gap: 16px !important;
}

.nf-home-ds .nf-category-card {
  border-radius: 18px !important;
  border: 1px solid rgba(228, 239, 237, 0.2) !important;
  background: rgba(245, 249, 248, 0.92) !important;
  box-shadow: 0 10px 24px rgba(14, 18, 18, 0.1) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.nf-home-ds .nf-category-card:hover {
  transform: var(--nf-home-lift) !important;
  border-color: var(--nf-home-border-accent) !important;
  box-shadow: 0 16px 30px rgba(14, 18, 18, 0.14) !important;
}

.nf-home-ds.nf-categories .nf-categories__ecosystem .nf-categories__grid {
  gap: clamp(18px, 2.1vw, 26px) !important;
}

.nf-home-ds.nf-categories .nf-category-card--eco {
  background:
    linear-gradient(175deg, rgba(255, 255, 255, 0.14) 0%, transparent 52%),
    rgba(245, 249, 248, 0.9) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 6px 18px rgba(14, 18, 18, 0.08) !important;
  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease,
    border-color 0.38s ease,
    background 0.42s ease !important;
}

.nf-home-ds.nf-categories .nf-category-card--eco:hover {
  transform: translate3d(0, -6px, 0) !important;
  border-color: rgba(186, 236, 225, 0.42) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 14px 34px rgba(14, 18, 18, 0.12),
    0 0 28px rgba(var(--nf-accent-rgb), 0.09) !important;
}

.nf-home-ds .nf-category-card__rail {
  opacity: .55 !important;
}

.nf-home-ds .nf-category-cta {
  border-radius: 14px !important;
}

.nf-home-ds .nf-partners__grid .nf-partner,
.nf-home-ds .nf-partners-grid .nf-partner,
.nf-home-ds .nf-partners__grid .nf-partner-card,
.nf-home-ds .nf-partners-grid .nf-partner-card {
  border-radius: 18px !important;
  border: 1px solid rgba(228, 239, 237, 0.18) !important;
  background: rgba(245, 249, 248, 0.9) !important;
  transition: transform .35s ease, opacity .35s ease, filter .35s ease, border-color .35s ease !important;
}

.nf-home-ds .nf-partners__grid .nf-partner-logo-img,
.nf-home-ds .nf-partners-grid .nf-partner-logo-img {
  filter: grayscale(1);
  opacity: .76;
  transition: filter .35s ease, opacity .35s ease !important;
}

.nf-home-ds .nf-partners__grid .nf-partner:hover .nf-partner-logo-img,
.nf-home-ds .nf-partners-grid .nf-partner:hover .nf-partner-logo-img {
  filter: grayscale(.2);
  opacity: 1;
}

.nf-home-ds .nf-partners__grid .nf-partner:hover,
.nf-home-ds .nf-partners-grid .nf-partner:hover {
  transform: var(--nf-home-lift) !important;
  border-color: var(--nf-home-border-accent) !important;
}

.nf-home-ds .nf-news-layout {
  gap: 16px !important;
}

.nf-home-ds .nf-news-main,
.nf-home-ds .nf-news-card--side {
  border-radius: 18px !important;
  border: 1px solid rgba(228, 239, 237, 0.2) !important;
  background: rgba(245, 249, 248, 0.92) !important;
  box-shadow: 0 10px 24px rgba(14, 18, 18, 0.1) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.nf-home-ds .nf-news-main-image,
.nf-home-ds .nf-news-card__image {
  border-radius: 16px !important;
  overflow: hidden;
}

.nf-home-ds .nf-news-main-image img,
.nf-home-ds .nf-news-card__image img {
  transition: transform .38s ease !important;
}

.nf-home-ds .nf-news-main:hover,
.nf-home-ds .nf-news-card--side:hover {
  transform: var(--nf-home-lift) !important;
  border-color: var(--nf-home-border-accent) !important;
  box-shadow: 0 16px 30px rgba(14, 18, 18, 0.14) !important;
}

.nf-home-ds .nf-news-main:hover .nf-news-main-image img,
.nf-home-ds .nf-news-card--side:hover .nf-news-card__image img {
  transform: scale(1.03) !important;
}

.nf-home-ds .nf-news-card-title,
.nf-home-ds .nf-news-main-title {
  transition: color .35s ease, text-decoration-color .35s ease;
}

.nf-home-ds .nf-news-main:hover .nf-news-main-title,
.nf-home-ds .nf-news-card--side:hover .nf-news-card-title {
  color: #2f6f67 !important;
  text-decoration: underline;
  text-decoration-color: rgba(var(--nf-accent-rgb), 0.68);
  text-decoration-thickness: 1px;
}

.nf-home-firstscreen.nf-premium-hero .nf-hero,
.nf-home-firstscreen.nf-premium-hero .nf-advantages,
.nf-home-ds {
  animation: nfHomeFadeUp .68s ease both;
}

@keyframes nfHomeFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .nf-home-firstscreen.nf-premium-hero .nf-hero--premium {
    border-radius: 18px !important;
    padding: 24px !important;
  }

  .nf-home-firstscreen.nf-premium-hero .nf-advantages__items {
    grid-template-columns: 1fr !important;
  }

  .nf-home-ds.nf-popular .nf-popular__carousel-wrap {
    padding: 16px 48px !important;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* —— NanoFarm brand hero: static-first — one optional slow watermark drift, CSS-only marks, light SVG —— */
.nf-first-screen > .nf-hero.nf-hero--brand {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero.nf-hero--brand {
  --nf-hero-fill: calc(100svh - 168px);
  padding: 0 !important;
  background: #ffffff !important;
  min-height: var(--nf-hero-fill);
  max-height: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* Единый клип с .nf-first-screen > .nf-hero.nf-hero--brand — иначе fullbleed 100vw рисуется поверх следующих секций */
  overflow: hidden;
}

.nf-home-firstscreen.nf-first-screen .nf-hero.nf-hero--brand #nf-premium-hero-root {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.nf-hero-brand-shell {
  flex: 1 1 auto;
  width: 100%;
  min-height: var(--nf-hero-fill, calc(100svh - 168px));
  max-width: none;
  box-sizing: border-box;
}

/* Контент hero над декором fullbleed; !important — выше Tailwind z-[2] (important: #nf-premium-hero-root) */
#nf-premium-hero-root > .nf-hero-brand-shell {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero.nf-hero--brand {
    --nf-hero-fill: calc(100svh - 92px);
  }
}

.nf-first-screen > .nf-hero.nf-hero--brand::before,
.nf-first-screen > .nf-hero.nf-hero--brand::after {
  content: none !important;
  display: none !important;
}

#nf-premium-hero-root {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  --nf-hero-pvx: 0px;
  --nf-hero-pvy: 0px;
  --nf-mt-rx: 0deg;
  --nf-mt-ry: 0deg;
  --nf-mt-gx: 42%;
  --nf-mt-gy: 36%;
  --nf-mt-lz1: 0px;
  --nf-mt-lz2: 0px;
}

/* Edge-to-edge visual stack: breaks out of any inner max-width while content stays in .nf-hero-brand-shell */
.nf-hero-brand-fullbleed {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nf-hero-brand-fullbleed-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nf-hero-brand-viz-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* не обрезаем SVG у правого края — клип остаётся на .nf-hero--brand / fullbleed */
  overflow: visible;
}

/* --- Premium med-tech viz stack --- */
.nf-hero-brand-viz-parallax {
  position: absolute;
  inset: 0;
  overflow: visible;
  transform: translate3d(var(--nf-hero-pvx), var(--nf-hero-pvy), 0);
  will-change: transform;
}

.nf-hero-brand-viz-layer--back {
  position: absolute;
  top: 8%;
  right: -8%;
  width: min(72vw, 820px);
  height: min(78vh, 820px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse 72% 68% at 58% 42%, rgba(var(--nf-accent-rgb), 0.09), transparent 62%),
    radial-gradient(ellipse 48% 44% at 78% 72%, rgba(var(--nf-accent-rgb), 0.055), transparent 58%);
  transform: translate3d(calc(var(--nf-hero-pvx) * -0.35), calc(var(--nf-hero-pvy) * -0.3), 0);
  filter: blur(0.5px);
}

.nf-hero-brand-viz-layer--mid {
  position: absolute;
  inset: -6% -14% -4% 38%;
  opacity: 0.42;
  background-image:
    linear-gradient(105deg, rgba(var(--nf-accent-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(-15deg, rgba(var(--nf-accent-rgb), 0.05) 1px, transparent 1px);
  background-size: 28px 28px, 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 85% 45%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 85% 45%, #000 12%, transparent 72%);
  transform: translate3d(calc(var(--nf-hero-pvx) * -0.18), calc(var(--nf-hero-pvy) * -0.14), 0);
}

.nf-hero-brand-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.nf-hero-brand-particle {
  position: absolute;
  width: var(--nf-hp-w, 36px);
  height: auto;
  opacity: var(--nf-hp-o, 0.16);
  filter: saturate(0.85);
  -webkit-user-drag: none;
  user-select: none;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
}

/* Дрейфующие иконки мед-оборудования (заменили миниатюры логотипа) */
.nf-hero-medicon {
  display: block;
  width: var(--nf-hp-w, 40px);
  height: var(--nf-hp-w, 40px);
  color: var(--nf-color-accent, #3f9caa);
  filter: none;
}
.nf-hero-medicon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Premium med-tech focal sculpture (pseudo-3D, без UI-карточек) --- */
.nf-hero-medtech-col {
  pointer-events: none;
}

.nf-hero-medtech-sculpture {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  perspective: min(1100px, 100vw);
  perspective-origin: 48% 38%;
  contain: layout style;
}

.nf-hero-medtech-sculpture__gimbal {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.nf-hero-medtech-sculpture__tilt {
  position: absolute;
  inset: 6% 4% 8% 4%;
  transform-style: preserve-3d;
  transform: rotateX(var(--nf-mt-rx)) rotateY(var(--nf-mt-ry));
  will-change: transform;
}

.nf-hero-medtech-sculpture__halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse 68% 58% at 48% 42%, rgba(var(--nf-accent-rgb), 0.14), transparent 62%),
    radial-gradient(ellipse 52% 48% at 62% 58%, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0.9;
  transform: translateZ(-80px);
  filter: blur(1px);
}

.nf-hero-medtech-sculpture__deep-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 58%;
  height: 42%;
  margin-left: -29%;
  margin-top: -21%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(var(--nf-accent-rgb), 0.22), rgba(var(--nf-accent-rgb), 0.04) 45%, transparent 70%);
  transform: translateZ(-24px) scale(1.05);
  filter: blur(8px);
  opacity: 0.85;
}

.nf-hero-medtech-sculpture__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 28px -8px rgba(var(--nf-accent-rgb), 0.15);
  transform-style: preserve-3d;
  pointer-events: none;
}

.nf-hero-medtech-sculpture__ring--c {
  width: 104%;
  height: 104%;
  margin-left: -52%;
  margin-top: -52%;
  transform: translateZ(-48px) rotateX(68deg);
  border-color: rgba(var(--nf-accent-rgb), 0.12);
  opacity: 0.75;
}

.nf-hero-medtech-sculpture__ring--b {
  width: 92%;
  height: 92%;
  margin-left: -46%;
  margin-top: -46%;
  transform: translateZ(12px) rotateX(54deg);
  border-color: rgba(var(--nf-accent-rgb), 0.18);
}

.nf-hero-medtech-sculpture__ring--a {
  width: 78%;
  height: 78%;
  margin-left: -39%;
  margin-top: -39%;
  transform: translateZ(48px) rotateX(48deg);
  border-color: rgba(var(--nf-accent-rgb), 0.26);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 65%
  );
}

.nf-hero-medtech-sculpture__matte-plinth {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 72%;
  height: 22%;
  margin-left: -36%;
  margin-top: -11%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(245, 249, 248, 0.95) 0%, rgba(230, 240, 238, 0.55) 100%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.1);
  box-shadow: 0 12px 40px -16px rgba(21, 21, 21, 0.08);
  transform: translateZ(-8px) rotateX(78deg);
  opacity: 0.88;
}

.nf-hero-medtech-sculpture__shell {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.nf-hero-medtech-sculpture__shell--back {
  width: 70%;
  height: 88%;
  margin-left: -35%;
  margin-top: -44%;
  background:
    radial-gradient(ellipse 92% 88% at 42% 38%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 52%, rgba(var(--nf-accent-rgb), 0.06) 100%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.35) 0%, rgba(240, 247, 245, 0.2) 100%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.14);
  box-shadow:
    0 -20px 50px -30px rgba(var(--nf-accent-rgb), 0.12),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  transform: translate3d(calc(var(--nf-hero-pvx) * 0.06), calc(var(--nf-hero-pvy) * 0.04), -18px) rotate(-8deg);
  filter: blur(0.3px);
}

.nf-hero-medtech-sculpture__shell--front {
  width: 62%;
  height: 78%;
  margin-left: -31%;
  margin-top: -39%;
  background:
    radial-gradient(ellipse 80% 75% at 45% 35%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.12) 48%, rgba(var(--nf-accent-rgb), 0.05) 100%),
    linear-gradient(200deg, rgba(255, 255, 255, 0.25) 0%, rgba(248, 252, 251, 0.08) 100%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  box-shadow:
    0 24px 56px -32px rgba(21, 21, 21, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transform: translate3d(calc(var(--nf-hero-pvx) * -0.1), calc(var(--nf-hero-pvy) * -0.07), 36px) rotate(6deg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nf-hero-medtech-sculpture__meniscus {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 54%;
  height: 68%;
  margin-left: -27%;
  margin-top: -34%;
  border-radius: 50%;
  background: radial-gradient(ellipse 100% 100% at 50% 32%, rgba(255, 255, 255, 0.4), transparent 58%);
  opacity: 0.45;
  transform: translateZ(8px) scale(0.96);
  mix-blend-mode: soft-light;
}

.nf-hero-medtech-sculpture__core-stack {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  height: 58%;
  margin-left: -22%;
  margin-top: -29%;
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--nf-hero-pvx) * 0.04), calc(var(--nf-hero-pvy) * 0.03), 22px);
}

.nf-hero-medtech-sculpture__core-glass {
  position: absolute;
  inset: 0;
  border-radius: 50% / 42%;
  background:
    radial-gradient(ellipse 120% 100% at 38% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.15) 42%, rgba(var(--nf-accent-rgb), 0.12) 72%, rgba(var(--nf-accent-rgb), 0.04) 100%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.5) 0%, rgba(232, 244, 241, 0.15) 100%);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -30px 48px -24px rgba(var(--nf-accent-rgb), 0.18),
    0 16px 40px -20px rgba(21, 21, 21, 0.06);
}

.nf-hero-medtech-sculpture__core-matte {
  position: absolute;
  inset: 14% 18% 20% 18%;
  border-radius: 50% / 45%;
  background: linear-gradient(185deg, rgba(252, 253, 253, 0.92) 0%, rgba(236, 244, 242, 0.65) 48%, rgba(220, 234, 230, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 12px rgba(var(--nf-accent-rgb), 0.08) inset;
  opacity: 0.94;
}

.nf-hero-medtech-sculpture__tracings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88%;
  height: 88%;
  margin-left: -44%;
  margin-top: -44%;
  overflow: visible;
  transform: translate3d(calc(var(--nf-hero-pvx) * -0.12), calc(var(--nf-hero-pvy) * -0.08), 52px);
  opacity: 0.95;
  pointer-events: none;
}

.nf-hero-medtech-sculpture__accent-bloom {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 36%;
  height: 28%;
  margin-left: -18%;
  margin-top: -14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(var(--nf-accent-rgb), 0.35), transparent 68%);
  transform: translateZ(58px);
  filter: blur(12px);
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.nf-hero-medtech-sculpture__glare {
  position: absolute;
  left: var(--nf-mt-gx);
  top: var(--nf-mt-gy);
  width: 38%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 30%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.08) 55%, transparent 72%);
  transform: translate3d(-50%, -50%, 62px) rotate(-12deg);
  opacity: 0.55;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.nf-hero-medtech-sculpture__specular-arc {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 48%;
  height: 38%;
  margin-left: -24%;
  margin-top: -19%;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.55);
  border-right-color: rgba(255, 255, 255, 0.12);
  transform: translateZ(64px) rotate(-22deg);
  opacity: 0.4;
  filter: blur(0.5px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .nf-hero-medtech-sculpture {
    width: min(100%, 320px);
    max-width: 320px;
    perspective: 720px;
  }

  .nf-hero-medtech-sculpture__ring--c {
    opacity: 0.45;
  }

  .nf-hero-medtech-sculpture__shell--back {
    opacity: 0.85;
  }

  .nf-hero-medtech-sculpture__tracings {
    opacity: 0.75;
  }

  .nf-hero-medtech-sculpture__trace--b {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nf-hero-medtech-sculpture__gimbal {
    animation: nfMtSculptureFloat 18s ease-in-out infinite;
  }

  .nf-hero-medtech-sculpture__tilt {
    animation: nfMtSculptureBreath 9s ease-in-out infinite;
  }

  .nf-hero-medtech-sculpture__ring--c {
    animation: nfMtRingDriftC 56s linear infinite;
  }

  .nf-hero-medtech-sculpture__ring--b {
    animation: nfMtRingDriftB 44s linear infinite;
  }

  .nf-hero-medtech-sculpture__ring--a {
    animation: nfMtRingDriftA 32s linear infinite;
  }

  .nf-hero-medtech-sculpture__core-stack {
    animation: nfMtCoreNudge 11s ease-in-out infinite;
  }

  .nf-hero-medtech-sculpture__tracings {
    animation: nfMtTraceShift 14s ease-in-out infinite;
  }

  .nf-hero-medtech-sculpture__accent-bloom {
    animation: nfMtBloomPulse 5.5s ease-in-out infinite;
  }

  .nf-hero-medtech-sculpture__deep-glow {
    animation: nfMtDeepGlow 8s ease-in-out infinite;
  }
}

@keyframes nfMtSculptureFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes nfMtSculptureBreath {
  0%,
  100% {
    transform: rotateX(var(--nf-mt-rx)) rotateY(var(--nf-mt-ry)) scale3d(1, 1, 1);
  }

  50% {
    transform: rotateX(var(--nf-mt-rx)) rotateY(var(--nf-mt-ry)) scale3d(1.018, 1.018, 1.018);
  }
}

@keyframes nfMtRingDriftC {
  0% {
    transform: translateZ(-48px) rotateX(68deg) rotateZ(0deg);
  }

  100% {
    transform: translateZ(-48px) rotateX(68deg) rotateZ(360deg);
  }
}

@keyframes nfMtRingDriftB {
  0% {
    transform: translateZ(12px) rotateX(54deg) rotateZ(0deg);
  }

  100% {
    transform: translateZ(12px) rotateX(54deg) rotateZ(-360deg);
  }
}

@keyframes nfMtRingDriftA {
  0% {
    transform: translateZ(48px) rotateX(48deg) rotateZ(0deg);
  }

  100% {
    transform: translateZ(48px) rotateX(48deg) rotateZ(360deg);
  }
}

@keyframes nfMtCoreNudge {
  0%,
  100% {
    transform: translate3d(calc(var(--nf-hero-pvx) * 0.04), calc(var(--nf-hero-pvy) * 0.03), 22px) translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(calc(var(--nf-hero-pvx) * 0.04), calc(var(--nf-hero-pvy) * 0.03), 22px) translate3d(-3px, 2px, 4px);
  }
}

@keyframes nfMtTraceShift {
  0%,
  100% {
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.12), calc(var(--nf-hero-pvy) * -0.08), 52px) translate3d(0, 0, 0);
    opacity: 0.92;
  }

  50% {
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.12), calc(var(--nf-hero-pvy) * -0.08), 52px) translate3d(2px, -3px, 0);
    opacity: 1;
  }
}

@keyframes nfMtBloomPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: translateZ(58px) scale(1);
  }

  50% {
    opacity: 0.62;
    transform: translateZ(58px) scale(1.06);
  }
}

@keyframes nfMtDeepGlow {
  0%,
  100% {
    opacity: 0.78;
    transform: translateZ(-24px) scale(1.05);
  }

  50% {
    opacity: 0.92;
    transform: translateZ(-24px) scale(1.1);
  }
}

/* Левая колонка brand hero — масштаб и иерархия в системе сайта */
.nf-hero__content--brand {
  font-family: inherit;
  color: var(--nf-color-text-primary);
  max-width: min(38rem, 100%);
  padding-top: 2px;
}

@media (min-width: 1024px) {
  .nf-hero__content--brand {
    max-width: min(42rem, 100%);
    padding-top: 6px;
  }
}

.nf-hero--brand .nf-hero__title--brand {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}

.nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line {
  display: block;
  max-width: 19.5em;
  font-weight: 600;
  letter-spacing: -0.036em;
  color: var(--nf-color-text-primary);
}

.nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--lead {
  margin: 0;
  font-size: clamp(2.125rem, 2.1vw + 1.15rem, 3.125rem);
  line-height: 1.08;
}

.nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--sub {
  margin: 0.55rem 0 0;
  max-width: 22em;
  font-size: clamp(1.5rem, 1.15vw + 1rem, 2.125rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--nf-color-text-strong);
}

@media (min-width: 768px) {
  .nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--lead {
    font-size: clamp(2.25rem, 1.9vw + 1.2rem, 3.25rem);
    line-height: 1.06;
  }

  .nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--sub {
    margin-top: 0.65rem;
    font-size: clamp(1.5625rem, 1vw + 1.1rem, 2.1875rem);
    line-height: 1.16;
  }
}

.nf-hero__lead--brand {
  margin: calc(var(--nf-space-4) + 6px) 0 0;
  max-width: 36rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: var(--nf-color-text-secondary);
}

@media (min-width: 640px) {
  .nf-hero__lead--brand {
    margin-top: calc(var(--nf-space-5) - 2px);
    font-size: 17px;
    line-height: 1.66;
    max-width: 38rem;
  }
}

@media (min-width: 1024px) {
  .nf-hero__lead--brand {
    margin-top: var(--nf-space-5);
    max-width: 40rem;
  }
}

.nf-hero__note--brand {
  margin: var(--nf-space-3) 0 0;
  max-width: 36rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: var(--nf-color-muted);
}

@media (min-width: 640px) {
  .nf-hero__note--brand {
    margin-top: var(--nf-space-3);
    font-size: 15px;
    line-height: 1.6;
    max-width: 38rem;
  }
}

@media (min-width: 1024px) {
  .nf-hero__note--brand {
    max-width: 40rem;
  }
}

.nf-hero__buttons--brand {
  margin-top: calc(var(--nf-space-5) + 8px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nf-space-2) var(--nf-space-3);
}

@media (min-width: 640px) {
  .nf-hero__buttons--brand {
    margin-top: calc(var(--nf-space-5) + 12px);
  }
}

@media (min-width: 1024px) {
  .nf-hero__buttons--brand {
    margin-top: calc(var(--nf-space-5) + var(--nf-space-2));
  }
}

/* Сброс устаревших !important-правил первого экрана для brand hero */
.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__content--brand {
  max-width: min(42rem, 100%) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__title--brand {
  max-width: none !important;
  font-size: unset !important;
  line-height: unset !important;
  letter-spacing: unset !important;
  gap: unset !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__title--brand span {
  white-space: normal !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--lead {
  color: var(--nf-color-text-primary) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line--sub {
  color: var(--nf-color-text-strong) !important;
}

.nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__lead--brand {
  margin-top: calc(var(--nf-space-4) + 6px) !important;
  max-width: 40rem !important;
}

@media (min-width: 640px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__lead--brand {
    margin-top: calc(var(--nf-space-5) - 2px) !important;
  }
}

@media (min-width: 1024px) {
  .nf-home-firstscreen.nf-first-screen .nf-hero--brand .nf-hero__lead--brand {
    margin-top: var(--nf-space-5) !important;
  }
}

.nf-home-firstscreen .nf-hero--brand .nf-hero-brand-svg {
  position: absolute;
  top: 50%;
  right: max(-11vw, -96px);
  left: auto;
  z-index: 2;
  width: min(90vw, 720px);
  max-width: none;
  height: min(66vh, 640px);
  transform: translate3d(calc(var(--nf-hero-pvx) * -0.25), calc(var(--nf-hero-pvy) * -0.2), 0) translateY(-50%);
}

@media (min-width: 1024px) {
  .nf-home-firstscreen .nf-hero--brand .nf-hero-brand-svg {
    right: max(-3vw, -40px);
    width: min(54vw, 900px);
    height: min(80vh, 740px);
  }
}

@media (max-width: 1023px) {
  .nf-home-firstscreen .nf-hero--brand .nf-hero-brand-svg {
    opacity: 0.62;
    width: min(96vw, 540px);
    height: min(54vh, 500px);
    right: -20%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nf-hero-brand-viz-layer--back {
    animation: nfHeroVizBreathe 14s ease-in-out infinite;
  }

  .nf-hero-brand-viz-layer--mid {
    animation: nfHeroVizGridDrift 80s linear infinite;
  }

  .nf-hero-brand-svg__iso {
    animation: nfHeroVizIsoShift 22s ease-in-out infinite;
  }
}

@keyframes nfHeroVizBreathe {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.35), calc(var(--nf-hero-pvy) * -0.3), 0) scale(1);
  }

  50% {
    opacity: 0.92;
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.35), calc(var(--nf-hero-pvy) * -0.3), 0) scale(1.03);
  }
}

@keyframes nfHeroVizGridDrift {
  0% {
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.18), calc(var(--nf-hero-pvy) * -0.14), 0) translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(calc(var(--nf-hero-pvx) * -0.18), calc(var(--nf-hero-pvy) * -0.14), 0) translate3d(-24px, -18px, 0);
  }
}

@keyframes nfHeroVizIsoShift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  50% {
    transform: translate3d(-6px, 4px, 0);
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-hero-brand-viz-layer--back,
  .nf-hero-brand-viz-layer--mid,
  .nf-hero-brand-svg__iso {
    animation: none !important;
  }

  .nf-hero-medtech-sculpture__gimbal,
  .nf-hero-medtech-sculpture__tilt,
  .nf-hero-medtech-sculpture__ring--a,
  .nf-hero-medtech-sculpture__ring--b,
  .nf-hero-medtech-sculpture__ring--c,
  .nf-hero-medtech-sculpture__core-stack,
  .nf-hero-medtech-sculpture__tracings,
  .nf-hero-medtech-sculpture__accent-bloom,
  .nf-hero-medtech-sculpture__deep-glow {
    animation: none !important;
  }

  .nf-hero-medtech-sculpture__tilt {
    transform: rotateX(0) rotateY(0);
  }

  #nf-premium-hero-root {
    --nf-hero-pvx: 0px;
    --nf-hero-pvy: 0px;
    --nf-mt-rx: 0deg;
    --nf-mt-ry: 0deg;
    --nf-mt-gx: 42%;
    --nf-mt-gy: 36%;
  }
}

.nf-hero-wm-wash {
  pointer-events: none;
}

.nf-hero-wm-grid {
  pointer-events: none;
}

.nf-hero-wm-drift-layer {
  position: absolute;
  inset: -12% -14%;
  pointer-events: none;
  contain: layout style;
}

/* Разреженный watermark: только no-repeat-марки, без «обоев» */
.nf-hero-wm-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Слой 1 — редкие мелкие марки, статично (меньше шума и GPU) */
.nf-hero-wm-layer--1 {
  opacity: 0.017;
  transform-origin: 48% 42%;
  background-image:
    url("img/logo-footer.png"),
    url("img/logo-footer.png"),
    url("img/logo-footer.png"),
    url("img/logo-footer.png");
  background-size:
    clamp(14px, 2.8vw, 20px) auto,
    clamp(12px, 2.4vw, 17px) auto,
    clamp(16px, 3vw, 22px) auto,
    clamp(11px, 2.2vw, 16px) auto;
  background-position:
    8% 16%,
    88% 22%,
    48% 72%,
    26% 40%;
}

/* Слой 2 — средний масштаб; единственный анимированный слой, очень медленно */
.nf-hero-wm-layer--2 {
  opacity: 0.022;
  transform-origin: 52% 55%;
  background-image:
    url("img/logo-footer.png"),
    url("img/logo-footer.png"),
    url("img/logo-footer.png");
  background-size:
    clamp(26px, 4.2vw, 36px) auto,
    clamp(24px, 3.9vw, 32px) auto,
    clamp(30px, 4.8vw, 40px) auto;
  background-position:
    20% 38%,
    78% 52%,
    12% 78%;
}

/* Слой 3 — крупные акценты, статично */
.nf-hero-wm-layer--3 {
  opacity: 0.028;
  transform-origin: 56% 48%;
  background-image:
    url("img/logo-footer.png"),
    url("img/logo-footer.png");
  background-size:
    clamp(36px, 5.4vw, 50px) auto,
    clamp(30px, 4.6vw, 42px) auto;
  background-position:
    34% 24%,
    74% 40%;
}

@media (prefers-reduced-motion: no-preference) {
  .nf-hero-wm-layer--2 {
    animation: nfWmSparseDrift 280s linear infinite;
  }
}

/* Один лёгкий цикл: только translate3d, без rotate */
@keyframes nfWmSparseDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-5px, 4px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-hero-wm-layer {
    animation: none !important;
  }
}

.nf-hero--brand .nf-hero__title--brand .nf-hero__headline-line {
  opacity: 1 !important;
  transform: none !important;
}

.nf-hero--brand .nf-hero__lead--brand:hover,
.nf-hero--brand .nf-hero__note--brand:hover {
  color: inherit;
}

/* Brand hero CTAs */
.nf-hero--brand .nf-hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 144px;
  padding: 13px 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

/* glare for hero buttons */
.nf-hero--brand .nf-hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--nfbx, 50%) var(--nfby, 50%), rgba(255,255,255,0.24) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.nf-hero--brand .nf-hero-btn:hover::after {
  opacity: 1;
}

@media (min-width: 640px) {
  .nf-hero--brand .nf-hero-btn {
    min-height: 52px;
    min-width: 152px;
    padding: 14px 34px;
    font-size: 15px;
  }
}

.nf-hero--brand .nf-hero-btn:focus-visible {
  outline: none;
  box-shadow: var(--nf-focus), 0 0 0 3px rgba(var(--nf-accent-rgb), 0.15);
}

.nf-hero--brand .nf-hero-btn--primary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(150deg, #62bec7 0%, #3d9faa 45%, #2a8892 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 6px 28px rgba(var(--nf-accent-rgb), 0.46),
    0 2px 6px rgba(0,0,0,0.1);
}

/* hero sheen — brighter, slower */
.nf-hero--brand .nf-hero-btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.26) 50%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  animation: nfBtnSheen 4.5s ease-in-out infinite;
  animation-delay: 0.8s;
}

.nf-hero--brand .nf-hero-btn--primary:hover {
  filter: brightness(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.24) inset,
    0 12px 40px rgba(var(--nf-accent-rgb), 0.58),
    0 3px 10px rgba(0,0,0,0.1),
    0 0 0 4px rgba(var(--nf-accent-rgb), 0.16);
}

.nf-hero--brand .nf-hero-btn--primary:active {
  transform: scale(0.97) !important;
  filter: brightness(0.97);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 4px 14px rgba(var(--nf-accent-rgb), 0.3);
}

.nf-hero--brand .nf-hero-btn--secondary {
  color: var(--nf-color-accent-contrast);
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)) padding-box,
    linear-gradient(135deg,
      rgba(var(--nf-accent-rgb), 0.45) 0%,
      rgba(var(--nf-accent-rgb), 0.1) 60%,
      rgba(150,170,170,0.12) 100%
    ) border-box;
  box-shadow: 0 1px 6px rgba(var(--nf-graphite-rgb), 0.07);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nf-hero--brand .nf-hero-btn--secondary:hover {
  background:
    linear-gradient(rgba(255,255,255,0.96), rgba(255,255,255,0.92)) padding-box,
    linear-gradient(135deg,
      rgba(var(--nf-accent-rgb), 0.75) 0%,
      rgba(var(--nf-accent-rgb), 0.38) 60%,
      rgba(150,170,170,0.18) 100%
    ) border-box;
  box-shadow:
    0 0 0 4px rgba(var(--nf-accent-rgb), 0.09),
    0 8px 28px -4px rgba(var(--nf-accent-rgb), 0.22);
}

.nf-hero--brand .nf-hero-btn--secondary:active {
  transform: scale(0.97) !important;
}

@media (prefers-reduced-motion: reduce) {
  .nf-hero--brand .nf-hero-btn {
    transition-duration: 0.01ms;
    will-change: auto;
  }

  .nf-hero--brand .nf-hero-btn:hover,
  .nf-hero--brand .nf-hero-btn:active {
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTOR GATEWAY — Equipment Hub & Explorer Navigation
   Expandable tile drilldown + collapse-strip switcher
═══════════════════════════════════════════════════════════════════ */

/* ── Hub phase ───────────────────────────────────────────────── */

.nf-catalog-hub {
  animation: nf-hub-enter 360ms cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes nf-hub-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nf-catalog-hub__container {
  max-width: var(--nf-home-max-width);
  padding-top: clamp(24px, 3.5vw, 40px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

/* ── Hub heading ─────────────────────────────────────────────── */

.nf-catalog-hub__header {
  padding-bottom: clamp(20px, 3vw, 32px);
}

.nf-catalog-hub__h1 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--nf-color-text-primary, #151515);
}

.nf-catalog-hub__sub {
  margin: 0;
  font-size: 15px;
  color: var(--nf-color-text-muted, #6f7c79);
  line-height: 1.5;
}

/* ── Hub grid ────────────────────────────────────────────────── */

.nf-catalog-hub__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

@media (max-width: 960px) {
  .nf-catalog-hub__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .nf-catalog-hub__grid { grid-template-columns: 1fr; }
}

/* ── Sector card — clickable tile ────────────────────────────── */

@keyframes nf-card-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

@keyframes nf-path-draw {
  from { stroke-dashoffset: var(--pl, 500); }
  to   { stroke-dashoffset: 0; }
}

.nf-sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 272px;
  padding: 0 0 26px;
  border-radius: 22px;
  border: 1.5px solid rgba(26, 36, 35, 0.07);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  z-index: 0;
  /* entry animation with per-card stagger */
  animation: nf-card-in 520ms cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--nf-vp-stagger, 0ms);
  /* hover transitions */
  transition:
    transform     380ms cubic-bezier(0.22,1,0.36,1),
    border-color  260ms ease,
    box-shadow    380ms ease,
    background    260ms ease,
    z-index       0ms;
}

/* Top accent line — colored per card */
.nf-sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--card-accent, #4da0a9) 0%,
    color-mix(in srgb, var(--card-accent, #4da0a9) 40%, white) 100%
  );
  opacity: 0.5;
  transition: opacity 280ms ease;
  z-index: 3;
}

.nf-sector-card:hover::before {
  opacity: 1;
}

.nf-sector-card:hover {
  transform: translateY(-10px) scale(1.015);
  z-index: 10;
  border-color: color-mix(in srgb, var(--card-accent, #4da0a9) 30%, transparent);
  box-shadow:
    0 30px 64px color-mix(in srgb, var(--card-accent, #4da0a9) 20%, transparent),
    0 8px 20px rgba(26, 36, 35, 0.07);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--card-accent, #4da0a9) 4%, white) 0%,
    #fff 50%,
    color-mix(in srgb, var(--card-accent, #4da0a9) 6%, white) 100%
  );
}

.nf-sector-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent, #4da0a9) 55%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--card-accent, #4da0a9) 24%, transparent),
    0 14px 36px color-mix(in srgb, var(--card-accent, #4da0a9) 12%, transparent);
  z-index: 10;
}

/* ── Background medical illustration ─────────────────────────── */

.nf-sector-card__bg-svg {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 192px;
  pointer-events: none;
  opacity: 0.56;
  transition:
    opacity   400ms ease,
    transform 400ms cubic-bezier(0.22,1,0.36,1);
}

.nf-sector-card__bg-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.nf-sector-card:hover .nf-sector-card__bg-svg {
  opacity: 0.86;
  transform: translateY(-50%) scale(1.08) translateX(-5px);
}

/* ── Card body ───────────────────────────────────────────────── */

.nf-sector-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 26px;
}

/* Small category index label */
.nf-sector-card__idx {
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  color: var(--card-accent, #4da0a9);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 4px;
}

.nf-sector-card__name {
  margin: 0;
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--nf-color-text-primary, #151515);
  transition: color 240ms ease;
}

.nf-sector-card:hover .nf-sector-card__name {
  color: var(--card-accent, #3d9099);
}

.nf-sector-card__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--nf-color-text-muted, #6f7c79);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.nf-sector-card__meta {
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 36, 35, 0.28);
  margin-top: 6px;
  transition: color 240ms ease;
}

.nf-sector-card:hover .nf-sector-card__meta {
  color: color-mix(in srgb, var(--card-accent, #4da0a9) 60%, rgba(26,36,35,0.28));
}

/* ── Arrow: hidden → visible on hover ───────────────────────── */

.nf-sector-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent, #4da0a9) 10%, transparent);
  color: var(--card-accent, #4da0a9);
  opacity: 0;
  transform: translate(6px, -6px) scale(0.72);
  transition:
    opacity   260ms ease,
    transform 340ms cubic-bezier(0.22,1,0.36,1),
    background 240ms ease;
  z-index: 2;
}

.nf-sector-card:hover .nf-sector-card__arrow {
  opacity: 1;
  transform: none;
  background: color-mix(in srgb, var(--card-accent, #4da0a9) 15%, transparent);
}

/* ── Explorer phase ──────────────────────────────────────────── */

/* nf-app has padding-top: 164px; nav is 80px → 84px gap. Pull explorer flush with nav */
.nf-catalog-explorer {
  margin-top: -84px;
  animation: nf-explorer-enter 300ms cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes nf-explorer-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 768px) {
  /* mobile: nf-app padding-top: 88px; nav: 64px → 24px gap */
  .nf-catalog-explorer { margin-top: -24px; }
}

/* ── Context strip ───────────────────────────────────────────── */

.nf-catalog-strip {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(26, 36, 35, 0.09);
  box-shadow: 0 2px 10px rgba(26, 36, 35, 0.06);
}

.nf-catalog-strip__inner {
  display: flex;
  align-items: center;
  height: 52px;
  min-width: 0;
}

.nf-catalog-strip__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.2);
  background: rgba(var(--nf-accent-rgb), 0.06);
  color: var(--nf-color-accent-hover, #3d9099);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nf-catalog-strip__back:hover {
  background: rgba(var(--nf-accent-rgb), 0.12);
  border-color: rgba(var(--nf-accent-rgb), 0.35);
  color: var(--nf-color-accent-contrast, #2d7880);
}

.nf-catalog-strip__back-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.nf-catalog-strip__sep {
  width: 1px;
  height: 22px;
  background: rgba(26, 36, 35, 0.1);
  margin: 0 12px;
  flex-shrink: 0;
}

.nf-catalog-strip__scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nf-catalog-strip__scroll::-webkit-scrollbar { display: none; }

.nf-catalog-strip__items {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  width: max-content;
}

.nf-catalog-strip__item {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 36, 35, 0.09);
  background: transparent;
  color: var(--nf-color-text-secondary, #4a5568);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nf-catalog-strip__item:hover {
  background: rgba(var(--nf-accent-rgb), 0.07);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  color: var(--nf-color-accent-hover, #3d9099);
}

.nf-catalog-strip__item.is-active {
  background: rgba(var(--nf-accent-rgb), 0.1);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  color: var(--nf-color-accent-hover, #3d9099);
  font-weight: 650;
  cursor: default;
}

/* ── Explorer: category title banner (scrolls above sticky strip) */

.nf-catalog-explorer__head {
  background: linear-gradient(180deg, rgba(236, 247, 246, 0.85) 0%, rgba(245, 252, 251, 0) 100%);
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(26, 36, 35, 0.07);
}

.nf-catalog-explorer__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--nf-color-text-primary, #151515);
  position: relative;
  padding-left: 20px;
}

.nf-catalog-explorer__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--nf-color-accent, #4da0a9), color-mix(in srgb, var(--nf-color-accent, #4da0a9) 55%, white));
}

.nf-catalog-explorer__desc {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nf-color-text-muted, #6f7c79);
  padding-left: 20px;
}

/* ── Explorer breadcrumb (shows when subcategory active) ──────── */
.nf-catalog-explorer__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 20px;
  margin-bottom: 10px;
}
.nf-bc__item {
  font-size: 12px;
  font-weight: 500;
  color: rgba(26,36,35,0.45);
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  line-height: 1;
}
.nf-bc__item--link {
  color: var(--nf-color-accent, #4da0a9);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(77,160,169,0.35);
  transition: color 0.16s, text-decoration-color 0.16s;
}
.nf-bc__item--link:hover {
  color: #3d8f98;
  text-decoration-color: rgba(77,160,169,0.65);
}
.nf-bc__item--active {
  color: rgba(26,36,35,0.70);
  font-weight: 620;
}
.nf-bc__sep {
  color: rgba(26,36,35,0.28);
  line-height: 1;
  display: flex;
  align-items: center;
}

/* ── Explorer content: products area below the sticky strip ───── */

.nf-catalog-explorer__content {
  padding-bottom: clamp(32px, 4vw, 56px);
}

/* Grid container: full-width, no sidebar */
.nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
  margin-top: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
  gap: 0;
}

/* Explorer main: transparent — products live directly on page bg */
.nf-catalog-explorer .nf-catalog-main {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

/* ── Category strip — clean navigation only ──────────────────── */

.nf-catalog-strip__inner {
  height: 52px;
}

/* ── Category strip — refined ────────────────────────────────── */

.nf-catalog-strip {
  border-bottom: 1px solid rgba(26, 36, 35, 0.08);
  box-shadow: none;
}

.nf-catalog-strip__inner {
  height: 56px;
  gap: 0;
}

.nf-catalog-strip__item {
  height: 30px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 500;
  border-color: transparent;
  color: var(--nf-color-text-secondary, #4a5568);
  border-radius: 999px;
  transition: background 130ms ease, color 130ms ease;
}

.nf-catalog-strip__item:hover {
  background: rgba(var(--nf-accent-rgb), 0.08);
  border-color: transparent;
  color: var(--nf-color-accent-hover, #3d9099);
}

.nf-catalog-strip__item.is-active {
  background: rgba(var(--nf-accent-rgb), 0.11);
  border-color: rgba(var(--nf-accent-rgb), 0.22);
  color: var(--nf-color-accent-hover, #3d9099);
  font-weight: 640;
}

/* ── Strip right-side controls: sort + view ─────────────────── */

.nf-strip-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-left: 4px;
}

/* Sort — native select, styled directly */
.nf-strip-sort {
  position: relative;
  display: flex;
  align-items: center;
}

.nf-strip-sort__select {
  height: 32px;
  padding: 0 28px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 36, 35, 0.1);
  background: rgba(26, 36, 35, 0.03);
  font-size: 12px;
  font-weight: 560;
  color: var(--nf-color-text-primary, #1a2423);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.nf-strip-sort__select:hover,
.nf-strip-sort__select:focus {
  background: rgba(26, 36, 35, 0.06);
  border-color: rgba(26, 36, 35, 0.18);
}

.nf-strip-sort__chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 36, 35, 0.4);
  pointer-events: none;
  flex-shrink: 0;
}

/* View toggle — two icon buttons */
.nf-strip-view {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(26, 36, 35, 0.1);
  background: rgba(26, 36, 35, 0.03);
}

.nf-strip-view__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgba(26, 36, 35, 0.35);
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease;
}

.nf-strip-view__btn:hover {
  color: rgba(26, 36, 35, 0.65);
}

.nf-strip-view__btn.is-active {
  background: var(--nf-color-accent, #4da0a9);
  color: #fff;
  box-shadow: 0 2px 6px rgba(var(--nf-accent-rgb), 0.35);
}

/* ── Toolbar ─────────────────────────────────────────────────── */

.nf-catalog-explorer .nf-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.nf-toolbar-left {}

.nf-catalog-explorer .nf-catalog-count {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(26,36,35,0.52);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/*
 * Right side: sort + view toggle as a single connected pill.
 * NO overflow:hidden — the dropdown menu must escape the container.
 */
.nf-toolbar-right {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(26,36,35,0.08);
  border-radius: 10px;
  background: rgba(26,36,35,0.018);
}

/* ─ Sort area ────────────────────────────────────────────────── */
.nf-toolbar-sort {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Funnel icon — sits over the display button on the left */
.nf-toolbar-sort__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26,36,35,0.35);
  pointer-events: none;
  z-index: 2;
}

/* The extra chevron SVG from HTML is redundant — .nf-select-display::after handles it */
.nf-toolbar-sort__chevron {
  display: none;
}

/* The hidden native <select> — JS moves it inside .nf-select-shell */
.nf-toolbar-sort__select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* Enhanced shell: inherits toolbar-sort's stretch */
.nf-toolbar-sort .nf-select-shell {
  position: relative;
  display: flex;
  align-items: stretch;
  width: auto;
}

/* The custom display button — overrides global .nf-select-display styles */
.nf-toolbar-sort .nf-select-display {
  height: auto;                               /* stretch to match pill height */
  min-height: 34px;
  padding: 0 30px 0 28px;                     /* left: room for funnel icon; right: room for chevron ::after */
  min-width: 152px;
  border: none !important;
  border-right: 1px solid rgba(26,36,35,0.07) !important;
  border-radius: 9px 0 0 9px;
  background: transparent;
  box-shadow: none !important;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--nf-color-text-primary, #1a2423);
  transition: background 120ms ease;
  white-space: nowrap;
}

.nf-toolbar-sort .nf-select-display:hover {
  background: rgba(26,36,35,0.04);
}

.nf-toolbar-sort .nf-select-shell.is-open .nf-select-display {
  background: rgba(26,36,35,0.04);
  box-shadow: none !important;
}

/* Chevron ::after — use muted color consistent with toolbar */
.nf-toolbar-sort .nf-select-display::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231a2423' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' opacity='0.35'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  right: 9px;
  width: 14px;
  height: 14px;
  background-size: 12px 12px;
}

/* Dropdown menu — clean card below */
.nf-toolbar-sort .nf-select-menu {
  left: 0;
  right: auto;
  min-width: 180px;
  top: calc(100% + 4px);
  border-radius: 12px;
  padding: 4px;
  z-index: 400;
}

.nf-toolbar-sort .nf-select-option {
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 7px;
  min-height: 0;
  color: var(--nf-color-text-primary, #1a2423);
  font-weight: 450;
  transition: background 100ms ease, color 100ms ease;
}

.nf-toolbar-sort .nf-select-option:hover {
  background: rgba(var(--nf-accent-rgb), 0.07);
  color: var(--nf-color-text-primary, #1a2423);
}

.nf-toolbar-sort .nf-select-option.is-active {
  background: rgba(var(--nf-accent-rgb), 0.1);
  color: var(--nf-color-accent-contrast, #2d6b72);
  font-weight: 600;
}

/* ─ View toggle ──────────────────────────────────────────────── */
.nf-toolbar-view {
  display: flex;
  align-items: center;
  padding: 3px 4px;
  gap: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.nf-toolbar-view__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgba(26,36,35,0.3);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.nf-toolbar-view__btn:hover {
  color: rgba(26,36,35,0.6);
}

.nf-toolbar-view__btn.is-active {
  background: var(--nf-color-accent, #4da0a9);
  color: #fff;
  box-shadow: 0 1px 4px rgba(var(--nf-accent-rgb), 0.25);
}

/* ── Product cards — full-width grid, no sidebar ─────────────── */

/* 4 columns on desktop now that sidebar is gone */
.nf-catalog-explorer #catalogProducts.nf-products-grid.nf-catalog-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}

@media (max-width: 1100px) {
  .nf-catalog-explorer #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .nf-catalog-explorer #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .nf-catalog-explorer #catalogProducts.nf-products-grid.nf-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.nf-catalog-explorer .nf-catalog-grid .nf-product-card--catalog {
  border-radius: 18px;
  border: 1px solid rgba(26,36,35,0.07);
  background: #fff;
  box-shadow: 0 1px 8px rgba(26,36,35,0.05);
  overflow: hidden;
  transition:
    transform  300ms cubic-bezier(0.22,1,0.36,1),
    box-shadow 300ms ease,
    border-color 200ms ease;
}

.nf-catalog-explorer .nf-catalog-grid .nf-product-card--catalog:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 44px rgba(26,36,35,0.10),
    0 3px 10px rgba(var(--nf-accent-rgb), 0.06);
  border-color: rgba(var(--nf-accent-rgb), 0.2);
}

/* ── Product image zone — premium floating look ──────────────── */

.nf-catalog-explorer .nf-catalog-grid .nf-product-thumb {
  position: relative;
  height: 168px;
  border-radius: 0;
  overflow: hidden;
  border-bottom: none;
  /* Soft tinted gradient — works perfectly with mix-blend-mode: multiply */
  background:
    radial-gradient(ellipse 90% 80% at 50% 60%, rgba(210, 236, 234, 0.85) 0%, rgba(224, 240, 238, 0.55) 55%, transparent 100%),
    linear-gradient(180deg, #f4f9f8 0%, #eaf2f1 100%);
}

/* Bottom gradient fade that melts into the card body */
.nf-catalog-explorer .nf-catalog-grid .nf-product-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(248, 252, 251, 0.85));
  pointer-events: none;
  z-index: 1;
}

/* Thumb inner: centred with padding for the floating effect */
.nf-catalog-explorer .nf-catalog-grid .nf-product-thumb .nf-product-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px 12px;
  box-sizing: border-box;
  z-index: 0;
}

/* THE KEY: mix-blend-mode:multiply removes white backgrounds;
   drop-shadow adds realistic depth; scale+translateY creates float */
.nf-catalog-explorer .nf-catalog-grid .nf-product-thumb .nf-product-thumb-inner img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 10px 22px rgba(20, 70, 65, 0.22))
          drop-shadow(0 3px 6px rgba(20, 70, 65, 0.1));
  transform: scale(0.84) translateY(-6px);
  transform-origin: center bottom;
  transition:
    transform  0.5s cubic-bezier(0.22,1,0.36,1),
    filter     0.5s ease;
}

/* On hover: product lifts further with a stronger glow shadow */
.nf-catalog-explorer .nf-catalog-grid .nf-product-card--catalog:hover
  .nf-product-thumb .nf-product-thumb-inner img {
  transform: scale(0.90) translateY(-12px);
  filter: drop-shadow(0 16px 30px rgba(20, 70, 65, 0.28))
          drop-shadow(0 4px 8px rgba(20, 70, 65, 0.12));
}

/* ── Filters hidden ──────────────────────────────────────────── */

.nf-catalog-explorer .nf-filters {
  display: none;
}

/* ── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .nf-catalog-hub,
  .nf-catalog-explorer,
  .nf-sector-card { animation: none; opacity: 1; transform: none; }
  .nf-sector-card,
  .nf-sector-card__name,
  .nf-sector-card__arrow,
  .nf-sector-card__bg-svg { transition: none; }
}

/* ── Mobile ──────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .nf-catalog-strip { top: 56px; }
  .nf-catalog-strip__inner { height: 46px; }
  .nf-catalog-strip__back span { display: none; }
  .nf-catalog-strip__back { padding: 0 10px; gap: 0; }
  .nf-catalog-strip__sep { margin: 0 8px; }
  .nf-catalog-explorer__head { padding: 20px 0 16px; }
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide { margin-top: 12px; }
  .nf-catalog-hub__h1 { font-size: 1.5rem; }
  .nf-sector-card { min-height: 180px; padding: 0 0 18px; }
  .nf-sector-card__body { padding: 0 18px; }
  .nf-sector-card__bg-svg { width: 148px; }
}

/* ═══════════════════════════════════════════════════════════════
   HOME · FEATURED DIRECTIONS — organic branch tree
═══════════════════════════════════════════════════════════════ */

/* ── Sub-heading in section header ──────────────────────────── */

.nf-home-section-head__sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nf-color-text-muted, #6f7c79);
}

/* ── Branch scene container ──────────────────────────────────── */

.nf-branch-scene {
  position: relative;
  padding-bottom: 72px; /* space for trunk root below cards */
}

.nf-branch-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
}

/* ── SVG branch paths ────────────────────────────────────────── */

.nf-branch-trunk {
  fill: none;
  stroke: var(--nf-color-accent, #4da0a9);
  stroke-width: 1.5;
  opacity: 0.12;
  stroke-linecap: round;
}

.nf-branch-root-dot {
  fill: var(--nf-color-accent, #4da0a9);
  opacity: 0.18;
}

.nf-branch-glow {
  fill: none;
  stroke-width: 16;
  opacity: 0;
  stroke-linecap: round;
  transition: opacity 0.3s ease;
}

.nf-branch-line {
  fill: none;
  stroke-width: 1.5;
  opacity: 0.18;
  stroke-linecap: round;
  /* dashoffset transition set via JS on hover */
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

.nf-branch-end-dot {
  opacity: 0.25;
  transition: opacity 0.3s ease, r 0.3s ease;
}

/* Hover state */
.nf-branch-glow.is-hot      { opacity: 0.11; }
.nf-branch-line.is-hot      { opacity: 0.72; stroke-width: 2.5; }
.nf-branch-end-dot.is-hot   { opacity: 0.9; r: 6; }

/* ── Asymmetric grid ─────────────────────────────────────────── */

.nf-branch-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1.05fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

/* Stagger card vertical offsets so they sit at different heights */
.nf-leaf-card[data-leaf-slot="1"] { margin-top: 72px; }
.nf-leaf-card[data-leaf-slot="2"] { margin-top: 32px; }

/* ── Leaf card shell ─────────────────────────────────────────── */

.nf-leaf-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 36, 35, 0.08);
  box-shadow: 0 2px 14px rgba(26, 36, 35, 0.04);
  cursor: pointer;
  outline: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-leaf-card:hover,
.nf-leaf-card:focus-visible {
  transform: translateY(-10px) scale(1.018);
  box-shadow:
    0 28px 60px color-mix(in srgb, var(--card-accent, #4da0a9) 20%, transparent),
    0 6px 18px rgba(26, 36, 35, 0.07);
}

/* ── Visual zone ─────────────────────────────────────────────── */

.nf-leaf-card__visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    140deg,
    var(--card-accent, #4da0a9) 0%,
    color-mix(in srgb, var(--card-accent, #4da0a9) 58%, #071818) 100%
  );
}

/* Different visual heights per slot */
.nf-leaf-card[data-leaf-slot="0"] .nf-leaf-card__visual { height: 238px; }
.nf-leaf-card[data-leaf-slot="1"] .nf-leaf-card__visual { height: 168px; }
.nf-leaf-card[data-leaf-slot="2"] .nf-leaf-card__visual { height: 204px; }

.nf-leaf-card__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 18% 28%, rgba(255,255,255,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 82% 75%, rgba(0,0,0,0.14) 0%, transparent 50%);
}

.nf-leaf-card__icon {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 185px;
  height: 185px;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1.55;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    stroke 0.4s ease;
}

.nf-leaf-card[data-leaf-slot="1"] .nf-leaf-card__icon { width: 145px; height: 145px; }

.nf-leaf-card:hover .nf-leaf-card__icon {
  transform: scale(1.1) rotate(5deg);
  stroke: rgba(255, 255, 255, 0.4);
}

.nf-leaf-card__num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

/* ── Card body ───────────────────────────────────────────────── */

.nf-leaf-card__body {
  padding: 20px 20px 16px;
}

.nf-leaf-card__title {
  margin: 0 0 7px;
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--nf-color-text-primary, #151515);
}

.nf-leaf-card__desc {
  margin: 0 0 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--nf-color-text-muted, #6f7c79);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-leaf-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nf-leaf-card__count {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  background: color-mix(in srgb, var(--card-accent, #4da0a9) 11%, transparent);
  color: var(--card-accent, #4da0a9);
}

.nf-leaf-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--card-accent, #4da0a9);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-leaf-card:hover .nf-leaf-card__cta,
.nf-leaf-card:focus-visible .nf-leaf-card__cta {
  opacity: 1;
  transform: none;
}

/* Bottom accent bar */
.nf-leaf-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(
    90deg,
    var(--card-accent, #4da0a9),
    color-mix(in srgb, var(--card-accent, #4da0a9) 35%, white)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nf-leaf-card:hover::after { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 860px) {
  .nf-branch-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nf-leaf-card[data-leaf-slot="1"] { margin-top: 0; }
  .nf-leaf-card[data-leaf-slot="2"] {
    margin-top: 0;
    grid-column: 1 / -1;
  }
  .nf-leaf-card[data-leaf-slot="2"] .nf-leaf-card__visual { height: 160px; }
  .nf-branch-svg { display: none; } /* hide SVG on tablet/mobile */
  .nf-branch-scene { padding-bottom: 0; }
}

@media (max-width: 540px) {
  .nf-branch-grid { grid-template-columns: 1fr; }
  .nf-leaf-card[data-leaf-slot="2"] { grid-column: auto; }
  .nf-leaf-card__cta { opacity: 1; transform: none; }
  .nf-leaf-card[data-leaf-slot="0"] .nf-leaf-card__visual,
  .nf-leaf-card[data-leaf-slot="2"] .nf-leaf-card__visual { height: 160px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CLINICAL SOLUTION TILES — 3 premium equal cards
   Three-zone composition: accent band / content / footer
   Model: Apple services · Stripe homepage · Siemens Healthineers
   ═══════════════════════════════════════════════════════════════════ */

/* ── Grid: four equal columns ── */

.nf-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Tile shell ── */

.nf-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(26, 36, 35, 0.075);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  min-height: 310px;
  box-shadow:
    0 1px 3px rgba(26, 36, 35, 0.05),
    0 4px 16px rgba(26, 36, 35, 0.04);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease;
}

.nf-tile:hover,
.nf-tile:focus-visible {
  transform: translateY(-5px);
  box-shadow:
    0 2px 4px rgba(26, 36, 35, 0.04),
    0 16px 48px rgba(77, 160, 169, 0.13),
    0 6px 20px rgba(26, 36, 35, 0.06);
  border-color: rgba(77, 160, 169, 0.24);
}

.nf-tile:focus-visible {
  outline: 2px solid rgba(77, 160, 169, 0.4);
  outline-offset: 2px;
}

/* ── Accent band — top visual zone ── */

.nf-tile__accent {
  position: relative;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  /* Base gradient — warm teal-mint wash */
  background:
    radial-gradient(ellipse 110% 130% at 15% 110%, rgba(77, 160, 169, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 90% 100% at 90% -10%, rgba(210, 236, 234, 0.65) 0%, transparent 50%),
    linear-gradient(160deg, #f0faf9 0%, #f8fdfc 50%, #ffffff 100%);
  transition: background 0.3s ease;
}

/* Per-tile accent variation */
.nf-tile[data-tile-slot="1"] .nf-tile__accent {
  background:
    radial-gradient(ellipse 110% 130% at 90% 110%, rgba(77, 160, 169, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse 90% 100% at 10% -10%, rgba(210, 236, 234, 0.60) 0%, transparent 50%),
    linear-gradient(200deg, #f0faf9 0%, #f8fdfc 50%, #ffffff 100%);
}

.nf-tile[data-tile-slot="2"] .nf-tile__accent {
  background:
    radial-gradient(ellipse 130% 110% at 50% 120%, rgba(77, 160, 169, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 80% 90% at 85% 5%, rgba(210, 236, 234, 0.55) 0%, transparent 50%),
    linear-gradient(120deg, #f2fbfa 0%, #f8fdfc 50%, #ffffff 100%);
}

/* Hover: accent band warms up slightly */
.nf-tile:hover .nf-tile__accent {
  background:
    radial-gradient(ellipse 110% 130% at 15% 110%, rgba(77, 160, 169, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 90% 100% at 90% -10%, rgba(210, 236, 234, 0.75) 0%, transparent 50%),
    linear-gradient(160deg, #ecf9f7 0%, #f5fcfb 50%, #ffffff 100%);
}

.nf-tile[data-tile-slot="1"]:hover .nf-tile__accent {
  background:
    radial-gradient(ellipse 110% 130% at 90% 110%, rgba(77, 160, 169, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 90% 100% at 10% -10%, rgba(210, 236, 234, 0.70) 0%, transparent 50%),
    linear-gradient(200deg, #ecf9f7 0%, #f5fcfb 50%, #ffffff 100%);
}

.nf-tile[data-tile-slot="2"]:hover .nf-tile__accent {
  background:
    radial-gradient(ellipse 130% 110% at 50% 120%, rgba(77, 160, 169, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 80% 90% at 85% 5%, rgba(210, 236, 234, 0.65) 0%, transparent 50%),
    linear-gradient(120deg, #edf9f8 0%, #f5fcfb 50%, #ffffff 100%);
}

/* ── Medical illustration inside accent zone ── */

.nf-tile__accent-art {
  position: absolute;
  right: -8px;
  top: -8px;
  opacity: 0.88;
  transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  line-height: 0;
}

.nf-tile__accent-art svg {
  width: 148px;
  height: auto;
  display: block;
}

.nf-tile:hover .nf-tile__accent-art {
  opacity: 1;
  transform: translate(-5px, 4px) scale(1.07);
}

/* ── Body: ordinal + title + description ── */

.nf-tile__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 26px 14px;
  gap: 10px;
}

.nf-tile__body-top {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nf-tile__ordinal {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--nf-color-accent, #4da0a9);
  line-height: 1;
}

.nf-tile__title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--nf-color-text-primary, #1a2423);
  transition: color 0.18s ease;
}

.nf-tile:hover .nf-tile__title {
  color: var(--nf-color-accent-contrast, #2d6b72);
}

.nf-tile__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: rgba(26, 36, 35, 0.48);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer: count + CTA ── */

.nf-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 26px 20px;
  border-top: 1px solid rgba(26, 36, 35, 0.065);
  flex-shrink: 0;
}

.nf-tile__count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(26, 36, 35, 0.34);
}

.nf-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 660;
  color: var(--nf-color-accent-contrast, #2d6b72);
  white-space: nowrap;
  transition: gap 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}

.nf-tile:hover .nf-tile__cta,
.nf-tile:focus-visible .nf-tile__cta {
  gap: 8px;
  color: var(--nf-color-accent, #4da0a9);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .nf-pillar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nf-tile {
    min-height: 0;
    flex-direction: row;
    border-radius: 18px;
  }

  .nf-tile__accent {
    width: 130px;
    height: auto;
    flex-shrink: 0;
    border-radius: 0;
  }

  .nf-tile__body {
    padding: 18px 20px 12px;
    gap: 7px;
  }

  .nf-tile__footer {
    padding: 12px 20px 16px;
  }

  .nf-tile:hover,
  .nf-tile:focus-visible {
    transform: none;
    box-shadow:
      0 2px 8px rgba(26, 36, 35, 0.06),
      0 4px 20px rgba(77, 160, 169, 0.09);
  }
}

@media (max-width: 520px) {
  .nf-tile {
    flex-direction: column;
  }

  .nf-tile__accent {
    width: auto;
    height: 100px;
  }

  .nf-tile__body {
    padding: 16px 18px 10px;
  }

  .nf-tile__footer {
    padding: 10px 18px 14px;
  }

  .nf-tile__desc {
    -webkit-line-clamp: 2;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Partners Section — Featured Showcase + Infinite Ribbon
   ═══════════════════════════════════════════════════════════════ */

.nf-ps-root { display: flex; flex-direction: column; }

.nf-ps {
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.6);
  border-radius: 10px;
  overflow: hidden;
}

.nf-ps__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 4px 0 22px;
  background: transparent;
}

.nf-ps__dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(38, 48, 47, 0.16);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nf-ps__dot:hover { background: rgba(38, 48, 47, 0.38); }

.nf-ps__dot.is-active {
  background: var(--nf-accent);
  transform: scale(1.3);
}

.nf-ps__panels {
  display: grid;
  grid-template-areas: "panel";
  padding: 40px 44px;
  min-height: 200px;
  align-items: start;
}

.nf-ps__panel {
  grid-area: panel;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 0 36px;
  align-items: start;
}

.nf-ps__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nf-ps__logo {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(215, 228, 224, 0.5);
  padding: 12px;
  background: #f6f9f8;
  align-self: center;
}

.nf-ps__tags {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.nf-ps__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nf-accent);
  background: rgba(77, 160, 169, 0.07);
  border-radius: 100px;
  border: 1px solid rgba(77, 160, 169, 0.18);
}

.nf-ps__name {
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 650;
  color: var(--nf-color-text-primary);
  margin: 0 0 10px;
  line-height: 1.25;
}

.nf-ps__desc {
  grid-column: 2;
  grid-row: 3;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--nf-color-text-secondary);
  margin: 0 0 20px;
}

.nf-ps__cta {
  grid-column: 2;
  grid-row: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nf-accent);
  background: rgba(77, 160, 169, 0.06);
  border: 1.5px solid rgba(77, 160, 169, 0.3);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  align-self: start;
  width: fit-content;
}

.nf-ps__cta:hover {
  background: rgba(77, 160, 169, 0.12);
  border-color: var(--nf-accent);
}

/* Infinite Logo Ribbon */
.nf-ribbon {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-ribbon::before,
.nf-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.nf-ribbon::before {
  left: 0;
  background: linear-gradient(to right, var(--nf-color-surface-alt, #f4f7f6), transparent);
}

.nf-ribbon::after {
  right: 0;
  background: linear-gradient(to left, var(--nf-color-surface-alt, #f4f7f6), transparent);
}

.nf-ribbon__row { overflow: hidden; }

.nf-ribbon__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.nf-ribbon__track--fwd { animation: nf-scroll-fwd 34s linear infinite; }
.nf-ribbon__track--rev { animation: nf-scroll-rev 28s linear infinite; }

.nf-ribbon:hover .nf-ribbon__track { animation-play-state: paused; }

@keyframes nf-scroll-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

@keyframes nf-scroll-rev {
  from { transform: translateX(-33.333%); }
  to   { transform: translateX(0); }
}

.nf-ribbon__item {
  flex: 0 0 160px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nf-ribbon__logo {
  display: block;
  height: 36px;
  width: 90px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.nf-ribbon__item:hover .nf-ribbon__logo {
  filter: none;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .nf-ribbon__track { animation-play-state: paused; }
}

@media (max-width: 768px) {
  .nf-ps__panels { padding: 28px 24px; }

  .nf-ps__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .nf-ps__logo {
    grid-column: 1;
    grid-row: 1;
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .nf-ps__tags  { grid-column: 1; grid-row: 2; }
  .nf-ps__name  { grid-column: 1; grid-row: 3; }
  .nf-ps__desc  { grid-column: 1; grid-row: 4; }
  .nf-ps__cta   { grid-column: 1; grid-row: 5; }

  .nf-ribbon { margin-top: 24px; }
}

@media (max-width: 480px) {
  .nf-ps__tabs { gap: 8px; padding-bottom: 16px; }
  .nf-ps__panels { padding: 20px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   Partners Grid (Homepage) — nf-pg-*
   6 columns · logo-first card design
   ═══════════════════════════════════════════════════════════════ */

.nf-pg-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .nf-pg-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
  .nf-pg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .nf-pg-grid { grid-template-columns: repeat(2, 1fr); }
}

.nf-pg-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(26, 36, 35, 0.07);
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  gap: 14px;
  font: inherit;
  width: 100%;
}

.nf-pg-card:hover {
  border-color: rgba(77, 160, 169, 0.3);
  box-shadow: 0 8px 24px rgba(77, 160, 169, 0.09), 0 2px 8px rgba(26, 36, 35, 0.04);
  transform: translateY(-3px);
}

.nf-pg-card__media {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f5f8f7;
  border: 1px solid rgba(215, 228, 224, 0.6);
  overflow: hidden;
  flex-shrink: 0;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.nf-pg-card:hover .nf-pg-card__media {
  background: rgba(77, 160, 169, 0.05);
  border-color: rgba(77, 160, 169, 0.22);
}

.nf-pg-card__logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: grayscale(25%) opacity(0.82);
  transition: filter 0.25s ease;
}

.nf-pg-card:hover .nf-pg-card__logo {
  filter: none;
}

.nf-pg-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.nf-pg-card__name {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--nf-color-text-primary);
  line-height: 1.3;
  margin: 0;
}

.nf-pg-card__country {
  font-size: 11px;
  font-weight: 500;
  color: var(--nf-color-text-muted);
  letter-spacing: 0.025em;
}

/* ═══════════════════════════════════════════════════════════════
   NanoFarm — Unified Premium Modal Design System
   Clinical technology aesthetic · Premium solid surfaces
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Backdrop — unified cinematic dim ───────────────────────
   Single definition replaces 3 conflicting configs.
   Warm dark, not graphite-cold. Adds missing transition.        */
.nf-backdrop,
#productModalBackdrop,
#partnerModalBackdrop,
#newsModalBackdrop,
#quickQuoteBackdrop,
#modalOverlay {
  background: rgba(10, 22, 34, 0.52);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  transition: opacity 220ms ease;
}

/* ─── 2. Modal container — opacity transition ───────────────────
   Currently missing — currently all modals snap instantly.      */
.nf-modal {
  transition: opacity 220ms ease;
}

/* ─── 3. Surface — premium solid white, all modal types ─────────
   Overrides --adm-surface / --adm-border / --adm-text tokens.
   Uses full compound selectors to win specificity cleanly.      */
#productModal .nf-modal-inner.nf-modal-product {
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.55);
  color: var(--nf-color-text-primary);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.44),
    0 22px 60px rgba(10, 25, 40, 0.13),
    0 4px 14px rgba(10, 25, 40, 0.06);
  width: min(1060px, 100%);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  flex: 0 1 auto;
  margin: auto;
  padding: clamp(20px, 2.5vw, 28px);
}

#partnerModal .nf-modal-inner.nf-modal-partner {
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.44),
    0 22px 60px rgba(10, 25, 40, 0.13),
    0 4px 14px rgba(10, 25, 40, 0.06);
}

#newsModal .nf-modal-inner.nf-modal-news {
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.44),
    0 22px 60px rgba(10, 25, 40, 0.13),
    0 4px 14px rgba(10, 25, 40, 0.06);
  width: min(900px, 100%);
}

#quickQuoteModal .nf-modal-inner.nf-modal-form.nf-modal-ds {
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.44),
    0 22px 60px rgba(10, 25, 40, 0.13),
    0 4px 14px rgba(10, 25, 40, 0.06);
  width: min(524px, 100%);
}

/* ─── 4. Entrance spring animation ─────────────────────────────
   scale(0.965) translateY(10px) → none on modal-visible.
   cubic-bezier(0.16,1,0.3,1) = fast spring, no bounce.         */
#productModal .nf-modal-inner.nf-modal-product,
#newsModal .nf-modal-inner.nf-modal-news,
#quickQuoteModal .nf-modal-inner.nf-modal-form.nf-modal-ds {
  transform: scale(0.965) translateY(10px);
  transition:
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 300ms ease;
}

#productModal.nf-modal-visible .nf-modal-inner.nf-modal-product,
#newsModal.nf-modal-visible .nf-modal-inner.nf-modal-news,
#quickQuoteModal.nf-modal-visible .nf-modal-inner.nf-modal-form.nf-modal-ds {
  transform: none;
}

/* Partner: desktop-only scale (mobile uses bottom-sheet slide) */
@media (min-width: 769px) {
  #partnerModal .nf-modal-inner.nf-modal-partner {
    transform: scale(0.965) translateY(10px);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  #partnerModal.nf-modal-visible .nf-modal-inner.nf-modal-partner {
    transform: none;
  }
}

/* Bottom sheet slide-up transition (was missing entirely) */
#partnerModal {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

/* ─── 5. Close button — 40×40 premium ghost ────────────────────
   Unified across all modals. Uses exact same specificity as
   existing ID+class overrides so cascade order wins cleanly.   */
#productModal .nf-modal-close,
#partnerModal .nf-modal-close.nf-modal-ds-close,
#newsModal .nf-modal-close.nf-modal-ds-close,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.10);
  background: rgba(var(--nf-graphite-rgb), 0.04);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  z-index: 10;
}

#productModal .nf-modal-close:hover,
#partnerModal .nf-modal-close.nf-modal-ds-close:hover,
#newsModal .nf-modal-close.nf-modal-ds-close:hover,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close:hover {
  background: rgba(var(--nf-graphite-rgb), 0.08);
  border-color: rgba(var(--nf-graphite-rgb), 0.18);
  box-shadow: 0 2px 8px rgba(var(--nf-graphite-rgb), 0.08);
}

#productModal .nf-modal-close svg,
#partnerModal .nf-modal-close.nf-modal-ds-close svg,
#newsModal .nf-modal-close.nf-modal-ds-close svg,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--nf-color-text-muted);
  stroke-width: 1.6;
  fill: none;
  transition: stroke 180ms ease;
}

#productModal .nf-modal-close:hover svg,
#partnerModal .nf-modal-close.nf-modal-ds-close:hover svg,
#newsModal .nf-modal-close.nf-modal-ds-close:hover svg,
#quickQuoteModal .nf-modal-close.nf-modal-ds-close:hover svg {
  stroke: var(--nf-color-text-primary);
}

/* Product modal h2 — clearance for absolute close button */
.nf-modal-product-right h2 {
  padding-right: 52px;
}

/* ─── 6. Form controls — modal-scoped premium ──────────────────
   Overrides global .nf-input inside any .nf-modal-inner.
   Taller (48px), rounded (10px), teal focus ring.              */
.nf-modal-inner .nf-input,
.nf-modal-inner .nf-textarea {
  min-height: 48px;
  height: auto;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.12);
  background: #ffffff;
  font-size: 14.5px;
  color: var(--nf-color-text-primary);
  box-shadow: 0 1px 3px rgba(var(--nf-graphite-rgb), 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.nf-modal-inner .nf-textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.60;
}

.nf-modal-inner .nf-input:focus,
.nf-modal-inner .nf-textarea:focus {
  border-color: var(--nf-accent);
  box-shadow: 0 0 0 3.5px rgba(var(--nf-accent-rgb), 0.10);
  outline: none;
}

.nf-modal-inner .nf-form-field {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--nf-color-text-secondary);
}

.nf-modal-inner .nf-form-field .nf-input,
.nf-modal-inner .nf-form-field .nf-textarea {
  margin-top: 7px;
}

.nf-modal-inner .nf-field-error {
  font-size: 11.5px;
  margin-top: 5px;
  font-weight: 500;
}

/* ─── 7. Buttons — extend NF system in modal context ───────────
   No new visual language — same .nf-btn-primary gradient.
   Taller (48px), rounder (10px) to match premium form height.  */
.nf-modal-inner .nf-btn-primary {
  min-height: 48px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nf-modal-inner .nf-btn-secondary {
  min-height: 46px;
  border-radius: 10px;
}

/* ─── 8. Partner Modal — Brand Showcase ────────────────────────
   Remove CRM dashboard aesthetic:
   · border-right divider → soft teal-tinted line at 901px+
   · .nf-stat stacked boxes → horizontal attribute pills
   · right panel → integrated, no hard border-box             */

.nf-partner-modal-logo {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.65);
  box-shadow:
    0 4px 18px rgba(10, 25, 40, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nf-partner-modal-left {
  border-right: none;
  padding-right: clamp(16px, 2vw, 28px);
}

@media (min-width: 901px) {
  .nf-partner-modal-left {
    border-right: 1px solid rgba(215, 228, 224, 0.50);
  }
}

.nf-partner-modal-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.nf-partner-modal-stats .nf-stat {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 13px;
  border-radius: 8px;
  background: rgba(77, 160, 169, 0.05);
  border: 1px solid rgba(77, 160, 169, 0.16);
  flex: 0 1 auto;
  min-width: 0;
}

.nf-partner-modal-stats .nf-stat-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nf-accent);
}

.nf-partner-modal-stats .nf-stat-v {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  letter-spacing: -0.01em;
}

.nf-partner-modal-right {
  background: #fafcfb;
  border: 1px solid rgba(215, 228, 224, 0.45);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(10, 25, 40, 0.04);
}

.nf-partner-modal-titles h2,
#partnerModalTitle {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 680;
  letter-spacing: -0.022em;
  line-height: 1.22;
}

.nf-partner-modal-desc,
#partnerModalDesc {
  font-size: 14.5px;
  line-height: 1.70;
  color: var(--nf-color-text-secondary);
  margin-top: 12px;
}

.nf-partner-modal-meta,
#partnerModalMeta {
  font-size: 12px;
  color: var(--nf-color-text-muted);
  margin-top: 4px;
}

/* Close button clearance for partner head layout */
.nf-partner-modal-head {
  padding-right: 52px;
}

/* ─── 9. Quick Quote — Commercial Request ───────────────────────
   Replace CRM fieldset/legend aesthetic:
   · Legends become sr-only (accessible, invisible)
   · Kicker changes from muted gray to teal accent
   · Generous spacing, premium submit height               */

#quickQuoteModal .nf-modal-ds-head {
  background: #ffffff;
  border-bottom: 1px solid rgba(215, 228, 224, 0.55);
  padding: clamp(24px, 3vw, 30px) clamp(24px, 3.5vw, 36px) 20px;
}

#quickQuoteModal .nf-modal-shell-kicker {
  color: var(--nf-accent);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

#quickQuoteModal .nf-modal-ds-head h2,
#quickQuoteModal #quickQuoteTitle {
  font-size: clamp(1.28rem, 2.6vw, 1.5rem);
  font-weight: 680;
  letter-spacing: -0.024em;
  padding-right: 54px;
  margin: 0 0 10px;
  color: var(--nf-color-text-primary);
}

#quickQuoteModal .nf-modal-ds-lead {
  font-size: 14.5px;
  line-height: 1.60;
  color: var(--nf-color-text-tertiary);
}

#quickQuoteModal .nf-form-modal-ds {
  padding: clamp(20px, 2.5vw, 26px) clamp(24px, 3.5vw, 36px) clamp(20px, 2.5vw, 26px);
}

#quickQuoteModal .nf-form-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#quickQuoteModal .nf-form-fieldset--tight {
  margin-bottom: 18px;
}

#quickQuoteModal .nf-form-fieldset--tight:last-of-type {
  margin-bottom: 0;
}

#quickQuoteModal .nf-form-grid {
  gap: 16px 18px;
}

#quickQuoteModal .nf-modal-ds-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(215, 228, 224, 0.50);
}

#quickQuoteModal .nf-modal-ds-submit {
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.012em;
  border-radius: 10px;
}

#quickQuoteModal .nf-form-success {
  border-radius: 10px;
  background: rgba(77, 160, 169, 0.07);
  border: 1px solid rgba(77, 160, 169, 0.20);
  color: var(--nf-color-accent-contrast);
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─── 10. Product Modal specific ────────────────────────────────
   Apply unified system: gentler image wrapper gradient,
   refined thumbnails, upgraded qty stepper.                    */

.nf-modal-product-main-image-wrapper {
  background: linear-gradient(
    145deg,
    var(--nf-color-surface-subtle) 0%,
    rgba(var(--nf-accent-rgb), 0.03) 60%,
    var(--nf-color-surface-alt) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(215, 228, 224, 0.45);
}

.nf-modal-thumb {
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--nf-color-surface-subtle);
}

.nf-modal-thumb-active {
  border-color: var(--nf-accent);
  box-shadow: 0 0 0 2.5px rgba(var(--nf-accent-rgb), 0.14);
}

.nf-qty-input {
  border-radius: 9px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.12);
}

.nf-qty-input button {
  width: 30px;
  height: 36px;
  font-size: 15px;
  transition: background 150ms ease, color 150ms ease;
}

.nf-qty-input button:hover {
  background: rgba(var(--nf-accent-rgb), 0.07);
  color: var(--nf-accent);
}

.nf-qty-input input {
  width: 52px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nf-color-text-primary);
  background: #ffffff;
}

/* ─── 11. News Modal specific ───────────────────────────────────
   Media panel gets same clean white treatment.                 */

#newsModal .nf-news-modal-media-panel {
  border-color: rgba(215, 228, 224, 0.45);
  background: #fafcfb;
  box-shadow: none;
}

/* ─── 12. Mobile responsive ─────────────────────────────────────
   Close button 38×38 on small screens.
   Quick quote padding compressed.                              */

@media (max-width: 768px) {
  #productModal .nf-modal-close,
  #newsModal .nf-modal-close.nf-modal-ds-close,
  #quickQuoteModal .nf-modal-close.nf-modal-ds-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .nf-partner-modal-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #quickQuoteModal .nf-modal-ds-head {
    padding: 20px 20px 16px;
  }

  #quickQuoteModal .nf-form-modal-ds {
    padding: 18px 20px 20px;
  }
}

@media (max-width: 480px) {
  #quickQuoteModal .nf-modal-ds-head {
    padding: 18px 16px 14px;
  }

  #quickQuoteModal .nf-form-modal-ds {
    padding: 16px 16px 18px;
  }
}

/* ─── 13. Reduced motion ────────────────────────────────────────
   Honor OS preference — kill all transitions/transforms.       */

@media (prefers-reduced-motion: reduce) {
  .nf-modal,
  #productModal .nf-modal-inner.nf-modal-product,
  #partnerModal .nf-modal-inner.nf-modal-partner,
  #newsModal .nf-modal-inner.nf-modal-news,
  #quickQuoteModal .nf-modal-inner.nf-modal-form.nf-modal-ds,
  #partnerModal {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}

/* Fix: на мобильном #partnerModal центрируется через translateX(-50%);
   reduced-motion обнулял transform и сдвигал модалку вправо за экран.
   Возвращаем горизонтальное центрирование без анимации. */
@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  #partnerModal,
  #partnerModal.nf-modal-visible {
    transform: translate(-50%, 0) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   § NEWSROOM REDESIGN — Premium editorial UI
   Scope: homepage news block, news list page, news detail page, modal
   ═══════════════════════════════════════════════════════════════════ */

/* ── NF Newsroom item (editorial date-column row) ── */
.nf-nr-list {
  display: flex;
  flex-direction: column;
}

.nf-nr-item {
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 0 20px;
  align-items: start;
  padding: 16px 8px 16px 0;
  border-bottom: 1px solid rgba(215, 228, 224, 0.6);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: background 150ms ease;
}

.nf-nr-item:first-child {
  border-top: 1px solid rgba(215, 228, 224, 0.6);
}

.nf-nr-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--nf-accent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.nf-nr-item:hover {
  background: rgba(77, 160, 169, 0.028);
}

.nf-nr-item:hover::before {
  opacity: 1;
}

/* Date column */
.nf-nr-item__date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 3px;
  gap: 1px;
  flex-shrink: 0;
}

.nf-nr-item__day {
  font-size: 22px;
  font-weight: 750;
  line-height: 1;
  color: var(--nf-color-text-primary);
  letter-spacing: -0.02em;
}

.nf-nr-item__month {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nf-accent);
  line-height: 1.3;
}

.nf-nr-item__year {
  font-size: 10px;
  color: var(--nf-color-text-muted);
  line-height: 1.3;
}

/* Body column */
.nf-nr-item__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.nf-nr-item__cat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 19px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  background: rgba(77, 160, 169, 0.09);
  color: var(--nf-accent);
  white-space: nowrap;
}

.nf-nr-item__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 620;
  line-height: 1.38;
  color: var(--nf-color-text-primary);
  letter-spacing: -0.01em;
}

.nf-nr-item__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--nf-color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow */
.nf-nr-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(var(--nf-graphite-rgb), 0.28);
  transition: color 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}

.nf-nr-item__arrow svg {
  width: 15px;
  height: 15px;
}

.nf-nr-item:hover .nf-nr-item__arrow {
  color: var(--nf-accent);
  transform: translateX(3px);
}

/* Compact variant for homepage */
.nf-nr-item--home {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nf-nr-item--home .nf-nr-item__excerpt {
  display: none;
}

.nf-nr-item--home .nf-nr-item__title {
  font-size: 14.5px;
}

/* ── Homepage news list container ── */
.nf-home-news-list {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 228, 224, 0.55);
  box-shadow: 0 8px 28px rgba(var(--nf-graphite-rgb), 0.05);
  padding: 0 16px;
}

.nf-home-news-list .nf-nr-item {
  border-bottom: 1px solid rgba(215, 228, 224, 0.55);
  padding-left: 4px;
}

.nf-home-news-list .nf-nr-item:first-child {
  border-top: none;
}

.nf-home-news-list .nf-nr-item:last-child {
  border-bottom: none;
}

/* ── Override home section layout to stack featured + list ── */
.nf-home-section.section--layer-editorial .news-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 22px);
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .nf-home-section.section--layer-editorial .news-featured {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Minimal placeholder replacing the mesh/glow ── */
.nf-news-ph {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(145deg, rgba(77, 160, 169, 0.08) 0%, rgba(215, 228, 224, 0.18) 100%);
}

.nf-news-ph__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-accent);
  opacity: 0.7;
}

.nf-news-ph__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-color-text-muted);
}

/* ── News page — featured chip polish ── */
.news-featured-chip {
  background: rgba(77, 160, 169, 0.09) !important;
  color: var(--nf-accent) !important;
  border: 1px solid rgba(77, 160, 169, 0.2) !important;
  font-size: 10px !important;
  letter-spacing: 0.06em !important;
}

/* ── News page — list section header ── */
.news-page .news-list-section-head h2 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--nf-color-text-primary);
}

.news-page .news-list-section-head h2::after {
  display: none;
}

/* ── Category chip active state — teal fill ── */
.news-category-chip.is-active {
  background: var(--nf-accent) !important;
  color: #ffffff !important;
  border-color: var(--nf-accent) !important;
}

.news-category-chip:hover:not(.is-active) {
  border-color: rgba(77, 160, 169, 0.45) !important;
  background: rgba(77, 160, 169, 0.08) !important;
  color: var(--nf-accent) !important;
}

/* ── News detail — title and meta upgrades ── */
.nf-news-editorial__title {
  font-size: clamp(28px, 3.5vw, 44px) !important;
  font-weight: 730 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  color: var(--nf-color-text-primary) !important;
}

.nf-news-editorial__tag {
  display: inline-flex !important;
  align-items: center !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 5px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: rgba(77, 160, 169, 0.1) !important;
  color: var(--nf-accent) !important;
  border: 1px solid rgba(77, 160, 169, 0.22) !important;
  margin-bottom: 10px !important;
}

.nf-news-editorial__lead {
  font-size: clamp(16px, 1.5vw, 18px) !important;
  font-weight: 450 !important;
  line-height: 1.72 !important;
  color: var(--nf-color-text-secondary) !important;
}

/* ── News detail — prose typography ── */
.nf-news-editorial__prose {
  font-size: 16.5px !important;
  line-height: 1.78 !important;
  color: var(--nf-color-text) !important;
}

.nf-news-editorial__prose .nf-news-editorial__p {
  margin: 0 0 1.3em !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.nf-news-editorial__section-h {
  font-size: 19px !important;
  font-weight: 680 !important;
  letter-spacing: -0.015em !important;
  color: var(--nf-color-text-primary) !important;
  margin: 2em 0 0.7em !important;
  padding-left: 14px !important;
  border-left: 3px solid var(--nf-accent) !important;
  line-height: 1.3 !important;
}

/* ── News detail — aside cards ── */
.nf-news-editorial__aside-card {
  border-radius: 12px !important;
  border: 1px solid rgba(215, 228, 224, 0.7) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(var(--nf-graphite-rgb), 0.05) !important;
  padding: 16px 18px 18px !important;
}

.nf-news-editorial__aside-card--summary {
  border-left: 3px solid var(--nf-accent) !important;
  background: linear-gradient(170deg, rgba(77,160,169,0.05) 0%, #ffffff 60%) !important;
}

.nf-news-editorial__aside-h {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(var(--nf-graphite-rgb), 0.38) !important;
  margin-bottom: 10px !important;
}

/* ── News detail — share button upgrade ── */
.nf-news-editorial__share-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(77, 160, 169, 0.35) !important;
  background: rgba(77, 160, 169, 0.06) !important;
  color: var(--nf-accent) !important;
  font-size: 13px !important;
  font-weight: 640 !important;
  cursor: pointer !important;
  justify-content: center !important;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease !important;
}

.nf-news-editorial__share-btn:hover {
  background: rgba(77, 160, 169, 0.13) !important;
  border-color: rgba(77, 160, 169, 0.55) !important;
  transform: translateY(-1px) !important;
}

.nf-news-editorial__share-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* ── News detail — tag pills ── */
.nf-news-editorial__tag-pill {
  padding: 5px 11px !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  background: rgba(77, 160, 169, 0.07) !important;
  color: rgba(var(--nf-graphite-rgb), 0.72) !important;
  border: 1px solid rgba(77, 160, 169, 0.18) !important;
  border-radius: 5px !important;
}

/* ── News modal — rich meta row ── */
.nf-news-modal-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

.nf-nm-cat {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(77, 160, 169, 0.09);
  color: var(--nf-accent);
  border: 1px solid rgba(77, 160, 169, 0.2);
}

.nf-nm-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-secondary);
}

.nf-nm-sep {
  font-size: 12px;
  color: rgba(var(--nf-graphite-rgb), 0.3);
  line-height: 1;
}

.nf-nm-author {
  font-size: 13px;
  color: var(--nf-color-text-muted);
}

/* ── News modal — title upgrade ── */
.nf-news-modal-title {
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 710 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  color: var(--nf-color-text-primary) !important;
  margin: 0 0 4px !important;
}

/* ── News modal — thin rule below title ── */
.nf-news-modal-divider {
  height: 1px;
  background: rgba(215, 228, 224, 0.7);
  margin: 14px 0 18px;
}

/* ── News modal — body prose ── */
.nf-news-modal-body .nf-news-editorial__p,
.nf-news-modal-body p {
  font-size: 15.5px !important;
  line-height: 1.74 !important;
  margin: 0 0 1.2em !important;
  color: var(--nf-color-text) !important;
}

.nf-news-modal-body .nf-news-modal-intro,
.nf-news-modal-body p.nf-news-modal-intro {
  font-size: 16.5px !important;
  font-weight: 460 !important;
  color: var(--nf-color-text-secondary) !important;
  line-height: 1.72 !important;
}

.nf-news-modal-body .nf-news-editorial__section-h {
  font-size: 17px !important;
  font-weight: 670 !important;
  padding-left: 12px !important;
  border-left: 3px solid var(--nf-accent) !important;
  margin: 1.8em 0 0.6em !important;
  letter-spacing: -0.01em !important;
}

/* ── News modal — fallback media ── */
.nf-news-modal-media-fallback {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(77,160,169,0.08) 0%, rgba(215,228,224,0.2) 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-news-modal-fallback-inner {
  text-align: center;
  padding: 20px;
}

.nf-news-modal-fallback-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nf-accent);
  opacity: 0.7;
  margin: 0 0 6px;
}

.nf-news-modal-fallback-caption {
  font-size: 12px;
  color: var(--nf-color-text-muted);
  line-height: 1.5;
  max-width: 26ch;
  margin: 0 auto;
}

/* ── Related cards — use editorial row style ── */
.nf-news-editorial__related-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.nf-news-editorial__related-grid > a.nf-news-card.nf-news-editorial__related-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  padding: 14px 8px !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(215, 228, 224, 0.55) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  position: relative !important;
  transition: background 150ms ease !important;
}

.nf-news-editorial__related-grid > a.nf-news-card.nf-news-editorial__related-card:first-child {
  border-top: 1px solid rgba(215, 228, 224, 0.55) !important;
}

.nf-news-editorial__related-grid > a.nf-news-card:hover {
  background: rgba(77, 160, 169, 0.03) !important;
  transform: none !important;
}

.nf-news-editorial__related-grid .news-feed-card-media {
  display: none !important;
}

.nf-news-editorial__related-grid .nf-news-card-chip {
  display: inline-flex !important;
  align-items: center !important;
  height: 19px !important;
  padding: 0 8px !important;
  border-radius: 4px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
  background: rgba(77, 160, 169, 0.09) !important;
  color: var(--nf-accent) !important;
  margin-bottom: 4px !important;
}

.nf-news-editorial__related-grid .nf-news-card-title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--nf-color-text-primary) !important;
  line-height: 1.38 !important;
  margin: 0 0 4px !important;
}

.nf-news-editorial__related-grid .nf-news-card-meta {
  font-size: 11.5px !important;
  color: var(--nf-color-text-muted) !important;
}

.nf-news-editorial__related-grid .nf-news-card-text {
  display: none !important;
}

/* ── Mobile responsive ── */
@media (max-width: 640px) {
  .nf-nr-item {
    grid-template-columns: 42px 1fr 24px;
    gap: 0 14px;
    padding: 13px 4px 13px 0;
  }

  .nf-nr-item__day {
    font-size: 18px;
  }

  .nf-nr-item__excerpt {
    -webkit-line-clamp: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-nr-item,
  .nf-nr-item::before,
  .nf-nr-item__arrow {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   § HOMEPAGE NEWS — Premium editorial layout
   Replaces heavy card-based home news block with clean editorial UI.
   Scoped to #homeNews / .nf-hn-* so news list/detail pages untouched.
   ═══════════════════════════════════════════════════════════════════ */

/* Grid: 65 / 35 split, aligned to section top */
.nf-home-section.section--layer-editorial .nf-news-layout {
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) !important;
  gap: clamp(28px, 3.5vw, 52px) !important;
  align-items: start !important;
}

/* ── Featured article (left) ── */
.nf-hn-featured {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(215, 228, 224, 0.6);
  box-shadow: 0 2px 12px rgba(var(--nf-graphite-rgb), 0.05);
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.nf-hn-featured:hover {
  box-shadow: 0 8px 32px rgba(var(--nf-graphite-rgb), 0.09);
  border-color: rgba(77, 160, 169, 0.22);
}

/* Media area */
.nf-hn-featured__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(215, 228, 224, 0.2);
  flex-shrink: 0;
}

.nf-hn-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-hn-featured:hover .nf-hn-featured__img {
  transform: scale(1.025);
}

/* Abstract medical placeholder — no text, pure CSS visual */
.nf-hn-featured__ph {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    148deg,
    rgba(77, 160, 169, 0.10) 0%,
    rgba(198, 220, 217, 0.18) 45%,
    rgba(240, 247, 245, 0.92) 100%
  );
}

/* Precision grid overlay — medical imaging reference */
.nf-hn-featured__ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 160, 169, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 160, 169, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

/* Central targeting ring */
.nf-hn-featured__ph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(77, 160, 169, 0.28);
  box-shadow:
    0 0 0 10px rgba(77, 160, 169, 0.055),
    0 0 0 22px rgba(77, 160, 169, 0.028),
    0 0 0 40px rgba(77, 160, 169, 0.012);
}

/* Body */
.nf-hn-featured__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px);
}

/* Category pill */
.nf-hn-featured__cat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  height: 21px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(77, 160, 169, 0.09);
  color: var(--nf-accent);
  border: 1px solid rgba(77, 160, 169, 0.2);
}

/* Title */
.nf-hn-featured__title {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 680;
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: var(--nf-color-text-primary);
}

/* Excerpt */
.nf-hn-featured__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--nf-color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer row: date + CTA */
.nf-hn-featured__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(215, 228, 224, 0.6);
  margin-top: 2px;
}

.nf-hn-featured__date {
  font-size: 12px;
  color: rgba(var(--nf-graphite-rgb), 0.42);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nf-hn-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 640;
  color: var(--nf-accent);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nf-hn-featured__arrow {
  display: inline-block;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nf-hn-featured:hover .nf-hn-featured__arrow {
  transform: translateX(4px);
}

/* ── Compact sidebar headline list (right) ── */
.nf-hn-sidebar {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.nf-hn-item {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 0 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(215, 228, 224, 0.55);
  cursor: pointer;
  position: relative;
  transition: background 140ms ease;
}

.nf-hn-item:first-child {
  border-top: 1px solid rgba(215, 228, 224, 0.55);
}

.nf-hn-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--nf-accent);
  opacity: 0;
  transition: opacity 160ms ease;
}

.nf-hn-item:hover {
  background: rgba(77, 160, 169, 0.025);
}

.nf-hn-item:hover::before {
  opacity: 1;
}

/* Date column */
.nf-hn-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding-top: 2px;
  flex-shrink: 0;
}

.nf-hn-item__day {
  font-size: 20px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

.nf-hn-item__mon {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nf-accent);
  line-height: 1.3;
  white-space: nowrap;
}

/* Headline */
.nf-hn-item__title {
  margin: 0;
  font-size: 14px;
  font-weight: 580;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--nf-color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 1px;
}

/* Arrow */
.nf-hn-item__arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  color: rgba(var(--nf-graphite-rgb), 0.22);
  transition: color 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}

.nf-hn-item__arrow svg {
  width: 14px;
  height: 14px;
}

.nf-hn-item:hover .nf-hn-item__arrow {
  color: var(--nf-accent);
  transform: translateX(2px);
}

/* ── Article detail aside — premium polish ── */
.nf-news-editorial__aside-card {
  border-radius: 14px !important;
  border: 1px solid rgba(215, 228, 224, 0.65) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 8px rgba(var(--nf-graphite-rgb), 0.04) !important;
  padding: 18px 20px 20px !important;
}

.nf-news-editorial__aside-card--summary {
  background: rgba(248, 252, 251, 1) !important;
  border-left: 3px solid var(--nf-accent) !important;
  border-color: rgba(77, 160, 169, 0.28) !important;
}

.nf-news-editorial__aside-h {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(var(--nf-graphite-rgb), 0.32) !important;
  margin-bottom: 12px !important;
}

.nf-news-editorial__aside-text {
  font-size: 14px !important;
  line-height: 1.64 !important;
  color: var(--nf-color-text-secondary) !important;
}

/* ── Mobile: stack to single column ── */
@media (max-width: 768px) {
  .nf-home-section.section--layer-editorial .nf-news-layout {
    grid-template-columns: 1fr !important;
    gap: clamp(20px, 3vw, 28px) !important;
  }

  .nf-hn-featured__media {
    aspect-ratio: 16 / 10;
  }

  .nf-hn-sidebar {
    padding-top: 0;
  }

  .nf-hn-item::before {
    left: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-hn-featured,
  .nf-hn-featured__img,
  .nf-hn-featured__arrow,
  .nf-hn-item,
  .nf-hn-item::before,
  .nf-hn-item__arrow {
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   § UI CONSISTENCY PASS
   1. Featured news height reduction
   2. Unified section CTA pill style (all homepage sections)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Featured news — compact editorial height ── */

/* Reduce visual area — editorial proportion, not hero proportion. */
.nf-hn-featured__media {
  aspect-ratio: 21 / 9 !important;
  max-height: 220px !important;
}

/* Tighten body padding and excerpt lines */
.nf-hn-featured__body {
  padding: 14px 18px 16px !important;
  gap: 7px !important;
}

.nf-hn-featured__title {
  font-size: clamp(15px, 1.3vw, 19px) !important;
}

.nf-hn-featured__excerpt {
  font-size: 13.5px !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.58 !important;
}

.nf-hn-featured__foot {
  padding-top: 10px !important;
  margin-top: 0 !important;
}

/* ── 2. Unified section CTA pill — canonical definition ──
   Applied to ALL .nf-home-link-secondary elements as the single truth.
   Specific section overrides (catalog, news) below confirm the same values. */

.nf-home-link-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 10px 20px 10px 22px !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  color: rgba(var(--nf-graphite-rgb), 0.66) !important;
  border: 1px solid rgba(var(--nf-line-rgb), 0.22) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(252, 253, 252, 0.76) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 16px -6px rgba(var(--nf-graphite-rgb), 0.07) !important;
  transition:
    color 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.28s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer !important;
  white-space: nowrap !important;
}

.nf-home-link-secondary:hover {
  color: var(--nf-accent) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.34) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(247, 252, 250, 0.92) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 22px -8px rgba(var(--nf-graphite-rgb), 0.09),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.09) !important;
  transform: translateY(-1px);
}

.nf-home-link-secondary:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(var(--nf-accent-rgb), 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.nf-home-link-secondary__arrow {
  font-size: 1em !important;
  opacity: 0.55 !important;
  display: inline-block !important;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease !important;
}

.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {
  opacity: 0.85 !important;
  transform: translateX(3px) !important;
}

/* ── Section-specific overrides confirm the same pill — no divergence ── */

/* Весь каталог */
.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary,
/* Все направления */
.nf-feat-dirs.nf-home-section .nf-feat-dirs__all-cta.nf-home-link-secondary,
/* Все партнёры */
.nf-partners.nf-home-section .nf-ps-all-cta.nf-home-link-secondary,
/* Все новости */
.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary {
  /* Explicit re-declaration to win specificity wars from older rules */
  border-radius: 999px !important;
  min-height: 44px !important;
  padding: 10px 20px 10px 22px !important;
  color: rgba(var(--nf-graphite-rgb), 0.66) !important;
  border: 1px solid rgba(var(--nf-line-rgb), 0.22) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(252, 253, 252, 0.76) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 16px -6px rgba(var(--nf-graphite-rgb), 0.07) !important;
}

.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary:hover,
.nf-feat-dirs.nf-home-section .nf-feat-dirs__all-cta.nf-home-link-secondary:hover,
.nf-partners.nf-home-section .nf-ps-all-cta.nf-home-link-secondary:hover,
.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary:hover {
  color: var(--nf-accent) !important;
  border-color: rgba(var(--nf-accent-rgb), 0.34) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(247, 252, 250, 0.92) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 22px -8px rgba(var(--nf-graphite-rgb), 0.09),
    0 0 0 1px rgba(var(--nf-accent-rgb), 0.09) !important;
  transform: translateY(-1px);
}

.nf-popular.nf-home-section .nf-popular__catalog-cta .nf-home-link-secondary__arrow,
.nf-feat-dirs.nf-home-section .nf-feat-dirs__all-cta .nf-home-link-secondary__arrow,
.nf-partners.nf-home-section .nf-ps-all-cta .nf-home-link-secondary__arrow,
.nf-news.nf-home-section .nf-news__all-cta .nf-home-link-secondary__arrow {
  opacity: 0.55 !important;
}

.nf-popular.nf-home-section .nf-popular__catalog-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow,
.nf-feat-dirs.nf-home-section .nf-feat-dirs__all-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow,
.nf-partners.nf-home-section .nf-ps-all-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow,
.nf-news.nf-home-section .nf-news__all-cta.nf-home-link-secondary:hover .nf-home-link-secondary__arrow {
  opacity: 0.85 !important;
  transform: translateX(3px) !important;
}

/* ── Placeholder refinement — editorial label + tighter pattern ── */

/* Richer gradient — more presence, less washed-out */
.nf-hn-featured__ph {
  background: linear-gradient(
    148deg,
    rgba(77, 160, 169, 0.14) 0%,
    rgba(170, 210, 208, 0.15) 55%,
    rgba(238, 246, 244, 0.96) 100%
  ) !important;
}

/* Tighter grid — 22px cells, more precise at smaller height */
.nf-hn-featured__ph::before {
  background-image:
    linear-gradient(rgba(77, 160, 169, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 160, 169, 0.07) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 10%, transparent 70%) !important;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 10%, transparent 70%) !important;
}

/* Smaller ring — proportional to reduced height */
.nf-hn-featured__ph::after {
  width: 36px !important;
  height: 36px !important;
  border-color: rgba(77, 160, 169, 0.32) !important;
  box-shadow:
    0 0 0 7px rgba(77, 160, 169, 0.06),
    0 0 0 16px rgba(77, 160, 169, 0.03) !important;
  top: 42% !important;
}

/* Editorial label — bottom-left, actual category + date */
.nf-hn-featured__ph-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(215, 228, 224, 0.7);
}

.nf-hn-featured__ph-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-accent);
}

.nf-hn-featured__ph-sep {
  font-size: 10px;
  color: rgba(var(--nf-graphite-rgb), 0.28);
  line-height: 1;
}

.nf-hn-featured__ph-date {
  font-size: 11px;
  font-weight: 500;
  color: rgba(var(--nf-graphite-rgb), 0.52);
  letter-spacing: 0.01em;
}

/* ============================================================
   PDP REDESIGN -- Hybrid Concept 1 + 3
   Chapter nav . Overview split . Dossier table .
   Phase timeline . Service commitments
   ============================================================ */

/* Chapter nav */
.nf-pdp-chapter-nav .nf-pdp-subnav-inner { gap: 0; }
.nf-pdp-chapter-nav .nf-pdp-subnav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 20px; height: 44px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.52);
  border-bottom: 2px solid transparent; text-decoration: none;
  transition: color 0.18s, border-color 0.18s; white-space: nowrap;
}
.nf-pdp-chapter-nav .nf-pdp-subnav-link:hover { color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.85); }
.nf-pdp-chapter-nav .nf-pdp-subnav-link--active { color: var(--nf-teal, #1a8a72); border-bottom-color: var(--nf-teal, #1a8a72); }
.nf-pdp-chapter-num {
  font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em; color: var(--nf-teal, #1a8a72); opacity: 0.7;
}
.nf-pdp-subnav-link--active .nf-pdp-chapter-num,
.nf-pdp-subnav-link:hover .nf-pdp-chapter-num { opacity: 1; }

/* Section chapter bar */
.nf-pdp-chapter-bar {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.08);
  margin-bottom: 36px;
}
.nf-pdp-chapter-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--nf-teal, #1a8a72); white-space: nowrap; flex-shrink: 0; margin: 0;
}
.nf-pdp-chapter-title {
  font-size: 22px; font-weight: 600; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.9);
  margin: 0; line-height: 1.2;
}

/* 01 Overview split */
.nf-pdp-overview-split {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  align-items: start; padding-bottom: 40px;
}
@media (max-width: 720px) { .nf-pdp-overview-split { grid-template-columns: 1fr; gap: 24px; } }
.nf-pdp-overview-lead { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.nf-pdp-callout {
  font-size: 14px; font-weight: 500; color: var(--nf-teal, #1a8a72); line-height: 1.55;
  border-left: 2px solid currentColor; padding-left: 12px; margin: 0;
}
.nf-pdp-overview-body .nf-pdp-prose-p {
  font-size: 15px; line-height: 1.72; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.78);
  margin: 0 0 16px;
}
.nf-pdp-overview-body .nf-pdp-prose-p:last-child { margin-bottom: 0; }

/* Kit chips */
.nf-pdp-kit-body { padding-top: 28px; border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07); }
.nf-pdp-attr-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nf-pdp-attr-chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 6px; border: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.12);
  background: rgba(var(--nf-graphite-rgb, 30,42,38), 0.03); font-size: 12px; font-weight: 500;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.68); letter-spacing: 0.01em; white-space: nowrap;
}

/* 02 Dossier table */
.nf-pdp-dossier { display: flex; flex-direction: column; gap: 40px; }
.nf-pdp-dossier-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.42); margin: 0 0 16px;
}
.nf-pdp-dossier-table { display: flex; flex-direction: column; margin: 0; }
.nf-pdp-dossier-row {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center;
  gap: 10px 14px; padding: 13px 0; border-bottom: 1px dashed rgba(var(--nf-graphite-rgb, 30,42,38), 0.1);
}
.nf-pdp-dossier-row:first-child { border-top: 1px dashed rgba(var(--nf-graphite-rgb, 30,42,38), 0.1); }
.nf-pdp-dossier-icon { display: flex; align-items: center; justify-content: center; color: var(--nf-teal, #1a8a72); opacity: 0.7; flex-shrink: 0; }
.nf-pdp-dossier-icon .nf-pdp-icon-svg { width: 16px; height: 16px; }
.nf-pdp-dossier-label { font-size: 13px; font-weight: 500; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.6); margin: 0; }
.nf-pdp-dossier-value { font-size: 13px; font-weight: 600; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.88); text-align: right; margin: 0; max-width: 240px; }

/* 03 Install requirements */
.nf-pdp-install-reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-bottom: 48px; }
@media (max-width: 600px) { .nf-pdp-install-reqs { grid-template-columns: 1fr; } }
.nf-pdp-install-reqs-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.42); margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.nf-pdp-install-env-h-icon { display: inline-flex; color: var(--nf-teal, #1a8a72); opacity: 0.65; }
.nf-pdp-install-env-h-icon .nf-pdp-icon-svg { width: 14px; height: 14px; }

/* Phase timeline */
.nf-pdp-phases-wrap { border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.08); padding-top: 32px; }
.nf-pdp-phases-heading {
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.4); margin: 0 0 20px;
}
.nf-pdp-phases-track {
  display: flex; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  border: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.1); border-radius: 10px; overflow: hidden;
}
.nf-pdp-phases-track::-webkit-scrollbar { display: none; }
.nf-pdp-phase-btn {
  flex: 1; min-width: 100px; display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; padding: 16px 18px; background: transparent; border: none;
  border-right: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.08);
  cursor: pointer; text-align: left; transition: background 0.15s; position: relative;
}
.nf-pdp-phase-btn:last-child { border-right: none; }
.nf-pdp-phase-btn:hover { background: rgba(var(--nf-graphite-rgb, 30,42,38), 0.03); }
.nf-pdp-phase-btn.is-active { background: rgba(26, 138, 114, 0.06); }
.nf-pdp-phase-btn.is-active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--nf-teal, #1a8a72); border-radius: 2px 2px 0 0;
}
.nf-pdp-phase-num { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--nf-teal, #1a8a72); opacity: 0.65; font-variant-numeric: tabular-nums; }
.nf-pdp-phase-btn.is-active .nf-pdp-phase-num { opacity: 1; }
.nf-pdp-phase-label {
  font-size: 12px; font-weight: 500; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.55);
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nf-pdp-phase-btn.is-active .nf-pdp-phase-label { color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.85); font-weight: 600; }
.nf-pdp-phase-detail {
  margin-top: 20px; padding: 24px 28px; background: rgba(26, 138, 114, 0.04);
  border: 1px solid rgba(26, 138, 114, 0.12); border-radius: 10px;
  display: flex; gap: 20px; align-items: baseline;
}
.nf-pdp-phase-detail-num {
  font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--nf-teal, #1a8a72); opacity: 0.25; line-height: 1;
  flex-shrink: 0; margin: 0; width: 36px;
}
.nf-pdp-phase-detail-text { font-size: 14px; line-height: 1.65; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.78); margin: 0; }

/* 04 Service */
.nf-pdp-service-split { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 860px) { .nf-pdp-service-split { grid-template-columns: 1fr; gap: 32px; } }
.nf-pdp-service-commitments-intro { font-size: 14px; line-height: 1.65; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.58); margin: 0 0 24px; }
.nf-pdp-service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nf-pdp-service-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07); }
.nf-pdp-service-item:first-child { border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07); }
.nf-pdp-service-item__mark {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(26, 138, 114, 0.1); color: var(--nf-teal, #1a8a72); margin-top: 1px;
}
.nf-pdp-service-item__mark svg { width: 13px; height: 13px; }
.nf-pdp-service-item__text { font-size: 14px; line-height: 1.62; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.78); }
.nf-pdp-service-cta-panel {
  padding: 32px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(26,138,114,0.06) 0%, rgba(26,138,114,0.02) 100%);
  border: 1px solid rgba(26, 138, 114, 0.14); display: flex; flex-direction: column; gap: 12px;
}
.nf-pdp-service-cta-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-teal, #1a8a72); margin: 0; }
.nf-pdp-service-cta-h { font-size: 18px; font-weight: 700; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.9); line-height: 1.3; margin: 0; }
.nf-pdp-service-cta-body { font-size: 13px; line-height: 1.6; color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.58); margin: 4px 0 8px; }
.nf-pdp-service-cta-btn { align-self: flex-start; margin-top: 4px; }

/* Section spacing */
.nf-pdp-section--description { padding-top: 48px; padding-bottom: 48px; }
.nf-pdp-section--specs,
.nf-pdp-section--install,
.nf-pdp-section--service {
  padding-top: 56px; padding-bottom: 56px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07);
}

/* ============================================================
   SERVICE REGISTER — premium editorial manifest
   Replaces service-split / service-commitments / cta-panel
   ============================================================ */

/* Null out previous service section styles */
.nf-pdp-service-split,
.nf-pdp-service-commitments,
.nf-pdp-service-cta-panel { display: none !important; }

/* Section lead line */
.nf-pdp-service-register-lead {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.48);
  margin: 0 0 40px;
  max-width: 560px;
  letter-spacing: -0.005em;
}

/* Register list */
.nf-pdp-service-register {
  counter-reset: nf-svc;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each row */
.nf-pdp-service-register .nf-pdp-service-item {
  counter-increment: nf-svc;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 32px;
  padding: 32px 0 32px 20px;
  border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07);
  position: relative;
  /* reset base styles */
  border-bottom: none;
  align-items: start;
}
.nf-pdp-service-register .nf-pdp-service-item:last-child {
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.07);
}

/* Teal accent bar — slides in on hover */
.nf-pdp-service-register .nf-pdp-service-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--nf-teal, #1a8a72);
  border-radius: 0 1px 1px 0;
  transform: scaleY(0);
  transform-origin: 50% 50%;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.nf-pdp-service-register .nf-pdp-service-item:hover::after {
  transform: scaleY(1);
}

/* Counter number — col 1 */
.nf-pdp-service-register .nf-pdp-service-item::before {
  content: counter(nf-svc, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: var(--nf-teal, #1a8a72);
  opacity: 0.4;
  transition: opacity 0.18s;
  box-shadow: 1px 0 0 rgba(var(--nf-graphite-rgb, 30,42,38), 0.09);
}
.nf-pdp-service-register .nf-pdp-service-item:hover::before {
  opacity: 1;
}

/* Hide JS-rendered checkmark */
.nf-pdp-service-register .nf-pdp-service-item__mark {
  display: none;
}

/* Text — col 2 */
.nf-pdp-service-register .nf-pdp-service-item__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.78);
  letter-spacing: -0.01em;
  /* reset base styles */
  padding: 0;
}

@media (max-width: 600px) {
  .nf-pdp-service-register .nf-pdp-service-item {
    grid-template-columns: 36px 1fr;
    gap: 0 20px;
    padding: 24px 0 24px 14px;
  }
  .nf-pdp-service-register .nf-pdp-service-item__text {
    font-size: 14px;
  }
  .nf-pdp-service-register-lead {
    font-size: 13px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PART 1 — LIQUID CATEGORY RAIL
   Elegant sidebar navigation for the catalog explorer.
   Desktop/tablet: sticky vertical rail left of products.
   Mobile (≤768px): rail hidden, existing horizontal strip shown.
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout: restore 2-column for the explorer on desktop ─────── */
.nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
  margin-top: clamp(20px, 3vw, 32px);
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 0 clamp(20px, 2.4vw, 32px);
}

/* ── Rail shell ─────────────────────────────────────────────────── */
.nf-cat-rail {
  position: sticky;
  top: 108px;
  align-self: start;
  min-width: 0;
  padding-top: 4px;
  padding-right: clamp(14px, 2vw, 22px);
  border-right: 1px solid rgba(var(--nf-graphite-rgb), 0.07);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nf-cat-rail::-webkit-scrollbar { display: none; }

/* ── Back button ─────────────────────────────────────────────────── */
.nf-cat-rail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 8px;
  margin-bottom: 20px;
  border-radius: 9px;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.18);
  background: rgba(var(--nf-accent-rgb), 0.05);
  color: var(--nf-color-accent-contrast, #2a636d);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--nf-motion-duration-fast, 200ms) ease,
    border-color var(--nf-motion-duration-fast, 200ms) ease,
    color var(--nf-motion-duration-fast, 200ms) ease,
    transform 120ms ease;
}
.nf-cat-rail__back:hover {
  background: rgba(var(--nf-accent-rgb), 0.1);
  border-color: rgba(var(--nf-accent-rgb), 0.32);
  color: var(--nf-color-accent, #4da0a9);
}
.nf-cat-rail__back:active {
  transform: scale(0.97);
}

/* ── Section label ───────────────────────────────────────────────── */
.nf-cat-rail__label {
  margin: 0 0 6px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb), 0.28);
  line-height: 1;
}

/* ── Items list ──────────────────────────────────────────────────── */
.nf-cat-rail__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* ── Category item button ────────────────────────────────────────── */
.nf-cat-rail__item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px 8px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(var(--nf-graphite-rgb), 0.56);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--nf-motion-duration-fast, 200ms) ease,
    color var(--nf-motion-duration-fast, 200ms) ease,
    transform 120ms ease;
}

/* Animated left accent bar */
.nf-cat-rail__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 55%;
  border-radius: 0 3px 3px 0;
  background: var(--nf-color-accent, #4da0a9);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform var(--nf-motion-duration-fast, 200ms) var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}

.nf-cat-rail__item:hover {
  background: rgba(var(--nf-accent-rgb), 0.05);
  color: rgba(var(--nf-graphite-rgb), 0.8);
}

.nf-cat-rail__item.is-active {
  background: rgba(var(--nf-accent-rgb), 0.08);
  color: var(--nf-color-accent-contrast, #2a636d);
  font-weight: 640;
  cursor: default;
}
.nf-cat-rail__item.is-active::before {
  transform: translateY(-50%) scaleY(1);
}

.nf-cat-rail__item:not(.is-active):active {
  transform: scale(0.98);
}

/* ── Visibility control ──────────────────────────────────────────── */
/* Desktop + tablet: rail is visible, horizontal strip is hidden */
@media (min-width: 769px) {
  .nf-catalog-strip {
    display: none;
  }
}

/* Tablet compact */
@media (max-width: 980px) and (min-width: 769px) {
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 0 14px;
  }
  .nf-cat-rail__item {
    font-size: 12px;
    min-height: 36px;
    padding: 7px 8px 7px 14px;
  }
  .nf-cat-rail__label {
    font-size: 8.5px;
  }
}

/* Mobile: rail hidden, strip visible, layout single-column */
@media (max-width: 768px) {
  .nf-cat-rail {
    display: none;
  }
  /* Restore single-column layout */
  .nf-page-catalog .nf-container.nf-catalog-layout.nf-page-container--wide {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CAT-RAIL ACCORDION — Subcategory expansion
   ═══════════════════════════════════════════════════════════════ */

/* Group wrapper */
.nf-cat-rail__group {
  display: flex;
  flex-direction: column;
}

/* Trigger: flex row with text + chevron */
.nf-cat-rail__item--has-sub {
  justify-content: space-between;
  gap: 6px;
}
.nf-cat-rail__item-text {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nf-cat-rail__chevron {
  flex-shrink: 0;
  color: rgba(var(--nf-graphite-rgb), 0.35);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}
.nf-cat-rail__item--has-sub.is-active .nf-cat-rail__chevron,
.nf-cat-rail__item--has-sub[aria-expanded="true"] .nf-cat-rail__chevron {
  transform: rotate(90deg);
  color: var(--nf-color-accent, #4da0a9);
}
.nf-cat-rail__item--has-sub:hover .nf-cat-rail__chevron {
  color: rgba(var(--nf-graphite-rgb), 0.60);
}

/* Sub-panel: collapsed by default, smooth slide open */
.nf-cat-rail__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.nf-cat-rail__sub > * {
  min-height: 0;
  overflow: hidden;
}
.nf-cat-rail__sub.is-open {
  grid-template-rows: 1fr;
}

/* Inner wrapper (needed for grid-template-rows trick) */
.nf-cat-rail__sub-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px 0 6px 14px;
  margin-left: 16px;
  margin-top: 2px;
}
/* Connector line — draws downward as the panel opens */
.nf-cat-rail__sub-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    rgba(var(--nf-accent-rgb), 0.30),
    rgba(var(--nf-accent-rgb), 0.08)
  );
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.nf-cat-rail__sub.is-open .nf-cat-rail__sub-inner::before {
  transform: scaleY(1);
}

/* Subcategory button */
.nf-cat-rail__subitem {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 8px 5px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: rgba(var(--nf-graphite-rgb), 0.50);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 100ms ease;
}
/* Staggered cascade — each subitem slides in from the left, one after another */
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem {
  animation: nfSubItemIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(1) { animation-delay: 0.05s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(2) { animation-delay: 0.10s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(3) { animation-delay: 0.15s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(4) { animation-delay: 0.20s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(5) { animation-delay: 0.25s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(6) { animation-delay: 0.30s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(7) { animation-delay: 0.35s; }
.nf-cat-rail__sub.is-open .nf-cat-rail__subitem:nth-child(8) { animation-delay: 0.40s; }

@keyframes nfSubItemIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nf-cat-rail__subitem:hover {
  background: rgba(var(--nf-accent-rgb), 0.06);
  color: rgba(var(--nf-graphite-rgb), 0.75);
}
.nf-cat-rail__subitem.is-active {
  background: rgba(var(--nf-accent-rgb), 0.10);
  color: var(--nf-color-accent, #4da0a9);
  font-weight: 640;
  cursor: default;
}
.nf-cat-rail__subitem:not(.is-active):active {
  transform: scale(0.97);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .nf-cat-rail__sub,
  .nf-cat-rail__sub-inner::before,
  .nf-cat-rail__sub.is-open .nf-cat-rail__subitem {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}

/* Responsive: smaller font in tablet compact */
@media (max-width: 980px) and (min-width: 769px) {
  .nf-cat-rail__subitem {
    font-size: 11px;
    min-height: 28px;
    padding: 4px 6px 4px 8px;
  }
  .nf-cat-rail__sub-inner {
    margin-left: 14px;
    padding-left: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PART 2 — MOTION SYSTEM
   Consistent timing + easing tokens, smooth entrance animations,
   polished hover / press states, reduced-motion compliance.
   ═══════════════════════════════════════════════════════════════ */

/* ── Extra motion tokens ─────────────────────────────────────────── */
:root {
  /* Micro press feedback */
  --nf-dur-micro: 80ms;
  /* Semantic aliases that map to existing base tokens */
  --nf-ease-spring: cubic-bezier(0.34, 1.28, 0.64, 1);
  --nf-ease-enter:  var(--nf-motion-ease-enter);
  --nf-ease-std:    var(--nf-motion-ease-standard);
}

/* ── Modal: smooth fade + subtle rise ───────────────────────────── */
.nf-modal {
  transition: opacity var(--nf-motion-duration-fast, 200ms) ease;
}

/* Inner panel rises from slightly below */
.nf-modal-inner {
  transform: translateY(12px) scale(0.984);
  transition:
    transform var(--nf-motion-duration-base, 280ms) var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}
.nf-modal-visible .nf-modal-inner {
  transform: translateY(0) scale(1);
}

/* ── Dropdown (custom select): slide-in on open ──────────────────── */
/* Override display:none → use opacity+visibility for animation */
.nf-select-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.972);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 210ms var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1)),
    visibility 0ms ease 180ms;
}
.nf-select-shell.is-open .nf-select-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 180ms ease,
    transform 210ms var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1)),
    visibility 0ms ease 0ms;
}

/* ── Catalog strip items: smoother active indicator ──────────────── */
.nf-catalog-strip__item {
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
}
.nf-catalog-strip__item:not(.is-active):active {
  transform: scale(0.97);
}

/* ── Product cards: consistent lift transition ───────────────────── */
.nf-product-card--catalog {
  transition:
    transform var(--nf-motion-duration-fast, 200ms) var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow var(--nf-motion-duration-fast, 200ms) var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 160ms ease;
}
.nf-product-card--catalog:hover {
  transform: translateY(-3px);
}

/* ── View switch buttons ─────────────────────────────────────────── */
.nf-toolbar-view__btn,
.nf-view-switch-btn {
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

/* ── Catalog category hub cards: more measured on touch ─────────── */
@media (hover: none) {
  .nf-sector-card:hover {
    transform: none;
  }
}

/* ── Tile CTA arrow spring ───────────────────────────────────────── */
.nf-tile__cta svg {
  transition: transform var(--nf-motion-duration-fast, 200ms) var(--nf-motion-ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}
.nf-tile:hover .nf-tile__cta svg,
.nf-tile:focus-visible .nf-tile__cta svg {
  transform: translateX(4px);
}

/* ── Toast: ensure slide from right ─────────────────────────────── */
/* (existing toast already has good transitions; this just reinforces) */

/* ── Backdrop fade ───────────────────────────────────────────────── */
.nf-backdrop {
  transition: opacity var(--nf-motion-duration-fast, 200ms) ease;
}

/* ── Global reduced-motion override ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep visibility/pointer-events transitions working for dropdowns */
  .nf-select-menu {
    transition:
      opacity 0.01ms ease,
      transform 0.01ms ease,
      visibility 0ms ease !important;
  }
  .nf-select-shell.is-open .nf-select-menu {
    transition:
      opacity 0.01ms ease,
      transform 0.01ms ease,
      visibility 0ms ease !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PART 3 — RESPONSIVE QUALITY FIXES
   Targeted fixes for mobile / tablet / landscape tablet.
   No horizontal scroll. Usable touch targets. Safe areas.
   ═══════════════════════════════════════════════════════════════ */

/* ── Homepage tiles: 2-col at tablet landscape ───────────────────── */
@media (min-width: 640px) and (max-width: 860px) {
  .nf-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Keep vertical card layout at this range */
  .nf-tile {
    flex-direction: column;
    min-height: 280px;
  }
  .nf-tile__accent {
    width: auto;
    height: 120px;
  }
}

/* ── Catalog strip: touch-friendly at small screens ─────────────── */
@media (max-width: 768px) {
  .nf-catalog-strip__inner {
    height: 48px;
    gap: 8px;
  }
  .nf-catalog-strip__item {
    height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
  }
  .nf-catalog-strip__back {
    height: 34px;
  }
}

/* ── Catalog toolbar: wrap gracefully at 380px ───────────────────── */
@media (max-width: 380px) {
  .nf-toolbar-right {
    flex-wrap: wrap;
    gap: 6px;
  }
  .nf-toolbar-sort {
    flex: 1 1 100%;
    min-width: 0;
  }
  .nf-toolbar-view {
    margin-left: auto;
  }
  .nf-toolbar-view__btn,
  .nf-view-switch-btn {
    min-width: 38px;
    min-height: 38px;
  }
}

/* ── View toggle: minimum 44×44 tap target on touch devices ──────── */
@media (hover: none), (pointer: coarse) {
  .nf-toolbar-view__btn,
  .nf-view-switch-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ── Modal: tighter padding at very small screens ────────────────── */
@media (max-width: 380px) {
  .nf-modal-inner {
    padding: 16px 16px 18px;
    border-radius: 18px;
  }
  .nf-modal-form:not(.nf-modal-ds) {
    padding: 6px 16px 18px;
  }
  .nf-modal-product {
    grid-template-columns: 1fr;
  }
  .nf-modal-product-left {
    display: none;
  }
}

/* ── Product modal: single column at mobile ──────────────────────── */
@media (max-width: 640px) {
  .nf-modal-product {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nf-modal-product-left {
    display: none;
  }
  .nf-modal-cta {
    flex-direction: column;
  }
  .nf-modal-cta > * {
    width: 100%;
    text-align: center;
  }
}

/* ── Install note: single column at mobile ───────────────────────── */
@media (max-width: 480px) {
  .nf-install-note-rows {
    grid-template-columns: 1fr;
  }
}

/* ── Partner modal: safe bottom spacing ──────────────────────────── */
@media (max-width: 768px) {
  #partnerModal .nf-modal-partner,
  #partnerModal .nf-modal-inner {
    padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  }
  .nf-partner-modal-head {
    padding-right: 36px;
  }
}

/* ── Footer: ensure columns don't collapse prematurely ───────────── */
@media (max-width: 480px) {
  .nf-footer-cols {
    gap: 24px;
  }
}

/* ── Catalog hub sector cards: safe grid on narrow mobile ────────── */
@media (max-width: 480px) {
  .nf-catalog-hub__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── News section: single column on small mobile ─────────────────── */
@media (max-width: 480px) {
  .nf-news-layout,
  .nf-news__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Quick quote / contact form modals: safe padding ─────────────── */
@media (max-width: 480px) {
  #quickQuoteModal .nf-modal-inner,
  #contactModal .nf-modal-inner {
    padding: 18px 16px 20px;
    border-radius: 18px;
  }
}

/* ── Prevent any remaining layout-escape overflow sources ────────── */
@media (max-width: 768px) {
  /* Ensure sticky header doesn't push main content off-screen */
  .nf-app,
  .nf-main {
    overflow-x: clip;
  }
  /* Keep all absolute-positioned decorative layers from causing scroll */
  .nf-hero-brand-fullbleed,
  .nf-home-firstscreen {
    overflow: hidden;
  }
}

/* ── Pillar grid: full vertical at very small ────────────────────── */
@media (max-width: 480px) {
  .nf-pillar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nf-tile {
    flex-direction: column;
    min-height: 0;
  }
  .nf-tile__accent {
    width: auto;
    height: 90px;
  }
}

/* ── Tile section: 3-col maintained above 860px (no change needed) ── */
/* @media (min-width: 861px) already covered by base .nf-pillar-grid */


/* ═══════════════════════════════════════════════════════════════
   PREMIUM HEADER NAVIGATION — REFINED MINIMAL
   Reference: Apple · Philips Healthineers · Siemens Healthineers.
   Pure text nav. No capsule, no pill, no boxed active state.
   Resting: muted graphite.
   Hover: light teal shift + faint underline preview.
   Active: deep teal statement + intentional 2px underline.
   ═══════════════════════════════════════════════════════════════ */

/* ── Retire JS slide-indicator — CSS underline handles it ──────── */
.nf-nav-indicator { display: none !important; }

/* ── Nav row: pure flex strip, no shell ────────────────────────── */
.nf-header--ds .nf-nav {
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── Link · resting ────────────────────────────────────────────── */
.nf-header--ds .nf-nav-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  /* Generous horizontal breathing room; extra bottom clears underline */
  padding: 10px 20px 14px !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  /* Open letter-spacing reads as composed, not cramped */
  letter-spacing: 0.018em !important;
  /* Muted start — makes active/hover transitions feel intentional */
  color: rgba(var(--nf-graphite-rgb), 0.46) !important;
  white-space: nowrap !important;
  background: transparent !important;
  box-shadow: none !important;
  /* Color transitions slightly ahead of underline — micro-choreography */
  transition: color 150ms ease-out !important;
}

/* ── Underline accent · collapsed by default ───────────────────── */
/* Expands outward from centre via left/right spring animation.     */
.nf-header--ds .nf-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--nf-accent, #4da0a9);
  border-radius: 1px;
  opacity: 0;
  /* Underline lags ~60ms behind color shift → sequential feel */
  transition:
    left    260ms cubic-bezier(0.22, 1, 0.36, 1),
    right   260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease,
    background 200ms ease;
}

/* ── Link · hover ──────────────────────────────────────────────── */
/* Brand teal at reduced opacity — a preview, not the full statement */
.nf-header--ds .nf-nav-link:hover {
  color: var(--nf-accent, #4da0a9) !important;
  background: transparent !important;
  text-decoration: none;
}

.nf-header--ds .nf-nav-link:hover::after {
  left: 20px;
  right: 20px;
  opacity: 0.42;
  background: var(--nf-accent, #4da0a9);
}

/* ── Link · active ─────────────────────────────────────────────── */
/* Deep teal (contrast) on active — the full statement.            */
/* Underline shifts to the darker teal, matching the text.         */
.nf-header--ds .nf-nav-link-active {
  color: var(--nf-accent, #4da0a9) !important;
  /* Slight weight increase: resting 500 → active 600 */
  font-weight: 600 !important;
  /* Slightly tighter than resting — settled, not searching */
  letter-spacing: 0.013em !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nf-header--ds .nf-nav-link-active::after {
  left: 20px;
  right: 20px;
  opacity: 1;
  background: var(--nf-accent, #4da0a9);
}

/* Active is stable on hover — it's already selected */
.nf-header--ds .nf-nav-link-active:hover {
  color: var(--nf-accent, #4da0a9) !important;
  background: transparent !important;
}

.nf-header--ds .nf-nav-link-active:hover::after {
  left: 20px;
  right: 20px;
  opacity: 1;
  background: var(--nf-accent, #4da0a9);
}

/* ── Link · focus-visible ──────────────────────────────────────── */
.nf-header--ds .nf-nav-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  color: var(--nf-accent, #4da0a9) !important;
}

.nf-header--ds .nf-nav-link:focus-visible::after {
  left: 20px;
  right: 20px;
  opacity: 0.75;
}

/* ── Admin link · slight visual separation ─────────────────────── */
.nf-header--ds .nf-nav-link-admin {
  margin-left: 10px;
  padding-left: 14px !important;
  border-left: 1px solid rgba(var(--nf-graphite-rgb), 0.10);
}

/* ── App scroll offset ─────────────────────────────────────────── */
.nf-app:has(> header.nf-header) {
  padding-top: 132px;
}
html:has(body .nf-app > header.nf-header) {
  scroll-padding-top: 132px;
}

@media (max-width: 768px) {
  .nf-app:has(> header.nf-header)            { padding-top: 88px; }
  html:has(body .nf-app > header.nf-header)  { scroll-padding-top: 88px; }
}

/* ── Reduced-motion: collapse all nav transitions ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .nf-header--ds .nf-nav-link,
  .nf-header--ds .nf-nav-link::after {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PDP v3 PREMIUM DOSSIER
   Full redesign of the product detail content area below the hero.
   Visual register: Siemens Healthineers / Philips Healthcare —
   clinical precision, structured information, understated luxury.
   Scope: .nf-pdp--v3   No HTML or backend changes needed.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Shared tokens ─────────────────────────────────────────────── */
/* Re-maps --nf-teal references in older PDP rules to the brand accent */
.nf-pdp--v3 {
  --nf-pdp-accent:     var(--nf-accent, #4da0a9);
  --nf-pdp-accent-rgb: var(--nf-accent-rgb, 77,160,169);
  --nf-pdp-ink:        rgba(var(--nf-graphite-rgb, 30,42,38), 0.88);
  --nf-pdp-ink-muted:  rgba(var(--nf-graphite-rgb, 30,42,38), 0.52);
  --nf-pdp-rule:       rgba(var(--nf-graphite-rgb, 30,42,38), 0.07);
}

/* ─── Main content area ─────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ─── Section rhythm ────────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-section {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--nf-pdp-rule);
  scroll-margin-top: 100px;
}
.nf-pdp--v3 .nf-pdp-section--description {
  border-top: none;
  padding-top: clamp(32px, 4vw, 52px);
}

/* ─── Chapter bar (eyebrow + heading) ───────────────────────────── */
.nf-pdp--v3 .nf-pdp-chapter-bar {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--nf-pdp-rule);
  margin-bottom: 40px;
}
.nf-pdp--v3 .nf-pdp-chapter-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--nf-pdp-accent-rgb), 0.75);
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
}
.nf-pdp--v3 .nf-pdp-chapter-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--nf-pdp-ink);
  margin: 0;
  line-height: 1.18;
}

/* ─── A · STICKY CHAPTER NAV ────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-subnav.nf-pdp-chapter-nav {
  top: 0;
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 rgba(var(--nf-graphite-rgb, 30,42,38), 0.06);
}

/* Nav links */
.nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link {
  padding: 13px 16px 15px;
  height: auto;
  font-size: 12.5px;
  font-weight: 530;
  letter-spacing: 0.02em;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.40);
  border-bottom: 2px solid transparent;
  gap: 8px;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.18s ease;
}
.nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link:hover {
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.75);
  background: transparent;
}
.nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link--active {
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.90);
  font-weight: 650;
  letter-spacing: 0.016em;
  border-bottom-color: var(--nf-pdp-accent);
  background: transparent;
  /* override v3 border shorthand */
  border-color: transparent transparent var(--nf-pdp-accent) transparent;
}

/* Step numbers inside nav links */
.nf-pdp--v3 .nf-pdp-chapter-num {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--nf-pdp-accent);
  opacity: 0.45;
  transition: opacity 0.15s;
}
.nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link--active .nf-pdp-chapter-num,
.nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link:hover   .nf-pdp-chapter-num {
  opacity: 1;
}

/* ─── B · OVERVIEW ──────────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-overview-split {
  grid-template-columns: 196px 1fr;
  gap: 52px;
  align-items: start;
  padding-bottom: 0;
}
.nf-pdp--v3 .nf-pdp-overview-lead {
  gap: 0;
  padding-top: 2px;
  position: sticky;
  top: calc(clamp(56px, 8vw, 84px) + 52px);
  align-self: start;
}

/* Callout / positioning statement */
.nf-pdp--v3 .nf-pdp-callout {
  font-size: 14px;
  font-weight: 580;
  line-height: 1.6;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.76);
  border-left: 2.5px solid var(--nf-pdp-accent);
  border-radius: 0;
  padding: 2px 0 2px 15px;
  /* override v3 gradient bubble */
  background: transparent;
  letter-spacing: -0.008em;
}

/* Body prose */
.nf-pdp--v3 .nf-pdp-overview-body .nf-pdp-prose-p {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.72);
  margin: 0 0 18px;
  letter-spacing: -0.008em;
}
.nf-pdp--v3 .nf-pdp-overview-body .nf-pdp-prose-p:last-child { margin-bottom: 0; }
.nf-pdp--v3 .nf-pdp-prose-strong {
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.90);
  font-weight: 650;
}

/* ─── C · SPECIFICATIONS — icon-free dossier ────────────────────── */
.nf-pdp--v3 .nf-pdp-dossier {
  gap: 48px;
}

/* Group heading */
.nf-pdp--v3 .nf-pdp-dossier-group-title {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-pdp-accent-rgb), 0.72);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--nf-pdp-accent-rgb), 0.14);
}

/* Row: remove icon column — label + value only */
.nf-pdp--v3 .nf-pdp-dossier-row {
  grid-template-columns: 1fr auto;
  gap: 6px 28px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.055);
}
.nf-pdp--v3 .nf-pdp-dossier-row:first-child {
  border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.055);
}

/* Hide icon cell entirely */
.nf-pdp--v3 .nf-pdp-dossier-icon { display: none; }

.nf-pdp--v3 .nf-pdp-dossier-label {
  font-size: 12.5px;
  font-weight: 450;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.50);
  letter-spacing: 0.005em;
  margin: 0;
}
.nf-pdp--v3 .nf-pdp-dossier-value {
  font-size: 13px;
  font-weight: 680;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.91);
  text-align: right;
  letter-spacing: -0.014em;
  max-width: 260px;
  margin: 0;
}

/* v3 override for specs panel layout (if rendered as panels) */
.nf-pdp--v3 .nf-pdp-specs-panel {
  border-radius: 14px;
  border: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.09);
  background: rgba(var(--nf-graphite-rgb, 30,42,38), 0.017);
  box-shadow: none;
}
.nf-pdp--v3 .nf-pdp-specs-panel .nf-pdp-dossier-group-title {
  font-size: 9.5px;
  color: rgba(var(--nf-pdp-accent-rgb), 0.68);
  border-bottom-color: rgba(var(--nf-pdp-accent-rgb), 0.12);
}

/* ─── D · DEPLOYMENT WORKFLOW ───────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-install-reqs {
  gap: 28px 52px;
  margin-bottom: 52px;
}
.nf-pdp--v3 .nf-pdp-install-reqs-h {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-pdp-accent-rgb), 0.72);
  margin: 0 0 16px;
  gap: 0;
}
/* Hide environment icon — let type do the work */
.nf-pdp--v3 .nf-pdp-install-env-h-icon { display: none; }

/* Feature list rows */
.nf-pdp--v3 .nf-pdp-install-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nf-pdp--v3 .nf-pdp-install-feature-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: 13.5px;
  line-height: 1.54;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.72);
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.055);
}
.nf-pdp--v3 .nf-pdp-install-feature-list li:first-child {
  border-top: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.055);
}
.nf-pdp--v3 .nf-pdp-install-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nf-pdp-accent);
  opacity: 0.55;
}

/* Phase section wrapper */
.nf-pdp--v3 .nf-pdp-phases-wrap {
  border-top: 1px solid var(--nf-pdp-rule);
  padding-top: 36px;
}
.nf-pdp--v3 .nf-pdp-phases-heading {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.36);
  margin: 0 0 22px;
}

/* Phase tab strip */
.nf-pdp--v3 .nf-pdp-phases-track {
  border: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(var(--nf-graphite-rgb, 30,42,38), 0.015);
}
.nf-pdp--v3 .nf-pdp-phase-btn {
  padding: 18px 20px;
  gap: 7px;
  border-right: 1px solid rgba(var(--nf-graphite-rgb, 30,42,38), 0.06);
  transition: background 0.12s;
}
.nf-pdp--v3 .nf-pdp-phase-btn:hover { background: rgba(var(--nf-graphite-rgb, 30,42,38), 0.04); }
.nf-pdp--v3 .nf-pdp-phase-btn.is-active { background: rgba(var(--nf-pdp-accent-rgb), 0.06); }
.nf-pdp--v3 .nf-pdp-phase-btn.is-active::after { background: var(--nf-pdp-accent); }

.nf-pdp--v3 .nf-pdp-phase-num {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--nf-pdp-accent);
  opacity: 0.45;
}
.nf-pdp--v3 .nf-pdp-phase-btn.is-active .nf-pdp-phase-num { opacity: 1; }
.nf-pdp--v3 .nf-pdp-phase-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.52);
  line-height: 1.35;
}
.nf-pdp--v3 .nf-pdp-phase-btn.is-active .nf-pdp-phase-label {
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.88);
  font-weight: 650;
}

/* Phase detail card */
.nf-pdp--v3 .nf-pdp-phase-detail {
  margin-top: 14px;
  padding: 26px 30px;
  background: rgba(var(--nf-pdp-accent-rgb), 0.04);
  border: 1px solid rgba(var(--nf-pdp-accent-rgb), 0.14);
  border-radius: 12px;
  gap: 22px;
  align-items: flex-start;
}
.nf-pdp--v3 .nf-pdp-phase-detail-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--nf-pdp-accent);
  opacity: 0.20;
  width: 32px;
  flex-shrink: 0;
}
.nf-pdp--v3 .nf-pdp-phase-detail-text {
  font-size: 14px;
  line-height: 1.68;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.74);
  letter-spacing: -0.008em;
}

/* ─── E · SERVICE COMMITMENT REGISTER ──────────────────────────── */
.nf-pdp--v3 .nf-pdp-service-register-lead {
  font-size: 14.5px;
  line-height: 1.70;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.50);
  max-width: 540px;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

/* Accent bar + counter — switch to brand accent */
.nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item::after {
  background: var(--nf-pdp-accent);
}
.nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item::before {
  color: var(--nf-pdp-accent);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item:hover::before { opacity: 1; }

/* Service text */
.nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item__text {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: rgba(var(--nf-graphite-rgb, 30,42,38), 0.76);
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .nf-pdp--v3 .nf-pdp-overview-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nf-pdp--v3 .nf-pdp-overview-lead {
    position: static;
  }
}

@media (max-width: 600px) {
  .nf-pdp--v3 .nf-pdp-chapter-bar { gap: 14px; padding-bottom: 20px; margin-bottom: 28px; }
  .nf-pdp--v3 .nf-pdp-chapter-title { font-size: 19px; }
  .nf-pdp--v3 .nf-pdp-dossier-value { max-width: 180px; font-size: 12.5px; }
  .nf-pdp--v3 .nf-pdp-phase-detail { padding: 20px 22px; gap: 16px; }
  .nf-pdp--v3 .nf-pdp-phase-btn { padding: 14px 14px; }
  .nf-pdp--v3 .nf-pdp-phases-track { border-radius: 9px; }
  .nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item__text { font-size: 13.5px; }
}

@media (max-width: 420px) {
  .nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link { padding: 11px 10px 13px; font-size: 12px; gap: 6px; }
  .nf-pdp--v3 .nf-pdp-main { padding: 0 clamp(12px, 4vw, 20px); }
}

/* ─── Motion safety ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nf-pdp--v3 .nf-pdp-chapter-nav .nf-pdp-subnav-link,
  .nf-pdp--v3 .nf-pdp-phase-btn,
  .nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item::after,
  .nf-pdp--v3 .nf-pdp-service-register .nf-pdp-service-item::before {
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PDP v3 — REBUILD ADDITIONS
   Subnav back button · dark service section · related carousel ·
   final CTA · zoom button · misc fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Subnav back button ────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-subnav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nf-color-text-tertiary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.18s;
  letter-spacing: 0.01em;
}
.nf-pdp--v3 .nf-pdp-subnav-back:hover { color: var(--nf-color-text-primary); }
.nf-pdp-subnav-back svg { flex-shrink: 0; }

.nf-pdp--v3 .nf-pdp-subnav-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(var(--nf-graphite-rgb), 0.12);
  flex-shrink: 0;
  margin: 0 4px;
  align-self: center;
}

/* ─── Hero back button ──────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 6px 0;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-tertiary);
  cursor: pointer;
  transition: color 0.18s;
}
.nf-pdp--v3 .nf-pdp-back:hover { color: var(--nf-color-accent-contrast); }
.nf-pdp--v3 .nf-pdp-back svg { flex-shrink: 0; }

/* ─── Zoom button on media frame ────────────────────────────────── */
.nf-pdp-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--nf-color-text-tertiary);
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    background-color 0.15s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nf-pdp-media-frame:hover .nf-pdp-zoom-btn { opacity: 1; transform: translateY(0); }
.nf-pdp-zoom-btn:hover { background: rgba(255, 255, 255, 1); color: var(--nf-color-accent-contrast); }
@media (hover: none) { .nf-pdp-zoom-btn { opacity: 1; transform: none; } }

/* ─── Price / total display ─────────────────────────────────────── */
.nf-pdp-price-unit {
  margin: 0;
  font-size: 13px;
  color: var(--nf-color-text-secondary);
}
.nf-pdp-price-total {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.02em;
  color: var(--nf-color-text-primary);
}

/* ─── Ghost-light button (for dark sections) ────────────────────── */
.nf-btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.88);
  transition:
    border-color 0.18s,
    background-color 0.18s,
    color 0.18s;
}
.nf-btn-ghost-light:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

/* ─── SERVICE — dark full-bleed section ─────────────────────────── */
.nf-pdp-service-dark {
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--nf-color-dark-surface, #1d2c2a);
  color: var(--nf-on-dark-hi, rgba(255,255,255,0.92));
}

.nf-pdp-service-dark__inner {
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 3vw, 40px);
}

.nf-pdp-service-dark__split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 860px) {
  .nf-pdp-service-dark__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.nf-pdp-service-dark__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: clamp(80px, 10vw, 120px);
}

.nf-pdp-section-eyebrow--light {
  color: rgba(255, 255, 255, 0.38) !important;
}

.nf-pdp-section-title--light {
  color: var(--nf-on-dark-hi, rgba(255,255,255,0.92)) !important;
}

.nf-pdp-service-register-lead--light {
  color: rgba(255, 255, 255, 0.56) !important;
  margin-bottom: 0;
}

.nf-pdp-service-dark__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* Service list items — light variant for dark bg */
.nf-pdp-service-register--light {
  counter-reset: nf-svc;
}
.nf-pdp-service-register--light .nf-pdp-service-item {
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
  padding: 20px 0;
}
.nf-pdp-service-register--light .nf-pdp-service-item:first-child {
  border-top-color: rgba(255, 255, 255, 0.07) !important;
}
.nf-pdp-service-register--light .nf-pdp-service-item::before {
  color: rgba(var(--nf-accent-rgb), 0.8) !important;
  opacity: 0.7;
}
.nf-pdp-service-register--light .nf-pdp-service-item__text {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14.5px;
  line-height: 1.65;
}
.nf-pdp-service-register--light .nf-pdp-service-item__mark svg {
  stroke: rgba(var(--nf-accent-rgb), 0.85);
}
.nf-pdp-service-register--light .nf-pdp-service-item__mark {
  background: rgba(var(--nf-accent-rgb), 0.18);
  border-radius: 50%;
  border: 1px solid rgba(var(--nf-accent-rgb), 0.28);
}

/* ─── RELATED PRODUCTS carousel ─────────────────────────────────── */
.nf-pdp-related-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(16px, 3vw, 32px);
  overflow: hidden;
}

.nf-pdp-related-section__head {
  max-width: var(--nf-page-container-max);
  margin: 0 auto clamp(20px, 3vw, 32px);
  padding: 0 clamp(16px, 3vw, 40px);
}

.nf-pdp-related-viewport-wrap {
  position: relative;
}

.nf-pdp-related-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px clamp(16px, 3vw, 40px) 16px;
  scroll-snap-type: x mandatory;
}
.nf-pdp-related-viewport::-webkit-scrollbar { display: none; }

.nf-pdp-related-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.nf-pdp-related-track .nf-product-card {
  width: clamp(240px, 28vw, 300px);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.nf-pdp-related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--nf-color-border);
  background: var(--nf-color-surface);
  color: var(--nf-color-text-secondary);
  cursor: pointer;
  box-shadow: var(--nf-shadow-sm);
  transition:
    box-shadow 0.18s,
    border-color 0.18s,
    background-color 0.18s;
}
.nf-pdp-related-nav:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.45);
  background: var(--nf-color-surface-subtle);
  box-shadow: var(--nf-shadow-md);
}
.nf-pdp-related-nav--prev { left: 8px; }
.nf-pdp-related-nav--next { right: 8px; }

/* ─── FINAL CTA section ─────────────────────────────────────────── */
.nf-pdp-finalcta {
  margin-top: clamp(40px, 6vw, 72px);
  background: linear-gradient(
    135deg,
    var(--nf-hero-dark-1, #112326) 0%,
    var(--nf-hero-dark-2, #184347) 60%,
    var(--nf-hero-dark-3, #458998) 100%
  );
  color: #fff;
}

.nf-pdp-finalcta__inner {
  max-width: var(--nf-page-container-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.nf-pdp-finalcta__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  max-width: 600px;
}

.nf-pdp-finalcta__sub {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  max-width: 480px;
}

.nf-pdp-finalcta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* ─── Misc layout fixes ─────────────────────────────────────────── */

/* Ensure pdp main sections don't get cut inside container */
.nf-pdp--v3 .nf-pdp-main {
  padding-bottom: clamp(8px, 2vw, 16px);
}

/* Kit section: hide entirely if empty (JS sets hidden attr on productPageKitBody's parent) */
#pdp-kit:has(#productPageKitBody:empty) { display: none !important; }

/* Specs dossier inside the grid wrapper */
.nf-pdp--v3 .nf-pdp-dossier {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nf-pdp--v3 .nf-pdp-dossier-group-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -0.01em;
  color: var(--nf-color-text-primary);
}
.nf-pdp--v3 .nf-pdp-dossier-table {
  border: 1px solid rgba(var(--nf-graphite-rgb), 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.nf-pdp--v3 .nf-pdp-dossier-row {
  display: grid;
  grid-template-columns: 28px auto 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(var(--nf-graphite-rgb), 0.06);
  background: var(--nf-color-surface);
}
.nf-pdp--v3 .nf-pdp-dossier-row:last-child { border-bottom: none; }
.nf-pdp--v3 .nf-pdp-dossier-row:nth-child(even) { background: var(--nf-color-surface-subtle); }
.nf-pdp--v3 .nf-pdp-dossier-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--nf-accent-rgb), 0.75);
}
.nf-pdp--v3 .nf-pdp-dossier-icon .nf-pdp-icon-svg { width: 15px; height: 15px; }
.nf-pdp--v3 .nf-pdp-dossier-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--nf-color-text-secondary);
}
.nf-pdp--v3 .nf-pdp-dossier-value {
  margin: 0;
  font-size: 13px;
  font-weight: 640;
  color: var(--nf-color-text-primary);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ─── Mobile CTA bar — always visible below hero on mobile ──────── */
@media (max-width: 899px) {
  .nf-pdp--v3 {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* ─── Related products: hide nav arrows on touch ─────────────────── */
@media (hover: none) {
  .nf-pdp-related-nav { display: none; }
}

/* ─── Responsive: service dark section ──────────────────────────── */
@media (max-width: 860px) {
  .nf-pdp-service-dark__left {
    position: static;
  }
}

/* ─── Scroll-margin for full-bleed sections ─────────────────────── */
.nf-pdp-service-dark,
.nf-pdp-related-section,
.nf-pdp-finalcta {
  scroll-margin-top: 60px;
}

/* ─── Install feature list: fix li-bullet vs flex-icon conflict ─── */
.nf-pdp--v3 .nf-pdp-install-feature-list .nf-pdp-install-feature {
  padding-left: 0;
}
.nf-pdp--v3 .nf-pdp-install-feature-list .nf-pdp-install-feature::before {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   PDP v3 — PREMIUM REBUILD ADDITIONS
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Gallery: premium frame ────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-media-frame--premium {
  background: #f4f6f8;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(21,21,21,.07), 0 1px 4px rgba(21,21,21,.04);
  overflow: hidden;
  position: relative;
}

.nf-pdp--v3 .nf-pdp-media-frame--premium .nf-pdp-media-stage {
  position: relative;
}

.nf-pdp--v3 .nf-pdp-media-frame--premium .nf-pdp-media-imgwrap {
  overflow: hidden;
}

.nf-pdp--v3 .nf-pdp-media-frame--premium .nf-pdp-media-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.nf-pdp--v3 .nf-pdp-media-frame--premium:hover .nf-pdp-media-img {
  transform: scale(1.04);
}

/* Expand button */
.nf-pdp--v3 .nf-pdp-media-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgb(21,21,21);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease;
  z-index: 4;
  box-shadow: 0 1px 6px rgba(21,21,21,.12);
}

.nf-pdp--v3 .nf-pdp-media-frame--premium:hover .nf-pdp-media-expand,
.nf-pdp--v3 .nf-pdp-media-frame--premium:focus-within .nf-pdp-media-expand {
  opacity: 1;
}

.nf-pdp--v3 .nf-pdp-media-expand:hover {
  background: rgba(255,255,255,1);
}

/* Dot navigation for single image */
.nf-pdp--v3 .nf-pdp-media-count {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: rgba(21,21,21,.5);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 20px;
  pointer-events: none;
}

/* ─── Qty — premium segmented stepper ───────────────────────────── */
.nf-pdp--v3 .nf-pdp-qty--segmented {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #d0d8e0;
  border-radius: 8px;
  overflow: hidden;
  height: 44px;
  width: 148px;
  background: #fff;
  transition: border-color 0.15s ease;
}

.nf-pdp--v3 .nf-pdp-qty--segmented:focus-within {
  border-color: rgba(var(--nf-accent-rgb),.65);
}

.nf-pdp--v3 .nf-pdp-qty--segmented button {
  flex: 0 0 44px;
  border: none;
  background: transparent;
  color: rgb(21,21,21);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.12s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nf-pdp--v3 .nf-pdp-qty--segmented button:first-child {
  border-right: 1px solid #d0d8e0;
}

.nf-pdp--v3 .nf-pdp-qty--segmented button:last-child {
  border-left: 1px solid #d0d8e0;
}

.nf-pdp--v3 .nf-pdp-qty--segmented button:hover {
  background: #f4f6f8;
}

.nf-pdp--v3 .nf-pdp-qty--segmented button:active {
  background: #eaeff3;
}

.nf-pdp--v3 .nf-pdp-qty--segmented input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgb(21,21,21);
  padding: 0;
  min-width: 0;
  -moz-appearance: textfield;
}

.nf-pdp--v3 .nf-pdp-qty--segmented input::-webkit-outer-spin-button,
.nf-pdp--v3 .nf-pdp-qty--segmented input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* ─── Narrow section modifier ────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-section--narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Product Story: editorial use cases ─────────────────────────── */
.nf-pdp--v3 .nf-pdp-story-usecases {
  margin-bottom: 56px;
}

.nf-pdp--v3 .nf-pdp-usecases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.nf-pdp--v3 .nf-pdp-usecase-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 24px;
  padding: 24px 0;
  border-bottom: 1px solid #ebebed;
  align-items: start;
}

.nf-pdp--v3 .nf-pdp-usecases-list .nf-pdp-usecase-item:first-child {
  border-top: 1px solid #ebebed;
}

.nf-pdp--v3 .nf-pdp-usecase-num {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: rgba(var(--nf-accent-rgb), 0.38);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  padding-top: 3px;
  user-select: none;
}

.nf-pdp--v3 .nf-pdp-usecase-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.nf-pdp--v3 .nf-pdp-usecase-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: rgb(21,21,21);
  line-height: 1.3;
}

.nf-pdp--v3 .nf-pdp-usecase-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(21,21,21,.62);
}

.nf-pdp--v3 .nf-pdp-story-divider {
  height: 1px;
  background: #ebebed;
  margin: 0 0 48px;
}

/* Description + callout asymmetric split */
.nf-pdp--v3 .nf-pdp-story-desc-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.nf-pdp--v3 .nf-pdp-story-aside {
  position: sticky;
  top: 80px;
}

.nf-pdp--v3 .nf-pdp-callout {
  margin: 0;
  padding: 20px 20px 20px 22px;
  border-left: 4px solid rgb(var(--nf-accent-rgb));
  background: rgba(var(--nf-accent-rgb),.05);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
  color: rgba(21,21,21,.78);
}

/* ─── Specs v2 — grouped label/value (no icons) ──────────────────── */
.nf-pdp--v3 .nf-pdp-dossier--v2 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-group {
  background: none;
  border: none;
  padding: 0;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(21,21,21,.45);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e5eaed;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 11px 8px;
  border-bottom: 1px solid #f0f2f4;
  align-items: baseline;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-row:nth-child(odd) {
  background: #fafbfc;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-row:last-child {
  border-bottom: none;
}

/* Hide icon in v2 layout */
.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-icon {
  display: none;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(21,21,21,.62);
  min-width: 0;
}

.nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-value {
  font-size: 13px;
  font-weight: 600;
  color: rgb(21,21,21);
  text-align: right;
  white-space: nowrap;
}

/* ─── Integrated docs (1-2 files inside specs) ───────────────────── */
.nf-pdp--v3 .nf-pdp-docs-inline {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1.5px solid #e5eaed;
}

.nf-pdp--v3 .nf-pdp-docs-inline-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(21,21,21,.45);
  margin: 0 0 12px;
}

.nf-pdp--v3 .nf-pdp-docs-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 8px;
  border-bottom: 1px solid #f0f2f4;
}

.nf-pdp--v3 .nf-pdp-docs-inline-row:last-child {
  border-bottom: none;
}

.nf-pdp--v3 .nf-pdp-docs-inline-name {
  font-size: 13px;
  color: rgba(21,21,21,.78);
}

.nf-pdp--v3 .nf-pdp-docs-inline-btn {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
  background: rgba(var(--nf-accent-rgb),.06);
  border: 1px solid rgba(var(--nf-accent-rgb),.2);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nf-pdp--v3 .nf-pdp-docs-inline-btn:hover {
  background: rgba(var(--nf-accent-rgb),.12);
}

/* Standalone docs grid (3+ files) */
.nf-pdp--v3 .nf-pdp-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.nf-pdp--v3 .nf-pdp-doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e5eaed;
  border-radius: 10px;
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nf-pdp--v3 .nf-pdp-doc-card:hover {
  border-color: rgba(var(--nf-accent-rgb),.45);
  box-shadow: 0 2px 12px rgba(var(--nf-accent-rgb),.08);
}

.nf-pdp--v3 .nf-pdp-doc-card-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--nf-accent-rgb),.9);
}

.nf-pdp--v3 .nf-pdp-doc-card-name {
  font-size: 13px;
  font-weight: 500;
  color: rgb(21,21,21);
  line-height: 1.4;
}

.nf-pdp--v3 .nf-pdp-doc-card-btn {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Implementation — full width, off-white bg ──────────────────── */
.nf-pdp--v3 .nf-pdp-section--install {
  background: #f7f9fa;
  padding: 72px 0;
}

.nf-pdp--v3 .nf-pdp-install-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Override inner env-card bg to be slightly lighter on off-white */
.nf-pdp--v3 .nf-pdp-section--install .nf-pdp-install-env-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,21,21,.07);
}

/* ─── Service v2 — full width, white bg, 62/38 ───────────────────── */
.nf-pdp--v3 .nf-pdp-service-v2 {
  background: #fff;
  border-top: 1px solid #ebebed;
}

.nf-pdp--v3 .nf-pdp-service-v2__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 40px;
}

.nf-pdp--v3 .nf-pdp-service-v2__split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.nf-pdp--v3 .nf-pdp-service-v2__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-pdp--v3 .nf-pdp-service-v2__intro {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(21,21,21,.62);
  margin: 12px 0 24px;
}

/* Capability list */
.nf-pdp--v3 .nf-pdp-service-v2__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #ebebed;
}

.nf-pdp--v3 .nf-pdp-service-v2__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #ebebed;
  font-size: 14px;
  color: rgba(21,21,21,.78);
  line-height: 1.5;
}

.nf-pdp--v3 .nf-pdp-service-v2__list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--nf-accent-rgb));
  opacity: .7;
}

.nf-pdp--v3 .nf-pdp-service-v2__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Trust metrics — right column */
.nf-pdp--v3 .nf-pdp-service-v2__right {
  position: sticky;
  top: 80px;
}

.nf-pdp--v3 .nf-pdp-service-trust {
  border: 1px solid #e5eaed;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
}

.nf-pdp--v3 .nf-pdp-service-trust-item {
  padding: 20px 24px;
  border-bottom: 1px solid #eef0f2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-pdp--v3 .nf-pdp-service-trust-item:last-child {
  border-bottom: none;
}

.nf-pdp--v3 .nf-pdp-service-trust-value {
  font-size: 22px;
  font-weight: 700;
  color: rgb(var(--nf-accent-rgb));
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.nf-pdp--v3 .nf-pdp-service-trust-label {
  font-size: 12px;
  color: rgba(21,21,21,.52);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Related section — tab switcher ─────────────────────────────── */
.nf-pdp--v3 .nf-pdp-related-head {
  margin-bottom: 28px;
}

.nf-pdp--v3 .nf-pdp-related-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1.5px solid #ebebed;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nf-pdp--v3 .nf-pdp-related-tabs::-webkit-scrollbar {
  display: none;
}

.nf-pdp--v3 .nf-pdp-related-tab {
  flex-shrink: 0;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: rgba(21,21,21,.5);
  cursor: pointer;
  position: relative;
  margin-bottom: -1.5px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nf-pdp--v3 .nf-pdp-related-tab:hover {
  color: rgba(21,21,21,.8);
}

.nf-pdp--v3 .nf-pdp-related-tab.is-active {
  color: rgb(var(--nf-accent-rgb));
  border-bottom-color: rgb(var(--nf-accent-rgb));
  font-weight: 600;
}

.nf-pdp--v3 .nf-pdp-related-panels {
  position: relative;
}

.nf-pdp--v3 .nf-pdp-related-panel {
  animation: nfPdpPanelIn 0.18s ease both;
}

@keyframes nfPdpPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Related: compact product cards ─────────────────────────────── */
.nf-pdp--v3 .nf-pdp-related-track {
  display: flex;
  gap: 16px;
  padding: 4px 2px 12px;
}

.nf-pdp-related-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5eaed;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.nf-pdp-related-card:hover {
  border-color: rgba(var(--nf-accent-rgb),.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--nf-accent-rgb),.1);
}

.nf-pdp-related-card__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f4f6f8;
  overflow: hidden;
  flex-shrink: 0;
}

.nf-pdp-related-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.nf-pdp-related-card:hover .nf-pdp-related-card__img-wrap img {
  transform: scale(1.04);
}

.nf-pdp-related-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nf-pdp-related-card__name {
  font-size: 13px;
  font-weight: 600;
  color: rgb(21,21,21);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-pdp-related-card__meta {
  font-size: 12px;
  color: rgba(21,21,21,.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nf-pdp-related-card__link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.nf-pdp-related-card__link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.nf-pdp-related-card:hover .nf-pdp-related-card__link::after {
  transform: translateX(3px);
}

/* ─── Related: partner cards ──────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-related-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.nf-pdp-related-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border: 1px solid #e5eaed;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: center;
}

.nf-pdp-related-partner-card:hover {
  border-color: rgba(var(--nf-accent-rgb),.45);
  box-shadow: 0 2px 12px rgba(var(--nf-accent-rgb),.08);
}

.nf-pdp-related-partner-card__logo {
  width: 80px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(0.4);
  transition: filter 0.2s ease;
}

.nf-pdp-related-partner-card:hover .nf-pdp-related-partner-card__logo {
  filter: grayscale(0);
}

.nf-pdp-related-partner-card__name {
  font-size: 13px;
  font-weight: 600;
  color: rgb(21,21,21);
  line-height: 1.3;
}

.nf-pdp-related-partner-card__count {
  font-size: 12px;
  color: rgba(21,21,21,.45);
}

.nf-pdp-related-partner-card__link {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
}

/* ─── Related: category rows ──────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-related-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #ebebed;
}

.nf-pdp-related-cat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid #ebebed;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
  border-radius: 4px;
}

.nf-pdp-related-cat-row:hover {
  background: rgba(var(--nf-accent-rgb),.04);
}

.nf-pdp-related-cat-row__name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: rgb(21,21,21);
}

.nf-pdp-related-cat-row__count {
  font-size: 13px;
  color: rgba(21,21,21,.4);
}

.nf-pdp-related-cat-row__arrow {
  font-size: 14px;
  color: rgb(var(--nf-accent-rgb));
  opacity: .7;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nf-pdp-related-cat-row:hover .nf-pdp-related-cat-row__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ─── Final CTA v2 — editorial 65/35 ─────────────────────────────── */
.nf-pdp-finalcta--v2 {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__toptrim {
  height: 4px;
  background: rgb(var(--nf-accent-rgb));
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: rgb(21,21,21);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(21,21,21,.6);
  margin: 0 0 28px;
  max-width: 520px;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__right {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__brand {
  font-size: 16px;
  font-weight: 700;
  color: rgb(21,21,21);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.nf-pdp-finalcta--v2 .nf-pdp-finalcta__detail {
  font-size: 13px;
  color: rgba(21,21,21,.5);
  margin: 0;
  line-height: 1.5;
}

/* ─── Mobile CTA bar — add bottom padding body clearance ─────────── */
.nf-pdp--v3 + * { /* space after PDP */ }

/* ─── Responsive ─────────────────────────────────────────────────── */

/* Large tablet: collapse service split */
@media (max-width: 1024px) {
  .nf-pdp--v3 .nf-pdp-service-v2__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nf-pdp--v3 .nf-pdp-service-v2__right {
    position: static;
  }
  .nf-pdp--v3 .nf-pdp-service-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-pdp--v3 .nf-pdp-service-trust-item {
    border-right: 1px solid #eef0f2;
  }
  .nf-pdp--v3 .nf-pdp-service-trust-item:nth-child(2n) {
    border-right: none;
  }
  .nf-pdp-finalcta--v2 .nf-pdp-finalcta__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nf-pdp--v3 .nf-pdp-story-desc-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nf-pdp--v3 .nf-pdp-story-aside {
    position: static;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .nf-pdp--v3 .nf-pdp-section--install {
    padding: 56px 0;
  }
  .nf-pdp--v3 .nf-pdp-install-inner {
    padding: 0 24px;
  }
  .nf-pdp--v3 .nf-pdp-service-v2__inner {
    padding: 56px 24px;
  }
  .nf-pdp-finalcta--v2 .nf-pdp-finalcta__inner {
    padding: 48px 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Gallery: remove thumb rail, show dot counter */
  .nf-pdp--v3 #productPageThumbs {
    display: none !important;
  }
  .nf-pdp--v3 .nf-pdp-media-frame--premium {
    border-radius: 10px;
  }
  .nf-pdp--v3 .nf-pdp-media-frame--premium:hover .nf-pdp-media-img {
    transform: none; /* no hover zoom on touch */
  }

  /* Use cases: full width numbered list */
  .nf-pdp--v3 .nf-pdp-usecase-item {
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
    padding: 20px 0;
  }
  .nf-pdp--v3 .nf-pdp-usecase-num {
    font-size: 32px;
  }

  /* Specs: full width rows */
  .nf-pdp--v3 .nf-pdp-dossier--v2 .nf-pdp-dossier-row {
    padding: 10px 4px;
  }

  /* Service */
  .nf-pdp--v3 .nf-pdp-service-v2__inner {
    padding: 44px 20px;
  }
  .nf-pdp--v3 .nf-pdp-service-trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-pdp--v3 .nf-pdp-service-v2__ctas {
    flex-direction: column;
  }
  .nf-pdp--v3 .nf-pdp-service-v2__ctas .nf-btn {
    width: 100%;
    justify-content: center;
  }

  /* Related tabs: horizontal scroll */
  .nf-pdp--v3 .nf-pdp-related-tabs {
    gap: 0;
  }
  .nf-pdp--v3 .nf-pdp-related-tab {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Related carousel: smaller cards */
  .nf-pdp-related-card {
    flex: 0 0 200px;
  }

  /* Partners: 2 col */
  .nf-pdp--v3 .nf-pdp-related-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Final CTA */
  .nf-pdp-finalcta--v2 .nf-pdp-finalcta__inner {
    padding: 40px 20px;
  }
  .nf-pdp-finalcta--v2 .nf-pdp-finalcta__btns {
    flex-direction: column;
  }
  .nf-pdp-finalcta--v2 .nf-pdp-finalcta__btns .nf-btn {
    width: 100%;
    justify-content: center;
  }

  /* Qty stepper: slightly smaller */
  .nf-pdp--v3 .nf-pdp-qty--segmented {
    height: 40px;
    width: 136px;
  }
  .nf-pdp--v3 .nf-pdp-qty--segmented button {
    flex: 0 0 40px;
  }

  /* Docs grid: 2 col */
  .nf-pdp--v3 .nf-pdp-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Narrow section: full width on mobile */
  .nf-pdp--v3 .nf-pdp-section--narrow {
    max-width: 100%;
  }
}

/* Touch: hide gallery hover nav arrows */
@media (hover: none) {
  .nf-pdp--v3 .nf-pdp-media-expand {
    opacity: 1;
  }
  .nf-pdp--v3 .nf-pdp-media-frame--premium:hover .nf-pdp-media-img {
    transform: none;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .nf-pdp--v3 .nf-pdp-service-trust {
    grid-template-columns: 1fr;
  }
  .nf-pdp-related-card {
    flex: 0 0 180px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   DOSSIER HERO — CENTER STAGE: proper image layout + visual depth
   The 1:1 frame in col-B needs explicit fill so the image isn't orphaned
   ═══════════════════════════════════════════════════════════════════════ */

/* The nf-pdp-media-glass frame already carries a gradient bg from base CSS.
   Override the aspect ratio / sizing for the dossier col-B context. */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-frame {
  aspect-ratio: 1 / 1;
  min-height: unset;
  max-height: unset;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    #f5f7f9 0%,
    rgba(var(--nf-accent-rgb), .04) 55%,
    #eef2f3 100%
  );
  box-shadow:
    0 1px 4px rgba(0, 0, 0, .04),
    0 6px 24px rgba(0, 0, 0, .07),
    0 20px 56px rgba(0, 0, 0, .06),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .8);
}

/* Media stage must fill the entire 1:1 frame */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
}

/* The frame itself must be position:relative for absolute stage */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-frame--premium {
  position: relative;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-imgwrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .4s cubic-bezier(.25, .46, .45, .94);
}

/* Subtle zoom on hover — interactive product feel */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-frame:hover .nf-pdp-media-img {
  transform: scale(1.04);
}

/* Thumbnail rail: reposition for vertical strip at left of image */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-thumbs--vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-thumbs--vertical .nf-pdp-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, .07);
  background: #f4f6f7;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-thumbs--vertical .nf-pdp-thumb:hover,
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-thumbs--vertical .nf-pdp-thumb.is-active {
  border-color: rgb(var(--nf-accent-rgb));
  transform: scale(1.06);
}

/* Expand button — repositioned for square frame */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #444;
  z-index: 4;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-frame:hover .nf-pdp-media-expand {
  opacity: 1;
  transform: scale(1);
}

/* Image counter badge */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-count {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  background: rgba(255, 255, 255, .88);
  border-radius: 20px;
  padding: 3px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, .07);
  z-index: 4;
}

/* "Фото по запросу" placeholder — centered in empty frame */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #bbb;
  font-style: italic;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   SERVICE V3 — full-width, header+list, horizontal trust strip
   ═══════════════════════════════════════════════════════════════════════ */

.nf-pdp--v3 .nf-pdp-service-v3 {
  background: #fff;
  border-top: 1px solid #e8ebed;
}

.nf-pdp--v3 .nf-pdp-service-v3__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 40px;
}

/* Header row: title left, CTAs right */
.nf-pdp--v3 .nf-pdp-service-v3__hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.nf-pdp--v3 .nf-pdp-service-v3__title-group .nf-pdp-section-title {
  margin-bottom: 0;
}

.nf-pdp--v3 .nf-pdp-service-v3__ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Intro text */
.nf-pdp--v3 .nf-pdp-service-v3__intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(21, 21, 21, .58);
  margin: 16px 0 0;
  max-width: 680px;
}

/* Capability list — 2-column grid */
.nf-pdp--v3 .nf-pdp-service-v3__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  border-top: 1px solid #ecedef;
}

.nf-pdp--v3 .nf-pdp-service-v3__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #ecedef;
  font-size: 14px;
  color: rgba(21, 21, 21, .76);
  line-height: 1.5;
}

.nf-pdp--v3 .nf-pdp-service-v3__list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--nf-accent-rgb));
  opacity: .7;
}

/* ── Trust strip ────────────────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-service-v3__trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ecedef;
}

/* Each trust card: compact horizontal layout — accent value + text stack */
.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: #f6f8f9;
  border: 1px solid rgba(0, 0, 0, .055);
  border-radius: 12px;
  transition: background .18s, border-color .18s;
  cursor: default;
}

.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-item:hover {
  background: #eff4f4;
  border-color: rgba(var(--nf-accent-rgb), .2);
}

/* Big accent value — left side of card */
.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-metric {
  flex-shrink: 0;
}

.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-value {
  font-size: 21px;
  font-weight: 800;
  color: rgb(var(--nf-accent-rgb));
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  margin: 0;
}

/* Label + detail — right side of card */
.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 2px;
}

.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-detail {
  font-size: 11.5px;
  color: #9aa4ab;
  line-height: 1.4;
  margin: 0;
}

/* ── Service v3 — responsive ────────────────────────────────────────── */

@media (max-width: 1100px) {
  .nf-pdp--v3 .nf-pdp-service-v3__trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nf-pdp--v3 .nf-pdp-service-v3__inner {
    padding: 52px 24px;
  }

  .nf-pdp--v3 .nf-pdp-service-v3__hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nf-pdp--v3 .nf-pdp-service-v3__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .nf-pdp--v3 .nf-pdp-service-v3__trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nf-pdp--v3 .nf-pdp-service-v3__trust-strip .nf-pdp-service-trust-item {
    padding: 16px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   TECHNICAL DOSSIER HERO — 3-column asymmetric layout
   28% identity+CTAs · 44% product image · 28% quick specs
   ═══════════════════════════════════════════════════════════════════════ */

.nf-pdp--v3 .nf-pdp-dossier-hero {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding: 36px 0 64px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 28fr 44fr 28fr;
  gap: 0 40px;
  align-items: start;
}

/* ── Col A: Identity ────────────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--identity {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--identity .nf-pdp-back {
  align-self: flex-start;
  margin-bottom: 28px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(var(--nf-accent-rgb));
  margin: 0 0 10px;
  line-height: 1;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.18;
  color: #111;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__vp {
  font-size: 13.5px;
  line-height: 1.65;
  color: #606060;
  margin: 0 0 20px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__badges {
  margin-bottom: 18px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__meta {
  margin-bottom: 14px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__brand,
.nf-pdp--v3 .nf-pdp-dossier-hero__sku {
  font-size: 12px;
  color: #999;
  margin: 0 0 4px;
  line-height: 1.4;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__pricing {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, .07);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  margin-bottom: 24px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: -.01em;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__ctas .nf-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__trust {
  font-size: 11.5px;
  color: #aaa;
  margin: 0;
  line-height: 1.5;
}

/* ── Col B: Stage (image) ───────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage {
  position: relative;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media-frame--premium {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, .05),
    0 8px 32px rgba(0, 0, 0, .08),
    0 0 0 1px rgba(0, 0, 0, .04);
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-gallery--product {
  display: flex;
  gap: 12px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__col--stage .nf-pdp-media {
  flex: 1 1 0;
  min-width: 0;
}

/* ── Col C: Specs ───────────────────────────────────────────────────── */
.nf-pdp--v3 .nf-pdp-dossier-hero__col--specs {
  padding-top: 20px;
  border-left: 1px solid rgba(0, 0, 0, .07);
  padding-left: 36px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__specs-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c0c4c8;
  margin: 0 0 18px;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__specs-grid {
  display: flex;
  flex-direction: column;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .055);
}

.nf-pdp--v3 .nf-pdp-dossier-hero__spec-row:first-child {
  padding-top: 0;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__spec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bfc3c7;
  line-height: 1.2;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__spec-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #151515;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__specs-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
  text-decoration: none;
  letter-spacing: .02em;
  opacity: .85;
  transition: opacity .15s;
}

.nf-pdp--v3 .nf-pdp-dossier-hero__specs-more:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ── Dossier hero — responsive ──────────────────────────────────────── */

/* Tablet: collapse to 2-column (image + identity stacked; specs below) */
@media (max-width: 1024px) {
  .nf-pdp--v3 .nf-pdp-dossier-hero__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px 32px;
    padding: 0 24px;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--identity {
    order: 2;
    padding-top: 0;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--stage {
    order: 1;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--specs {
    order: 3;
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding-left: 0;
    padding-top: 28px;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__spec-row {
    padding: 12px 16px 12px 0;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__spec-row:first-child {
    padding-top: 12px;
  }
}

/* Mobile: single column */
@media (max-width: 680px) {
  .nf-pdp--v3 .nf-pdp-dossier-hero {
    padding: 20px 0 40px;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--identity {
    order: 2;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--stage {
    order: 1;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--specs {
    order: 3;
    grid-column: unset;
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding-top: 24px;
    display: none; /* hide on mobile — info is accessible via "Все характеристики" */
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__col--identity .nf-pdp-back {
    margin-bottom: 20px;
  }

  .nf-pdp--v3 .nf-pdp-dossier-hero__title {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRODUCT STORY — richer storytelling layout
   ═══════════════════════════════════════════════════════════════════════ */

.nf-pdp--v3 .nf-pdp-story-section {
  padding: 80px 0;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-section-eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--nf-accent-rgb));
  font-weight: 700;
  margin: 0 0 10px;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-section-title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: #111;
  line-height: 1.1;
  margin: 0 0 40px;
}

/* Use-cases block — large editorial numbers */
.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecase-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecase-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(var(--nf-accent-rgb), .2);
  line-height: 1;
  letter-spacing: -.04em;
  padding-top: 4px;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecase-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0 0 6px;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-usecase-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Divider between use-cases and description */
.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-story-divider {
  display: none; /* handled by section heading below */
}

/* Description block */
.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-story-desc {
  margin-top: 0;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-story-desc-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0 56px;
  align-items: start;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-prose--rich {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-prose--rich p {
  margin: 0 0 1.1em;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-prose--rich p:last-child {
  margin-bottom: 0;
}

/* Callout — premium pull-quote treatment */
.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-callout {
  position: relative;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: #222;
  padding: 28px 28px 28px 36px;
  background: #f7fafa;
  border-radius: 10px;
  border-left: 3px solid rgb(var(--nf-accent-rgb));
  margin: 0;
  display: block;
}

.nf-pdp--v3 .nf-pdp-story-section .nf-pdp-callout::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 40px;
  line-height: 1;
  color: rgba(var(--nf-accent-rgb), .25);
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nf-pdp--v3 .nf-pdp-story-section .nf-pdp-story-desc-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nf-pdp--v3 .nf-pdp-story-section {
    padding: 56px 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   SERVICE TRUST PANEL — premium medical enterprise feel
   ═══════════════════════════════════════════════════════════════════════ */

/* Override previous service trust styles with enhanced version */
.nf-pdp--v3 .nf-pdp-service-trust {
  border: 1px solid #dde3e8 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05) !important;
}

.nf-pdp--v3 .nf-pdp-service-trust-item {
  padding: 22px 26px !important;
  border-bottom: 1px solid #eef1f3 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  transition: background .15s !important;
}

.nf-pdp--v3 .nf-pdp-service-trust-item:hover {
  background: #fafcfc;
}

.nf-pdp--v3 .nf-pdp-service-trust-item:last-child {
  border-bottom: none !important;
}

.nf-pdp--v3 .nf-pdp-service-trust-value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: rgb(var(--nf-accent-rgb)) !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
}

.nf-pdp--v3 .nf-pdp-service-trust-label {
  font-size: 13px !important;
  color: #222 !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.nf-pdp--v3 .nf-pdp-service-trust-detail {
  font-size: 11.5px;
  color: #9ca8b0;
  line-height: 1.4;
  margin: 0;
}

/* Responsive trust */
@media (max-width: 900px) {
  .nf-pdp--v3 .nf-pdp-service-trust {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 12px !important;
  }

  .nf-pdp--v3 .nf-pdp-service-trust-item {
    border-bottom: 1px solid #eef1f3 !important;
    border-right: 1px solid #eef1f3 !important;
  }

  .nf-pdp--v3 .nf-pdp-service-trust-item:nth-child(2n) {
    border-right: none !important;
  }
}

@media (max-width: 480px) {
  .nf-pdp--v3 .nf-pdp-service-trust {
    grid-template-columns: 1fr !important;
  }

  .nf-pdp--v3 .nf-pdp-service-trust-item {
    border-right: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   RELATED CARDS — premium merchandising (eyebrow + stronger hierarchy)
   ═══════════════════════════════════════════════════════════════════════ */

.nf-pdp-related-card {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 260px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, .07);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-align: left;
}

.nf-pdp-related-card:hover {
  border-color: rgba(var(--nf-accent-rgb), .55);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .09);
}

.nf-pdp-related-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f4f5f6;
  overflow: hidden;
  position: relative;
}

.nf-pdp-related-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s cubic-bezier(.25, .46, .45, .94);
  padding: 12px;
  box-sizing: border-box;
}

.nf-pdp-related-card:hover .nf-pdp-related-card__img-wrap img {
  transform: scale(1.04);
}

.nf-pdp-related-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.nf-pdp-related-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(var(--nf-accent-rgb));
  margin: 0 0 6px;
  line-height: 1;
}

.nf-pdp-related-card__name {
  font-size: 13.5px;
  font-weight: 600;
  color: #151515;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.nf-pdp-related-card__meta {
  font-size: 11.5px;
  color: #9aa0a6;
  margin: 0 0 auto;
  padding-bottom: 12px;
}

.nf-pdp-related-card__link {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--nf-accent-rgb));
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}

.nf-pdp-related-card__link::after {
  content: '→';
  display: inline;
}

.nf-pdp-related-card:hover .nf-pdp-related-card__link {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 680px) {
  .nf-pdp-related-card {
    flex: 0 0 200px;
  }
}


/* ════════════════════════════════════════════════════════════════
   NF2 STEP 2 — REVOLUTIONARY CATEGORY CARDS
   Luxury glassmorphism · 3D tilt parallax · Ambient glow system
   Path A: Pure CSS + Vanilla JS — zero build step
   ════════════════════════════════════════════════════════════════ */

/* ── NF2 Design Tokens ──────────────────────────────────────────── */
:root {
  --nf2-void:        #07090f;
  --nf2-depth:       #0d1117;
  --nf2-surface-0:   #111620;
  --nf2-surface-1:   rgba(18, 26, 44, 0.82);
  --nf2-surface-2:   rgba(28, 40, 64, 0.68);
  --nf2-sheen:       rgba(255, 255, 255, 0.04);

  --nf2-cyan:        #00e5ff;
  --nf2-cyan-dim:    rgba(0, 229, 255, 0.30);
  --nf2-cyan-ghost:  rgba(0, 229, 255, 0.06);
  --nf2-mint:        #3dffc0;
  --nf2-amber:       #f5a623;

  --nf2-text-hi:     #e8edf5;
  --nf2-text-mid:    #7a8aaa;
  --nf2-text-lo:     #3a4a64;
  --nf2-text-mono:   #4ee0b4;

  --nf2-ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --nf2-ease-sharp:  cubic-bezier(0.40, 0.00, 0.20, 1);
}

/* ── Catalog Hub Section — Dark Immersion ────────────────────────── */
.nf-catalog-hub {
  background: var(--nf2-depth);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.nf-catalog-hub__h1 {
  color: var(--nf2-text-hi) !important;
  letter-spacing: -0.025em;
}

.nf-catalog-hub__sub {
  color: var(--nf2-text-mid) !important;
}

/* Grid: keep existing 3-col layout, just tighten gap */
.nf-catalog-hub__grid {
  gap: 16px !important;
}

/* ── Home Categories Section — Dark Immersion ────────────────────── */
.nf-home-cats-section {
  background: var(--nf2-depth);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ════════════════════════════════════════════════════════════════
   .nf-cat-card  — The Core Card Atom
   ════════════════════════════════════════════════════════════════ */

/* ── Shell: 3D host, entrance animation ─────────────────────────── */
.nf-cat-card {
  position:      relative;
  min-height:    196px;
  border-radius: 16px;
  cursor:        pointer;
  isolation:     isolate;

  /* 3D context for tilt */
  transform-style:  preserve-3d;
  will-change:      transform;
  transition:       transform 550ms var(--nf2-ease);

  /* Entrance stagger */
  opacity:   0;
  translate: 0 22px;
  animation: nf2-card-in 520ms var(--nf2-ease) both;
  animation-delay: var(--nf-vp-stagger, 0ms);
}

@keyframes nf2-card-in {
  to { opacity: 1; translate: 0 0; }
}

/* ── Ambient Glow Layer (radial blur behind the card) ────────────── */
.nf-cat-card__glow {
  position:      absolute;
  inset:         -28px;
  border-radius: 50%;
  background:    radial-gradient(
                   ellipse 58% 58% at 62% 46%,
                   var(--cat-accent, #4db89b),
                   transparent 70%
                 );
  filter:        blur(52px);
  opacity:       0;
  pointer-events: none;
  z-index:       -1;
  transition:    opacity 600ms var(--nf2-ease);
}

.nf-cat-card:hover .nf-cat-card__glow,
.nf-cat-card:focus-visible .nf-cat-card__glow {
  opacity: 0.26;
}

/* ── Glass Panel ─────────────────────────────────────────────────── */
.nf-cat-card__glass {
  position:      relative;
  z-index:       1;
  display:       flex;
  flex-direction: column;
  height:        100%;
  min-height:    196px;
  border-radius: 16px;
  background:    var(--nf2-surface-0);
  border:        1px solid rgba(255, 255, 255, 0.07);
  overflow:      hidden;
  transform-style: preserve-3d;

  transition:
    background   400ms var(--nf2-ease),
    border-color 400ms var(--nf2-ease),
    box-shadow   400ms var(--nf2-ease);
}

.nf-cat-card:hover .nf-cat-card__glass,
.nf-cat-card:focus-visible .nf-cat-card__glass {
  background:    var(--nf2-surface-1);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-color:  rgba(0, 229, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.62),
    0 0 90px -28px var(--cat-accent, #4db89b);
}

/* Inner diagonal sheen (top-left highlight) */
.nf-cat-card__glass::after {
  content:       '';
  position:      absolute;
  inset:         0;
  border-radius: inherit;
  background:    linear-gradient(
                   136deg,
                   rgba(255, 255, 255, 0.05) 0%,
                   transparent 48%
                 );
  pointer-events: none;
  z-index:       0;
}

/* ── Top Border Trace (sweeps left → right on hover) ─────────────── */
.nf-cat-card::before {
  content:       '';
  position:      absolute;
  top:           0;
  left:          0;
  width:         0;
  height:        1px;
  border-radius: 1px 0 0 0;
  background:    linear-gradient(
                   90deg,
                   transparent 0%,
                   var(--nf2-cyan) 28%,
                   rgba(0, 229, 255, 0.45) 100%
                 );
  z-index:       10;
  pointer-events: none;
  transition:    width 560ms var(--nf2-ease);
}

.nf-cat-card:hover::before,
.nf-cat-card:focus-visible::before {
  width: 100%;
}

/* Right border flash (delayed, partial) */
.nf-cat-card::after {
  content:       '';
  position:      absolute;
  top:           0;
  right:         0;
  width:         1px;
  height:        0;
  background:    linear-gradient(
                   180deg,
                   var(--nf2-cyan) 0%,
                   rgba(0, 229, 255, 0.25) 55%,
                   transparent 100%
                 );
  z-index:       10;
  pointer-events: none;
  transition:    height 360ms var(--nf2-ease) 220ms;
}

.nf-cat-card:hover::after,
.nf-cat-card:focus-visible::after {
  height: 65%;
}

/* ── Meta Bar (monospace top strip) ─────────────────────────────── */
.nf-cat-card__meta {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         9px 14px 7px;
  border-bottom:   1px solid rgba(255, 255, 255, 0.05);
  position:        relative;
  z-index:         3;
  flex-shrink:     0;
}

.nf-cat-card__sys-id {
  font-family:     'JetBrains Mono', 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size:       0.585rem;
  font-weight:     600;
  letter-spacing:  0.11em;
  color:           var(--nf2-text-mono);
  text-transform:  uppercase;
}

.nf-cat-card__sys-live {
  display:         flex;
  align-items:     center;
  gap:             5px;
  font-family:     'JetBrains Mono', 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size:       0.56rem;
  font-weight:     500;
  letter-spacing:  0.09em;
  color:           var(--nf2-text-lo);
  text-transform:  uppercase;
}

.nf-cat-card__live-dot {
  width:        5px;
  height:       5px;
  border-radius: 50%;
  background:   var(--nf2-mint);
  box-shadow:   0 0 6px var(--nf2-mint);
  flex-shrink:  0;
  animation:    nf2-dot-pulse 2.8s ease-in-out infinite;
}

@keyframes nf2-dot-pulse {
  0%, 100% { opacity: 1.0; box-shadow: 0 0 6px  var(--nf2-mint); }
  50%       { opacity: 0.4; box-shadow: 0 0 2px  var(--nf2-mint); }
}

/* ── Content Row (body + chamber) ───────────────────────────────── */
.nf-cat-card__row {
  display:   flex;
  flex:      1;
  overflow:  hidden;
  position:  relative;
}

/* ── Body Zone (left, text content) ─────────────────────────────── */
.nf-cat-card__body {
  flex:            0 0 58%;
  display:         flex;
  flex-direction:  column;
  justify-content: space-between;
  padding:         14px 0 14px 14px;
  position:        relative;
  z-index:         3;
}

.nf-cat-card__text-group { flex: 1; }

.nf-cat-card__name {
  font-size:      0.98rem;
  font-weight:    720;
  line-height:    1.24;
  letter-spacing: -0.022em;
  color:          var(--nf2-text-hi);
  margin:         0 0 5px;
  transition:     color 280ms ease;
}

.nf-cat-card:hover .nf-cat-card__name { color: #ffffff; }

.nf-cat-card__desc {
  font-size:   0.73rem;
  line-height: 1.52;
  color:       var(--nf2-text-mid);
  margin:      0;
  display:     -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:    hidden;
}

/* Footer row */
.nf-cat-card__footer {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding-top:     11px;
  border-top:      1px solid rgba(255, 255, 255, 0.05);
  margin-top:      11px;
}

/* Mint count indicator */
.nf-cat-card__tally {
  display:     flex;
  align-items: center;
  gap:         6px;
}

.nf-cat-card__tally-dot {
  width:         6px;
  height:        6px;
  border-radius: 50%;
  background:    var(--cat-accent, #4db89b);
  opacity:       0.85;
  flex-shrink:   0;
}

.nf-cat-card__tally-num {
  font-family:     'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
  font-size:       0.60rem;
  font-weight:     500;
  letter-spacing:  0.06em;
  color:           var(--nf2-text-mid);
}

/* CTA arrow */
.nf-cat-card__cta {
  display:     flex;
  align-items: center;
  gap:         4px;
  color:       var(--nf2-text-lo);
  font-size:   0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:  color 280ms ease, gap 280ms var(--nf2-ease);
}

.nf-cat-card:hover .nf-cat-card__cta { color: var(--nf2-cyan); gap: 7px; }

.nf-cat-card__cta-arrow {
  display:    flex;
  align-items: center;
  transition: transform 280ms var(--nf2-ease);
}

.nf-cat-card:hover .nf-cat-card__cta-arrow { transform: translateX(3px); }

/* ── Illustration Chamber (right) ───────────────────────────────── */
.nf-cat-card__chamber {
  flex:            0 0 42%;
  position:        relative;
  display:         flex;
  align-items:     center;
  justify-content: flex-end;
  overflow:        hidden;
}

/* Inner radial glow behind illustration */
.nf-cat-card__chamber::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     radial-gradient(
                    ellipse 75% 70% at 58% 44%,
                    color-mix(in srgb, var(--cat-accent, #4db89b) 14%, transparent),
                    transparent 72%
                  );
  pointer-events: none;
  z-index:        0;
}

/* Ghost index number */
.nf-cat-card__ghost-idx {
  position:    absolute;
  bottom:      -6px;
  right:       8px;
  font-size:   4.8rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.05em;
  color:       rgba(255, 255, 255, 0.038);
  user-select: none;
  pointer-events: none;
  z-index:     0;
  transition:  color 400ms ease;
}

.nf-cat-card:hover .nf-cat-card__ghost-idx { color: rgba(255, 255, 255, 0.07); }

/* Illustration wrapper — parallax target for JS */
.nf-cat-card__illus {
  position:        relative;
  z-index:         2;
  display:         flex;
  align-items:     center;
  justify-content: flex-end;
  padding:         6px 10px 6px 0;
  width:           100%;
  will-change:     transform;
}

.nf-cat-card__illus svg {
  width:     100%;
  max-width: 148px;
  height:    auto;
  display:   block;
  filter:    drop-shadow(0 4px 18px color-mix(in srgb, var(--cat-accent, #4db89b) 28%, transparent));
  transition: filter 400ms var(--nf2-ease);
}

.nf-cat-card:hover .nf-cat-card__illus svg {
  filter: drop-shadow(0 8px 32px color-mix(in srgb, var(--cat-accent, #4db89b) 48%, transparent));
}

/* ── Bottom Accent Sweep (fills left→right on hover) ──────────────── */
.nf-cat-card__sweep {
  position:      absolute;
  bottom:        0;
  left:          0;
  width:         0;
  height:        2px;
  border-radius: 0 0 16px 16px;
  background:    linear-gradient(
                   90deg,
                   var(--cat-accent, #4db89b) 0%,
                   rgba(0, 229, 255, 0.55) 100%
                 );
  transition:    width 540ms var(--nf2-ease);
  z-index:       4;
  pointer-events: none;
}

.nf-cat-card:hover .nf-cat-card__sweep { width: 100%; }

/* ── Home Tile variant — taller, more cinematic ──────────────────── */
.nf-cat-card--tile {
  min-height: 252px;
}

.nf-cat-card--tile .nf-cat-card__glass {
  min-height: 252px;
}

.nf-cat-card--tile .nf-cat-card__chamber {
  flex: 0 0 44%;
}

.nf-cat-card--tile .nf-cat-card__illus svg {
  max-width: 172px;
}

.nf-cat-card--tile .nf-cat-card__ghost-idx {
  font-size: 5.8rem;
}

.nf-cat-card--tile .nf-cat-card__name {
  font-size:   1.12rem;
  font-weight: 740;
}

.nf-cat-card--tile .nf-cat-card__desc {
  -webkit-line-clamp: 3;
  font-size: 0.78rem;
}

/* ── Home Section wrapper ────────────────────────────────────────── */
.nf-cat-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nf-cat-tile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nf-cat-tile-grid { grid-template-columns: 1fr; }
  .nf-cat-card--tile { min-height: 200px; }
  .nf-cat-card--tile .nf-cat-card__glass { min-height: 200px; }
  .nf-cat-card__chamber { flex: 0 0 38%; }
}

/* ── Focus ring (accessibility) ──────────────────────────────────── */
.nf-cat-card:focus-visible {
  outline: none;
}

.nf-cat-card:focus-visible .nf-cat-card__glass {
  outline: 2px solid var(--nf2-cyan);
  outline-offset: 2px;
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nf-cat-card,
  .nf-cat-card__glass,
  .nf-cat-card__glow,
  .nf-cat-card__sweep,
  .nf-cat-card::before,
  .nf-cat-card::after { transition: none !important; animation: none !important; opacity: 1 !important; }
  .nf-cat-card__live-dot { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   NF2 — STEP 3: CINEMATIC PRODUCT HERO  (50/50 Cybernetic Dashboard)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero shell ──────────────────────────────────────────────────────── */
.nf-pdp-hero {
  position:   relative;
  background: var(--nf2-void, #07090f);
  overflow:   hidden;
}

.nf-pdp-hero__inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  min-height:            660px;
  max-width:             1440px;
  margin:                0 auto;
}

/* ── LEFT: Control-Center column ────────────────────────────────────── */
.pdp-left {
  position:     relative;
  z-index:      2;
  display:      flex;
  align-items:  stretch;
  padding:      44px 36px 44px 44px;
  border-right: 1px solid rgba(255,255,255,0.05);
}

/* Tier-2 glassmorphism card */
.pdp-left__glass {
  position:        relative;
  display:         flex;
  flex-direction:  column;
  width:           100%;
  background:      rgba(11,17,33,0.80);
  border:          1px solid rgba(255,255,255,0.085);
  border-radius:   18px;
  padding:         32px 32px 28px;
  backdrop-filter: blur(32px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 0 1px rgba(0,229,255,0.035),
    0 28px 80px rgba(0,0,0,0.54);
  overflow: hidden;
}

/* Diagonal inner sheen */
.pdp-left__glass::before {
  content:        '';
  position:       absolute;
  inset:          0;
  border-radius:  inherit;
  background:     linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 46%);
  pointer-events: none;
  z-index:        0;
}

/* Cyan top-border trace */
.pdp-left__glass::after {
  content:    '';
  position:   absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--nf2-cyan, #00e5ff) 36%, rgba(0,229,255,0.25) 100%);
  pointer-events: none;
}

/* All direct children render above ::before sheen */
.pdp-left__glass > * { position: relative; z-index: 1; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.pdp-breadcrumb {
  display:       flex;
  align-items:   center;
  flex-wrap:     wrap;
  gap:           4px;
  margin-bottom: 22px;
}

.pdp-breadcrumb__item {
  font-family:    'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  font-size:      0.615rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--nf2-text-mono, #4ee0b4);
  white-space:    nowrap;
}

.pdp-breadcrumb__item--current { color: var(--nf2-text-mid, #7a8aaa); }

.pdp-breadcrumb__sep {
  font-family:  'JetBrains Mono', monospace;
  font-size:    0.615rem;
  color:        var(--nf2-text-lo, #3a4a64);
  user-select:  none;
}

/* ── Partner badge ───────────────────────────────────────────────────── */
.pdp-partner-badge {
  display:       flex;
  align-items:   center;
  gap:           12px;
  margin-bottom: 20px;
  padding:       8px 14px 8px 10px;
  background:    rgba(255,255,255,0.036);
  border:        1px solid rgba(255,255,255,0.068);
  border-radius: 10px;
  width:         fit-content;
  max-width:     100%;
}

.pdp-partner-badge__logo {
  height:        28px;
  width:         auto;
  max-width:     92px;
  object-fit:    contain;
  border-radius: 4px;
  background:    rgba(255,255,255,0.08);
  padding:       2px 5px;
  filter:        brightness(1.12) contrast(1.05);
}

.pdp-partner-badge__meta {
  display:     flex;
  align-items: center;
  gap:         6px;
}

.pdp-partner-badge__label {
  font-family:    'JetBrains Mono', monospace;
  font-size:      0.575rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color:          var(--nf2-text-mono, #4ee0b4);
}

/* ── Category kicker ─────────────────────────────────────────────────── */
.pdp-kicker {
  font-family:    'JetBrains Mono', monospace;
  font-size:      0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--nf2-cyan, #00e5ff);
  margin:         0 0 10px;
}

/* ── Massive premium title ───────────────────────────────────────────── */
.pdp-title {
  font-size:      clamp(1.4rem, 2.4vw, 2.45rem);
  font-weight:    820;
  line-height:    1.1;
  letter-spacing: -0.028em;
  color:          var(--nf2-text-hi, #e8edf5);
  margin:         0 0 13px;
  text-wrap:      balance;
}

/* ── Short description ───────────────────────────────────────────────── */
.pdp-shortdesc {
  font-size:   0.875rem;
  line-height: 1.68;
  color:       var(--nf2-text-mid, #7a8aaa);
  margin:      0 0 18px;
}

/* ── Meta block (SKU / brand) ────────────────────────────────────────── */
.pdp-meta-block { margin-bottom: 10px; }
.pdp-meta-line  { font-size: 0.72rem; color: var(--nf2-text-mid, #7a8aaa); margin: 0 0 3px; }

/* ── Hero spec grid ──────────────────────────────────────────────────── */
.pdp-hero-spec-grid-wrap { margin-bottom: 20px; }

.pdp-hero-spec-grid-label {
  font-family:    'JetBrains Mono', monospace;
  font-size:      0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--nf2-text-lo, #3a4a64);
  margin:         0 0 8px;
}

.pdp-hero-spec-more {
  display:         inline-block;
  margin-top:      10px;
  font-size:       0.72rem;
  color:           var(--nf2-text-mid, #7a8aaa);
  text-decoration: none;
  transition:      color 220ms ease;
}
.pdp-hero-spec-more:hover { color: var(--nf2-cyan, #00e5ff); }

/* Dark-mode overrides for spec-grid cells rendered by nfFillPdpHeroSpecGrid */
.pdp-hero-spec-grid .nf-pdp-dossier-hero__spec-item {
  border-color: rgba(255,255,255,0.07) !important;
  background:   rgba(255,255,255,0.02) !important;
}
.pdp-hero-spec-grid .nf-pdp-dossier-hero__spec-label {
  color: var(--nf2-text-mid, #7a8aaa) !important;
}
.pdp-hero-spec-grid .nf-pdp-dossier-hero__spec-value {
  color:       var(--nf2-text-hi, #e8edf5) !important;
  font-weight: 640 !important;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pdp-pricing { margin: 0 0 22px; }

.pdp-pricing__price {
  font-size:      1.25rem;
  font-weight:    740;
  letter-spacing: -0.02em;
  color:          var(--nf2-text-hi, #e8edf5);
}

/* ── CTA block ───────────────────────────────────────────────────────── */
.pdp-ctas {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  margin-bottom:  16px;
}

/* Cyan-glass primary */
.pdp-cta-primary.nf-btn {
  background:      rgba(0,229,255,0.10) !important;
  border:          1px solid rgba(0,229,255,0.26) !important;
  color:           var(--nf2-cyan, #00e5ff) !important;
  font-weight:     640;
  backdrop-filter: blur(8px);
  box-shadow:      none !important;
  transition:      background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.pdp-cta-primary.nf-btn:hover {
  background:   rgba(0,229,255,0.19) !important;
  border-color: rgba(0,229,255,0.48) !important;
  box-shadow:   0 0 32px rgba(0,229,255,0.15) !important;
}

/* Amber CTA — high-urgency quote request */
.pdp-cta-amber {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  padding:         13px 22px;
  background:      var(--nf2-amber, #f5a623);
  color:           #1a0e00;
  font-size:       0.875rem;
  font-weight:     720;
  letter-spacing:  0.005em;
  border:          none;
  border-radius:   10px;
  cursor:          pointer;
  box-shadow:      0 4px 26px rgba(245,166,35,0.30), inset 0 1px 0 rgba(255,255,255,0.20);
  transition:      background 230ms ease, transform 200ms ease, box-shadow 230ms ease;
}
.pdp-cta-amber:hover {
  background: #f7b73a;
  transform:  translateY(-2px);
  box-shadow: 0 8px 42px rgba(245,166,35,0.50), inset 0 1px 0 rgba(255,255,255,0.24);
}
.pdp-cta-amber:active {
  transform:  translateY(0);
  box-shadow: 0 3px 14px rgba(245,166,35,0.26);
}

/* ── Trust signal line ───────────────────────────────────────────────── */
.pdp-trust-line {
  display:     flex;
  align-items: center;
  gap:         6px;
  font-size:   0.695rem;
  color:       var(--nf2-text-lo, #3a4a64);
  margin:      0;
  margin-top:  auto;
  padding-top: 16px;
}

/* ── RIGHT: Viewer Chamber ───────────────────────────────────────────── */
.pdp-right {
  position:        relative;
  background:      var(--nf2-void, #07090f);
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  overflow:        hidden;
  min-height:      660px;
}

/* CSS-only calibration grid (40×40 px cells, ~4% opacity) */
.viewer-grid-lines {
  position:       absolute;
  inset:          0;
  pointer-events: none;
  z-index:        0;
  background-image:
    linear-gradient(rgba(255,255,255,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.036) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 46%, #000 20%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 46%, #000 20%, transparent 100%);
}

/* Ambient glow fog — JS sets background per product + category accent */
.viewer-ambient-glow {
  position:       absolute;
  inset:          0;
  pointer-events: none;
  z-index:        1;
  background: radial-gradient(
    ellipse 66% 66% at 50% 46%,
    rgba(0,229,255,0.13) 0%,
    rgba(0,229,255,0.04) 46%,
    transparent 70%
  );
  transition: background 700ms cubic-bezier(0.22,1,0.36,1);
}

/* Corner bracket decorations */
.viewer-corner {
  position:       absolute;
  width:          20px;
  height:         20px;
  pointer-events: none;
  z-index:        3;
  opacity:        0.32;
}
.viewer-corner--tl { top: 22px;    left:  22px; border-top:    1px solid var(--nf2-cyan, #00e5ff); border-left:   1px solid var(--nf2-cyan, #00e5ff); }
.viewer-corner--tr { top: 22px;    right: 22px; border-top:    1px solid var(--nf2-cyan, #00e5ff); border-right:  1px solid var(--nf2-cyan, #00e5ff); }
.viewer-corner--bl { bottom: 46px; left:  22px; border-bottom: 1px solid var(--nf2-cyan, #00e5ff); border-left:   1px solid var(--nf2-cyan, #00e5ff); }
.viewer-corner--br { bottom: 46px; right: 22px; border-bottom: 1px solid var(--nf2-cyan, #00e5ff); border-right:  1px solid var(--nf2-cyan, #00e5ff); }

/* Device rendering stage */
.pdp-viewer-stage {
  position:        relative;
  z-index:         2;
  width:           100%;
  flex:            1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         32px 28px;
}

/* Override existing media frame styles for dark chamber */
.pdp-right .nf-pdp-gallery--product { width: 100%; }

.pdp-right .nf-pdp-media {
  background: transparent !important;
  box-shadow: none !important;
  border:     none !important;
}

.pdp-right .nf-pdp-media-frame {
  background:    rgba(255,255,255,0.02) !important;
  border:        1px solid rgba(255,255,255,0.07) !important;
  border-radius: 16px !important;
  box-shadow:    0 0 80px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  overflow:      hidden;
}

.pdp-right .nf-pdp-media-img {
  filter: drop-shadow(0 8px 44px rgba(0,229,255,0.09)) !important;
}

.pdp-right .nf-pdp-media-nav {
  color:        var(--nf2-text-hi, #e8edf5) !important;
  background:   rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

.pdp-right .nf-pdp-media-expand {
  color:       var(--nf2-text-hi, #e8edf5) !important;
  background:  rgba(255,255,255,0.08) !important;
  border:      1px solid rgba(255,255,255,0.10) !important;
}

.pdp-right .nf-pdp-media-hint,
.pdp-right .nf-pdp-media-count { color: var(--nf2-text-mid, #7a8aaa) !important; }

/* ── Viewer status bar ───────────────────────────────────────────────── */
.viewer-status-bar {
  position:        relative;
  z-index:         3;
  width:           100%;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         7px 22px;
  border-top:      1px solid rgba(255,255,255,0.048);
  background:      rgba(7,9,15,0.65);
  backdrop-filter: blur(8px);
  flex-shrink:     0;
}

.viewer-status-bar__item {
  font-family:    'JetBrains Mono', 'SF Mono', monospace;
  font-size:      0.565rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--nf2-text-lo, #3a4a64);
  display:        flex;
  align-items:    center;
  gap:            5px;
}

.viewer-status-bar__item--id { color: var(--nf2-text-mid, #7a8aaa); }

.viewer-status-bar__dot {
  display:       inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background:    var(--nf2-mint, #3dffc0);
  animation:     nf2-dot-pulse 2.8s ease-in-out infinite;
}

.viewer-status-bar__signal {
  display:       inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background:    #4fa3c7;
  animation:     nf2-dot-pulse 2.8s ease-in-out infinite 1.4s;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nf-pdp-hero__inner { grid-template-columns: 1fr; }

  .pdp-left {
    padding:       32px 24px;
    border-right:  none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .pdp-right { min-height: 440px; }
}

@media (max-width: 620px) {
  .pdp-left        { padding: 20px 14px; }
  .pdp-left__glass { padding: 22px 18px; border-radius: 14px; }
  .pdp-right       { min-height: 340px; }
  .viewer-corner   { display: none; }
  .viewer-status-bar__item--id { display: none; }
  .pdp-title       { font-size: clamp(1.2rem, 6vw, 1.75rem); }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .viewer-status-bar__dot,
  .viewer-status-bar__signal { animation: none; opacity: 0.7; }
  .pdp-cta-amber:hover        { transform: none; }
  .viewer-ambient-glow         { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PFG — PREMIUM FROZEN GLASS · Light Biotech System
   Design tokens, category cards, PDP overrides, spec widgets, service dock
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PFG design tokens ────────────────────────────────────────────── */
:root {
  --pfg-bg:          #f4f7f9;
  --pfg-surface:     rgba(255,255,255,0.65);
  --pfg-surface-hov: rgba(255,255,255,0.82);
  --pfg-border:      rgba(0,180,200,0.08);
  --pfg-border-hov:  rgba(0,180,200,0.18);
  --pfg-teal:        #4da6b8;
  --pfg-cyan:        #00b4c8;
  --pfg-mint:        #3dffc0;
  --pfg-text-hi:     #0f2330;
  --pfg-text-mid:    #3a5060;
  --pfg-text-lo:     #7a9aaa;
  --pfg-ease:        cubic-bezier(0.22,1,0.36,1);
  --pfg-shadow-sm:   0 2px 12px rgba(0,90,120,0.06);
  --pfg-shadow-md:   0 8px 32px rgba(0,90,120,0.10), 0 2px 8px rgba(0,90,120,0.06);
  --pfg-shadow-hov:  0 16px 48px rgba(0,90,120,0.13), 0 4px 16px rgba(0,90,120,0.08);
}

/* ── PFG card entrance animation ──────────────────────────────────── */
@keyframes pfg-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ── .pfg-card — frosted glass category card ──────────────────────── */
.pfg-card {
  position:         relative;
  display:          flex;
  flex-direction:   column;
  background:       var(--pfg-surface);
  border:           1px solid var(--pfg-border);
  border-radius:    20px;
  padding:          28px 24px 22px;
  overflow:         hidden;
  cursor:           pointer;
  outline:          none;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter:  blur(25px);
  box-shadow:       var(--pfg-shadow-sm);
  transform-style:  preserve-3d;
  animation:        pfg-card-in 480ms var(--pfg-ease) both;
  animation-delay:  var(--nf-vp-stagger, 0ms);
  transition:
    box-shadow 400ms var(--pfg-ease),
    border-color 400ms var(--pfg-ease),
    background 400ms var(--pfg-ease);
  color:            var(--pfg-teal);   /* SVG currentColor picks this up */
}

.pfg-card:hover,
.pfg-card:focus-visible {
  background:    var(--pfg-surface-hov);
  border-color:  var(--pfg-border-hov);
  box-shadow:    var(--pfg-shadow-hov);
}

.pfg-card:focus-visible { outline: 2px solid var(--pfg-cyan); outline-offset: 3px; }

/* Ambient pastel glow on hover — uses --cat-accent (hex) for tint via opacity */
.pfg-card::before {
  content:    "";
  position:   absolute;
  inset:      -40px;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(77,166,184,0.08) 0%, transparent 70%);
  opacity:    0;
  transition: opacity 500ms var(--pfg-ease);
  pointer-events: none;
  z-index:    0;
}
.pfg-card:hover::before { opacity: 1; }

/* ── Thread art (generative light-thread SVG) ─────────────────────── */
.pfg-card__thread {
  position:   absolute;
  top:        -8px;
  right:      -8px;
  width:      170px;
  height:     136px;
  pointer-events: none;
  z-index:    0;
  opacity:    0.9;
  transition: transform 600ms var(--pfg-ease);
}

.pfg-card__thread svg { display: block; width: 100%; height: 100%; }

/* ── Card body ────────────────────────────────────────────────────── */
.pfg-card__body {
  position:       relative;
  z-index:        1;
  display:        flex;
  flex-direction: column;
  flex:           1;
  gap:            6px;
}

.pfg-card__name {
  font-size:   1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color:       var(--pfg-text-hi);
  margin:      0 0 4px;
}

.pfg-card__desc {
  font-size:   0.82rem;
  line-height: 1.55;
  color:       var(--pfg-text-mid);
  margin:      0;
  flex:        1;
  /* limit to 3 lines */
  display:            -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:           hidden;
}

.pfg-card__footer {
  display:     flex;
  align-items: center;
  justify-content: space-between;
  margin-top:  14px;
  padding-top: 12px;
  border-top:  1px solid rgba(0,180,200,0.07);
}

.pfg-card__count {
  font-size:   0.75rem;
  font-weight: 500;
  color:       var(--pfg-teal);
  letter-spacing: 0.02em;
}

.pfg-card__cta {
  display:     flex;
  align-items: center;
  gap:         5px;
  font-size:   0.75rem;
  font-weight: 600;
  color:       var(--pfg-cyan);
  letter-spacing: 0.01em;
  transition:  gap 260ms var(--pfg-ease);
}

.pfg-card:hover .pfg-card__cta { gap: 8px; }

/* ── Home tile grid (3-up) ────────────────────────────────────────── */
.pfg-tile-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   20px;
}

@media (max-width: 1100px) {
  .pfg-tile-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .pfg-tile-grid { grid-template-columns: 1fr; }
}

/* Tile variant — taller card */
.pfg-card--tile { min-height: 220px; }

/* ═══ PDP HERO — light system overrides (replaces NF2 dark) ══════════ */

/* Hero wrapper — light background */
.nf-pdp-hero {
  background: var(--pfg-bg);
  border-bottom: 1px solid rgba(0,180,200,0.07);
}

/* Left pane — light frosted glass */
.pdp-left {
  background: transparent;
  border-right: 1px solid rgba(0,180,200,0.08);
}

.pdp-left__glass {
  background:  rgba(255,255,255,0.72);
  border:      1px solid rgba(0,180,200,0.10);
  box-shadow:  var(--pfg-shadow-md);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter:  blur(28px);
  border-radius: 20px;
}

/* Override dark sheen trace with light teal */
.pdp-left__glass::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(77,166,184,0.12) 50%,
    transparent 100%
  );
  top: 0;
  height: 1px;
  opacity: 1;
}

/* Breadcrumb */
.pdp-breadcrumb__item {
  color:       var(--pfg-text-mid);
  font-size:   0.75rem;
  font-weight: 400;
  font-family: inherit;
}

.pdp-breadcrumb__item--current { color: var(--pfg-teal); font-weight: 500; }
.pdp-breadcrumb__sep { color: var(--pfg-text-lo); }

/* Kicker */
.pdp-kicker {
  color:       var(--pfg-teal);
  font-size:   0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: inherit;
}

/* Title */
.pdp-title {
  color:       var(--pfg-text-hi);
  font-family: inherit;
  font-weight: 700;
}

/* Short description */
.pdp-shortdesc { color: var(--pfg-text-mid); }

/* Price */
.pdp-pricing__price {
  color:       var(--pfg-text-hi);
  font-family: inherit;
}

/* Partner badge */
.pdp-partner-badge {
  background:   rgba(255,255,255,0.60);
  border:       1px solid rgba(77,166,184,0.14);
  border-radius: 10px;
}

.pdp-partner-badge__label { color: var(--pfg-text-mid); font-family: inherit; }

/* Trust line */
.pdp-trust-line { color: var(--pfg-text-lo); font-family: inherit; }

/* ── CTA buttons — light teal (no amber/yellow) ───────────────────── */
.pdp-cta-primary.nf-btn {
  background:  linear-gradient(135deg, var(--pfg-teal) 0%, var(--pfg-cyan) 100%);
  color:       #fff;
  border:      none;
  box-shadow:  0 4px 16px rgba(0,180,200,0.22);
  font-family: inherit;
  font-weight: 600;
  transition:  box-shadow 300ms var(--pfg-ease), transform 300ms var(--pfg-ease);
}

.pdp-cta-primary.nf-btn:hover {
  box-shadow: 0 8px 28px rgba(0,180,200,0.32);
  transform:  translateY(-1px);
}

/* Secondary button — teal ghost (absolutely no yellow/amber) */
.pdp-cta-amber {
  background:  rgba(77,166,184,0.07);
  color:       var(--pfg-teal);
  border:      1px solid rgba(77,166,184,0.20);
  font-family: inherit;
  font-weight: 500;
  transition:  background 280ms var(--pfg-ease), border-color 280ms var(--pfg-ease), transform 280ms var(--pfg-ease);
}

.pdp-cta-amber:hover {
  background:  rgba(77,166,184,0.13);
  border-color: rgba(77,166,184,0.35);
  transform:   translateY(-1px);
}

/* ── Right viewer chamber — light ─────────────────────────────────── */
.pdp-right {
  background: var(--pfg-bg);
}

.viewer-grid-lines {
  background-image:
    linear-gradient(rgba(0,120,140,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,120,140,0.03) 1px, transparent 1px);
}

/* Soft teal ambient glow, multiply over light bg */
.viewer-ambient-glow {
  mix-blend-mode: multiply;
  opacity:        0.55;
}

/* Corner brackets — teal on light */
.viewer-corner::before,
.viewer-corner::after {
  border-color: rgba(77,166,184,0.30);
}

/* Media frame — clean light */
.pdp-right .nf-pdp-media-frame {
  background:  rgba(255,255,255,0.70);
  border:      1px solid rgba(0,180,200,0.10);
  box-shadow:  var(--pfg-shadow-sm);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter:  blur(16px);
  border-radius: 16px;
}

/* Status bar — light surface */
.viewer-status-bar {
  background:  rgba(244,247,249,0.90);
  border-top:  1px solid rgba(0,180,200,0.08);
  color:       var(--pfg-text-lo);
}

.viewer-status-bar__dot  { background: var(--pfg-mint); }
.viewer-status-bar__signal { border-color: var(--pfg-teal); }

/* ═══ PFG SPEC WIDGETS ════════════════════════════════════════════════ */
.pfg-spec-group { margin-bottom: 32px; }
.pfg-spec-group:last-child { margin-bottom: 0; }

.pfg-spec-group-title {
  font-size:      0.70rem;
  font-weight:    600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color:          var(--pfg-teal);
  margin:         0 0 16px;
}

.pfg-spec-widget-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap:                   12px;
}

.pfg-spec-widget {
  background:   var(--pfg-surface);
  border:       1px solid var(--pfg-border);
  border-radius: 14px;
  padding:      14px 14px 12px;
  display:      flex;
  flex-direction: column;
  gap:          4px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter:  blur(18px);
  box-shadow:   var(--pfg-shadow-sm);
  transition:   box-shadow 300ms var(--pfg-ease), border-color 300ms var(--pfg-ease);
}

.pfg-spec-widget:hover {
  box-shadow:   var(--pfg-shadow-md);
  border-color: var(--pfg-border-hov);
}

.pfg-spec-widget__icon {
  display:    block;
  width:      20px;
  height:     20px;
  color:      var(--pfg-teal);
  margin-bottom: 2px;
}

.pfg-spec-widget__icon svg { width: 100%; height: 100%; }

.pfg-spec-widget__label {
  font-size:   0.68rem;
  font-weight: 500;
  color:       var(--pfg-text-lo);
  margin:      0;
  letter-spacing: 0.02em;
}

.pfg-spec-widget__value {
  font-size:   0.88rem;
  font-weight: 600;
  color:       var(--pfg-text-hi);
  margin:      0;
  line-height: 1.3;
}

.pfg-spec-widget__track {
  margin-top:   6px;
  height:       3px;
  background:   rgba(0,180,200,0.08);
  border-radius: 99px;
  overflow:      hidden;
}

.pfg-spec-widget__fill {
  height:       100%;
  background:   linear-gradient(90deg, var(--pfg-teal), var(--pfg-cyan));
  border-radius: 99px;
  transition:   width 800ms var(--pfg-ease);
}

/* ═══ PFG SERVICE DOCK ════════════════════════════════════════════════ */
.pfg-service-dock {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   12px;
}

@media (max-width: 860px) {
  .pfg-service-dock { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .pfg-service-dock { grid-template-columns: 1fr; }
}

.pfg-dock-item {
  background:   var(--pfg-surface);
  border:       1px solid var(--pfg-border);
  border-radius: 16px;
  padding:      18px 16px 16px;
  display:      flex;
  flex-direction: column;
  gap:          3px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter:  blur(18px);
  box-shadow:   var(--pfg-shadow-sm);
  transition:   box-shadow 300ms var(--pfg-ease), border-color 300ms var(--pfg-ease);
}

.pfg-dock-item:hover {
  box-shadow:   var(--pfg-shadow-md);
  border-color: var(--pfg-border-hov);
}

.pfg-dock-item__icon {
  display:    block;
  width:      22px;
  height:     22px;
  color:      var(--pfg-cyan);
  margin-bottom: 6px;
}

.pfg-dock-item__icon svg { width: 100%; height: 100%; }

.pfg-dock-item__value {
  font-size:   1.1rem;
  font-weight: 700;
  color:       var(--pfg-text-hi);
  margin:      0;
  line-height: 1.2;
}

.pfg-dock-item__label {
  font-size:   0.78rem;
  font-weight: 600;
  color:       var(--pfg-teal);
  margin:      0;
}

.pfg-dock-item__detail {
  font-size:   0.72rem;
  color:       var(--pfg-text-lo);
  margin:      0;
}

/* ═══ INSTALL TIMELINE — frosted tab overrides ════════════════════════ */
.nf-pdp-phase-btn {
  background:   rgba(255,255,255,0.55);
  border:       1px solid rgba(0,180,200,0.10);
  color:        var(--pfg-text-mid);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter:  blur(12px);
  transition:   background 260ms var(--pfg-ease), border-color 260ms var(--pfg-ease), color 260ms var(--pfg-ease);
}

.nf-pdp-phase-btn:hover {
  background:   rgba(255,255,255,0.80);
  border-color: rgba(0,180,200,0.20);
  color:        var(--pfg-teal);
}

.nf-pdp-phase-btn.is-active {
  background:   rgba(255,255,255,0.92);
  border-color: rgba(77,166,184,0.30);
  color:        var(--pfg-teal);
  box-shadow:   var(--pfg-shadow-sm);
}

.nf-pdp-phase-num {
  color: var(--pfg-mint);
  font-weight: 700;
}

.nf-pdp-phase-detail {
  background:   rgba(255,255,255,0.65);
  border:       1px solid rgba(0,180,200,0.09);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter:  blur(18px);
}

.nf-pdp-phase-detail-num {
  color:       var(--pfg-teal);
  font-weight: 700;
  font-family: inherit;
}

/* ═══ PFG RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .pfg-spec-widget-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .pfg-spec-widget-grid { grid-template-columns: 1fr; }
}

/* ═══ PFG REDUCED MOTION ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .pfg-card          { animation: none; }
  .pfg-card:hover    { transform: none !important; }
  .pfg-spec-widget__fill { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PFG v2 — MASTER OVERRIDE
   Contrast crash-fix · Full-width cinematic PDP · Pipeline · Immaculate
   ═══════════════════════════════════════════════════════════════════════ */

/* ── v2 Token Override (non-destructive: highest specificity wins) ──── */
:root {
  --pfg-surface:      rgba(255,255,255,0.88);   /* was 0.65 — unreadable substrate */
  --pfg-surface-hov:  rgba(255,255,255,0.97);
  --pfg-surface-solid: #ffffff;
  --pfg-text-hi:      #0f172a;                  /* deep slate navy */
  --pfg-text-mid:     #334155;                  /* rich legible slate — CRITICAL FIX */
  --pfg-text-lo:      #475569;                  /* strong secondary — CRITICAL FIX */
  --pfg-text-hint:    #64748b;                  /* tertiary, always visible */
  --pfg-bg-canvas:    #f8fafc;                  /* crisp white-on-white catalog canvas */
}

/* ── Catalog canvas background ────────────────────────────────────── */
.nf-catalog-hub,
#catalogHub { background: var(--pfg-bg-canvas); }

/* ── Catalog hub grid layout ──────────────────────────────────────── */
.nf-catalog-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

/* ── PFG card: stronger substrate for guaranteed text contrast ─────── */
.pfg-card {
  background: var(--pfg-surface);
  box-shadow:
    0 1px 3px rgba(0,90,120,0.06),
    0 4px 16px rgba(0,90,120,0.07);
}

.pfg-card:hover,
.pfg-card:focus-visible {
  background: var(--pfg-surface-hov);
  box-shadow:
    0 4px 8px rgba(0,90,120,0.06),
    0 16px 48px rgba(0,90,120,0.12),
    0 0 0 1px rgba(0,180,200,0.14);
}

/* ── Card text — always rich, always readable ─────────────────────── */
.pfg-card__name {
  font-size:   1.05rem;
  font-weight: 700;
  color:       #0f172a;      /* hard-coded so no token chain can break it */
  letter-spacing: -0.01em;
}

.pfg-card__desc {
  color:       #334155;      /* hard-coded rich slate — never faint */
  font-size:   0.83rem;
  line-height: 1.58;
}

.pfg-card__count { color: #4da6b8; font-weight: 600; }
.pfg-card__cta   { color: #00b4c8; }

/* ── Ambient hover glow — uses --cat-accent via JS inline style ───── */
.pfg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 65% 55% at 72% 25%,
    rgba(77,166,184,0.08) 0%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 0;
}
.pfg-card:hover::after { opacity: 1; }

/* ═══ PDP HERO v2 — FULL-WIDTH CINEMATIC DASHBOARD ═══════════════════ */

/* ── Break out of any centering container ─────────────────────────── */
.nf-pdp-hero {
  position:   relative;
  width:      100%;
  background: #f4f7f9;
  border-bottom: 1px solid rgba(0,180,200,0.07);
  overflow: hidden;
}

/* ── Full-width 2-col grid: fixed glass column + expanding chamber ─── */
.nf-pdp-hero__inner {
  display: grid;
  grid-template-columns: clamp(340px, 36vw, 480px) 1fr;
  grid-template-rows: 1fr;
  min-height: 740px;
  width:      100%;
  max-width:  none !important;
  padding:    0    !important;
  margin:     0    !important;
}

/* ═══ LEFT: Glass Command Center ═══════════════════════════════════════ */
.pdp-left {
  position:   relative;
  display:    flex;
  flex-direction: column;
  padding:    36px 24px 36px 28px;
  background: rgba(248,250,252,0.50);
  border-right: 1px solid rgba(0,180,200,0.09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Frosted glass card inside the left column */
.pdp-left__glass {
  position:   relative;
  flex:       1;
  display:    flex;
  flex-direction: column;
  gap:        16px;
  background: rgba(255,255,255,0.92);
  border:     1px solid rgba(0,180,200,0.13);
  border-radius: 24px;
  padding:    32px 28px;
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  box-shadow:
    0 2px 1px rgba(255,255,255,0.80) inset,
    0 0 0 1px rgba(0,180,200,0.06) inset,
    0 8px 32px rgba(0,90,120,0.09),
    0 24px 64px rgba(0,90,120,0.06);
}

/* Teal top-trace line on glass */
.pdp-left__glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,180,200,0.35) 40%,
    rgba(77,166,184,0.20) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Breadcrumb ───────────────────────────────────────────────────── */
.pdp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.pdp-breadcrumb__item {
  font-size:   0.72rem;
  font-weight: 400;
  color:       #64748b;
  font-family: inherit;
}
.pdp-breadcrumb__item--current {
  color:       #4da6b8;
  font-weight: 600;
}
.pdp-breadcrumb__sep { color: #94a3b8; font-size: 0.72rem; }

/* ── Category kicker ──────────────────────────────────────────────── */
.pdp-kicker {
  font-size:      0.68rem;
  font-weight:    700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          #00b4c8;
  margin:         0;
  font-family:    inherit;
}

/* ── Main product title — striking, readable, high contrast ────────── */
.pdp-title {
  font-size:      clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight:    800;
  line-height:    1.16;
  letter-spacing: -0.025em;
  color:          #0f172a;
  margin:         0;
  font-family:    inherit;
}

/* ── Short description — completely legible ──────────────────────── */
.pdp-shortdesc {
  font-size:   0.88rem;
  line-height: 1.68;
  color:       #334155;          /* rich slate — never faint */
  margin:      0;
  font-family: inherit;
}

/* ── Partner badge ────────────────────────────────────────────────── */
.pdp-partner-badge {
  display:      flex;
  align-items:  center;
  gap:          10px;
  background:   rgba(255,255,255,0.82);
  border:       1px solid rgba(0,180,200,0.16);
  border-radius: 12px;
  padding:      8px 14px;
}
.pdp-partner-badge__logo  { height: 26px; object-fit: contain; }
.pdp-partner-badge__label {
  font-size:   0.73rem;
  font-weight: 500;
  color:       #334155;          /* legible, not faint */
}

/* ── Hero spec grid ───────────────────────────────────────────────── */
.pdp-hero-spec-grid-wrap { display: flex; flex-direction: column; }

.pdp-hero-spec-grid-label {
  font-size:      0.67rem;
  font-weight:    700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          #4da6b8;
  margin:         0 0 10px;
}

.pdp-hero-spec-more {
  font-size:   0.75rem;
  font-weight: 500;
  color:       #00b4c8;
  margin-top:  8px;
  text-decoration: none;
  display:     inline-flex;
  align-items: center;
  gap:         4px;
}

/* ── Meta lines ───────────────────────────────────────────────────── */
.pdp-meta-line {
  font-size: 0.80rem;
  color:     #475569;
  margin:    0;
}

/* ── Pricing ──────────────────────────────────────────────────────── */
.pdp-pricing__price {
  font-size:      1.5rem;
  font-weight:    800;
  letter-spacing: -0.02em;
  color:          #0f172a;
  margin:         0;
  font-family:    inherit;
}

/* ── CTAs: teal gradient primary / ghost secondary — ZERO amber ─────── */
.pdp-ctas { display: flex; flex-direction: column; gap: 10px; }

.pdp-cta-primary.nf-btn {
  background:   linear-gradient(135deg, #4da6b8 0%, #00b4c8 100%);
  color:        #ffffff;
  border:       none;
  border-radius: 14px;
  font-size:    0.88rem;
  font-weight:  700;
  padding:      14px 22px;
  text-align:   center;
  box-shadow:   0 4px 20px rgba(0,180,200,0.30), 0 1px 3px rgba(0,180,200,0.15);
  transition:   box-shadow 280ms cubic-bezier(0.22,1,0.36,1),
                transform  240ms cubic-bezier(0.22,1,0.36,1);
  font-family:  inherit;
}
.pdp-cta-primary.nf-btn:hover {
  box-shadow: 0 8px 36px rgba(0,180,200,0.40), 0 2px 8px rgba(0,180,200,0.20);
  transform:  translateY(-2px);
}
.pdp-cta-primary.nf-btn:active { transform: translateY(0); }

/* Secondary — teal ghost, absolutely NO yellow/amber */
.pdp-cta-amber {
  background:   rgba(77,166,184,0.06);
  color:        #4da6b8;
  border:       1.5px solid rgba(77,166,184,0.22);
  border-radius: 14px;
  font-size:    0.86rem;
  font-weight:  600;
  padding:      13px 22px;
  text-align:   center;
  transition:   background 240ms, border-color 240ms, transform 240ms;
  font-family:  inherit;
}
.pdp-cta-amber:hover {
  background:   rgba(77,166,184,0.13);
  border-color: rgba(77,166,184,0.40);
  transform:    translateY(-1px);
}

/* ── Trust line ───────────────────────────────────────────────────── */
.pdp-trust-line {
  display:     flex;
  align-items: center;
  gap:         7px;
  font-size:   0.73rem;
  color:       #475569;          /* legible, not faint */
  margin-top:  auto;
  font-family: inherit;
}

/* ═══ RIGHT: Infinite Lab Chamber ═════════════════════════════════════ */
.pdp-right {
  position:   relative;
  background: #f4f7f9;
  overflow:   hidden;
  min-height: 640px;
  display:    flex;
  flex-direction: column;
}

/* 40px calibration grid — ultra-faint 3% opacity */
.viewer-grid-lines {
  position:     absolute;
  inset:        0;
  background-image:
    linear-gradient(rgba(0,130,150,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,130,150,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, black 36%, transparent 100%);
  mask-image:         radial-gradient(ellipse 88% 88% at 50% 50%, black 36%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Radial light fog — blooms behind the hardware image */
.viewer-ambient-glow {
  position:    absolute;
  inset:       0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity:     0.50;
  transition:  background 700ms ease;
  z-index:     1;
}

/* Corner L-brackets */
.viewer-corner {
  position: absolute;
  width:    22px;
  height:   22px;
  pointer-events: none;
  z-index:  2;
}
.viewer-corner::before,
.viewer-corner::after {
  content:    "";
  position:   absolute;
  background: rgba(77,166,184,0.32);
}
.viewer-corner::before { width: 100%; height: 1.5px; top: 0; left: 0; }
.viewer-corner::after  { width: 1.5px; height: 100%; top: 0; left: 0; }
.viewer-corner--tl { top: 22px; left: 22px; }
.viewer-corner--tr { top: 22px; right: 22px; transform: scaleX(-1); }
.viewer-corner--bl { bottom: 38px; left: 22px; transform: scaleY(-1); }
.viewer-corner--br { bottom: 38px; right: 22px; transform: scale(-1); }

/* Media stage — centered, breathing room */
.pdp-viewer-stage {
  flex:            1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         44px 40px;
  position:        relative;
  z-index:         2;
}

/* Media frame — clean white glass */
.pdp-right .nf-pdp-media-frame {
  background:   rgba(255,255,255,0.80);
  border:       1px solid rgba(0,180,200,0.10);
  border-radius: 20px;
  box-shadow:
    0 8px 40px rgba(0,90,120,0.09),
    0 2px 8px  rgba(0,90,120,0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Status bar — light, no monospace noise */
.viewer-status-bar {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         7px 22px;
  background:      rgba(248,250,252,0.94);
  border-top:      1px solid rgba(0,180,200,0.07);
  font-size:       0.64rem;
  font-weight:     500;
  font-family:     inherit;
  letter-spacing:  0.09em;
  text-transform:  uppercase;
  color:           #64748b;
  position:        relative;
  z-index:         3;
}

.viewer-status-bar__item { display: flex; align-items: center; gap: 5px; }

.viewer-status-bar__dot {
  width:         5px;
  height:        5px;
  border-radius: 50%;
  background:    #3dffc0;
  animation:     pfg-v2-pulse 2.6s ease-in-out infinite;
}

.viewer-status-bar__signal {
  width:         7px;
  height:        7px;
  border:        1.5px solid #4da6b8;
  border-radius: 50%;
  animation:     pfg-v2-pulse 2.6s ease-in-out infinite 0.9s;
}

@keyframes pfg-v2-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.30; }
}

/* ── PDP hero responsive breakpoints ──────────────────────────────── */
@media (max-width: 1120px) {
  .nf-pdp-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pdp-left {
    padding:      24px 18px;
    border-right: none;
    border-bottom: 1px solid rgba(0,180,200,0.08);
  }
  .pdp-right { min-height: 500px; }
}

@media (max-width: 640px) {
  .pdp-left          { padding: 14px 10px; }
  .pdp-left__glass   { padding: 22px 18px; border-radius: 16px; gap: 12px; }
  .pdp-title         { font-size: clamp(1.2rem, 6.5vw, 1.7rem); }
  .pdp-right         { min-height: 360px; }
  .viewer-corner     { display: none; }
  .viewer-status-bar__item--id { display: none; }
  .pdp-cta-primary.nf-btn,
  .pdp-cta-amber     { padding: 12px 18px; font-size: 0.84rem; }
}

/* ═══ PFG INSTALLATION PIPELINE ════════════════════════════════════════ */

/* Horizontal scrolling pipeline track */
.pfg-pipeline-track {
  display:     flex;
  align-items: flex-start;
  gap:         0;
  padding:     16px 0 8px;
  overflow-x:  auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pfg-pipeline-track::-webkit-scrollbar { display: none; }

/* Each phase step */
.pfg-pipeline-step {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  flex:           1;
  min-width:      90px;
  max-width:      160px;
  position:       relative;
  cursor:         pointer;
  gap:            10px;
  padding-bottom: 4px;
}

/* Connecting line between nodes — sits at the node vertical centre (top: 20px) */
.pfg-pipeline-step::before {
  content:    "";
  position:   absolute;
  top:        20px;
  left:       calc(-50% + 20px);
  right:      calc(50% + 20px);
  height:     1.5px;
  background: rgba(0,180,200,0.14);
  transition: background 360ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.pfg-pipeline-step:first-child::before { display: none; }

.pfg-pipeline-step.is-passed::before {
  background: linear-gradient(90deg, rgba(0,180,200,0.38), rgba(77,166,184,0.28));
}
.pfg-pipeline-step.is-active::before {
  background: linear-gradient(90deg, rgba(0,180,200,0.38), rgba(0,180,200,0.10));
}

/* Circular numbered node */
.pfg-pipeline-node {
  width:         40px;
  height:        40px;
  border-radius: 50%;
  background:    rgba(255,255,255,0.90);
  border:        1.5px solid rgba(0,180,200,0.18);
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     0.76rem;
  font-weight:   700;
  color:         #64748b;
  position:      relative;
  z-index:       1;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:    0 2px 10px rgba(0,90,120,0.07);
  transition:
    background   320ms cubic-bezier(0.22,1,0.36,1),
    border-color 320ms cubic-bezier(0.22,1,0.36,1),
    color        320ms cubic-bezier(0.22,1,0.36,1),
    box-shadow   320ms cubic-bezier(0.22,1,0.36,1),
    transform    320ms cubic-bezier(0.22,1,0.36,1);
}

.pfg-pipeline-step.is-passed .pfg-pipeline-node {
  background:   rgba(77,166,184,0.10);
  border-color: rgba(0,180,200,0.30);
  color:        #4da6b8;
}

.pfg-pipeline-step.is-active .pfg-pipeline-node {
  background:   linear-gradient(135deg, #4da6b8, #00b4c8);
  border-color: transparent;
  color:        #ffffff;
  box-shadow:   0 4px 20px rgba(0,180,200,0.36), 0 1px 4px rgba(0,180,200,0.18);
  transform:    scale(1.10);
}

/* Step text label — always legible */
.pfg-pipeline-label {
  font-size:          0.69rem;
  font-weight:        500;
  color:              #475569;       /* rich, not faint */
  text-align:         center;
  line-height:        1.35;
  padding:            0 4px;
  display:            -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:           hidden;
  transition:         color 300ms;
}

.pfg-pipeline-step.is-active .pfg-pipeline-label {
  color:       #0f172a;
  font-weight: 700;
}

/* Phase detail panel — appears below the pipeline */
.pfg-pipeline-detail {
  margin-top:   22px;
  background:   rgba(255,255,255,0.88);
  border:       1px solid rgba(0,180,200,0.10);
  border-radius: 18px;
  padding:      24px 28px;
  display:      flex;
  align-items:  baseline;
  gap:          20px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow:   0 4px 24px rgba(0,90,120,0.07);
  animation:    pfg-card-in 300ms cubic-bezier(0.22,1,0.36,1) both;
}

.pfg-pipeline-detail-num {
  font-size:      2.6rem;
  font-weight:    900;
  letter-spacing: -0.05em;
  color:          rgba(0,180,200,0.18);
  line-height:    1;
  flex-shrink:    0;
  user-select:    none;
}

.pfg-pipeline-detail-text {
  font-size:   0.90rem;
  line-height: 1.68;
  color:       #334155;            /* rich readable slate — never faint */
  margin:      0;
}

/* ── Pipeline responsive ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .pfg-pipeline-step { min-width: 72px; }
  .pfg-pipeline-node { width: 34px; height: 34px; font-size: 0.70rem; }
  .pfg-pipeline-step::before { top: 17px; }
  .pfg-pipeline-detail { padding: 18px 20px; gap: 14px; }
  .pfg-pipeline-detail-num { font-size: 2rem; }
}

/* ═══ PFG v2 SPEC WIDGETS — high-contrast labels ═══════════════════════ */
.pfg-spec-widget__label { color: #475569; }        /* was var(--pfg-text-lo) = too faint */
.pfg-spec-widget__value { color: #0f172a; }        /* hard-coded deep slate */
.pfg-spec-group-title   { color: #4da6b8; }

/* ═══ PFG v2 SERVICE DOCK — high-contrast labels ═══════════════════════ */
.pfg-dock-item__value  { color: #0f172a; }
.pfg-dock-item__label  { color: #4da6b8; font-weight: 600; }
.pfg-dock-item__detail { color: #475569; }         /* was too faint */

/* ═══ PFG v2 REDUCED MOTION ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .pfg-pipeline-step.is-active .pfg-pipeline-node { transform: none; }
  .pfg-pipeline-detail { animation: none; }
  .viewer-status-bar__dot,
  .viewer-status-bar__signal { animation: none; opacity: 0.55; }
  .pdp-cta-primary.nf-btn:hover,
  .pdp-cta-amber:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PFG v3 — FINAL CONTRAST MASTER
   Root cause: NF2 dark token set (--nf2-text-hi: #e8edf5, --nf2-void:
   #07090f, etc.) was never reclaimed. All var(--nf2-*) usages resolve to
   near-white text / near-black backgrounds on our light page.
   Fix: redefine entire --nf2-* token set to light-page equivalents in a
   final :root block (CSS custom property: last definition wins), then
   add hard-coded !important overrides where !important is already in use.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Step 1: Reclaim every NF2 token ────────────────────────────────── */
:root {
  /* Background tokens — dark void → crisp light canvas */
  --nf2-void:          #f4f7f9;
  --nf2-depth:         #f8fafc;
  --nf2-surface-0:     rgba(255,255,255,0.88);
  --nf2-surface-1:     rgba(255,255,255,0.80);
  --nf2-surface-2:     rgba(255,255,255,0.65);
  --nf2-sheen:         rgba(0,180,200,0.06);

  /* Brand colors — keep cyan/mint, retire amber */
  --nf2-cyan:          #00b4c8;
  --nf2-cyan-dim:      rgba(0,180,200,0.22);
  --nf2-cyan-ghost:    rgba(0,180,200,0.06);
  --nf2-mint:          #3dffc0;
  --nf2-amber:         #4da6b8;  /* redirect to teal — no yellow ever */

  /* TEXT TOKENS — CRITICAL INVERSION (was: ghost white on dark) */
  --nf2-text-hi:       #0f172a;  /* was #e8edf5 — deep slate navy */
  --nf2-text-mid:      #334155;  /* was #7a8aaa — rich legible slate */
  --nf2-text-lo:       #475569;  /* was #3a4a64 — strong secondary */
  --nf2-text-mono:     #4da6b8;  /* was teal mono — keep teal */
}

/* ── Step 2: Catalog hub — beats existing !important by later cascade ── */
.nf-catalog-hub {
  background:  #f8fafc !important;
  border-top:  none    !important;
}

/* H1: "Каталог оборудования" — maximum contrast, proud & corporate */
.nf-catalog-hub__h1 {
  color:          #0f172a           !important;
  font-size:      clamp(1.75rem, 3.6vw, 2.6rem) !important;
  font-weight:    800               !important;
  letter-spacing: -0.035em          !important;
  line-height:    1.12              !important;
}

/* Subtitle: "Выберите клиническое направление" — legible Medical Grey */
.nf-catalog-hub__sub {
  color:       #475569 !important;
  font-size:   1.0rem  !important;
  font-weight: 400     !important;
  line-height: 1.55    !important;
}

/* Grid — four equal columns, tilt-ready perspective */
.nf-catalog-hub__grid {
  display:               grid              !important;
  grid-template-columns: repeat(4, 1fr)   !important;
  gap:                   22px             !important;
  perspective:           1600px;
  perspective-origin:    50% 36%;
}

@media (max-width: 860px) {
  .nf-catalog-hub__grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 520px) {
  .nf-catalog-hub__grid { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* Home cats section — matches catalog canvas */
.nf-home-cats-section {
  background:    #f8fafc          !important;
  border-top:    1px solid rgba(0,180,200,0.07) !important;
  border-bottom: 1px solid rgba(0,180,200,0.07) !important;
}

/* ── Step 3: PFG card — bulletproof contrast, forced over any NF2 ─────── */

/* Card substrate — opacity high enough to block the canvas through */
.pfg-card {
  background:    rgba(255,255,255,0.90) !important;
  border:        1px solid rgba(0,180,200,0.10) !important;
  border-radius: 20px;
  box-shadow:
    0 1px 3px  rgba(0,90,120,0.05),
    0 4px 18px rgba(0,90,120,0.07);
}

.pfg-card:hover,
.pfg-card:focus-visible {
  background:   rgba(255,255,255,0.98) !important;
  border-color: rgba(0,180,200,0.20)   !important;
  box-shadow:
    0 2px 4px  rgba(0,90,120,0.05),
    0 12px 40px rgba(0,90,120,0.11),
    0 0 0 1px rgba(0,180,200,0.12);
}

/* Card title — deep navy, always */
.pfg-card__name {
  color:          #0f172a !important;
  font-size:      1.06rem;
  font-weight:    700;
  letter-spacing: -0.015em;
}

/* Card description — rich visible slate */
.pfg-card__desc {
  color:       #334155 !important;   /* KEY FIX — was resolving to near-white */
  font-size:   0.84rem;
  line-height: 1.60;
}

/* Footer count + CTA — brand teal */
.pfg-card__count { color: #4da6b8 !important; font-weight: 600; }
.pfg-card__cta   { color: #00b4c8 !important; }

/* Ambient hover glow under frosted glass — 8% pastel bloom */
.pfg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 68% 58% at 70% 22%,
    rgba(0,180,200,0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 0;
}
.pfg-card:hover::after { opacity: 1; }

/* ── Step 4: PDP hero — full-width, zero dark tokens ──────────────────── */
.nf-pdp-hero {
  background:    #f4f7f9 !important;
  border-bottom: 1px solid rgba(0,180,200,0.07) !important;
  width:         100%    !important;
  overflow:      hidden  !important;
}

.nf-pdp-hero__inner {
  display:               grid                              !important;
  grid-template-columns: clamp(340px, 36vw, 480px) 1fr    !important;
  min-height:            740px                             !important;
  width:                 100%                             !important;
  max-width:             none                             !important;
  padding:               0                               !important;
  margin:                0                               !important;
}

/* Left glass command center */
.pdp-left {
  display:          flex             !important;
  flex-direction:   column           !important;
  padding:          36px 22px 36px 26px !important;
  background:       rgba(248,250,252,0.55) !important;
  border-right:     1px solid rgba(0,180,200,0.09) !important;
  backdrop-filter:  blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pdp-left__glass {
  position:         relative         !important;
  flex:             1                !important;
  display:          flex             !important;
  flex-direction:   column           !important;
  gap:              16px             !important;
  background:       rgba(255,255,255,0.94) !important;
  border:           1px solid rgba(0,180,200,0.14) !important;
  border-radius:    22px             !important;
  padding:          30px 26px        !important;
  backdrop-filter:  blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow:
    0 0 0 1px rgba(0,180,200,0.04) inset,
    0 8px 32px rgba(0,90,120,0.09),
    0 24px 64px rgba(0,90,120,0.05) !important;
}

/* Teal top-edge trace on the glass card */
.pdp-left__glass::before {
  content: "" !important;
  position: absolute !important;
  top: 0; left: 6%; right: 6%;
  height: 1.5px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,180,200,0.38) 38%,
    rgba(77,166,184,0.22) 68%,
    transparent 100%
  ) !important;
  border-radius: 99px !important;
  pointer-events: none !important;
}

/* ── Step 5: PDP text — hard-coded, immune to any token chain ───────── */
.pdp-breadcrumb__item              { color: #64748b !important; font-family: inherit !important; }
.pdp-breadcrumb__item--current     { color: #4da6b8 !important; font-weight: 600     !important; }
.pdp-breadcrumb__sep               { color: #94a3b8 !important; }

.pdp-kicker {
  color:          #00b4c8    !important;
  font-size:      0.68rem    !important;
  font-weight:    700        !important;
  letter-spacing: 0.12em     !important;
  text-transform: uppercase  !important;
  font-family:    inherit    !important;
}

.pdp-title {
  color:          #0f172a    !important;
  font-weight:    800        !important;
  font-family:    inherit    !important;
  line-height:    1.16       !important;
  letter-spacing: -0.026em   !important;
}

.pdp-shortdesc {
  color:       #334155 !important;
  line-height: 1.68    !important;
  font-family: inherit !important;
}

.pdp-partner-badge__label { color: #334155  !important; font-family: inherit !important; }
.pdp-hero-spec-grid-label { color: #4da6b8  !important; }
.pdp-hero-spec-more       { color: #00b4c8  !important; }
.pdp-meta-line            { color: #475569  !important; font-family: inherit !important; }
.pdp-pricing__price       { color: #0f172a  !important; font-family: inherit !important; font-weight: 800 !important; }
.pdp-trust-line           { color: #475569  !important; font-family: inherit !important; }

/* ── Step 6: PDP section headings and body text ─────────────────────── */
.nf-pdp-section-eyebrow {
  color:          #4da6b8 !important;
  font-weight:    600     !important;
  letter-spacing: 0.08em  !important;
  text-transform: uppercase !important;
  font-size:      0.70rem !important;
}

.nf-pdp-section-title {
  color:       #0f172a !important;
  font-weight: 700     !important;
}

.nf-pdp-prose,
.nf-pdp-prose p,
.nf-pdp-prose li,
.nf-pdp-prose blockquote {
  color: #334155 !important;
}

.nf-pdp-callout { color: #334155 !important; }

/* Install environment cards */
.nf-pdp-install-env-h    { color: #0f172a !important; }
.nf-pdp-install-env-h-icon svg { stroke: #4da6b8 !important; }
.nf-pdp-install-feature__text  { color: #334155 !important; }

/* Phases heading */
.nf-pdp-phases-heading { color: #0f172a !important; font-weight: 700 !important; }

/* Service section */
.nf-pdp-service-v3__intro { color: #334155 !important; }

/* Use-cases */
.nf-pdp-usecase-title { color: #0f172a !important; }
.nf-pdp-usecase-text  { color: #334155 !important; }
.nf-pdp-usecase-num   { color: rgba(0,180,200,0.22) !important; }

/* ── Step 7: Right chamber — force light on any remaining dark tokens ─── */
.pdp-right {
  background: #f4f7f9 !important;
  position:   relative !important;
  overflow:   hidden   !important;
  min-height: 640px    !important;
  display:    flex     !important;
  flex-direction: column !important;
}

/* ── Step 8: CTA buttons — definitive teal, zero amber ───────────────── */
.pdp-cta-primary.nf-btn,
button.pdp-cta-primary {
  background:    linear-gradient(135deg, #4da6b8 0%, #00b4c8 100%) !important;
  color:         #ffffff !important;
  border:        none    !important;
  border-radius: 14px    !important;
  font-weight:   700     !important;
  font-size:     0.88rem !important;
  padding:       14px 22px !important;
  box-shadow:    0 4px 20px rgba(0,180,200,0.28), 0 1px 4px rgba(0,180,200,0.12) !important;
  transition:    box-shadow 280ms, transform 240ms !important;
  font-family:   inherit !important;
}
.pdp-cta-primary.nf-btn:hover { box-shadow: 0 8px 36px rgba(0,180,200,0.38) !important; transform: translateY(-2px) !important; }

.pdp-cta-amber,
button.pdp-cta-amber {
  background:    rgba(77,166,184,0.07) !important;
  color:         #4da6b8 !important;
  border:        1.5px solid rgba(77,166,184,0.24) !important;
  border-radius: 14px !important;
  font-weight:   600  !important;
  font-size:     0.86rem !important;
  padding:       13px 22px !important;
  transition:    background 240ms, border-color 240ms, transform 240ms !important;
  font-family:   inherit !important;
}
.pdp-cta-amber:hover { background: rgba(77,166,184,0.14) !important; border-color: rgba(77,166,184,0.40) !important; transform: translateY(-1px) !important; }

/* ── Step 9: Spec widgets — override any token-based faintness ───────── */
.pfg-spec-widget {
  background: rgba(255,255,255,0.90) !important;
  border:     1px solid rgba(0,180,200,0.10) !important;
}
.pfg-spec-widget__label { color: #475569 !important; }
.pfg-spec-widget__value { color: #0f172a !important; font-weight: 700 !important; }
.pfg-spec-group-title   { color: #4da6b8 !important; }

/* ── Step 10: Service dock — override any token-based faintness ──────── */
.pfg-dock-item {
  background: rgba(255,255,255,0.90) !important;
  border:     1px solid rgba(0,180,200,0.10) !important;
}
.pfg-dock-item__value  { color: #0f172a !important; font-weight: 700 !important; }
.pfg-dock-item__label  { color: #4da6b8 !important; font-weight: 600 !important; }
.pfg-dock-item__detail { color: #475569 !important; }

/* ── Step 11: PDP hero responsive (overrides any previous breakpoints) ── */
@media (max-width: 1120px) {
  .nf-pdp-hero__inner {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .pdp-left {
    padding: 22px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,180,200,0.08) !important;
  }
  .pdp-right { min-height: 480px !important; }
}

@media (max-width: 640px) {
  .pdp-left       { padding: 12px 8px !important; }
  .pdp-left__glass {
    padding:       20px 16px !important;
    border-radius: 16px !important;
    gap:           12px !important;
  }
  .pdp-title      { font-size: clamp(1.2rem, 6.5vw, 1.7rem) !important; }
  .pdp-right      { min-height: 340px !important; }
  .viewer-corner  { display: none !important; }
  .viewer-status-bar__item--id { display: none !important; }
  .pdp-cta-primary.nf-btn,
  button.pdp-cta-primary,
  .pdp-cta-amber,
  button.pdp-cta-amber { padding: 12px 16px !important; font-size: 0.83rem !important; }
}

/* ── Step 12: Final reduced-motion guard ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pfg-card:hover    { transform: none !important; }
  .pfg-card          { animation: none !important; }
  .pfg-pipeline-step.is-active .pfg-pipeline-node { transform: none !important; }
  .pfg-pipeline-detail { animation: none !important; }
  .pdp-cta-primary.nf-btn:hover,
  .pdp-cta-amber:hover { transform: none !important; }
  .viewer-status-bar__dot,
  .viewer-status-bar__signal { animation: none !important; opacity: 0.5 !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MATRIX COMMAND GRID  ·  CONCEPT 3 PDP LAYOUT
   Append-only block — all rules defined last win the cascade
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  --mx-border:       rgba(0, 180, 200, 0.10);
  --mx-border-hi:    rgba(0, 180, 200, 0.18);
  --mx-bg-ctrl:      rgba(248, 250, 252, 0.55);
  --mx-bg-glass:     rgba(255, 255, 255, 0.94);
  --mx-bg-canvas:    #f2f5f8;
  --mx-bg-tel:       rgba(255, 255, 255, 0.92);
  --mx-text-hi:      #0f172a;
  --mx-text-mid:     #334155;
  --mx-text-lo:      #64748b;
  --mx-accent:       #00b4c8;
  --mx-accent-pale:  rgba(0, 180, 200, 0.07);
  --mx-radius:       20px;
}

/* ── Grid container ──────────────────────────────────────────────────── */
.nf-pdp-hero { background: var(--mx-bg-canvas) !important; padding: 0 !important; }

.matrix-grid {
  display: grid;
  grid-template-columns: 3fr 5fr 4fr;
  min-height: 720px;
  width: 100%;
  max-width: none !important;
  align-items: stretch;
}

/* ── Column A · Control Panel ────────────────────────────────────────── */
.matrix-col--control {
  padding: 32px 20px 28px;
  background: var(--mx-bg-ctrl);
  border-right: 1px solid var(--mx-border);
  display: flex;
  flex-direction: column;
}

.matrix-glass-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--mx-bg-glass);
  border: 1px solid var(--mx-border-hi);
  border-radius: var(--mx-radius);
  padding: 28px 24px 24px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Breadcrumb */
.matrix-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--mx-text-lo) !important;
}
.matrix-breadcrumb__home { color: var(--mx-accent) !important; font-weight: 600; }
.matrix-breadcrumb__sep  { color: var(--mx-border-hi); }
.matrix-breadcrumb__cat  { color: var(--mx-text-lo) !important; }

/* Partner badge */
.matrix-partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--mx-accent-pale);
  border: 1px solid var(--mx-border);
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
}
.matrix-partner-logo { height: 22px; width: auto; max-width: 120px; object-fit: contain; }

/* Kicker */
.matrix-kicker {
  font-size: 0.69rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  color: var(--mx-accent) !important;
  text-transform: uppercase;
  margin: 0;
}

/* Title */
.matrix-title {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: var(--mx-text-hi) !important;
  line-height: 1.22 !important;
  margin: 0 !important;
}

/* Short description */
.matrix-shortdesc {
  font-size: 0.90rem !important;
  color: var(--mx-text-mid) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Badges */
.matrix-badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* Brand / SKU meta */
.matrix-meta,
.matrix-sku {
  font-size: 0.75rem !important;
  color: var(--mx-text-lo) !important;
  margin: 0 !important;
}

/* Hero spec grid */
.matrix-hero-spec-grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* Price */
.matrix-price-row {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--mx-border);
}
.matrix-price {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--mx-text-hi) !important;
}

/* CTAs */
.matrix-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.matrix-cta-primary  { flex: 1 1 auto; min-width: 130px; }
.matrix-cta-secondary { flex: 0 1 auto; }

/* ── Column B · Canvas ───────────────────────────────────────────────── */
.matrix-col--canvas {
  position: relative;
  background: var(--mx-bg-canvas);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Calibration grid (decorative dot matrix) */
.matrix-calibration-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 130, 150, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 130, 150, 0.032) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow */
.matrix-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* Corner brackets */
.matrix-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
}
.matrix-corner--tl { top: 16px; left: 16px; border-top: 2px solid var(--mx-accent); border-left: 2px solid var(--mx-accent); }
.matrix-corner--tr { top: 16px; right: 16px; border-top: 2px solid var(--mx-accent); border-right: 2px solid var(--mx-accent); }
.matrix-corner--bl { bottom: 44px; left: 16px; border-bottom: 2px solid var(--mx-accent); border-left: 2px solid var(--mx-accent); }
.matrix-corner--br { bottom: 44px; right: 16px; border-bottom: 2px solid var(--mx-accent); border-right: 2px solid var(--mx-accent); }

/* Gallery */
.matrix-gallery {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.matrix-media-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 12px;
  position: relative;
}
.matrix-imgwrap {
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}
.matrix-main-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  cursor: zoom-in;
}

/* Gallery nav */
.matrix-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--mx-border-hi);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mx-text-mid);
  transition: background 180ms, box-shadow 180ms;
}
.matrix-nav:hover { background: #fff; box-shadow: 0 2px 12px rgba(0,180,200,0.18); }
.matrix-nav--prev { left: 8px; }
.matrix-nav--next { right: 8px; }

/* Expand button */
.matrix-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--mx-border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mx-text-lo);
  transition: background 150ms;
}
.matrix-expand:hover { background: #fff; }

/* Counter */
.matrix-counter {
  position: absolute;
  bottom: 56px;
  right: 12px;
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--mx-text-lo);
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--mx-border);
  border-radius: 6px;
  padding: 2px 7px;
  z-index: 10;
}

/* Thumbnails */
.matrix-thumbs {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 8px 16px 10px;
}
.matrix-thumbs .nf-pdp-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid var(--mx-border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 150ms;
  background: var(--mx-bg-glass);
  padding: 0;
}
.matrix-thumbs .nf-pdp-thumb img  { width: 100%; height: 100%; object-fit: cover; }
.matrix-thumbs .nf-pdp-thumb--active { border-color: var(--mx-accent); }
.matrix-thumbs .nf-pdp-thumb:hover   { border-color: var(--mx-accent); }

/* Canvas footer – product code bar */
.matrix-canvas-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  height: 32px;
  background: rgba(242, 245, 248, 0.80);
  border-top: 1px solid var(--mx-border);
  z-index: 2;
}
.matrix-product-code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.68rem;
  color: var(--mx-text-lo);
  letter-spacing: 0.04em;
}

/* ── Column C · Telemetry ─────────────────────────────────────────────── */
.matrix-col--telemetry {
  border-left: 1px solid var(--mx-border);
  background: var(--mx-bg-tel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.matrix-telemetry-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Telemetry header */
.matrix-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--mx-border);
  flex-shrink: 0;
}
.matrix-telemetry-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--mx-text-lo);
}
.matrix-telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mx-accent);
  box-shadow: 0 0 6px currentColor;
  animation: mx-dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes mx-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* Datum list */
.matrix-datum-list {
  flex: 1;
  overflow-y: auto;
}

/* Datum cell */
.matrix-datum-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--mx-border);
  transition: background 140ms;
}
.matrix-datum-cell:hover { background: var(--mx-accent-pale); }

.matrix-datum-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--mx-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.matrix-datum-icon svg { width: 100%; height: 100%; }

.matrix-datum-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mx-text-lo);
  flex-shrink: 0;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matrix-datum-connector {
  flex: 1;
  height: 0;
  border-bottom: 1px dotted rgba(0, 180, 200, 0.20);
  min-width: 8px;
}

.matrix-datum-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mx-text-hi);
  flex-shrink: 0;
  text-align: right;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Engineering accordion */
.matrix-engineering-accordion {
  border-top: 1px solid var(--mx-border);
  flex-shrink: 0;
}
.matrix-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mx-text-mid);
  text-align: left;
  transition: background 140ms;
}
.matrix-accordion-trigger:hover { background: var(--mx-accent-pale); }
.matrix-accordion-label { flex: 1; }
.matrix-accordion-chevron {
  flex-shrink: 0;
  color: var(--mx-accent);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.matrix-accordion-body {
  padding: 4px 0 8px;
  background: rgba(248, 250, 252, 0.60);
}
.matrix-accordion-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 20px;
  font-size: 0.79rem;
  color: var(--mx-text-mid);
  border-bottom: 1px solid var(--mx-border);
}
.matrix-accordion-row:last-child { border-bottom: none; }
.matrix-accordion-row-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--mx-accent);
  margin-top: 1px;
}
.matrix-accordion-row-icon svg { width: 100%; height: 100%; }
.matrix-accordion-row-text { line-height: 1.45; color: var(--mx-text-mid); }

/* ── Service Bar ──────────────────────────────────────────────────────── */
.matrix-service-bar {
  display: flex;
  align-items: center;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid var(--mx-border-hi);
  position: sticky;
  bottom: 0;
  z-index: 50;
  padding: 0 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.05);
}
.matrix-service-sep {
  width: 1px;
  height: 36px;
  background: var(--mx-border-hi);
  flex-shrink: 0;
}
.matrix-service-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 0 12px;
  min-width: 0;
}
.matrix-service-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--mx-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.matrix-service-icon svg { width: 100%; height: 100%; }
.matrix-service-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.matrix-service-value {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: var(--mx-text-hi) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.matrix-service-label {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  color: var(--mx-accent) !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  white-space: nowrap;
}
.matrix-service-detail {
  font-size: 0.60rem !important;
  color: var(--mx-text-lo) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

/* 1200px: narrow the control column */
@media (max-width: 1200px) {
  .matrix-grid { grid-template-columns: 2.5fr 5fr 3.5fr; }
  .matrix-service-metric { padding: 0 8px; gap: 8px; }
  .matrix-service-detail { display: none; }
}

/* 960px: drop to 2 columns — control + canvas; telemetry moves below */
@media (max-width: 960px) {
  .matrix-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .matrix-col--control  { grid-column: 1; grid-row: 1; }
  .matrix-col--canvas   { grid-column: 2; grid-row: 1; min-height: 480px; }
  .matrix-col--telemetry {
    grid-column: 1 / -1;
    grid-row: 2;
    border-left: none;
    border-top: 1px solid var(--mx-border);
    max-height: 260px;
    overflow: hidden;
  }
  .matrix-datum-list {
    display: flex;
    flex-wrap: wrap;
  }
  .matrix-datum-cell {
    width: 50%;
    height: 48px;
    border-right: 1px solid var(--mx-border);
  }
  .matrix-datum-cell:nth-child(even) { border-right: none; }
  .matrix-telemetry-panel { flex-direction: row; flex-wrap: wrap; overflow: hidden; }
  .matrix-telemetry-header { width: 100%; }
  .matrix-engineering-accordion { width: 100%; }
}

/* 720px: single column stack */
@media (max-width: 720px) {
  .matrix-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .matrix-col--control  { grid-column: 1; grid-row: 1; border-right: none; border-bottom: 1px solid var(--mx-border); }
  .matrix-col--canvas   { grid-column: 1; grid-row: 2; min-height: 360px; }
  .matrix-col--telemetry { grid-column: 1; grid-row: 3; max-height: none; overflow: visible; }
  .matrix-glass-panel   { border-radius: 14px; padding: 20px 16px; }
  .matrix-datum-cell    { width: 100%; border-right: none; }
  .matrix-telemetry-panel { flex-direction: column; }
  .matrix-service-bar   { height: auto; min-height: 56px; flex-wrap: wrap; padding: 8px 12px; }
  .matrix-service-metric { flex: 0 1 calc(50% - 1px); padding: 6px 8px; }
  .matrix-service-sep   { display: none; }
  .matrix-service-value { font-size: 0.82rem !important; }
  .matrix-service-label { font-size: 0.58rem !important; }
}

/* ── Reduced-motion guard ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .matrix-telemetry-dot { animation: none !important; }
  .matrix-accordion-chevron { transition: none !important; }
  .matrix-nav:hover, .matrix-expand:hover { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   NEXUS DESIGN SYSTEM  ·  Complete component library
   Covers: catalog hub, catalog product cards, home feature section
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Shared tokens ───────────────────────────────────────────────────── */
:root {
  --nx-radius-card:    16px;
  --nx-radius-chip:    6px;
  --nx-shadow-rest:    0 2px 10px rgba(15,23,42,0.07), 0 1px 3px rgba(15,23,42,0.04);
  --nx-shadow-hover:   0 18px 44px rgba(15,23,42,0.13), 0 4px 14px rgba(0,180,200,0.07);
  --nx-border-subtle:  rgba(0,180,200,0.10);
  --nx-border-mid:     rgba(0,180,200,0.18);
  --nx-bg-card:        #ffffff;
  --nx-bg-chip:        #f1f5f9;
  --nx-text-hi:        #0f172a;
  --nx-text-mid:       #334155;
  --nx-text-lo:        #64748b;
  --nx-accent-default: #00b4c8;
}

/* ══════════════════════════════════════════════════════
   1. NEXUS CATALOG HUB  —  nx-hub-grid / nx-hub-card
   ══════════════════════════════════════════════════════ */

/* Hub background */
.nf-catalog-hub {
  background: #f8fafc !important;
  padding-top: 0 !important;
  border-top: none !important;
}
.nf-catalog-hub__container { padding-top: 52px !important; padding-bottom: 40px !important; }

.nx-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 4px 2px;
}

.nx-hub-card {
  position: relative;
  background: var(--nx-bg-card);
  border: 1px solid var(--nx-border-subtle);
  border-radius: var(--nx-radius-card);
  padding: 26px 22px 20px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 172px;
  box-shadow: var(--nx-shadow-rest);
  transition: transform 300ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 300ms,
              border-color 260ms;
}
.nx-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nx-shadow-hover);
  border-color: var(--nx-border-mid);
}
.nx-hub-card:focus-visible { outline: 2px solid var(--nx-accent, var(--nx-accent-default)); outline-offset: 3px; }

/* Top gradient bar */
.nx-hub-card__accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nx-accent, var(--nx-accent-default)) 0%, transparent 100%);
  border-radius: var(--nx-radius-card) var(--nx-radius-card) 0 0;
  opacity: 0.55;
  transition: opacity 250ms;
}
.nx-hub-card:hover .nx-hub-card__accent-bar { opacity: 1; }

/* Ordinal number (decorative watermark) */
.nx-hub-card__num {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--nx-accent, var(--nx-accent-default));
  opacity: 0.14;
  flex-shrink: 0;
  transition: opacity 250ms;
  user-select: none;
}
.nx-hub-card:hover .nx-hub-card__num { opacity: 0.25; }

/* Category name */
.nx-hub-card__name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--nx-text-hi) !important;
  line-height: 1.28 !important;
  margin: 0 !important;
}

/* Description */
.nx-hub-card__desc {
  font-size: 0.80rem !important;
  color: var(--nx-text-lo) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer */
.nx-hub-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--nx-border-subtle);
}
.nx-hub-card__count {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: var(--nx-text-lo) !important;
}
.nx-hub-card__arrow {
  color: var(--nx-accent, var(--nx-accent-default));
  display: flex;
  align-items: center;
  transition: transform 220ms cubic-bezier(0.22,1,0.36,1);
}
.nx-hub-card:hover .nx-hub-card__arrow { transform: translateX(5px); }

/* ══════════════════════════════════════════════════════
   2. NEXUS CATALOG PRODUCT CARD  —  nx-card
   ══════════════════════════════════════════════════════ */

.nx-card {
  background: var(--nx-bg-card);
  border-radius: var(--nx-radius-card);
  border: 1px solid var(--nx-border-subtle);
  box-shadow: var(--nx-shadow-rest);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1), box-shadow 280ms, border-color 250ms;
}
.nx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-hover);
  border-color: var(--nx-border-mid);
}
.nx-card:focus-visible { outline: 2px solid var(--nx-accent, var(--nx-accent-default)); outline-offset: 2px; }

/* Left accent strip — appears on hover */
.nx-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--nx-accent, var(--nx-accent-default));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 240ms;
}
.nx-card:hover::before { opacity: 1; }

/* Media / image area */
.nx-card__media {
  position: relative;
  height: 196px;
  overflow: hidden;
  background: #f4f7f9;
  flex-shrink: 0;
}
.nx-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 360ms cubic-bezier(0.22,1,0.36,1);
  display: block;
}
.nx-card:hover .nx-card__img { transform: scale(1.05); }

/* Category tag — floating top-left */
.nx-card__cat-tag {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nx-accent, var(--nx-accent-default));
  background: rgba(255,255,255,0.93);
  border: 1px solid rgba(0,180,200,0.22);
  border-radius: var(--nx-radius-chip);
  padding: 3px 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Popular badge — floating bottom-right */
.nx-card__hot-badge {
  position: absolute;
  bottom: 9px;
  right: 9px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: var(--nx-accent, var(--nx-accent-default));
  border-radius: var(--nx-radius-chip);
  padding: 3px 8px;
  letter-spacing: 0.03em;
}

/* Body */
.nx-card__body {
  padding: 14px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.nx-card__partner {
  font-size: 0.67rem !important;
  font-weight: 700 !important;
  color: var(--nx-text-lo) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 !important;
}
.nx-card__title {
  font-size: 0.91rem !important;
  font-weight: 700 !important;
  color: var(--nx-text-hi) !important;
  line-height: 1.36 !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 180ms;
}
.nx-card:hover .nx-card__title { color: var(--nx-accent, var(--nx-accent-default)) !important; }

/* Spec chips row */
.nx-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nx-card__spec-chip {
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--nx-text-mid);
  background: var(--nx-bg-chip);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 140px;
  text-overflow: ellipsis;
}

/* Footer */
.nx-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--nx-border-subtle);
  flex-shrink: 0;
}
.nx-card__price {
  font-size: 1.0rem !important;
  font-weight: 800 !important;
  color: var(--nx-text-hi) !important;
  white-space: nowrap;
}
.nx-card__price--muted { color: var(--nx-text-lo) !important; font-size: 0.83rem !important; font-weight: 600 !important; }
.nx-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nx-card__btn-primary {
  height: 32px;
  padding: 0 12px;
  background: var(--nx-accent, var(--nx-accent-default));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms, transform 150ms;
}
.nx-card__btn-primary:hover { background: #0096a8; transform: scale(1.02); }
.nx-card__btn-ghost {
  height: 32px;
  padding: 0 10px;
  background: transparent;
  color: var(--nx-text-lo);
  border: 1px solid var(--nx-border-mid);
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 150ms, color 150ms;
}
.nx-card__btn-ghost:hover {
  border-color: var(--nx-accent, var(--nx-accent-default));
  color: var(--nx-accent, var(--nx-accent-default));
}

/* ── Keep catalog grid compatible with nx-card ── */
.nf-products-grid.nf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}

/* ══════════════════════════════════════════════════════
   3. NEXUS HOME FEATURE CARDS  —  nx-features-grid
   ══════════════════════════════════════════════════════ */

.nx-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nx-feature-card {
  position: relative;
  background: linear-gradient(140deg, #0f172a 0%, #1a2744 50%, #0f2038 100%);
  border-radius: 20px;
  padding: 32px 28px 24px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 270px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(15,23,42,0.18);
  transition: transform 300ms cubic-bezier(0.22,1,0.36,1), box-shadow 300ms;
}
/* Radial accent glow */
.nx-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 75%, var(--nx-accent, var(--nx-accent-default)) 0%, transparent 55%);
  opacity: 0.10;
  transition: opacity 300ms;
  pointer-events: none;
}
/* Top accent line */
.nx-feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nx-accent, var(--nx-accent-default)), transparent 70%);
  border-radius: 20px 20px 0 0;
}
.nx-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(15,23,42,0.28), 0 0 0 1px rgba(0,180,200,0.20);
}
.nx-feature-card:hover::before { opacity: 0.18; }
.nx-feature-card:focus-visible { outline: 2px solid var(--nx-accent, var(--nx-accent-default)); outline-offset: 3px; }

/* Watermark ordinal */
.nx-feature-card__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--nx-accent, var(--nx-accent-default));
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  transition: opacity 300ms;
}
.nx-feature-card:hover .nx-feature-card__num { opacity: 0.13; }

/* Tag label */
.nx-feature-card__tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-accent, var(--nx-accent-default));
  opacity: 0.85;
}

/* Title */
.nx-feature-card__title {
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  color: #f1f5f9 !important;
  line-height: 1.24 !important;
  margin: 0 !important;
}

/* Description */
.nx-feature-card__desc {
  font-size: 0.82rem !important;
  color: rgba(226,232,240,0.68) !important;
  line-height: 1.62 !important;
  margin: 0 !important;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.nx-feature-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nx-feature-card__count {
  font-size: 0.73rem !important;
  font-weight: 600 !important;
  color: rgba(226,232,240,0.50) !important;
}
.nx-feature-card__cta {
  font-size: 0.79rem !important;
  font-weight: 700 !important;
  color: var(--nx-accent, var(--nx-accent-default)) !important;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 200ms;
}
.nx-feature-card:hover .nx-feature-card__cta { gap: 10px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nx-hub-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
  .nx-features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nx-features-grid { grid-template-columns: 1fr; }
  .nx-feature-card  { min-height: 220px; padding: 24px 22px 20px; }
  .nx-feature-card__num { font-size: 4rem; }
  .nx-hub-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nx-hub-card { min-height: 140px; padding: 20px 18px 16px; }
  .nx-hub-card__num { font-size: 2rem; }
  .nf-products-grid.nf-catalog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
}

@media (max-width: 480px) {
  .nx-hub-grid { grid-template-columns: 1fr; }
  .nx-features-grid { gap: 12px; }
  .nx-card__media { height: 160px; }
  .nx-card__btn-ghost { display: none; }
}

/* ── Reduced-motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nx-hub-card,
  .nx-card,
  .nx-feature-card  { transition: none !important; transform: none !important; }
  .nx-card__img     { transition: none !important; }
  .nx-hub-card__arrow { transition: none !important; }
  .nx-feature-card__cta { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRISM  ·  PDP inner sections: specs, install, service, related
   Append-only — all rules declared last, cascade wins guaranteed
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section-header enhancement ──────────────────────────────────────── */
.nf-pdp-section-eyebrow {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #00b4c8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}
.nf-pdp-section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: #00b4c8;
  flex-shrink: 0;
  border-radius: 2px;
}
.nf-pdp-section-title {
  font-size: clamp(1.45rem, 2.4vw, 2.0rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.20 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 4px !important;
}

/* ══════════════════════════════════════════════════════
   1. PRISM SPEC CARDS  —  prism-stat-grid
   ══════════════════════════════════════════════════════ */

.prism-spec-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.prism-spec-group:last-child { margin-bottom: 0; }

.prism-spec-group__eyebrow {
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  color: #00b4c8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}
.prism-spec-group__eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #00b4c8;
  flex-shrink: 0;
  border-radius: 2px;
}

.prism-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

/* Stat card */
.prism-stat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 180, 200, 0.10);
  border-radius: 14px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: box-shadow 240ms, transform 240ms, border-color 240ms;
  cursor: default;
}
.prism-stat-card:hover {
  box-shadow: 0 8px 28px rgba(0, 180, 200, 0.10), 0 2px 8px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
  border-color: rgba(0, 180, 200, 0.22);
}
/* Bottom teal accent line */
.prism-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b4c8 0%, rgba(0,180,200,0.15) 100%);
  border-radius: 0 0 14px 14px;
}

/* Top row: icon + label */
.prism-stat-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prism-stat-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 180, 200, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00b4c8;
  padding: 7px;
}
.prism-stat-card__icon svg { width: 100%; height: 100%; }
.prism-stat-card__label {
  font-size: 0.69rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* Large value */
.prism-stat-card__value {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.30 !important;
  margin: 0 !important;
  padding-bottom: 4px;
}

/* ══════════════════════════════════════════════════════
   2. INSTALLATION SECTION  —  enhanced existing classes
   ══════════════════════════════════════════════════════ */

/* Section background */
.nf-pdp-section--install {
  background: #f8fafc !important;
  border-radius: 24px !important;
  margin: 0 !important;
  padding: 56px 0 !important;
}

/* Env cards */
.nf-pdp-install-env {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.nf-pdp-install-env-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 180, 200, 0.12) !important;
  border-radius: 18px !important;
  padding: 24px 22px !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05) !important;
  transition: box-shadow 240ms !important;
}
.nf-pdp-install-env-card:hover {
  box-shadow: 0 6px 24px rgba(0, 180, 200, 0.10) !important;
}

.nf-pdp-install-env-h {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(0, 180, 200, 0.10) !important;
  margin: 0 0 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
/* Accent dot before card title */
.nf-pdp-install-env-h::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b4c8;
  flex-shrink: 0;
}
.nf-pdp-install-env-h-icon { display: none !important; } /* hide JS-injected icon, using ::before instead */

/* Feature list items */
.nf-pdp-install-feature {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(0, 180, 200, 0.06) !important;
  list-style: none !important;
}
.nf-pdp-install-feature:last-child { border-bottom: none !important; }
.nf-pdp-install-feature__mark {
  color: #00b4c8 !important;
  flex-shrink: 0 !important;
  margin-top: 1px;
  width: 16px !important;
  height: 16px !important;
}
.nf-pdp-install-feature__mark svg { width: 100% !important; height: 100% !important; }
.nf-pdp-install-feature__text {
  font-size: 0.83rem !important;
  color: #334155 !important;
  line-height: 1.50 !important;
}

/* Pipeline track */
.nf-pdp-phases-heading {
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  color: #00b4c8 !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nf-pdp-phases-heading::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #00b4c8;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Pipeline step nodes */
.pfg-pipeline-step .pfg-pipeline-node {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border-width: 2px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  transition: background 220ms, border-color 220ms, box-shadow 220ms !important;
}
.pfg-pipeline-step.is-active .pfg-pipeline-node {
  background: #00b4c8 !important;
  border-color: #00b4c8 !important;
  color: #fff !important;
  box-shadow: 0 0 0 5px rgba(0, 180, 200, 0.18), 0 4px 16px rgba(0, 180, 200, 0.28) !important;
}
.pfg-pipeline-step.is-passed .pfg-pipeline-node {
  background: rgba(0, 180, 200, 0.10) !important;
  border-color: rgba(0, 180, 200, 0.30) !important;
  color: #00b4c8 !important;
}
.pfg-pipeline-step .pfg-pipeline-label {
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  max-width: 90px !important;
  text-align: center !important;
  line-height: 1.35 !important;
}
.pfg-pipeline-step.is-active .pfg-pipeline-label { color: #0f172a !important; font-weight: 700 !important; }

/* Phase detail card */
.pfg-pipeline-detail {
  background: #ffffff !important;
  border: 1px solid rgba(0, 180, 200, 0.14) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  box-shadow: 0 4px 18px rgba(0, 180, 200, 0.07) !important;
  margin-top: 24px !important;
}
.pfg-pipeline-detail-num {
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  color: #00b4c8 !important;
  opacity: 0.25 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.03em !important;
}
.pfg-pipeline-detail-text {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.50 !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════
   3. SERVICE SECTION  —  enhanced nf-pdp-service-v3
   ══════════════════════════════════════════════════════ */

.nf-pdp-service-v3 {
  background: #ffffff !important;
  border-radius: 24px !important;
}
.nf-pdp-service-v3__inner {
  max-width: 960px !important;
  padding: 52px 40px !important;
}
.nf-pdp-service-v3__hd {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}
.nf-pdp-service-v3__intro {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
  max-width: 600px !important;
}

/* Service feature list */
.nf-pdp-service-v3__list {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  border-top: 1px solid rgba(0, 180, 200, 0.08) !important;
}
.nf-pdp-service-v3__list li,
.nf-pdp-service-v3__list .nf-pdp-service-v3__item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid rgba(0, 180, 200, 0.08) !important;
  font-size: 0.86rem !important;
  color: #334155 !important;
  font-weight: 500 !important;
}
.nf-pdp-service-v3__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b4c8;
  flex-shrink: 0;
}

/* CTA buttons */
.nf-pdp-service-v3__ctas {
  display: flex !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

/* ══════════════════════════════════════════════════════
   4. RELATED PRODUCTS  —  prism-rel-card
   ══════════════════════════════════════════════════════ */

/* Override the track layout for prism cards */
.nf-pdp-related-track:has(.prism-rel-card) {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prism-rel-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(0, 180, 200, 0.10);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 250ms, transform 250ms, border-color 250ms;
  position: relative;
  min-height: 120px;
}
.prism-rel-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--prism-accent, #00b4c8);
  opacity: 0;
  transition: opacity 220ms;
  border-radius: 3px 0 0 3px;
}
.prism-rel-card:hover {
  box-shadow: 0 10px 32px rgba(0, 180, 200, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
  border-color: rgba(0, 180, 200, 0.22);
}
.prism-rel-card:hover::before { opacity: 1; }
.prism-rel-card:focus-visible { outline: 2px solid #00b4c8; outline-offset: 2px; }

/* Image column */
.prism-rel-card__img {
  width: 140px;
  flex-shrink: 0;
  background: #f4f7f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prism-rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1);
}
.prism-rel-card:hover .prism-rel-card__img img { transform: scale(1.06); }

/* Content column */
.prism-rel-card__body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}
.prism-rel-card__eyebrow {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--prism-accent, #00b4c8) !important;
  margin: 0 !important;
}
.prism-rel-card__name {
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.30 !important;
  margin: 2px 0 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prism-rel-card__meta {
  font-size: 0.74rem !important;
  color: #64748b !important;
  margin: 0 !important;
}
.prism-rel-card__price {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 4px 0 0 !important;
}
.prism-rel-card__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: var(--prism-accent, #00b4c8) !important;
  margin-top: 6px !important;
  transition: gap 180ms !important;
}
.prism-rel-card:hover .prism-rel-card__cta { gap: 8px !important; }

/* ── Description section ──────────────────────────────────────────────── */
.nf-pdp-prose-p {
  font-size: 0.93rem !important;
  color: #334155 !important;
  line-height: 1.72 !important;
}
/* Callout blockquote */
.nf-pdp-desc-callout {
  border-left: 3px solid #00b4c8 !important;
  background: rgba(0, 180, 200, 0.04) !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 14px 18px !important;
  font-size: 0.90rem !important;
  font-style: italic !important;
  color: #334155 !important;
  line-height: 1.60 !important;
  margin: 0 !important;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nf-pdp-install-env { grid-template-columns: 1fr; }
  .prism-stat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .nf-pdp-service-v3__list { grid-template-columns: 1fr; }
  .nf-pdp-service-v3__inner { padding: 36px 24px !important; }
  .nf-pdp-service-v3__hd { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .prism-rel-card__img { width: 100px; }
  .prism-stat-grid { grid-template-columns: 1fr 1fr; }
  .pfg-pipeline-step .pfg-pipeline-node { width: 36px !important; height: 36px !important; }
  .nf-pdp-service-v3__ctas { flex-wrap: wrap; }
}

/* ── Reduced-motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .prism-stat-card,
  .prism-rel-card  { transition: none !important; transform: none !important; }
  .prism-rel-card__img img { transition: none !important; }
  .prism-rel-card__cta { transition: none !important; }
  .pfg-pipeline-step .pfg-pipeline-node { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   APEX — Complete structural reconstruction of PDP sections
   • Spec stat cards        .apex-stat-grid / .apex-stat-card
   • Engineering table      .apex-eng-table / .apex-eng-row
   • Install timeline       .apex-timeline / .apex-timeline-step
   • Service tiles          .apex-service-grid / .apex-service-tile
   • Trust strip            .apex-trust-strip / .apex-trust-item
   • Related portrait cards .apex-rel-card
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Shared APEX tokens ─── */
:root {
  --apex-teal:        #00b4c8;
  --apex-teal-dim:    rgba(0, 180, 200, 0.12);
  --apex-teal-glow:   rgba(0, 180, 200, 0.22);
  --apex-ink:         #0f172a;
  --apex-muted:       #64748b;
  --apex-surface:     #ffffff;
  --apex-bg:          #f8fafc;
  --apex-border:      rgba(0, 180, 200, 0.10);
  --apex-radius-card: 16px;
  --apex-radius-sm:   10px;
  --apex-accent:      var(--apex-teal);
}

/* ════════════════════════════════════════════════════
   1. SPEC GRID — stat cards + engineering table
   ════════════════════════════════════════════════════ */

.apex-specs-block {
  margin-bottom: 32px;
}
.apex-specs-block:last-child {
  margin-bottom: 0;
}

.apex-block-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-teal);
  margin-bottom: 14px;
}

/* Primary stat cards grid */
.apex-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.apex-stat-card {
  position: relative;
  background: var(--apex-surface);
  border-radius: var(--apex-radius-card);
  border: 1px solid var(--apex-border);
  padding: 22px 18px 18px;
  min-height: 128px;
  overflow: hidden;
  transition: box-shadow 240ms, transform 240ms;
}

/* Left accent bar */
.apex-stat-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--apex-teal);
  opacity: 0.9;
}

.apex-stat-card:hover {
  box-shadow: 0 6px 28px rgba(0, 180, 200, 0.11);
  transform: translateY(-2px);
}

.apex-stat-card__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apex-muted);
  margin-bottom: 8px;
}

.apex-stat-card__value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--apex-ink);
  line-height: 1.2;
  word-break: break-word;
}

/* Floating icon — bottom-right */
.apex-stat-card__icon {
  position: absolute;
  bottom: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--apex-teal-dim);
  color: var(--apex-teal);
  flex-shrink: 0;
}

.apex-stat-card__icon svg {
  width: 15px;
  height: 15px;
}

/* Engineering table */
.apex-eng-table {
  background: var(--apex-surface);
  border-radius: var(--apex-radius-card);
  border: 1px solid var(--apex-border);
  overflow: hidden;
}

.apex-eng-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(0, 180, 200, 0.06);
  transition: background 180ms;
}

.apex-eng-row:last-child {
  border-bottom: none;
}

.apex-eng-row:hover {
  background: var(--apex-bg);
}

.apex-eng-row__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--apex-teal-dim);
  color: var(--apex-teal);
  flex-shrink: 0;
}

.apex-eng-row__icon svg {
  width: 13px;
  height: 13px;
}

.apex-eng-row__label {
  font-size: 0.82rem;
  color: var(--apex-muted);
  flex-shrink: 0;
  max-width: 45%;
  line-height: 1.35;
}

.apex-eng-row__dot {
  flex: 1;
  height: 0;
  border-bottom: 1px dotted rgba(0, 180, 200, 0.22);
  min-width: 12px;
}

.apex-eng-row__value {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--apex-ink);
  text-align: right;
  flex-shrink: 0;
  max-width: 45%;
}

/* ════════════════════════════════════════════════════
   2. INSTALL TIMELINE — vertical numbered steps
   ════════════════════════════════════════════════════ */

.apex-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 0;
}

/* Connecting vertical line */
.apex-timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, #00b4c8 0%, rgba(0, 180, 200, 0.08) 100%);
  border-radius: 2px;
  pointer-events: none;
}

.apex-timeline-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background 180ms;
  outline: none;
}

.apex-timeline-step:hover {
  background: var(--apex-bg);
}

.apex-timeline-step:focus-visible {
  box-shadow: 0 0 0 2px var(--apex-teal);
}

/* Number bubble */
.apex-timeline-step__num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--apex-surface);
  border: 2px solid rgba(0, 180, 200, 0.20);
  color: var(--apex-muted);
  z-index: 1;
  transition: background 240ms, color 240ms, border-color 240ms, box-shadow 240ms;
}

.apex-timeline-step.is-active .apex-timeline-step__num {
  background: var(--apex-teal);
  border-color: var(--apex-teal);
  color: #fff;
  box-shadow: 0 0 0 5px var(--apex-teal-glow);
}

.apex-timeline-step.is-passed .apex-timeline-step__num {
  background: var(--apex-teal-dim);
  border-color: var(--apex-teal);
  color: var(--apex-teal);
}

/* Step content */
.apex-timeline-step__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
}

.apex-timeline-step__label {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--apex-muted);
  transition: color 200ms, font-weight 200ms;
}

.apex-timeline-step.is-active .apex-timeline-step__label {
  color: var(--apex-ink);
  font-weight: 700;
}

.apex-timeline-step__arrow {
  color: transparent;
  transition: color 200ms;
  flex-shrink: 0;
}

.apex-timeline-step.is-active .apex-timeline-step__arrow {
  color: var(--apex-teal);
}

/* Detail panel below the timeline */
.apex-timeline-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--apex-teal-dim);
  border-left: 3px solid var(--apex-teal);
  border-radius: 0 12px 12px 0;
  animation: apexDetailIn 260ms ease both;
}

@keyframes apexDetailIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.apex-timeline-detail__num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--apex-teal);
  opacity: 0.35;
  line-height: 1;
  min-width: 36px;
}

.apex-timeline-detail__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--apex-ink);
  margin: 0;
}

/* ════════════════════════════════════════════════════
   3. SERVICE TILES — apex-service-grid
   ════════════════════════════════════════════════════ */

.apex-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.apex-service-tile {
  background: var(--apex-bg);
  border: 1px solid var(--apex-border);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 200ms, box-shadow 200ms, transform 200ms;
}

.apex-service-tile:hover {
  background: var(--apex-surface);
  box-shadow: 0 4px 20px rgba(0, 180, 200, 0.09);
  transform: translateY(-2px);
}

.apex-service-tile__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--apex-teal-dim);
  color: var(--apex-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apex-service-tile__icon svg {
  width: 16px;
  height: 16px;
}

.apex-service-tile__text {
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--apex-ink);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════
   4. TRUST STRIP — apex-trust-strip
   ════════════════════════════════════════════════════ */

.apex-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.apex-trust-item {
  background: var(--apex-surface);
  border: 1px solid var(--apex-border);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 220ms, transform 220ms;
}

.apex-trust-item:hover {
  box-shadow: 0 6px 20px rgba(0, 180, 200, 0.10);
  transform: translateY(-2px);
}

.apex-trust-item__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--apex-teal-dim);
  color: var(--apex-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apex-trust-item__icon svg {
  width: 17px;
  height: 17px;
}

.apex-trust-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.apex-trust-item__value {
  display: block;
  font-size: 1.0rem;
  font-weight: 800;
  color: var(--apex-ink);
  line-height: 1.2;
  white-space: nowrap;
}

.apex-trust-item__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--apex-teal);
}

.apex-trust-item__detail {
  display: block;
  font-size: 0.72rem;
  color: var(--apex-muted);
  line-height: 1.3;
}

/* ════════════════════════════════════════════════════
   5. RELATED PRODUCT PORTRAIT CARDS — apex-rel-card
   ════════════════════════════════════════════════════ */

/* Override track layout when APEX cards are present */
.nf-pdp-related-track:has(.apex-rel-card) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  overflow: visible;
  padding-bottom: 4px;
}

.apex-rel-card {
  display: flex;
  flex-direction: column;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius-card);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 260ms, transform 260ms;
  position: relative;
}

.apex-rel-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--apex-accent, var(--apex-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
  border-radius: 0 0 3px 3px;
}

.apex-rel-card:hover {
  box-shadow: 0 8px 32px rgba(0, 180, 200, 0.13);
  transform: translateY(-3px);
}

.apex-rel-card:hover::after {
  transform: scaleX(1);
}

/* Image zone */
.apex-rel-card__img {
  height: 185px;
  background: var(--apex-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.apex-rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 320ms ease;
}

.apex-rel-card:hover .apex-rel-card__img img {
  transform: scale(1.06);
}

/* Body */
.apex-rel-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  gap: 4px;
}

.apex-rel-card__eyebrow {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--apex-accent, var(--apex-teal));
  margin: 0 0 4px;
}

.apex-rel-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--apex-ink);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apex-rel-card__meta {
  font-size: 0.74rem;
  color: var(--apex-muted);
  margin: 0;
}

.apex-rel-card__price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--apex-ink);
  margin: 6px 0 0;
}

.apex-rel-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--apex-teal);
  letter-spacing: 0.01em;
  transition: gap 180ms;
}

.apex-rel-card:hover .apex-rel-card__cta {
  gap: 9px;
}

/* ════════════════════════════════════════════════════
   6. RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .apex-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .apex-stat-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .nf-pdp-related-track:has(.apex-rel-card) {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  .apex-trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .apex-service-grid {
    grid-template-columns: 1fr;
  }
  .apex-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apex-timeline::before {
    display: none;
  }
  .nf-pdp-related-track:has(.apex-rel-card) {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .apex-rel-card__img {
    height: 140px;
  }
  .apex-trust-item__value { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .apex-rel-card,
  .apex-rel-card__img img,
  .apex-rel-card__cta,
  .apex-timeline-step,
  .apex-stat-card,
  .apex-service-tile,
  .apex-trust-item { transition: none !important; transform: none !important; }
  .apex-timeline-detail { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SIGNAL MATRIX SYSTEM — Cascade overrides, bloom, Kanban, sticky ticker
   ═══════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────────
   PART 1 · SYSTEMIC LIGHT-THEME CASCADE FIX
   Override the legacy dark --nf2-* tokens that cause contrast failures.
   These rules sit at the end of the file so they always win cascade.
   ──────────────────────────────────────────────────────────────────── */
:root {
  /* Canvas & surfaces — bright, surgical, clinical */
  --nf2-void:           #f8fafc;
  --nf2-depth:          #ffffff;

  /* Typography — commanding navy contrast */
  --nf2-text-hi:        #0f172a;
  --nf2-text-mid:       #475569;
  --nf2-text-lo:        #64748b;
  --nf2-text-mono:      #00b4c8;

  /* Brand tokens — full redirect to NanoFarm cyan */
  --nf2-amber:          #00b4c8;
  --nf2-brand:          #00b4c8;
  --nf2-brand-dim:      rgba(0, 180, 200, 0.12);
  --nf2-brand-gradient: linear-gradient(135deg, #4da6b8 0%, #00b4c8 100%);

  /* Borders */
  --nf2-border:         rgba(0, 180, 200, 0.10);
  --nf2-border-hi:      rgba(0, 180, 200, 0.18);

  /* Signal Matrix tokens */
  --sm-teal:            #00b4c8;
  --sm-teal-dim:        rgba(0, 180, 200, 0.08);
  --sm-teal-glow:       rgba(0, 180, 200, 0.20);
  --sm-ink:             #0f172a;
  --sm-muted:           #64748b;
  --sm-surface:         #ffffff;
  --sm-bg:              #f4f7f9;
}

/* Hard contrast fix for catalog headings that used dark tokens */
.nf-catalog-hub__h1 {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}
.nf-catalog-hub__sub {
  color: #475569 !important;
  font-weight: 500 !important;
}

/* Any element that explicitly painted itself dark via nf2 vars */
[class*="nf2"] {
  background-color: revert;
  color: revert;
}


/* ────────────────────────────────────────────────────────────────────
   PART 2 · PFG CARD BLOOM — radial ambient pastel glow under cursor
   ──────────────────────────────────────────────────────────────────── */
.pfg-card {
  position: relative;
  overflow: hidden;
  /* Ensure cards read as light/white by default */
  background: #ffffff;
  color: #0f172a;
}

.pfg-card__bloom {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  /* Background set dynamically in JS via nfInitCardTilt */
  will-change: opacity, background-image;
}

/* Ensure thread and body sit above bloom */
.pfg-card__thread,
.pfg-card__body {
  position: relative;
  z-index: 1;
}

/* Name / description typography — max contrast */
.pfg-card__name {
  color: #0f172a !important;
  font-weight: 700 !important;
}
.pfg-card__desc {
  color: #475569 !important;
}
.pfg-card__count {
  color: #64748b !important;
}
.pfg-card__cta {
  color: #00b4c8 !important;
}


/* ────────────────────────────────────────────────────────────────────
   PART 3 · SIGNAL MATRIX HERO — true full-width override
   The hero section must escape any container constraints.
   ──────────────────────────────────────────────────────────────────── */

/* Break hero out of any .nf-container or .nf-page-container max-width */
.nf-pdp-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 0 !important;
  overflow: hidden;
}

.matrix-grid {
  display: grid !important;
  grid-template-columns: 3fr 5fr 4fr !important;
  width: 100% !important;
  min-height: 740px;
  align-items: stretch;
  background: var(--sm-bg);
}

/* Column A — Floating Command Panel (frosted glass) */
.matrix-col--control {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(32px) !important;
  -webkit-backdrop-filter: blur(32px) !important;
  border-right: 1px solid rgba(0, 180, 200, 0.10) !important;
  position: relative;
  z-index: 2;
}

.matrix-glass-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Product title — commanding navy */
.matrix-title {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

/* Kicker / eyebrow */
.matrix-kicker {
  color: #00b4c8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
}

/* Short description */
.matrix-shortdesc {
  color: #475569 !important;
  line-height: 1.6 !important;
}

/* Meta labels */
.matrix-meta,
.matrix-sku,
.matrix-breadcrumb__home,
.matrix-breadcrumb__sep,
.matrix-breadcrumb__cat {
  color: #64748b !important;
}

/* Price */
.matrix-price {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Column B — Calibration Chamber */
.matrix-col--canvas {
  background: #f4f7f9 !important;
  position: relative;
}

/* Calibration grid pattern — razor thin, 40px cells, 3% opacity */
.matrix-calibration-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 200, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Column C — Telemetry Panel */
.matrix-col--telemetry {
  background: rgba(255, 255, 255, 0.92) !important;
  border-left: 1px solid rgba(0, 180, 200, 0.08) !important;
}

.matrix-telemetry-label {
  color: #64748b !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
}

/* Datum cells — upgraded dotted connector prominence */
.matrix-datum-cell {
  height: 52px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid rgba(0, 180, 200, 0.07) !important;
  gap: 10px !important;
}

.matrix-datum-label {
  color: #64748b !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  max-width: 100px !important;
}

.matrix-datum-connector {
  flex: 1 !important;
  height: 0 !important;
  border-bottom: 1px dotted rgba(0, 180, 200, 0.30) !important;
  min-width: 12px !important;
}

.matrix-datum-value {
  color: #0f172a !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}

.matrix-datum-icon {
  color: #00b4c8 !important;
}

/* Accordion */
.matrix-accordion-trigger {
  color: #0f172a !important;
}

.matrix-accordion-label {
  color: #0f172a !important;
  font-weight: 600 !important;
}


/* ────────────────────────────────────────────────────────────────────
   PART 4 · SM KANBAN PIPELINE — Interlocking horizontal install track
   ──────────────────────────────────────────────────────────────────── */

.sm-kanban-track {
  display: flex !important;
  width: 100%;
  border-top: 1px solid rgba(0, 180, 200, 0.10);
  border-bottom: 1px solid rgba(0, 180, 200, 0.10);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sm-kanban-track::-webkit-scrollbar {
  display: none;
}

.sm-kanban-phase {
  flex: 1;
  min-width: calc(100% / var(--sm-phase-count, 6));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 16px 18px;
  border-right: 1px solid rgba(0, 180, 200, 0.08);
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 220ms ease;
  background: transparent;
  gap: 8px;
}

.sm-kanban-phase:last-child {
  border-right: none;
}

.sm-kanban-phase:hover {
  background: rgba(0, 180, 200, 0.04);
}

.sm-kanban-phase:focus-visible {
  outline: 2px solid #00b4c8;
  outline-offset: -2px;
}

/* Glowing top accent bar */
.sm-kanban-phase__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4da6b8, #00b4c8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 12px rgba(0, 180, 200, 0.45);
}

.sm-kanban-phase.is-active .sm-kanban-phase__bar {
  transform: scaleX(1);
}

/* Active state — frosted cyan glass wash */
.sm-kanban-phase.is-active {
  background: rgba(0, 180, 200, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Passed state */
.sm-kanban-phase.is-passed {
  background: rgba(0, 180, 200, 0.025);
}

.sm-kanban-phase.is-passed .sm-kanban-phase__bar {
  transform: scaleX(1);
  opacity: 0.35;
}

/* Phase number */
.sm-kanban-phase__num {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 180, 200, 0.18);
  letter-spacing: -0.02em;
  transition: color 240ms;
}

.sm-kanban-phase.is-active .sm-kanban-phase__num {
  color: #00b4c8;
}

.sm-kanban-phase.is-passed .sm-kanban-phase__num {
  color: rgba(0, 180, 200, 0.40);
}

/* Phase label */
.sm-kanban-phase__label {
  display: block;
  font-size: 0.80rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
  transition: color 220ms, font-weight 220ms;
}

.sm-kanban-phase.is-active .sm-kanban-phase__label {
  color: #0f172a;
  font-weight: 700;
}

/* Connector arrow between phases */
.sm-kanban-phase__connector {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: rgba(0, 180, 200, 0.20);
  pointer-events: none;
}

/* Detail panel */
.sm-kanban-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,180,200,0.04) 0%, rgba(77,166,184,0.04) 100%);
  border-left: 3px solid #00b4c8;
  border-radius: 0 12px 12px 0;
  margin-top: 2px;
  animation: smDetailIn 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes smDetailIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sm-kanban-detail__num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00b4c8;
  opacity: 0.25;
  line-height: 1;
  min-width: 44px;
  letter-spacing: -0.04em;
}

.sm-kanban-detail__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #0f172a;
  font-weight: 400;
  margin: 0;
  padding-top: 4px;
}

/* Responsive Kanban */
@media (max-width: 900px) {
  .sm-kanban-track {
    overflow-x: auto;
  }
  .sm-kanban-phase {
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .sm-kanban-phase {
    min-width: 100px;
    padding: 16px 10px 14px;
  }
  .sm-kanban-phase__num { font-size: 1.0rem; }
  .sm-kanban-phase__label { font-size: 0.72rem; }
}


/* ────────────────────────────────────────────────────────────────────
   PART 5 · SM SERVICE TICKER — Monolithic sticky bottom trust bar
   ──────────────────────────────────────────────────────────────────── */

.sm-service-ticker {
  position: sticky;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 180, 200, 0.12);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.06), 0 -1px 0 rgba(0, 180, 200, 0.08);
  padding: 0 24px;
  gap: 0;
}

.sm-ticker-sep {
  width: 1px;
  height: 36px;
  background: rgba(0, 180, 200, 0.12);
  flex-shrink: 0;
  margin: 0 20px;
}

.sm-ticker-item {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}

.sm-ticker-item__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(0, 180, 200, 0.09);
  color: #00b4c8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-ticker-item__icon svg {
  width: 15px;
  height: 15px;
}

.sm-ticker-item__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.sm-ticker-item__value {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}

.sm-ticker-item__label {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00b4c8;
  line-height: 1.3;
}

.sm-ticker-item__detail {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive sticky ticker */
@media (max-width: 768px) {
  .sm-service-ticker {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 8px;
  }
  .sm-ticker-sep {
    display: none;
  }
  .sm-ticker-item {
    flex: 1 1 45%;
    min-width: 140px;
  }
  .sm-ticker-item__detail {
    display: none;
  }
}

@media (max-width: 400px) {
  .sm-ticker-item { flex: 1 1 100%; }
  .sm-ticker-item__value { font-size: 0.82rem; }
}


/* ────────────────────────────────────────────────────────────────────
   PART 6 · SIGNAL MATRIX — Full-width hero responsive
   ──────────────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .matrix-grid {
    grid-template-columns: 2fr 4fr 3fr !important;
  }
}

@media (max-width: 960px) {
  .matrix-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .matrix-col--telemetry {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .matrix-grid {
    grid-template-columns: 1fr !important;
  }
  .matrix-col--canvas {
    min-height: 320px;
  }
  .nf-pdp-hero {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* ────────────────────────────────────────────────────────────────────
   PART 7 · REDUCED MOTION
   ──────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .sm-kanban-phase__bar,
  .sm-kanban-detail,
  .pfg-card__bloom {
    transition: none !important;
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   MERIDIAN DESIGN SYSTEM — Product Detail Page
   Appended after all previous CSS blocks. Additive only.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --mrd-dark:         #0B0F1A;
  --mrd-dark-mid:     #0D1829;
  --mrd-dark-surface: #111827;
  --mrd-teal:         #00b4c8;
  --mrd-teal-10:      rgba(0,180,200,0.10);
  --mrd-teal-20:      rgba(0,180,200,0.20);
  --mrd-teal-28:      rgba(0,180,200,0.28);
  --mrd-white:        #ffffff;
  --mrd-white-60:     rgba(255,255,255,0.60);
  --mrd-white-40:     rgba(255,255,255,0.40);
  --mrd-white-20:     rgba(255,255,255,0.20);
  --mrd-white-10:     rgba(255,255,255,0.10);
  --mrd-white-06:     rgba(255,255,255,0.06);
  --mrd-specs-bg:     #F4F7FA;
  --mrd-service-bg:   #0B1929;
}

/* ══════════════════════════════════════════════════════════════════
   HERO — 2-column asymmetric dark layout
   ══════════════════════════════════════════════════════════════════ */

.nf-pdp-hero.mrd-hero {
  background: linear-gradient(150deg, #0B0F1A 0%, #0D1829 55%, #0a1520 100%);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mrd-hero-grid {
  display: grid;
  grid-template-columns: 44fr 56fr;
  min-height: min(90vh, 820px);
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Left column — identity panel ─────────────────────────────────── */

.mrd-left {
  padding: 56px 40px 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.mrd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--mrd-white-40);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mrd-breadcrumb a {
  color: var(--mrd-white-40);
  text-decoration: none;
  transition: color 200ms;
}
.mrd-breadcrumb a:hover { color: var(--mrd-teal); }
.mrd-breadcrumb__sep     { color: var(--mrd-white-20); }
.mrd-breadcrumb__current { color: var(--mrd-white-60); }

/* Partner badge */
.mrd-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mrd-white-06);
  border: 1px solid var(--mrd-white-10);
  border-radius: 8px;
  padding: 6px 12px 6px 8px;
  margin-bottom: 16px;
  width: fit-content;
}
.mrd-partner-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--mrd-white-10);
}
.mrd-partner-name {
  font-size: 0.72rem;
  color: var(--mrd-white-60);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Kicker chip */
.mrd-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mrd-teal);
  background: var(--mrd-teal-10);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--mrd-teal-20);
  margin-bottom: 16px;
  width: fit-content;
}

/* Title */
.mrd-title {
  font-size: clamp(30px, 3.2vw, 56px);
  font-weight: 800;
  color: var(--mrd-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

/* Short description */
.mrd-shortdesc {
  font-size: 0.96rem;
  color: var(--mrd-white-60);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 44ch;
}

/* Badges */
.mrd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.mrd-badges .nf-pdp-badge {
  background: var(--mrd-white-10);
  color: var(--mrd-white-60);
  border: 1px solid var(--mrd-white-20);
  border-radius: 6px;
  font-size: 0.7rem;
  padding: 3px 10px;
}

/* Brand / SKU meta */
.mrd-meta {
  font-size: 0.75rem;
  color: var(--mrd-white-40);
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.mrd-meta strong { color: var(--mrd-white-60); }
.mrd-sku {
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  letter-spacing: 0.04em;
}

/* ── Metrics strip (dark bg, dotted connector rows) ─────────────── */

.mrd-metrics-strip {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mrd-white-10);
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0 24px;
  background: var(--mrd-white-06);
}

.mrd-metric-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--mrd-white-10);
  transition: background 200ms;
}
.mrd-metric-bar:last-child  { border-bottom: none; }
.mrd-metric-bar:hover       { background: rgba(255,255,255,0.04); }

.mrd-metric-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mrd-teal);
  opacity: 0.80;
  flex-shrink: 0;
}
.mrd-metric-icon svg { width: 16px; height: 16px; }

.mrd-metric-label {
  font-size: 0.75rem;
  color: var(--mrd-white-60);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}

.mrd-metric-dots {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0,
    rgba(255,255,255,0.18) 3px,
    transparent 3px,
    transparent 8px
  );
  min-width: 16px;
}

.mrd-metric-value {
  font-size: 0.78rem;
  color: var(--mrd-white);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* ── Price block ─────────────────────────────────────────────────── */

.mrd-price {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--mrd-white);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.mrd-price .nf-pdp-price__label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--mrd-white-40);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.mrd-price .nf-pdp-price__note {
  font-size: 0.72rem;
  color: var(--mrd-white-40);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

/* ── CTA row ─────────────────────────────────────────────────────── */

.mrd-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 16px;
}

.mrd-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mrd-teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 220ms, transform 200ms, box-shadow 220ms;
  box-shadow: 0 0 0 0 var(--mrd-teal-28);
  text-decoration: none;
  white-space: nowrap;
}
.mrd-cta-primary:hover {
  background: #00cde3;
  box-shadow: 0 4px 24px var(--mrd-teal-28);
  transform: translateY(-1px);
}
.mrd-cta-primary:active { transform: translateY(0); }

.mrd-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--mrd-white-60);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--mrd-white-20);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: border-color 220ms, color 220ms, background 220ms;
  text-decoration: none;
  white-space: nowrap;
}
.mrd-cta-secondary:hover {
  border-color: var(--mrd-teal-20);
  color: var(--mrd-teal);
  background: var(--mrd-teal-10);
}

/* Trust line */
.mrd-trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--mrd-white-40);
  flex-wrap: wrap;
  row-gap: 4px;
}
.mrd-trust-line__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mrd-teal);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Right column — product canvas ───────────────────────────────── */

.mrd-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category accent ambient glow */
.mrd-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Calibration grid overlay */
.mrd-cal-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

/* Gallery wrapper */
.mrd-gallery {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 80px;
  box-sizing: border-box;
}

.mrd-media-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.mrd-imgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 480px;
}

.mrd-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 64px rgba(0,0,0,0.60))
    drop-shadow(0 4px 20px rgba(0,0,0,0.40));
  transition: transform 400ms cubic-bezier(0.22,1,0.36,1), opacity 300ms;
  will-change: transform;
}

/* Nav arrows */
.mrd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mrd-nav:hover {
  background: rgba(0,180,200,0.18);
  border-color: rgba(0,180,200,0.40);
  color: #fff;
}
.mrd-nav--prev { left: 12px; }
.mrd-nav--next { right: 12px; }

/* Expand button */
.mrd-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 200ms, color 200ms;
}
.mrd-expand:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Counter */
.mrd-counter {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.08em;
  z-index: 5;
}

/* Thumbnails */
.mrd-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
  flex-wrap: wrap;
}
.mrd-thumbs .nf-pdp-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: border-color 200ms, opacity 200ms;
  background: rgba(255,255,255,0.06);
  opacity: 0.70;
}
.mrd-thumbs .nf-pdp-thumb:hover  { opacity: 1; border-color: rgba(255,255,255,0.35); }
.mrd-thumbs .nf-pdp-thumb.is-active {
  border-color: var(--mrd-teal);
  opacity: 1;
}

/* Product info bar (bottom of right column) */
.mrd-product-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(11,15,26,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 6;
}
.mrd-product-code {
  font-size: 0.68rem;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.mrd-product-bar__signal {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mrd-product-bar__signal::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: mrd-pulse-dot 2.4s ease-in-out infinite;
}
@keyframes mrd-pulse-dot {
  0%, 100% { opacity: 1;    box-shadow: 0 0 8px  #4ade80; }
  50%       { opacity: 0.28; box-shadow: 0 0 3px  #4ade80; }
}

/* ══════════════════════════════════════════════════════════════════
   SPECS SECTION — light grey background, stat cards + eng table
   ══════════════════════════════════════════════════════════════════ */

#pdp-specs {
  background: var(--mrd-specs-bg);
}

.mrd-specs-block {
  margin-bottom: 48px;
}
.mrd-specs-block:last-child { margin-bottom: 0; }

.mrd-specs-block__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #94a3b8;
  margin: 0 0 20px;
  text-transform: uppercase;
}

/* Primary stat cards */
.mrd-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.mrd-spec-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e8eef5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition: box-shadow 250ms, transform 250ms;
}
.mrd-spec-card:hover {
  box-shadow: 0 4px 20px rgba(0,180,200,0.10), 0 1px 4px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.mrd-spec-card__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.3;
}

.mrd-spec-card__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  word-break: break-word;
}

.mrd-spec-card__icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b4c8;
  opacity: 0.22;
  pointer-events: none;
}
.mrd-spec-card__icon svg { width: 22px; height: 22px; }

/* Engineering table */
.mrd-eng-table {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.mrd-eng-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid #f0f4f8;
  transition: background 180ms;
}
.mrd-eng-row:last-child { border-bottom: none; }
.mrd-eng-row:hover      { background: #f8fbff; }

.mrd-eng-row__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b4c8;
  flex-shrink: 0;
  opacity: 0.70;
}
.mrd-eng-row__icon svg { width: 16px; height: 16px; }

.mrd-eng-row__label {
  font-size: 0.80rem;
  color: #475569;
  font-weight: 500;
  flex-shrink: 0;
}

.mrd-eng-row__dots {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    #cbd5e1 0,
    #cbd5e1 3px,
    transparent 3px,
    transparent 8px
  );
  min-width: 20px;
}

.mrd-eng-row__value {
  font-size: 0.80rem;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

.mrd-eng-row__text {
  font-size: 0.80rem;
  color: #334155;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   SERVICE SECTION — dark pillars on deep background
   ══════════════════════════════════════════════════════════════════ */

#pdp-service.nf-pdp-service-v3 {
  background: var(--mrd-service-bg);
}

#pdp-service.nf-pdp-service-v3 .nf-pdp-section__title,
#pdp-service.nf-pdp-service-v3 .nf-pdp-section__subtitle,
#pdp-service.nf-pdp-service-v3 h2,
#pdp-service.nf-pdp-service-v3 h3 {
  color: rgba(255,255,255,0.90);
}

#pdp-service.nf-pdp-service-v3 p {
  color: rgba(255,255,255,0.55);
}

/* Service pillars list */
.mrd-service-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mrd-service-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 18px;
  transition: background 240ms, border-color 240ms, transform 240ms;
}
.mrd-service-pillar:hover {
  background: rgba(0,180,200,0.07);
  border-color: rgba(0,180,200,0.22);
  transform: translateY(-2px);
}

.mrd-service-pillar__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(0,180,200,0.12);
  border: 1px solid rgba(0,180,200,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b4c8;
}
.mrd-service-pillar__icon svg { width: 18px; height: 18px; }

.mrd-service-pillar__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mrd-service-pillar__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  display: block;
  line-height: 1.3;
}

.mrd-service-pillar__desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

/* Tablet ≤ 1100px */
@media (max-width: 1100px) {
  .mrd-hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: min(80vh, 700px);
  }
  .mrd-left {
    padding: 40px 28px 40px 40px;
  }
  .mrd-title {
    font-size: clamp(26px, 3.5vw, 44px);
  }
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .mrd-spec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .mrd-left {
    padding: 36px 24px 36px 32px;
  }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .nf-pdp-hero.mrd-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  .mrd-hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .mrd-left {
    padding: 36px 20px 28px;
    order: 2;
  }
  .mrd-right {
    order: 1;
    min-height: 300px;
  }
  .mrd-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .mrd-shortdesc {
    max-width: none;
  }
  .mrd-metrics-strip {
    margin: 14px 0 18px;
  }
  .mrd-cta-row {
    flex-direction: column;
  }
  .mrd-cta-primary,
  .mrd-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .mrd-service-pillars {
    grid-template-columns: 1fr;
  }
  .mrd-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mrd-spec-card__value {
    font-size: 1.3rem;
  }
  .mrd-gallery {
    padding: 24px 16px 64px;
  }
  .mrd-imgwrap {
    max-height: 280px;
  }
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  .mrd-left {
    padding: 28px 16px 24px;
  }
  .mrd-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mrd-spec-card {
    padding: 14px 14px 12px;
  }
  .mrd-spec-card__value {
    font-size: 1.2rem;
  }
  .mrd-service-pillar {
    padding: 16px 14px;
  }
  .mrd-metric-bar {
    padding: 9px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FORM DESIGN SYSTEM — Product Detail Page
   Clean · Functional · Confident
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --frm-white:       #ffffff;
  --frm-warm:        #F7F5F2;
  --frm-warm-mid:    #F0EDE8;
  --frm-ink:         #111111;
  --frm-ink-mid:     #374151;
  --frm-ink-lo:      #6B7280;
  --frm-ink-xlo:     #9CA3AF;
  --frm-teal:        #00b4c8;
  --frm-teal-10:     rgba(0,180,200,0.10);
  --frm-teal-20:     rgba(0,180,200,0.20);
  --frm-border:      #E5E7EB;
  --frm-border-mid:  #D1D5DB;
  --frm-specs-bg:    #F4F7FA;
  --frm-service-bg:  #FAFDF9;
  --frm-radius-lg:   20px;
  --frm-radius-md:   12px;
  --frm-radius-sm:   8px;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */

.nf-pdp-hero.frm-hero {
  background: var(--frm-white);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-top: 2px solid var(--frm-teal);
  border-bottom: 1px solid var(--frm-border);
  position: relative;
}

.frm-hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: min(88vh, 780px);
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Left — media column (warm stage) ─────────────────────────── */

.frm-media-col {
  background: var(--frm-warm);
  border-radius: 0 var(--frm-radius-lg) var(--frm-radius-lg) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 28px;
  position: relative;
}

.frm-media-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* Gallery fills the stage */
.frm-gallery {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.frm-gal-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.frm-gal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 460px;
}

.frm-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.12)) drop-shadow(0 2px 8px rgba(0,0,0,0.08));
  transition: transform 350ms cubic-bezier(0.22,1,0.36,1);
}
.frm-main-img:hover { transform: scale(1.02); }

/* Nav buttons */
.frm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--frm-border);
  color: var(--frm-ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 200ms, color 200ms, box-shadow 200ms;
  z-index: 5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.frm-nav:hover {
  background: #fff;
  color: var(--frm-teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.frm-nav--prev { left: 8px; }
.frm-nav--next { right: 8px; }

/* Expand button */
.frm-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: var(--frm-radius-sm);
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--frm-border);
  color: var(--frm-ink-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 180ms, color 180ms;
}
.frm-expand:hover { background: #fff; color: var(--frm-teal); }

/* Counter */
.frm-counter {
  font-size: 0.68rem;
  color: var(--frm-ink-xlo);
  letter-spacing: 0.06em;
  padding: 4px 0;
}

/* Thumbnails */
.frm-thumbs {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-top: 14px;
  flex-wrap: wrap;
}
.frm-thumbs .nf-pdp-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--frm-radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--frm-warm-mid);
  transition: border-color 180ms, opacity 180ms;
  opacity: 0.65;
}
.frm-thumbs .nf-pdp-thumb:hover  { opacity: 0.90; border-color: var(--frm-border-mid); }
.frm-thumbs .nf-pdp-thumb.is-active { opacity: 1; border-color: var(--frm-teal); }

/* ── Right — info column ──────────────────────────────────────── */

.frm-info-col {
  padding: 44px 48px 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* Breadcrumb */
.frm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--frm-ink-lo);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.frm-breadcrumb__link {
  color: var(--frm-ink-lo);
  text-decoration: none;
  transition: color 180ms;
}
.frm-breadcrumb__link:hover { color: var(--frm-teal); }
.frm-breadcrumb__sep        { color: var(--frm-border-mid); font-size: 0.8em; }
.frm-breadcrumb__current    { color: var(--frm-ink-mid); }

/* Partner badge */
.frm-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--frm-border);
  border-radius: var(--frm-radius-sm);
  padding: 5px 10px 5px 7px;
  margin-bottom: 14px;
  width: fit-content;
  background: var(--frm-white);
}
.frm-partner-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
}
.frm-partner-name {
  font-size: 0.72rem;
  color: var(--frm-ink-mid);
  font-weight: 500;
}

/* Category tag */
.frm-category-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frm-teal);
  border: 1px solid var(--frm-teal-20);
  background: var(--frm-teal-10);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

/* Title */
.frm-title {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 800;
  color: var(--frm-ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

/* Short description */
.frm-shortdesc {
  font-size: 0.95rem;
  color: var(--frm-ink-mid);
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 52ch;
}

/* Badges */
.frm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.frm-badges:empty { display: none; }
.frm-badges .nf-pdp-badge {
  font-size: 0.68rem;
  border-radius: var(--frm-radius-sm);
  padding: 2px 8px;
  border: 1px solid var(--frm-border);
  color: var(--frm-ink-mid);
  background: var(--frm-specs-bg);
}

/* Brand / SKU meta */
.frm-meta {
  font-size: 0.75rem;
  color: var(--frm-ink-lo);
  margin-bottom: 2px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.frm-meta:empty { display: none; }
.frm-meta strong { color: var(--frm-ink-mid); }
.frm-sku {
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
}

/* Divider */
.frm-divider {
  border: none;
  border-top: 1px solid var(--frm-border);
  margin: 16px 0;
}

/* ── Inline spec strip ──────────────────────────────────────────── */

.frm-spec-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
  row-gap: 8px;
}

.frm-spec-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.frm-spec-strip__icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--frm-teal);
  flex-shrink: 0;
}
.frm-spec-strip__icon svg { width: 14px; height: 14px; }

.frm-spec-strip__value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--frm-ink);
}

.frm-spec-strip__label {
  font-size: 0.75rem;
  color: var(--frm-ink-lo);
}

.frm-spec-strip__sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--frm-border);
  margin: 0 10px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ── Price ──────────────────────────────────────────────────────── */

.frm-price {
  display: block;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  color: var(--frm-ink);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.frm-price .nf-pdp-price__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--frm-ink-lo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.frm-price .nf-pdp-price__note {
  display: block;
  font-size: 0.72rem;
  color: var(--frm-ink-lo);
  font-weight: 400;
  margin-top: 2px;
}
.frm-price:empty { display: none; }

/* ── CTA row ────────────────────────────────────────────────────── */

.frm-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 14px;
}

.frm-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--frm-teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 26px;
  border-radius: var(--frm-radius-md);
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 180ms, box-shadow 200ms;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,180,200,0.25);
}
.frm-cta-primary:hover {
  background: #00cde3;
  box-shadow: 0 4px 20px rgba(0,180,200,0.35);
  transform: translateY(-1px);
}
.frm-cta-primary:active { transform: translateY(0); box-shadow: none; }

.frm-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--frm-ink-mid);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: var(--frm-radius-md);
  border: 1.5px solid var(--frm-border-mid);
  cursor: pointer;
  transition: border-color 200ms, color 200ms, background 200ms;
  text-decoration: none;
  white-space: nowrap;
}
.frm-cta-secondary:hover {
  border-color: var(--frm-teal);
  color: var(--frm-teal);
  background: var(--frm-teal-10);
}

/* Trust line */
.frm-trust-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--frm-ink-lo);
  flex-wrap: wrap;
  row-gap: 3px;
  margin: 0;
}
.frm-trust-line__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.frm-trust-line__sep {
  color: var(--frm-border-mid);
  font-size: 1.1em;
}

/* ══════════════════════════════════════════════════════════════════
   CHAPTER MARKS — run through all sections
   ══════════════════════════════════════════════════════════════════ */

.frm-chapter-mark {
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--frm-border-mid);
  letter-spacing: 0.10em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════
   SPECS SECTION
   ══════════════════════════════════════════════════════════════════ */

#pdp-specs {
  background: var(--frm-specs-bg);
}

/* Horizontal stat bar */
.frm-stat-bar {
  display: flex;
  align-items: stretch;
  background: var(--frm-white);
  border: 1px solid var(--frm-border);
  border-radius: var(--frm-radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.frm-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 4px;
  text-align: center;
  transition: background 180ms;
}
.frm-stat-item:hover { background: var(--frm-specs-bg); }

.frm-stat-item__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--frm-teal);
  opacity: 0.75;
  margin-bottom: 2px;
}
.frm-stat-item__icon svg { width: 16px; height: 16px; }

.frm-stat-item__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--frm-ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.frm-stat-item__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--frm-ink-xlo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.frm-stat-sep {
  width: 1px;
  background: var(--frm-border);
  flex-shrink: 0;
}

/* Specs table label */
.frm-specs-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--frm-ink-xlo);
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* Clean striped spec table */
.frm-spec-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--frm-border);
  border-radius: var(--frm-radius-md);
  overflow: hidden;
  background: var(--frm-white);
}

.frm-spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--frm-border);
  transition: background 150ms;
}
.frm-spec-row:last-child { border-bottom: none; }
.frm-spec-row:nth-child(even) { background: #FAFBFC; }
.frm-spec-row:hover { background: #F0F7FF; }

.frm-spec-row__label {
  font-size: 0.80rem;
  color: var(--frm-ink-mid);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 120px;
}

.frm-spec-row__dots {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg, var(--frm-border) 0, var(--frm-border) 2px, transparent 2px, transparent 7px
  );
  min-width: 12px;
}

.frm-spec-row__value {
  font-size: 0.80rem;
  color: var(--frm-ink);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   INSTALL SECTION — numbered steps
   ══════════════════════════════════════════════════════════════════ */

#pdp-install {
  background: var(--frm-white);
}

.frm-install-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.frm-install-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
}

/* Giant background number — decorative */
.frm-install-step__num-bg {
  position: absolute;
  top: 12px;
  left: -4px;
  font-size: 72px;
  font-weight: 900;
  color: var(--frm-border);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
}

.frm-install-step__content {
  position: relative;
  z-index: 1;
  padding-left: 64px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frm-install-step__num-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--frm-teal);
  font-family: "SF Mono", ui-monospace, monospace;
}

.frm-install-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--frm-ink);
  line-height: 1.4;
  margin: 0;
}

/* Dashed connector between steps */
.frm-install-step__connector {
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 1px;
  height: 100%;
  background-image: repeating-linear-gradient(
    180deg, var(--frm-border) 0, var(--frm-border) 4px, transparent 4px, transparent 10px
  );
  z-index: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SERVICE SECTION — light, clean grid
   ══════════════════════════════════════════════════════════════════ */

#pdp-service.nf-pdp-service-v3 {
  background: var(--frm-service-bg);
}

#pdp-service.nf-pdp-service-v3 .nf-pdp-section__title,
#pdp-service.nf-pdp-service-v3 h2,
#pdp-service.nf-pdp-service-v3 h3 {
  color: var(--frm-ink);
}

#pdp-service.nf-pdp-service-v3 p {
  color: var(--frm-ink-mid);
}

/* 3-column service grid */
.frm-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.frm-service-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 24px;
  border-right: 1px solid var(--frm-border);
  border-bottom: 1px solid var(--frm-border);
  transition: background 200ms;
}
.frm-service-item:hover { background: #f0fdf9; }
.frm-service-item:nth-child(3n) { border-right: none; }
.frm-service-item:nth-last-child(-n+3) { border-bottom: none; }

.frm-service-item__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--frm-teal);
  margin-bottom: 4px;
}
.frm-service-item__icon svg { width: 18px; height: 18px; }

.frm-service-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--frm-ink);
  display: block;
  line-height: 1.3;
}

.frm-service-item__desc {
  font-size: 0.78rem;
  color: var(--frm-ink-lo);
  line-height: 1.55;
  margin: 0;
}

/* Trust bar — horizontal metrics strip */
.frm-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 0 0;
  border-top: 1px solid var(--frm-border);
  margin-top: 4px;
}

.frm-trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 24px;
}

.frm-trust-bar__value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--frm-ink);
  letter-spacing: -0.01em;
}

.frm-trust-bar__label {
  font-size: 0.68rem;
  color: var(--frm-ink-lo);
  text-align: center;
  letter-spacing: 0.02em;
}

.frm-trust-bar__sep {
  width: 1px;
  height: 36px;
  background: var(--frm-border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

/* Tablet ≤ 1100px */
@media (max-width: 1100px) {
  .frm-hero-grid {
    grid-template-columns: 52fr 48fr;
    min-height: min(80vh, 680px);
  }
  .frm-info-col {
    padding: 36px 32px 36px 36px;
  }
  .frm-title {
    font-size: clamp(24px, 3vw, 36px);
  }
  .frm-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .frm-service-item:nth-child(3n)  { border-right: 1px solid var(--frm-border); }
  .frm-service-item:nth-child(2n)  { border-right: none; }
  .frm-service-item:nth-last-child(-n+2) { border-bottom: none; }
  .frm-service-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--frm-border); }
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .frm-stat-bar {
    flex-wrap: wrap;
  }
  .frm-stat-sep { display: none; }
  .frm-stat-item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--frm-border);
  }
  .frm-stat-item:nth-child(odd) { border-right: 1px solid var(--frm-border); }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .nf-pdp-hero.frm-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  .frm-hero-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .frm-media-col {
    border-radius: 0;
    min-height: 300px;
    padding: 28px 20px 20px;
  }
  .frm-info-col {
    padding: 28px 20px;
    justify-content: flex-start;
  }
  .frm-title {
    font-size: clamp(22px, 6vw, 32px);
  }
  .frm-shortdesc { max-width: none; }
  .frm-cta-row { flex-direction: column; }
  .frm-cta-primary,
  .frm-cta-secondary { width: 100%; justify-content: center; }
  .frm-service-grid {
    grid-template-columns: 1fr;
  }
  .frm-service-item {
    border-right: none !important;
    border-bottom: 1px solid var(--frm-border) !important;
  }
  .frm-service-item:last-child { border-bottom: none !important; }
  .frm-trust-bar { gap: 0; }
  .frm-trust-bar__item { padding: 8px 16px; }
  .frm-install-step__num-bg { font-size: 52px; }
  .frm-install-step__content { padding-left: 48px; }
}

/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  .frm-info-col { padding: 20px 16px; }
  .frm-media-col { padding: 20px 16px 16px; }
  .frm-stat-item { flex: 0 0 100%; border-right: none !important; }
  .frm-spec-row__label { min-width: 90px; }
  .frm-trust-bar { flex-direction: column; align-items: stretch; }
  .frm-trust-bar__sep { display: none; }
  .frm-trust-bar__item { flex-direction: row; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--frm-border); }
  .frm-trust-bar__item:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   FORM PATCH — Hero gap fix + full section overrides
   This block must come LAST in styles.css to win specificity wars.
   ═══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   1. HERO — fix gap, remove centering, tighten height
   ══════════════════════════════════════════════════════════════════ */

.nf-pdp-hero.frm-hero {
  padding: 0 !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

.frm-hero-grid {
  min-height: min(78vh, 680px) !important;
  align-items: stretch !important;
}

/* Info column — start from top, not center */
.frm-info-col {
  justify-content: flex-start !important;
  padding-top: 40px !important;
  padding-bottom: 36px !important;
}

/* Media column — start from top */
.frm-media-col {
  justify-content: flex-start !important;
  padding-top: 36px !important;
}

/* ══════════════════════════════════════════════════════════════════
   2. SECTION HEADS — eyebrows, titles, padding
   ══════════════════════════════════════════════════════════════════ */

/* Every section on the PDP gets FORM typography */
.nf-pdp-section-eyebrow {
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--frm-teal, #00b4c8) !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.nf-pdp-section-title {
  font-size: clamp(22px, 2.6vw, 34px) !important;
  font-weight: 800 !important;
  color: #111111 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.12 !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
}

.nf-pdp-section-head {
  margin-bottom: 0 !important;
}

/* Content sections — consistent padding */
.nf-pdp-content-section.nf-pdp-section {
  padding: 60px 0 !important;
}

/* ══════════════════════════════════════════════════════════════════
   3. DESCRIPTION SECTION
   ══════════════════════════════════════════════════════════════════ */

#pdp-description {
  background: #ffffff !important;
}

/* Two-column: main text left, key facts aside right */
.nf-pdp-story-desc-body {
  display: grid !important;
  grid-template-columns: 1fr 260px !important;
  gap: 40px !important;
  align-items: start !important;
}

.nf-pdp-prose {
  line-height: 1.75 !important;
}
.nf-pdp-prose-p {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: #374151 !important;
  margin: 0 0 14px !important;
}
.nf-pdp-prose-p:last-child { margin-bottom: 0 !important; }
.nf-pdp-prose-strong {
  color: #111111 !important;
  font-weight: 700 !important;
}

/* Aside — key facts sticky panel */
.nf-pdp-story-aside {
  background: #F4F7FA !important;
  border-left: 3px solid #00b4c8 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 18px 20px !important;
  position: sticky !important;
  top: 80px !important;
}
.nf-pdp-callout {
  font-size: 0.88rem !important;
  color: #374151 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Use cases */
.nf-pdp-story-usecases {
  margin-bottom: 40px !important;
}
.nf-pdp-usecase-item {
  display: flex !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #E5E7EB !important;
  align-items: flex-start !important;
}
.nf-pdp-usecase-item:last-child { border-bottom: none !important; }
.nf-pdp-usecase-num {
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #E5E7EB !important;
  line-height: 1 !important;
  width: 48px !important;
  flex-shrink: 0 !important;
  padding-top: 2px !important;
}
.nf-pdp-usecase-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 0 4px !important;
}
.nf-pdp-usecase-text {
  font-size: 0.85rem !important;
  color: #6B7280 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Story divider */
.nf-pdp-story-divider {
  height: 1px !important;
  background: #E5E7EB !important;
  margin: 0 0 40px !important;
}

/* ══════════════════════════════════════════════════════════════════
   4. SPECS SECTION
   ══════════════════════════════════════════════════════════════════ */

#pdp-specs {
  background: #F4F7FA !important;
}

/* ══════════════════════════════════════════════════════════════════
   5. INSTALL SECTION — complete override
   ══════════════════════════════════════════════════════════════════ */

#pdp-install.nf-pdp-section--install {
  background: #F7F5F2 !important;
  padding: 60px 0 !important;
}

.nf-pdp-install-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

/* Requirements — two-column card layout */
.nf-pdp-install-env {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 48px !important;
}

.nf-pdp-install-env-card {
  background: #ffffff !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 22px 22px 20px !important;
}

.nf-pdp-install-env-h {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 0 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #E5E7EB !important;
  letter-spacing: -0.01em !important;
}

/* Requirement list items */
.nf-pdp-install-env-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.nf-pdp-install-feature {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  color: #374151 !important;
  line-height: 1.45 !important;
}

.nf-pdp-install-feature__mark {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00b4c8 !important;
  margin-top: 1px !important;
}
.nf-pdp-install-feature__mark svg {
  width: 13px !important;
  height: 13px !important;
}

.nf-pdp-install-feature__text {
  flex: 1 !important;
}

/* Phases heading */
.nf-pdp-phases-heading {
  font-family: "SF Mono", ui-monospace, monospace !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #00b4c8 !important;
  margin: 0 0 20px !important;
}

.nf-pdp-phases-wrap {
  margin-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════
   6. SERVICE SECTION — complete override
   ══════════════════════════════════════════════════════════════════ */

#pdp-service.nf-pdp-service-v3 {
  background: #FAFDF9 !important;
  padding: 60px 0 !important;
}

.nf-pdp-service-v3__inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

/* Top header row */
.nf-pdp-service-v3__hd {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  border: none !important;
  background: none !important;
}

.nf-pdp-service-v3__title-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.nf-pdp-service-v3__ctas {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.nf-pdp-service-v3__ctas .nf-btn {
  font-size: 0.82rem !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
}
.nf-pdp-service-v3__ctas .nf-btn-primary {
  background: #00b4c8 !important;
  color: #fff !important;
  border: none !important;
}
.nf-pdp-service-v3__ctas .nf-btn-secondary {
  background: transparent !important;
  color: #374151 !important;
  border: 1.5px solid #D1D5DB !important;
}

/* Intro text */
.nf-pdp-service-v3__intro {
  font-size: 0.90rem !important;
  color: #6B7280 !important;
  line-height: 1.65 !important;
  margin: 0 0 24px !important;
  max-width: 60ch !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/* Service cards list — override ul defaults for frm-service-grid */
#productPageServiceCards.frm-service-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Trust bar wrapper */
#productPageServiceTrust.frm-trust-bar {
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ══════════════════════════════════════════════════════════════════
   7. RESPONSIVE patches
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .nf-pdp-story-desc-body {
    grid-template-columns: 1fr !important;
  }
  .nf-pdp-story-aside {
    position: static !important;
  }
  .nf-pdp-install-env {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .frm-hero-grid {
    min-height: unset !important;
  }
  .frm-info-col {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }
  .frm-media-col {
    padding-top: 24px !important;
  }
  .nf-pdp-install-inner,
  .nf-pdp-service-v3__inner {
    padding: 0 20px !important;
  }
  .nf-pdp-content-section.nf-pdp-section {
    padding: 40px 0 !important;
  }
  #pdp-install.nf-pdp-section--install,
  #pdp-service.nf-pdp-service-v3 {
    padding: 40px 0 !important;
  }
  .nf-pdp-service-v3__hd {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FORM WIDTH UNIFIER — all sections same max-width as install/service
   ═══════════════════════════════════════════════════════════════════ */

/* Expand the content body from 900px → 1200px to match hero feel */
.nf-pdp--v3 .nf-pdp-main {
  max-width: 1200px !important;
  padding: 0 40px !important;
}

/* Content sections: no border-top, consistent padding */
.nf-pdp--v3 .nf-pdp-section {
  padding: 60px 0 !important;
  border-top: 1px solid #E5E7EB !important;
}
.nf-pdp--v3 .nf-pdp-section--description {
  border-top: none !important;
  padding-top: 52px !important;
}

/* Install inner — same width */
.nf-pdp-install-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

/* Service inner — same width */
.nf-pdp-service-v3__inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .nf-pdp--v3 .nf-pdp-main {
    padding: 0 20px !important;
  }
  .nf-pdp-install-inner,
  .nf-pdp-service-v3__inner {
    padding: 0 20px !important;
  }
  .nf-pdp--v3 .nf-pdp-section {
    padding: 40px 0 !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   FORM WIDTH = SITE WIDTH (1560px) — match global nf-container
   ═══════════════════════════════════════════════════════════════════ */

.nf-pdp--v3 .nf-pdp-main {
  max-width: var(--nf-home-max-width) !important;
  padding: 0 var(--nf-home-section-pad-x) !important;
}

.nf-pdp-install-inner {
  max-width: var(--nf-home-max-width) !important;
  padding: 0 var(--nf-home-section-pad-x) !important;
}

.nf-pdp-service-v3__inner {
  max-width: var(--nf-home-max-width) !important;
  padding: 0 var(--nf-home-section-pad-x) !important;
}

@media (max-width: 768px) {
  .nf-pdp--v3 .nf-pdp-main,
  .nf-pdp-install-inner,
  .nf-pdp-service-v3__inner {
    padding: 0 var(--nf-home-section-pad-x-sm) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   AUDIT FIXES — whitespace · search · header btn · CTA cleanup
   ═══════════════════════════════════════════════════════════════════ */

/* 1. HERO WHITESPACE — compact the hero, remove excess top space */
.nf-pdp--v3.nf-pdp {
  padding-top: 0 !important;
}
.nf-pdp-hero.frm-hero {
  margin-top: 0 !important;
}
.frm-hero-grid {
  min-height: min(70vh, 600px) !important;
}

/* 2. SEARCH INPUT — увеличиваем правый отступ чтобы текст не обрезался */
.nf-search-input {
  padding-right: 16px !important;
}

/* 3. HEADER "Быстрый запрос цены" — вертикальное центрирование текста */
#quickQuoteBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* 4. CTA PRIMARY — иконка + текст в ряд, правильный размер */
.frm-cta-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* 5. CTA GHOST (было вторичная кнопка) — текстовая ссылка с акцентом */
.frm-cta-ghost {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #00b4c8 !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-color: rgba(0,180,200,0.35) !important;
  line-height: 1 !important;
  align-self: center !important;
  transition: color 0.18s ease, text-decoration-color 0.18s ease !important;
}
.frm-cta-ghost:hover {
  color: #0098aa !important;
  text-decoration-color: rgba(0,180,200,0.7) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   FORM NUCLEAR OVERRIDE — win ALL specificity wars
   Fixes: hero bg, media col bg, info col padding, gap under header
   ═══════════════════════════════════════════════════════════════════ */

/* Hero background — overrides the !important mx-bg-canvas rule */
.nf-pdp-hero.frm-hero {
  background: #ffffff !important;
  border-top: 2px solid #00b4c8 !important;
  border-bottom: 1px solid #E5E7EB !important;
  padding: 0 !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

/* Hero grid — reduced height, content starts at top */
.frm-hero-grid {
  display: grid !important;
  grid-template-columns: 55fr 45fr !important;
  min-height: min(72vh, 620px) !important;
  max-width: 100% !important;
  align-items: stretch !important;
  margin: 0 !important;
}

/* Media column — warm background */
.frm-media-col {
  background: #F7F5F2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding-top: 36px !important;
  padding-bottom: 28px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Info column — white, content from top */
.frm-info-col {
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 36px 48px 36px 44px !important;
  gap: 0 !important;
  overflow-y: auto !important;
}

/* Remove the subnav bottom margin so hero starts right after it */
.nf-pdp--v3 .nf-pdp-subnav {
  margin-bottom: 0 !important;
}

/* Remove excess padding from pdp container top */
.nf-pdp--v3.nf-pdp {
  padding-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════
   BLOCK 2 — Compact, integrated description
   The callout used to sit alone in a 260px right rail (looked lonely with
   one short sentence). Collapse to a single readable column and fold the
   callout in as a compact inline accent note directly under the prose.
   ══════════════════════════════════════════════════════════════════ */
.nf-pdp--v3 .nf-pdp-story-desc-body {
  display: block !important;
  max-width: 760px !important;
}
.nf-pdp--v3 .nf-pdp-story-aside {
  position: static !important;
  top: auto !important;
  margin: 18px 0 0 !important;
  padding: 14px 18px !important;
  background: #F4F7FA !important;
  border-left: 3px solid #00b4c8 !important;
  border-radius: 0 8px 8px 0 !important;
  max-width: 760px !important;
}
.nf-pdp--v3 .nf-pdp-callout {
  margin: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}
.nf-pdp--v3 .nf-pdp-prose,
.nf-pdp--v3 .nf-pdp-prose--rich {
  max-width: 760px !important;
}
/* Tighten vertical rhythm so a short description doesn't read as sparse */
.nf-pdp--v3 .nf-pdp-story {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
.nf-pdp--v3 .nf-pdp-story-desc { margin: 0 !important; }

/* ══════════════════════════════════════════════════════════════════
   BLOCK 4 — Install steps as a responsive card grid
   Replaces the tall vertical 01–07 number column with a 4-up card
   grid (4 desktop / 2 tablet / 1 mobile). Each step becomes a
   light-gray plate carrying a faded decorative number watermark,
   the teal "ШАГ NN" label and the step title. The vertical dashed
   connector is dropped — it only made sense for a single column.
   ══════════════════════════════════════════════════════════════════ */
.nf-pdp--v3 .frm-install-steps {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
.nf-pdp--v3 .frm-install-step {
  display: block !important;
  padding: 22px 20px !important;
  background: #F4F7FA !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
/* Giant number → faint corner watermark, anchored top-right of the card */
.nf-pdp--v3 .frm-install-step__num-bg {
  top: 6px !important;
  right: 10px !important;
  left: auto !important;
  font-size: 54px !important;
  color: #E2E9F0 !important;
  z-index: 0 !important;
}
.nf-pdp--v3 .frm-install-step__content {
  padding-left: 0 !important;
  gap: 6px !important;
}
.nf-pdp--v3 .frm-install-step__title {
  font-size: 0.95rem !important;
}
/* A vertical connector is meaningless in a grid */
.nf-pdp--v3 .frm-install-step__connector {
  display: none !important;
}
/* Tablet: 2-up */
@media (max-width: 1024px) {
  .nf-pdp--v3 .frm-install-steps {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* Mobile: single column */
@media (max-width: 560px) {
  .nf-pdp--v3 .frm-install-steps {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   BLOCK 6 — "Смотрите также" as a responsive product grid
   The track rendered as a single vertical column: its grid box was
   shrinking to ~240px instead of filling the ~1334px viewport, so the
   auto-fill template only ever fit one column. Force the track to fill
   its container and lay out as a ~4-up auto-fill grid (degrades to
   2 / 1 columns on narrower widths). A handful of items left-align
   naturally. The carousel prev/next arrows are meaningless for a
   wrapping grid, so hide them.
   ══════════════════════════════════════════════════════════════════ */
.nf-pdp--v3 .nf-pdp-related-track,
.nf-pdp-related-track:has(.apex-rel-card),
.nf-pdp-related-track:has(.prism-rel-card) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  padding: 4px 2px 12px !important;
  overflow: visible !important;
}
.nf-pdp--v3 .nf-pdp-related-viewport {
  overflow: visible !important;
}
.nf-pdp--v3 .nf-pdp-related-nav {
  display: none !important;
}
/* Tiny screens: never let a 290px min track overflow the viewport */
@media (max-width: 360px) {
  .nf-pdp--v3 .nf-pdp-related-track,
  .nf-pdp-related-track:has(.apex-rel-card),
  .nf-pdp-related-track:has(.prism-rel-card) {
    grid-template-columns: 1fr !important;
  }
}

/* ╔════════════════════════════════════════════════════════════════════╗
   ║  EDITORIAL PRODUCT PAGE — "Витрина"  (.nf-epdp)                     ║
   ║  Full from-scratch rebuild. White / slate / teal editorial palette, ║
   ║  full-bleed bands, generous rhythm, scroll-reveal. Append-only.     ║
   ╚════════════════════════════════════════════════════════════════════╝ */

.nf-pdp.nf-epdp {
  --epdp-ink: #1f2933;
  --epdp-ink-soft: #475569;
  --epdp-ink-mute: #8a97a6;
  --epdp-teal: #00b4c8;
  --epdp-teal-ink: #0594a6;
  --epdp-line: #e6eaef;
  --epdp-plate: #f4f7fa;
  --epdp-plate-2: #eef2f6;
  --epdp-max: 1180px;
  --epdp-wide: 1320px;
  --epdp-gutter: clamp(20px, 5vw, 56px);
  /* Full-bleed: break out of #page-root's container padding so the editorial
     colour bands (statement / service / closing) reach the viewport edges.
     Safe because both body and #page-root carry overflow-x: hidden. */
  width: 100vw;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 0 !important;
  background: #ffffff;
  color: var(--epdp-ink);
  -webkit-font-smoothing: antialiased;
}
.nf-epdp *,
.nf-epdp *::before,
.nf-epdp *::after { box-sizing: border-box; }

/* Centered reading column for in-flow sections */
.nf-epdp-vitals,
.nf-epdp-specs,
.nf-epdp-reqs,
.nf-epdp-process,
.nf-epdp-related,
.nf-epdp-bands {
  max-width: var(--epdp-max);
  margin-inline: auto;
  padding-inline: var(--epdp-gutter);
}
.nf-epdp-specs,
.nf-epdp-reqs,
.nf-epdp-process,
.nf-epdp-related { padding-block: clamp(54px, 8vw, 104px); }
.nf-epdp-vitals { padding-block: clamp(26px, 4vw, 44px); }
.nf-epdp-bands { padding-block: clamp(20px, 4vw, 48px); }

/* Section header */
.nf-epdp-sechead { margin-bottom: clamp(26px, 4vw, 50px); }
.nf-epdp-eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--epdp-teal-ink); font-weight: 600; margin: 0 0 12px;
}
.nf-epdp-h2 {
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.08;
  letter-spacing: -0.02em; font-weight: 700; color: var(--epdp-ink); margin: 0;
}

/* ── Top bar (static inline) ── */
.nf-epdp-topbar {
  /* Not sticky on purpose: the global site header (.nf-header--ds) is
     position:fixed/always-visible, so a second sticky bar would sit behind it,
     and sticky here is scope-broken by #page-root's overflow-y:auto (it never
     scrolls internally). A clean inline bar that scrolls with the hero is the
     correct editorial behavior. */
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--epdp-line);
}
.nf-epdp-topbar__inner {
  max-width: var(--epdp-wide); margin-inline: auto;
  padding: 12px var(--epdp-gutter);
  display: flex; align-items: center; gap: 18px;
}
.nf-epdp-back {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 14px; font-weight: 600; color: var(--epdp-ink-soft);
  padding: 6px 2px; transition: color 0.2s; flex: none;
}
.nf-epdp-back:hover { color: var(--epdp-teal-ink); }
.nf-epdp-back svg { transition: transform 0.2s; }
.nf-epdp-back:hover svg { transform: translateX(-2px); }
.nf-epdp-crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; min-width: 0;
}
.nf-epdp-crumb {
  background: none; border: none; padding: 0; font: inherit; font-size: 13px;
  color: var(--epdp-ink-mute); cursor: pointer; transition: color 0.2s;
  white-space: nowrap;
}
button.nf-epdp-crumb:hover { color: var(--epdp-teal-ink); }
.nf-epdp-crumb--current { color: var(--epdp-ink-soft); cursor: default; }
.nf-epdp-crumb__sep { color: var(--epdp-line); }

/* ── Hero ── */
.nf-epdp-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.nf-epdp-hero__grid {
  max-width: var(--epdp-wide); margin-inline: auto;
  padding-inline: var(--epdp-gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.nf-epdp-hero__text { min-width: 0; }
.nf-epdp-kicker {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--epdp-teal-ink); font-weight: 600; margin: 0 0 18px;
}
.nf-epdp-title {
  font-size: clamp(34px, 5.2vw, 64px); line-height: 1.03;
  letter-spacing: -0.025em; font-weight: 700; color: var(--epdp-ink); margin: 0 0 22px;
}
.nf-epdp-lead {
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5;
  color: var(--epdp-ink-soft); margin: 0 0 26px; max-width: 30em;
}
.nf-epdp-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.nf-epdp-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px;
  padding: 0 14px; border: 1px solid var(--epdp-line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--epdp-ink-soft); background: #fff;
}
.nf-epdp-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--epdp-ink-mute); }
.nf-epdp-chip--status.is-in .nf-epdp-chip__dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16); }
.nf-epdp-hero__price { display: flex; flex-direction: column; gap: 3px; margin: 0 0 28px; }
.nf-epdp-price__label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--epdp-ink-mute); font-weight: 600;
}
.nf-epdp-price__value {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700;
  color: var(--epdp-ink); letter-spacing: -0.01em;
}
.nf-epdp-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; }
.nf-epdp-hero__trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--epdp-ink-mute); margin: 0;
}
.nf-epdp-hero__trust .nf-epdp-ico { color: var(--epdp-teal-ink); flex: none; }

/* Hero media stage */
.nf-epdp-hero__media { min-width: 0; }
.nf-epdp-stage {
  position: relative; margin: 0;
  background: linear-gradient(160deg, #fbfdfe, var(--epdp-plate));
  border: 1px solid var(--epdp-line); border-radius: 24px;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.04), 0 30px 60px -30px rgba(16, 42, 67, 0.18);
}
.nf-epdp-stage__img {
  width: 100%; height: 100%; object-fit: contain;
  padding: clamp(20px, 4vw, 48px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.nf-epdp-stage:not(.is-placeholder):hover .nf-epdp-stage__img { transform: scale(1.03); }
.nf-epdp-stage__zoom {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--epdp-line);
  color: var(--epdp-ink-soft); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.nf-epdp-stage:hover .nf-epdp-stage__zoom { opacity: 1; }
.nf-epdp-stage__zoom:hover { color: var(--epdp-teal-ink); border-color: var(--epdp-teal); transform: scale(1.05); }
.nf-epdp-stage__hint {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-size: 12.5px; color: var(--epdp-ink-mute); letter-spacing: 0.04em;
}
.nf-epdp-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.nf-epdp-thumb {
  width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--epdp-line);
  background: var(--epdp-plate); overflow: hidden; cursor: pointer; padding: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nf-epdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nf-epdp-thumb:hover { border-color: var(--epdp-ink-mute); }
.nf-epdp-thumb.is-active { border-color: var(--epdp-teal); box-shadow: 0 0 0 2px rgba(0, 180, 200, 0.16); }

/* ── Statement band ── */
.nf-epdp-statement {
  background: var(--epdp-plate);
  border-top: 1px solid var(--epdp-line); border-bottom: 1px solid var(--epdp-line);
  padding-block: clamp(60px, 9vw, 130px); padding-inline: var(--epdp-gutter);
  text-align: center;
}
.nf-epdp-statement__eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--epdp-teal-ink); font-weight: 600; margin: 0 0 22px;
}
.nf-epdp-statement__lead {
  max-width: 24em; margin: 0 auto;
  font-size: clamp(22px, 3vw, 38px); line-height: 1.28;
  letter-spacing: -0.02em; font-weight: 500; color: var(--epdp-ink);
}

/* ── Vitals strip ── */
.nf-epdp-vitals { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--epdp-line); border-bottom: 1px solid var(--epdp-line); }
.nf-epdp-vital {
  padding: clamp(22px, 2.8vw, 34px) clamp(8px, 1.4vw, 22px);
  border-left: 1px solid var(--epdp-line);
  display: flex; flex-direction: column; gap: 6px;
}
.nf-epdp-vital:first-child { border-left: none; padding-left: 0; }
.nf-epdp-vital__v { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; color: var(--epdp-ink); line-height: 1.2; }
.nf-epdp-vital__k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--epdp-ink-mute); font-weight: 600; }

/* ── Story bands (use cases) ── */
.nf-epdp-bands { display: flex; flex-direction: column; gap: clamp(20px, 4vw, 56px); }
.nf-epdp-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.nf-epdp-band--mirror .nf-epdp-band__visual { order: 2; }
.nf-epdp-band__visual {
  aspect-ratio: 4 / 3; border-radius: 20px;
  background: linear-gradient(150deg, var(--epdp-plate), var(--epdp-plate-2));
  border: 1px solid var(--epdp-line); display: flex; align-items: flex-end; padding: 28px;
}
.nf-epdp-band__num {
  font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 0.8;
  color: var(--epdp-teal-ink); letter-spacing: -0.04em; opacity: 0.92;
}
.nf-epdp-band__eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--epdp-teal-ink); font-weight: 600; margin: 0 0 12px;
}
.nf-epdp-band__title { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; color: var(--epdp-ink); margin: 0 0 14px; }
.nf-epdp-band__desc { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--epdp-ink-soft); margin: 0; }

/* ── Specs table ── */
.nf-epdp-spectable { border-top: 1px solid var(--epdp-line); }
.nf-epdp-specrow {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--epdp-line);
}
.nf-epdp-specrow__icon { width: 22px; height: 22px; color: var(--epdp-teal-ink); display: inline-flex; flex: none; }
.nf-epdp-specrow__icon svg { width: 22px; height: 22px; }
.nf-epdp-specrow__k { font-size: 15px; font-weight: 600; color: var(--epdp-ink-soft); }
.nf-epdp-specrow__v { font-size: 15.5px; font-weight: 600; color: var(--epdp-ink); text-align: right; }

/* ── Requirements (two columns) ── */
.nf-epdp-reqs__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.nf-epdp-reqcard { background: var(--epdp-plate); border: 1px solid var(--epdp-line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); }
.nf-epdp-reqcard__h { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--epdp-ink); margin: 0 0 20px; }
.nf-epdp-reqcard__h svg { width: 22px; height: 22px; color: var(--epdp-teal-ink); flex: none; }
.nf-epdp-reqlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nf-epdp-req { display: flex; gap: 13px; align-items: flex-start; }
.nf-epdp-req__icon { width: 20px; height: 20px; color: var(--epdp-teal-ink); flex: none; margin-top: 2px; display: inline-flex; }
.nf-epdp-req__icon svg { width: 20px; height: 20px; }
.nf-epdp-req__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nf-epdp-req__k { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--epdp-ink-mute); font-weight: 600; }
.nf-epdp-req__v { font-size: 15.5px; color: var(--epdp-ink); font-weight: 500; line-height: 1.35; }

/* ── Process timeline ── */
.nf-epdp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.nf-epdp-step {
  background: #fff; border: 1px solid var(--epdp-line); border-radius: 14px;
  padding: clamp(20px, 2.4vw, 28px); display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.nf-epdp-step:hover { border-color: var(--epdp-teal); box-shadow: 0 14px 30px -18px rgba(16, 42, 67, 0.22); transform: translateY(-2px); }
.nf-epdp-step__num { font-size: 20px; font-weight: 800; color: var(--epdp-teal-ink); font-variant-numeric: tabular-nums; line-height: 1; flex: none; }
.nf-epdp-step__text { font-size: 15.5px; line-height: 1.45; color: var(--epdp-ink); font-weight: 500; }

/* ── Service ── */
.nf-epdp-service {
  background: var(--epdp-plate);
  border-top: 1px solid var(--epdp-line); border-bottom: 1px solid var(--epdp-line);
  padding-block: clamp(56px, 8vw, 108px); padding-inline: var(--epdp-gutter);
}
.nf-epdp-service__inner { max-width: var(--epdp-max); margin-inline: auto; text-align: center; }
.nf-epdp-service__head .nf-epdp-eyebrow,
.nf-epdp-service__head .nf-epdp-h2 { margin-inline: auto; }
.nf-epdp-service__intro { max-width: 36em; margin: 16px auto 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--epdp-ink-soft); }
.nf-epdp-service__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin: clamp(32px, 4vw, 52px) 0; }
.nf-epdp-svccard {
  background: #fff; border: 1px solid var(--epdp-line); border-radius: 16px;
  padding: clamp(24px, 3vw, 34px) 20px; display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.nf-epdp-svccard__icon { width: 30px; height: 30px; color: var(--epdp-teal-ink); }
.nf-epdp-svccard__icon svg { width: 30px; height: 30px; }
.nf-epdp-svccard__text { font-size: 15.5px; font-weight: 600; color: var(--epdp-ink); line-height: 1.4; }

/* ── Related ── */
.nf-epdp-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.nf-epdp-relcard {
  text-align: left; background: #fff; border: 1px solid var(--epdp-line); border-radius: 18px;
  overflow: hidden; cursor: pointer; padding: 0; display: flex; flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; font: inherit;
}
.nf-epdp-relcard:hover { border-color: var(--epdp-teal); box-shadow: 0 18px 40px -22px rgba(16, 42, 67, 0.28); transform: translateY(-3px); }
.nf-epdp-relcard__media {
  aspect-ratio: 4 / 3; background: linear-gradient(150deg, #fbfdfe, var(--epdp-plate));
  display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--epdp-line);
}
.nf-epdp-relcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.nf-epdp-relcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; }
.nf-epdp-relcard__cat { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--epdp-teal-ink); font-weight: 600; }
.nf-epdp-relcard__name { font-size: 17px; font-weight: 700; color: var(--epdp-ink); line-height: 1.3; }
.nf-epdp-relcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--epdp-ink-soft); transition: gap 0.2s, color 0.2s; }
.nf-epdp-relcard:hover .nf-epdp-relcard__more { color: var(--epdp-teal-ink); gap: 9px; }

/* ── Closing CTA band ── */
.nf-epdp-closing {
  padding-block: clamp(60px, 9vw, 120px); padding-inline: var(--epdp-gutter);
  background: radial-gradient(120% 140% at 50% 0%, #0f2a36 0%, #0b212b 60%, #0a1c25 100%);
}
.nf-epdp-closing__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.nf-epdp-closing__title { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; color: #fff; margin: 0 0 16px; }
.nf-epdp-closing__sub { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin: 0 0 32px; }
.nf-epdp-closing__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── CTAs ── */
.nf-epdp-cta {
  height: 54px; padding: 0 30px; border-radius: 13px;
  font-size: 16px; font-weight: 600; display: inline-flex; align-items: center;
  justify-content: center; gap: 9px; cursor: pointer; line-height: 1;
}
.nf-epdp-cta--ghost { background: #fff; border: 1.5px solid var(--epdp-line); color: var(--epdp-ink); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.nf-epdp-cta--ghost:hover { border-color: var(--epdp-ink); }
.nf-epdp-cta--on-dark { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.nf-epdp-cta--on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ── Scroll reveal ── */
.nf-epdp [data-pdp-reveal-scroll] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.nf-epdp [data-pdp-reveal-scroll].nf-pdp-reveal--in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nf-epdp-hero__grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  .nf-epdp-band,
  .nf-epdp-band--mirror { grid-template-columns: 1fr; gap: 20px; }
  .nf-epdp-band--mirror .nf-epdp-band__visual { order: 0; }
  .nf-epdp-band__visual { aspect-ratio: 16 / 9; }
  .nf-epdp-reqs__cols { grid-template-columns: 1fr; }
  .nf-epdp-service__cards { grid-template-columns: 1fr; }
  .nf-epdp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .nf-epdp-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nf-epdp-vitals { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .nf-epdp-vital { border-left: none; border-top: 1px solid var(--epdp-line); padding: 18px 0; }
  .nf-epdp-steps { grid-template-columns: 1fr; }
  .nf-epdp-hero__ctas,
  .nf-epdp-closing__ctas { flex-direction: column; align-items: stretch; }
  .nf-epdp-cta { width: 100%; }
}
@media (hover: none) {
  .nf-epdp-stage__zoom { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-epdp [data-pdp-reveal-scroll] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nf-epdp-stage__img,
  .nf-epdp-step,
  .nf-epdp-relcard { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════
   PARTNER LOGO NORMALIZATION
   Replaces the 96×96 pill-circle with a landscape rectangle
   so every logo — wide, square, or tall — occupies the same
   visual bounding box and appears at equal optical weight.
   ══════════════════════════════════════════════════════════ */
.nf-partner-logo-wrap {
  /* Full-width landscape zone instead of 96×96 circle */
  width: 100% !important;
  height: 80px !important;
  aspect-ratio: unset !important;
  border-radius: 10px !important;
  /* Neutral white plate — logos pop regardless of colour */
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  /* Layout */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 18px !important;
  overflow: hidden !important;
  transition: box-shadow var(--nf-transition-ui) !important;
}

.nf-partner:hover .nf-partner-logo-wrap,
.nf-partner-card:hover .nf-partner-logo-wrap {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}


.nf-partner-logo-img {
  /* Image fills the box proportionally — identical zone for every logo */
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}


/* ══════════════════════════════════════════════════════
   КОМПАКТНЫЙ HERO — популярное оборудование на первом экране.
   Снимаем распорку min-height:732 и лишние отступы, hero
   садится по высоте текста → секция «Популярное» поднимается.
   ══════════════════════════════════════════════════════ */
.nf-home-firstscreen .nf-hero--brand,
.nf-home-firstscreen .nf-hero-brand-shell {
  min-height: 0 !important;
}
.nf-home-firstscreen .nf-hero-brand-shell {
  padding-top: clamp(16px, 3vh, 32px) !important;
  padding-bottom: clamp(16px, 3vh, 32px) !important;
}

/* ── Hero: компактнее шрифт + чёткая иерархия (заголовок / лёгкий подзаголовок) ── */
.nf-home-firstscreen .nf-hero__headline-line--lead {
  font-size: clamp(1.85rem, 1.5vw + 1rem, 2.65rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
}
.nf-home-firstscreen .nf-hero__headline-line--sub {
  font-size: clamp(1rem, 0.5vw + 0.8rem, 1.2rem) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin-top: 0.9rem !important;
  max-width: 33em !important;
  letter-spacing: -0.005em !important;
  color: var(--nf-color-text-secondary) !important;
}

/* ══════════════════════════════════════════════════════
   HERO — eyebrow + спек-строка (enterprise-точность)
   ══════════════════════════════════════════════════════ */
.nf-hero__eyebrow {
  font-family: ui-monospace, "IBM Plex Mono", "Cascadia Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0593a6;
  margin-bottom: 18px;
}
.nf-hero__specline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 40, 55, 0.1);
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--nf-color-text-muted);
  letter-spacing: 0.02em;
}
.nf-hero__specline i { width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 180, 200, 0.55); }

/* ══════════════════════════════════════════════════════
   HERO STAGE — кинематографичная графитовая 3D-сцена.
   Тёмная студийная сцена в светлом hero: контраст = премиум.
   ══════════════════════════════════════════════════════ */
.nf-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 58vh, 580px);
  border-radius: 26px;
  background: radial-gradient(120% 100% at 50% 32%, #ffffff 0%, #eef6f7 52%, #dfedef 100%);
  border: 1px solid rgba(20, 45, 60, 0.07);
  box-shadow:
    0 44px 80px -42px rgba(20, 55, 65, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  isolation: isolate;
}
/* тонкая инженерная сетка, гаснет к краям */
.nf-stage__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(rgba(20, 60, 75, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 60, 75, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 46%, #000 28%, transparent 82%);
          mask-image: radial-gradient(72% 62% at 50% 46%, #000 28%, transparent 82%);
}
/* мягкое свечение за объектом */
.nf-stage__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 44% at 52% 44%, rgba(0, 180, 200, 0.14), transparent 72%),
    radial-gradient(74% 66% at 50% 54%, rgba(120, 200, 210, 0.09), transparent 78%);
  animation: nfStageGlow 6s ease-in-out infinite;
}
@keyframes nfStageGlow { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }
/* мягкая светлая виньетка по краям */
.nf-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: 26px;
  box-shadow: inset 0 0 80px 12px rgba(190, 215, 220, 0.32);
}
.nf-stage__viewer {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: transparent;
  touch-action: pan-y;
  outline: none;
}
/* Холст с частицами, собирающимися в логотип */
.nf-stage__logo-canvas {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
  display: block;
}
/* ── Сцена-логотип: НИКАКОЙ коробки — частицы парят в открытом пространстве ── */
.nf-stage--logo {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.nf-stage--logo::after { display: none; }                 /* убрать рамочную виньетку */
.nf-stage--logo .nf-stage__reflect { display: none; }     /* убрать нижний блик */
.nf-stage--logo .nf-stage__grid { display: none; }        /* убрать «панельную» сетку */

/* мягкая энергетическая аура за знаком — дышит */
.nf-stage--logo .nf-stage__glow {
  background:
    radial-gradient(40% 40% at 50% 48%, rgba(63, 156, 170, 0.15), transparent 72%),
    radial-gradient(68% 64% at 50% 52%, rgba(63, 156, 170, 0.06), transparent 84%);
  filter: blur(8px);
}
/* мягкое отражение/блик снизу */
.nf-stage__reflect {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 180, 200, 0.07), transparent);
}
/* моно-подпись с зелёным статусом */
.nf-stage__caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 4;
  display: flex; align-items: center; gap: 9px;
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(205, 228, 238, 0.62);
}
.nf-stage__caption::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #2faa6b; box-shadow: 0 0 8px #2faa6b;
}
/* орбитальное кольцо + парящие точки — тихая жизнь и фокус сцены */
.nf-stage__ring {
  position: absolute; top: 50%; left: 50%;
  width: 62%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 160, 185, 0.20);
  border-radius: 50%;
  z-index: 0; pointer-events: none;
  animation: nfStageRing 46s linear infinite;
}
@keyframes nfStageRing { to { transform: translate(-50%, -50%) rotate(360deg); } }
.nf-stage__dots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nf-stage__dots span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0, 170, 195, 0.6); box-shadow: 0 0 9px rgba(0, 180, 200, 0.55);
  animation: nfStageDot 5.5s ease-in-out infinite;
}
.nf-stage__dots span:nth-child(1) { left: 16%; top: 24%; }
.nf-stage__dots span:nth-child(2) { left: 82%; top: 32%; animation-delay: 1.4s; }
.nf-stage__dots span:nth-child(3) { left: 24%; top: 74%; animation-delay: 2.6s; }
.nf-stage__dots span:nth-child(4) { left: 78%; top: 70%; animation-delay: 3.6s; }
@keyframes nfStageDot { 0%, 100% { opacity: 0.3; transform: translateY(0) scale(1); } 50% { opacity: 1; transform: translateY(-10px) scale(1.3); } }

@media (max-width: 1024px) { .nf-stage { height: clamp(300px, 44vh, 440px); } }
@media (max-width: 640px) {
  .nf-stage { height: clamp(230px, 38vh, 320px); }
  .nf-stage__ring, .nf-stage__dots { display: none; }   /* меньше анимаций на телефоне */
  .nf-stage__glow { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-stage__glow, .nf-stage__ring, .nf-stage__dots span { animation: none; }
}

/* ══════════════════════════════════════════════════════════
   PARTNER LOGO SLOT — full normalization override
   Targets the actual partners-page slot (nf-page-partner-logo-slot)
   instead of the generic nf-partner-logo-wrap above.
   ══════════════════════════════════════════════════════════ */

/* Step 1: make the slot a tall, padded, visually framed zone */
.nf-partners-page #partnersList .nf-page-partner-logo-slot {
  /* Widen to full card content-box, using negative margin breakout */
  width: calc(100% + 32px) !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
  /* Taller slot for more visual breathing room */
  height: 96px !important;
  flex: 0 0 96px !important;
  margin-bottom: 10px !important;
  /* Internal padding — keeps square logos from filling the whole frame */
  padding: 14px 18px !important;
  /* Subtle neutral plate so every logo pops regardless of brand colour */
  background: #f8fafc !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Step 2: image fills the padded zone, maintains AR via object-fit */
.nf-partners-page #partnersList .nf-page-partner-logo-slot .nf-partner-logo-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  display: block !important;
}



/* ── Status Glow Chip ─────────────────────────────────────────────────── */
.nf-epdp-status-glow {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  white-space: nowrap;
  will-change: box-shadow, border-color;
}

/* В наличии — зелёный */
.nf-epdp-status-glow--in {
  color: #0d6e3a;
  background: rgba(13, 110, 58, 0.07);
  border-color: rgba(13, 110, 58, 0.40);
  animation: nf-pulse-green 2.6s ease-in-out infinite;
}

/* Под заказ — teal */
.nf-epdp-status-glow--order {
  color: #0e5f6e;
  background: rgba(77, 160, 169, 0.07);
  border-color: rgba(77, 160, 169, 0.40);
  animation: nf-pulse-teal 2.6s ease-in-out infinite;
}

/* Отсутствует — красный насыщенный */
.nf-epdp-status-glow--out {
  color: #c00020;
  background: rgba(192, 0, 32, 0.07);
  border-color: rgba(192, 0, 32, 0.40);
  animation: nf-pulse-red 2.6s ease-in-out infinite;
}

@keyframes nf-pulse-green {
  0%, 100% {
    border-color: rgba(13, 110, 58, 0.28);
    box-shadow: 0 0 0 2px rgba(13, 110, 58, 0.05), 0 0 8px rgba(13, 150, 70, 0.10);
  }
  50% {
    border-color: rgba(13, 150, 70, 0.78);
    box-shadow: 0 0 0 4px rgba(13, 150, 70, 0.09), 0 0 20px rgba(13, 180, 80, 0.28);
  }
}

@keyframes nf-pulse-teal {
  0%, 100% {
    border-color: rgba(77, 160, 169, 0.28);
    box-shadow: 0 0 0 2px rgba(77, 160, 169, 0.05), 0 0 8px rgba(77, 160, 169, 0.10);
  }
  50% {
    border-color: rgba(77, 160, 169, 0.78);
    box-shadow: 0 0 0 4px rgba(77, 160, 169, 0.09), 0 0 20px rgba(77, 160, 169, 0.26);
  }
}

@keyframes nf-pulse-red {
  0%, 100% {
    border-color: rgba(192, 0, 32, 0.28);
    box-shadow: 0 0 0 2px rgba(192, 0, 32, 0.05), 0 0 8px rgba(210, 0, 35, 0.12);
  }
  50% {
    border-color: rgba(210, 0, 35, 0.82);
    box-shadow: 0 0 0 4px rgba(210, 0, 35, 0.09), 0 0 20px rgba(220, 0, 40, 0.30);
  }
}

/* ═══════════════════════════════════════════════════════════════
   NF PRODUCT CARD — Premium redesign (.nf-pc)
═══════════════════════════════════════════════════════════════ */

/* Grid override — use new cards */
#catalogProducts.nf-products-grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.nf-pc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(26,36,35,0.08);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  position: relative;
}
.nf-pc:hover {
  box-shadow: 0 8px 32px rgba(26,36,35,0.10), 0 2px 8px rgba(26,36,35,0.06);
  transform: translateY(-3px);
  border-color: rgba(77,160,169,0.22);
}

/* ── Image ── */
.nf-pc__img-wrap {
  position: relative;
  background: #f7f9f8;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.nf-pc__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.32s ease, filter 0.32s ease;
}
.nf-pc:hover .nf-pc__img {
  transform: scale(1.04);
}

/* ── Out of stock — emptiness effect ── */
.nf-pc--out .nf-pc__img {
  filter: grayscale(0.7) opacity(0.55);
}
.nf-pc--out:hover .nf-pc__img {
  filter: grayscale(0.5) opacity(0.65);
  transform: scale(1.02);
}
.nf-pc__out-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(100,110,108,0.04) 8px,
    rgba(100,110,108,0.04) 9px
  );
  pointer-events: none;
}
.nf-pc--out {
  border-color: rgba(26,36,35,0.06);
  background: #fafafa;
}
.nf-pc--out:hover {
  box-shadow: 0 4px 16px rgba(26,36,35,0.07);
  transform: translateY(-1px);
  border-color: rgba(192,0,32,0.12);
}

/* ── Status badge on image ── */
.nf-pc__status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.nf-pc__status--in {
  color: #0d6e3a;
  background: rgba(13,110,58,0.10);
  border-color: rgba(13,110,58,0.30);
  animation: nf-pulse-green 2.6s ease-in-out infinite;
}
.nf-pc__status--order {
  color: #0e5f6e;
  background: rgba(77,160,169,0.10);
  border-color: rgba(77,160,169,0.30);
  animation: nf-pulse-teal 2.6s ease-in-out infinite;
}
.nf-pc__status--out {
  color: #c00020;
  background: rgba(192,0,32,0.10);
  border-color: rgba(192,0,32,0.30);
  animation: nf-pulse-red 2.6s ease-in-out infinite;
}

/* ── Popular badge ── */
.nf-pc__popular {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(77,160,169,0.12);
  color: #0e5f6e;
  border: 1px solid rgba(77,160,169,0.28);
}

/* ── Body ── */
.nf-pc__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 10px;
}
.nf-pc__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.nf-pc__brand {
  color: #4da0a9;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nf-pc__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(26,36,35,0.22);
  display: inline-block;
}
.nf-pc__cat {
  color: rgba(26,36,35,0.45);
  font-weight: 500;
}
.nf-pc--out .nf-pc__brand,
.nf-pc--out .nf-pc__cat {
  opacity: 0.55;
}
.nf-pc__title {
  font-size: 14px;
  font-weight: 650;
  color: #1a2423;
  line-height: 1.35;
  margin: 0;
  cursor: pointer;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nf-pc:hover .nf-pc__title { color: #4da0a9; }
.nf-pc--out .nf-pc__title  { color: rgba(26,36,35,0.45); }
.nf-pc__desc {
  font-size: 12px;
  color: rgba(26,36,35,0.50);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer ── */
.nf-pc__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(26,36,35,0.06);
  gap: 8px;
}
.nf-pc__price {
  font-size: 14px;
  font-weight: 700;
  color: #1a2423;
}
.nf-pc__price--muted {
  font-size: 12px;
  font-weight: 500;
  color: rgba(26,36,35,0.40);
}
.nf-pc--out .nf-pc__price { color: rgba(26,36,35,0.38); }

.nf-pc__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nf-pc__add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #4da0a9;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s, transform 0.14s;
  white-space: nowrap;
}
.nf-pc__add:hover { background: #3d8f98; transform: translateY(-1px); }
.nf-pc__add:active { transform: translateY(0); }
.nf-pc__add.nf-add-request--in-cart {
  background: rgba(77,160,169,0.12);
  color: #0e5f6e;
}
.nf-pc--out .nf-pc__add {
  background: rgba(26,36,35,0.08);
  color: rgba(26,36,35,0.38);
  pointer-events: none;
}
.nf-pc__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(26,36,35,0.12);
  background: transparent;
  color: rgba(26,36,35,0.50);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  flex-shrink: 0;
}
.nf-pc__more:hover {
  border-color: rgba(77,160,169,0.45);
  color: #4da0a9;
  background: rgba(77,160,169,0.06);
}

/* ═══════════════════════════════════════════════════════════════
   NF-PC — LIST VIEW  (второй режим, кнопка «строки»)
═══════════════════════════════════════════════════════════════ */

/* Container already gets flex-column from existing list-mode CSS */
#catalogProducts.nf-products-list-mode .nf-pc,
#catalogProducts.nf-products-list .nf-pc {
  flex-direction: row;
  align-items: stretch;
  border-radius: 10px;
  min-height: 92px;
}

/* Image column */
#catalogProducts.nf-products-list-mode .nf-pc__img-wrap,
#catalogProducts.nf-products-list .nf-pc__img-wrap {
  width: 110px;
  flex-shrink: 0;
  aspect-ratio: unset;
  height: 92px;
  border-radius: 10px 0 0 10px;
}

/* Body expands */
#catalogProducts.nf-products-list-mode .nf-pc__body,
#catalogProducts.nf-products-list .nf-pc__body {
  flex: 1;
  padding: 10px 14px 8px;
  gap: 4px;
  min-width: 0;
  justify-content: center;
}

#catalogProducts.nf-products-list-mode .nf-pc__title,
#catalogProducts.nf-products-list .nf-pc__title {
  -webkit-line-clamp: 1;
  font-size: 13px;
}

#catalogProducts.nf-products-list-mode .nf-pc__desc,
#catalogProducts.nf-products-list .nf-pc__desc {
  -webkit-line-clamp: 1;
  font-size: 11px;
}

/* Footer becomes a right panel */
#catalogProducts.nf-products-list-mode .nf-pc__footer,
#catalogProducts.nf-products-list .nf-pc__footer {
  border-top: none;
  border-left: 1px solid rgba(26,36,35,0.06);
  padding: 0 14px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  width: 170px;
}

/* Out-of-stock in list mode */
#catalogProducts.nf-products-list-mode .nf-pc--out,
#catalogProducts.nf-products-list .nf-pc--out {
  opacity: 0.7;
}

/* Status badge smaller in list mode */
#catalogProducts.nf-products-list-mode .nf-pc__status,
#catalogProducts.nf-products-list .nf-pc__status {
  font-size: 9px;
  padding: 2px 7px;
}

/* Popular badge hidden in list (redundant with meta text) */
#catalogProducts.nf-products-list-mode .nf-pc__popular,
#catalogProducts.nf-products-list .nf-pc__popular {
  display: none;
}

/* Responsive: narrow screens collapse back to column */
@media (max-width: 560px) {
  #catalogProducts.nf-products-list-mode .nf-pc,
  #catalogProducts.nf-products-list .nf-pc {
    flex-direction: column;
  }
  #catalogProducts.nf-products-list-mode .nf-pc__img-wrap,
  #catalogProducts.nf-products-list .nf-pc__img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 10px 10px 0 0;
  }
  #catalogProducts.nf-products-list-mode .nf-pc__footer,
  #catalogProducts.nf-products-list .nf-pc__footer {
    border-left: none;
    border-top: 1px solid rgba(26,36,35,0.06);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 16px 14px;
  }
}


/* ════════════════════════════════════════════════════════════════
   PARTNER CARDS  ·  .nf-pt-card
   ════════════════════════════════════════════════════════════════ */

.nf-pt-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(26,36,35,0.07);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(26,36,35,0.05);
  transition: transform 0.26s cubic-bezier(.2,.8,.4,1),
              box-shadow 0.26s ease,
              border-color 0.26s ease;
}
.nf-pt-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nf-accent, #4da0a9), #6bbec7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.8,.4,1);
  z-index: 1;
  border-radius: 20px 20px 0 0;
}
.nf-pt-card:hover::before {
  transform: scaleX(1);
}
.nf-pt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -16px rgba(26,36,35,0.2), 0 4px 12px rgba(77,160,169,0.08);
  border-color: rgba(77,160,169,0.22);
}

/* — Media: квадратная зона логотипа — */
.nf-pt-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  overflow: hidden;
  background: linear-gradient(150deg, #f8fbfb 0%, #edf5f4 100%);
  transition: background 0.26s ease;
}
.nf-pt-card:hover .nf-pt-card__media {
  background: linear-gradient(150deg, #f0faf9 0%, #e4f3f2 100%);
}
.nf-pt-card__media::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,160,169,0.15), transparent);
}
.nf-pt-card__logo {
  max-width: 82%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(.2,.8,.4,1), filter 0.3s ease;
  filter: grayscale(15%) opacity(0.88);
}
.nf-pt-card:hover .nf-pt-card__logo {
  transform: scale(1.07);
  filter: none;
}
.nf-pt-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--nf-accent, #4da0a9);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(77,160,169,0.18);
  box-shadow: 0 2px 8px rgba(26,36,35,0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* — Body: имя + страна — */
.nf-pt-card__body {
  padding: 16px 18px 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.nf-pt-card__name {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a2423;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nf-pt-card__country {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #7a8f8c;
}
.nf-pt-card__country svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.5;
}

/* — CTA: появляется при ховере снизу — */
.nf-pt-card__cta {
  margin: 10px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(77,160,169,0.06);
  border: 1px solid rgba(77,160,169,0.16);
  color: var(--nf-accent, #4da0a9);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.nf-pt-card:hover .nf-pt-card__cta {
  background: var(--nf-accent, #4da0a9);
  border-color: var(--nf-accent, #4da0a9);
  color: #fff;
}
.nf-pt-card__arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}
.nf-pt-card:hover .nf-pt-card__arrow {
  transform: translateX(4px);
}


/* ════════════════════════════════════════════════════════════════
   PARTNER MODAL  ·  #partnerModal  ·  .nf-pm-*
   ════════════════════════════════════════════════════════════════ */

#partnerModal .nf-modal-inner,
#partnerModal .nf-modal-inner.nf-modal-partner {
  width: min(900px, 94vw);
  max-width: min(900px, 94vw);
  max-height: 86vh;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

/* ── Outer scroll wrapper ── */
.nf-pm-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  max-height: 86vh;
}

/* ══ HERO ══ */
.nf-pm-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 30px 24px;
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(0,172,130,0.08), transparent 52%),
    linear-gradient(135deg, #f4f7f6 0%, #e9efee 100%);
  border-bottom: 1px solid rgba(26,36,35,0.08);
  flex-shrink: 0;
}

.nf-pm-hero__logo {
  flex-shrink: 0;
  width: 104px;
  height: 76px;
  background: #fff;
  border: 1px solid rgba(26,36,35,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-shadow: 0 6px 18px -6px rgba(26,36,35,0.16);
}
.nf-pm-hero__logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.nf-pm-hero__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-pm-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a2423;
  margin: 0;
  line-height: 1.2;
}
.nf-pm-meta {
  font-size: 12px;
  color: #7a8b89;
}
.nf-pm-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #4a5c59;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats chips row */
.nf-pm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.nf-pm-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(26,36,35,0.10);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #3a4c49;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.nf-pm-chip svg { opacity: 0.5; flex-shrink: 0; }
.nf-pm-chip--count {
  background: rgba(26,36,35,0.08);
  border-color: rgba(26,36,35,0.18);
  color: #1a2423;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero action buttons */
.nf-pm-hero__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}
.nf-pm-hero__actions .nf-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  min-width: 140px;
}
.nf-pm-hero__actions .nf-btn-primary { font-weight: 700; }
.nf-btn-ghost-dark {
  background: rgba(26,36,35,0.06);
  border: 1px solid rgba(26,36,35,0.13);
  color: #2a3c39;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nf-btn-ghost-dark:hover {
  background: rgba(26,36,35,0.11);
  border-color: rgba(26,36,35,0.22);
}

/* ══ TOOLBAR ══ */
.nf-pm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 12px;
  border-bottom: 1px solid rgba(26,36,35,0.07);
  flex-shrink: 0;
  background: #fff;
}
.nf-pm-toolbar__title {
  font-size: 13px;
  font-weight: 700;
  color: #1a2423;
  white-space: nowrap;
}
.nf-pm-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nf-pm-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nf-pm-search-icon {
  position: absolute;
  left: 10px;
  color: #9aabaa;
  pointer-events: none;
}
.nf-pm-search {
  padding: 7px 12px 7px 32px;
  border: 1px solid rgba(26,36,35,0.13);
  border-radius: 10px;
  font-size: 13px;
  color: #1a2423;
  background: #f8f9f8;
  outline: none;
  width: 220px;
  transition: border-color 0.15s, background 0.15s;
}
.nf-pm-search:focus {
  border-color: rgba(0,172,130,0.45);
  background: #fff;
}
.nf-pm-search::placeholder { color: #b0bfbd; }

/* ══ PRODUCTS GRID ══ */
.nf-pm-grid {
  flex: 1;
  overflow-y: auto;
  padding: 22px 28px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 16px;
  align-content: start;
  background: #f6f8f8;
  scrollbar-width: thin;
  scrollbar-color: rgba(26,36,35,0.12) transparent;
}

/* Empty state */
.nf-pm-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
  color: #9aabaa;
  font-size: 13px;
}

/* ── Product card ── */
.nf-pm-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26,36,35,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.nf-pm-card:hover {
  box-shadow: 0 8px 28px rgba(26,36,35,0.10);
  transform: translateY(-2px);
  border-color: rgba(0,172,130,0.22);
}

/* Image area */
.nf-pm-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4f6f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-pm-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.nf-pm-card:hover .nf-pm-card__img img {
  transform: scale(1.04);
}

/* Status badge */
.nf-pm-card__status {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nf-pm-card__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nf-pm-card__status--in {
  background: rgba(0,172,130,0.15);
  color: #007a5e;
}
.nf-pm-card__status--in .nf-pm-card__status-dot { background: #00ac82; }
.nf-pm-card__status--order {
  background: rgba(212,149,32,0.15);
  color: #9a6a00;
}
.nf-pm-card__status--order .nf-pm-card__status-dot { background: #d49520; }

/* Body */
.nf-pm-card__body {
  padding: 12px 14px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nf-pm-card__cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aabaa;
}
.nf-pm-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #1a2423;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nf-pm-card__price {
  font-size: 14px;
  font-weight: 700;
  color: #1a2423;
  margin-top: 2px;
}
.nf-pm-card__price--rq {
  font-size: 12px;
  font-weight: 500;
  color: #9aabaa;
  font-style: italic;
}

/* Footer */
.nf-pm-card__foot {
  padding: 0 14px 14px;
  display: flex;
  gap: 8px;
}
.nf-pm-card__open {
  flex: 1;
  font-size: 12px;
  background: rgba(26,36,35,0.05);
  border: 1px solid rgba(26,36,35,0.11);
  color: #3a4c49;
  padding: 7px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
  text-align: center;
}
.nf-pm-card__open:hover { background: rgba(26,36,35,0.09); }
.nf-pm-card__add {
  flex: 1;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 9px;
}


/* ── Responsive ── */
@media (max-width: 860px) {
  .nf-pm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nf-pm-hero {
    flex-wrap: wrap;
    padding: 20px 18px 16px;
    gap: 14px;
  }
  .nf-pm-hero__logo { width: 72px; height: 56px; }
  .nf-pm-hero__body { min-width: calc(100% - 88px); }
  .nf-pm-title { font-size: 16px; }
  .nf-pm-desc { display: none; }
  .nf-pm-hero__actions {
    flex-direction: row;
    width: 100%;
  }
  .nf-pm-hero__actions .nf-btn { flex: 1; min-width: unset; }
  .nf-pm-toolbar { padding: 10px 18px; }
  .nf-pm-grid { padding: 16px 18px 20px; gap: 12px; }
  #partnerModal .nf-modal-inner {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
  }
}
@media (max-width: 480px) {
  .nf-pm-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nf-pm-search { width: 160px; }
}

/* Hero years badge */
.nf-hero__years-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: rgba(var(--nf-accent-rgb), 0.07);
  border: 1px solid rgba(var(--nf-accent-rgb), 0.22);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--nf-color-accent);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  user-select: none;
  width: fit-content;
  cursor: default;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.nf-hero__years-pill:hover {
  border-color: rgba(var(--nf-accent-rgb), 0.5);
  background: rgba(var(--nf-accent-rgb), 0.11);
  transform: scale(1.025);
}
.nf-hero__years-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 48px at var(--blik-x, -100px) var(--blik-y, -100px),
    rgba(var(--nf-accent-rgb), 0.32) 0%,
    rgba(var(--nf-accent-rgb), 0.10) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
  border-radius: inherit;
}
.nf-hero__years-pill:hover::before {
  opacity: 1;
}
.nf-hero__years-pill__icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.9;
}
.nf-hero__years-pill span {
  position: relative;
}
