:root {
  --nv-accent: #ffd400;
  --nv-accent-dark: #e6bf00;
  --nv-dark: #111;
  --nv-card: #fff;
  --nv-muted: #666;
  --nv-border: #e5e5e5;
  --nv-filter-bg: #fff;
}

.nv-page { background: #f4f4f4; color: #111; font-family: Montserrat, sans-serif; }
.nv-topbar { background: #111; color: #fff; padding: 12px 0; }
.nv-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nv-logo { font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; }
.nv-logo span { color: #9ad600; }
.nv-phone { color: #9ad600; font-weight: 700; text-decoration: none; }
.nv-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nv-breadcrumb { padding: 14px 0; font-size: .9rem; color: var(--nv-muted); }
.nv-breadcrumb a { color: #333; text-decoration: none; }
.nv-hero { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); color: #fff; padding: 48px 0; }
.nv-hero h1 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.nv-hero p { margin: 0; color: #ccc; max-width: 720px; }

/* Category landing hero with lead form */
.nv-cat-hero {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #252525 45%, #1a1a1a 100%);
  color: #fff;
  padding: 36px 0 52px;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nv-cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(154, 214, 0, 0.12), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255, 212, 0, 0.08), transparent 40%);
  pointer-events: none;
}

.nv-cat-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.nv-cat-hero__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ad600;
}

.nv-cat-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
}

.nv-cat-hero__lead {
  margin: 0 0 18px;
  color: #ccc;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 540px;
  line-height: 1.5;
}

.nv-cat-hero__points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.nv-cat-hero__points li {
  position: relative;
  padding: 0 0 8px 22px;
  color: #ddd;
  font-size: 0.92rem;
}

.nv-cat-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nv-accent);
}

.nv-cat-hero__phone {
  display: inline-block;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #9ad600;
  text-decoration: none;
}

.nv-cat-hero__phone:hover { opacity: 0.9; }

.nv-cat-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.nv-cat-hero__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.nv-cat-hero__photo img {
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: min(42vh, 320px);
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

/* Hero with product photo — lighter, brand-colored background */
.nv-cat-hero--with-photo {
  background: linear-gradient(145deg, #f2f6ea 0%, #e4efd4 38%, #f7f2dc 72%, #eef5e2 100%);
  color: #111;
}

.nv-cat-hero--with-photo::before {
  background:
    radial-gradient(circle at 88% 18%, rgba(154, 214, 0, 0.35), transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(255, 212, 0, 0.28), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55), transparent 60%);
}

.nv-cat-hero--with-photo .nv-cat-hero__badge {
  background: rgba(154, 214, 0, 0.18);
  border-color: rgba(90, 130, 0, 0.22);
  color: #4a7300;
}

.nv-cat-hero--with-photo .nv-cat-hero__lead {
  color: #444;
}

.nv-cat-hero--with-photo .nv-cat-hero__points li {
  color: #555;
}

.nv-cat-hero--with-photo .nv-cat-hero__phone {
  color: #4a7300;
}

.nv-cat-hero--with-photo .nv-cat-hero__scroll {
  color: rgba(74, 115, 0, 0.45);
}

.nv-cat-hero--with-photo .nv-cat-hero__form-box {
  box-shadow: 0 12px 36px rgba(74, 115, 0, 0.12);
}

.nv-cat-hero__form-wrap { display: flex; justify-content: center; }

.nv-cat-hero__form-box {
  width: min(100%, 400px);
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.nv-cat-hero__form-box h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
}

.nv-cat-hero__form-box > p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--nv-muted);
  line-height: 1.4;
}

.nv-cat-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  animation: nv-bounce 2s ease infinite;
}

@keyframes nv-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 900px) {
  .nv-cat-hero {
    min-height: auto;
    padding: 28px 0 44px;
  }

  .nv-cat-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nv-cat-hero--with-photo .nv-cat-hero__points {
    display: none;
  }

  .nv-cat-hero__aside {
    gap: 12px;
  }

  .nv-cat-hero__photo {
    order: 2;
  }

  .nv-cat-hero__photo img {
    max-height: 140px;
  }

  .nv-cat-hero__form-wrap {
    order: 1;
    justify-content: stretch;
  }

  .nv-cat-hero__form-box { width: 100%; }

  .nv-cat-hero__scroll { display: none; }
}

.nv-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 24px 0 48px; align-items: start; }
@media (max-width: 900px) { .nv-layout { grid-template-columns: 1fr; } }

.nv-main { min-width: 0; }

/* jh-shop style filter sidebar */
.nv-filters {
  background: var(--nv-filter-bg);
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  padding: 0;
  overflow: auto;
}

@media (min-width: 901px) {
  .nv-filters {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
  }
}

.nv-filter-open {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  color: #111;
}

.nv-filter-open__icon {
  width: 16px;
  height: 12px;
  position: relative;
}

.nv-filter-open__icon::before,
.nv-filter-open__icon::after,
.nv-filter-open__icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
  border-radius: 1px;
}

.nv-filter-open__icon::before { top: 0; }
.nv-filter-open__icon span { top: 5px; }
.nv-filter-open__icon::after { bottom: 0; }

.nv-filter-open__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--nv-accent);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
}

.nv-filter-open__badge[hidden] { display: none; }

.nv-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--nv-border);
}

.nv-filters__header .nv-filters__title {
  border-bottom: 0;
  flex: 1;
}

.nv-filters__close {
  display: none;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border: 0;
  border-radius: 4px;
  background: #f3f3f3;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.nv-filters__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .45);
}

.nv-filters__backdrop.is-visible { display: block; }

@media (max-width: 900px) {
  .nv-layout {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
  }

  .nv-main { order: 1; }
  .nv-filters { order: 2; }

  .nv-filter-open { display: inline-flex; }

  .nv-toolbar {
    position: sticky;
    top: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "count count"
      "filter sort";
    gap: 10px 12px;
    padding: 8px 0 12px;
    margin-bottom: 12px;
    background: #f4f4f4;
    border-bottom: 1px solid var(--nv-border);
  }

  .nv-count { grid-area: count; margin: 0; }
  .nv-filter-open { grid-area: filter; justify-self: start; }
  .nv-sort { grid-area: sort; justify-self: end; }

  .nv-filters {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 1000;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    transform: translateX(-100%);
    transition: transform .25s ease, visibility .25s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
    visibility: hidden;
    pointer-events: none;
  }

  .nv-filters.is-mobile-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nv-filters__close { display: inline-flex; align-items: center; justify-content: center; }

  body.nv-filters-open { overflow: hidden; }
}

@media (min-width: 901px) {
  .nv-filters__header .nv-filters__close,
  .nv-filters__backdrop { display: none !important; }
}

.nv-filters__title {
  margin: 0;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 800;
  border-bottom: 1px solid var(--nv-border);
}

.nv-filters__form { padding: 0; }

.nv-filters__block {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--nv-border);
}

.nv-filters__block legend {
  padding: 0;
  margin: 0;
  width: 100%;
}

.nv-filters__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  text-align: left;
}

.nv-filters__toggle-text { flex: 1; }

.nv-filters__toggle-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform .2s;
  margin-left: 8px;
}

.nv-filters__block:not(.is-open) .nv-filters__toggle-icon {
  transform: rotate(-45deg);
}

.nv-filters__content {
  display: none;
  padding: 0 18px 16px;
}

.nv-filters__block.is-open .nv-filters__content { display: block; }

.nv-filters__select,
.nv-filters__search {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

.nv-filters__checks {
  max-height: 220px;
  overflow: auto;
}

.nv-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.35;
}

.nv-check:last-child { margin-bottom: 0; }

.nv-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nv-check__box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  margin-top: 1px;
  position: relative;
}

.nv-check input:checked + .nv-check__box {
  background: var(--nv-accent);
  border-color: var(--nv-accent-dark);
}

.nv-check input:checked + .nv-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Range slider like jh-shop */
.nv-filters__range { padding-top: 4px; }

.nv-range__track-wrap {
  position: relative;
  height: 34px;
  margin-bottom: 10px;
}

.nv-range__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
}

.nv-range__fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--nv-accent);
  border-radius: 2px;
}

.nv-range__min,
.nv-range__max {
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: 18px;
  margin: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 2;
}

.nv-range__min::-webkit-slider-thumb,
.nv-range__max::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nv-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}

.nv-range__min::-moz-range-thumb,
.nv-range__max::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nv-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}

.nv-range__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nv-range__input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  font: inherit;
  background: #f7f7f7;
  text-align: center;
}

.nv-range__sep { color: var(--nv-muted); font-size: .85rem; }

.nv-filters__reset { margin: 14px 18px 18px; width: calc(100% - 36px); }

.nv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.nv-count { margin: 0; color: var(--nv-muted); font-size: .9rem; }

.nv-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--nv-muted);
}

.nv-sort select {
  padding: 8px 10px;
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  background: #9ad600;
  color: #111;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.nv-btn--outline { background: transparent; border: 2px solid #9ad600; }
.nv-btn--block { width: 100%; box-sizing: border-box; }

.nv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.nv-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nv-card__img {
  aspect-ratio: 1;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.nv-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.nv-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.nv-card__brand { font-size: .75rem; color: var(--nv-muted); text-transform: uppercase; letter-spacing: .06em; }

.nv-card__title { margin: 0; font-size: .95rem; line-height: 1.35; }

.nv-card__title a { color: inherit; text-decoration: none; }

.nv-card__price { font-weight: 900; font-size: 1.05rem; color: #4a7300; }

.nv-product { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 0 48px; }
@media (max-width: 900px) { .nv-product { grid-template-columns: 1fr; } }

.nv-product__img {
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.nv-product__img img { max-width: 100%; max-height: 420px; object-fit: contain; }

.nv-product__info h1 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.5vw, 2rem); }

.nv-product__price { font-size: 1.5rem; font-weight: 900; margin-bottom: 16px; }
.nv-product__price-note {
  margin: -8px 0 16px;
  font-size: 0.82rem;
  color: var(--nv-muted);
  line-height: 1.4;
}

.nv-product__specs { margin: 16px 0; padding: 0; list-style: none; }

.nv-product__specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--nv-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .92rem;
}

.nv-form-box {
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.nv-form-box h2 { margin: 0 0 8px; font-size: 1.1rem; }

.nv-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}

.nv-form-msg { min-height: 1.2em; font-size: .9rem; color: #b91c1c; }
.nv-form-msg.is-ok { color: #15803d; }

.nv-footer { background: #111; color: #999; padding: 24px 0; text-align: center; font-size: .9rem; }
.nv-footer a { color: #9ad600; text-decoration: none; }

.nv-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 24px 0; }

.nv-cat {
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.nv-cat strong { display: block; margin-bottom: 6px; }
.nv-cat span { color: var(--nv-muted); font-size: .85rem; }

.nv-seo {
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
  line-height: 1.6;
  color: #333;
}

.nv-topbar__inner .catalog-filter-panel--topbar { max-width: 260px; margin-left: auto; }
.nv-topbar__inner .catalog-filter-panel--topbar .catalog-filter-panel__input {
  background: #222;
  color: #fff;
  border-color: #444;
}

@media (max-width: 768px) {
  .nv-topbar__inner .catalog-filter-panel--topbar { max-width: 100%; width: 100%; order: 3; }
}

/* Добавить в конец /css/navesnoe.css на Beget (шаг 1 SEO) */
.nv-seo-text { padding: 2rem 0 2.5rem; max-width: 720px; line-height: 1.65; }
.nv-seo-text h2 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; font-weight: 700; }
.nv-seo-text p { margin: 0 0 0.75rem; color: #333; }

/* Волна 4 SEO — перелинковка */
.nv-seo-links {
  padding: 1.5rem 0 2.5rem;
  max-width: 720px;
  line-height: 1.55;
  border-top: 1px solid #e8e8e8;
  margin-top: 0.5rem;
}
.nv-seo-links h2 {
  font-size: 1.05rem;
  margin: 1rem 0 0.4rem;
  font-weight: 700;
}
.nv-seo-links ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}
.nv-seo-links li { margin: 0.25rem 0; }
.nv-seo-links a { color: #c45c00; text-decoration: underline; }
.nv-seo-links a:hover { color: #8a3d00; }
.nv-seo-chars { margin: 0.5rem 0 1rem; padding-left: 1.2rem; }

