/* VENTRA Home — Premium layout */

body.nv-home { background: var(--bg); }
body.nv-home .nv-announce { display: none; }
body.nv-home .nv-catnav { display: none; }

/* ── Premium header ── */
.nv-header--premium {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.nv-header--premium .nv-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}
.nv-header--premium .nv-logo {
  justify-self: start;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
}
.nv-header--premium .nv-nav--center {
  justify-self: center;
  display: flex;
  gap: 28px;
}
.nv-header--premium .nv-nav--center a {
  font-size: 0.88rem;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nv-header--premium .nv-nav--center a:hover,
.nv-header--premium .nv-nav--center a.is-active {
  color: var(--text);
  border-bottom-color: var(--gold);
}
.nv-header--premium .nv-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nv-header--premium .nv-header__actions .nv-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
}
.nv-header--premium .nv-header__actions .nv-nav__ico { opacity: 0.7; }

/* ── Full-width hero ── */
.nv-hero--premium {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}
.nv-hero--premium .nv-hero__photo {
  transform: translateZ(0);
  z-index: 0;
}
.nv-hero--premium .nv-hero__photo::after {
  background: var(--hero-overlay);
  z-index: 3;
}
.nv-hero--premium .nv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  width: 100%;
}
.nv-hero--premium h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}
.nv-hero--premium h1 em { font-style: italic; color: var(--gold); }
.nv-hero--premium .nv-hero__lead {
  color: var(--hero-lead);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Hero search bar */
.nv-hero-search {
  display: flex;
  align-items: stretch;
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto 20px;
  backdrop-filter: blur(12px);
}
.nv-hero-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.nv-hero-search__field:last-of-type { border-right: none; }
.nv-hero-search__field span { color: var(--muted); font-size: 0.9rem; flex-shrink: 0; }
.nv-hero-search input,
.nv-hero-search select {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  padding: 16px 0;
  font-size: 0.88rem;
  outline: none;
  min-width: 0;
}
.nv-hero-search input::placeholder { color: var(--muted); }
.nv-hero-search select { cursor: pointer; }
.nv-hero-search__btn {
  padding: 0 28px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.nv-hero-search__btn:hover { background: rgba(232, 197, 71, 0.08); }

/* Lane pills under search */
.nv-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.nv-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--chrome-border);
  background: var(--pill-bg);
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.nv-hero-pill:hover { color: var(--text); border-color: var(--line); }
.nv-hero-pill.is-active {
  background: var(--btn-post-bg);
  color: var(--btn-post-text);
  border-color: transparent;
  font-weight: 600;
}

/* ── Main: top row + full-width bottom ── */
.nv-home-main { padding: 20px 0 0; }
.nv-home-top-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.nv-home-aside {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nv-home-featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.nv-home-featured-head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0;
  font-weight: 600;
}
.nv-home-featured-head a {
  font-size: 0.84rem;
  color: var(--gold);
}
.nv-home-featured-head a:hover { text-decoration: underline; }

/* ── Bottom home: lanes + second row ── */
.nv-home-bottom {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.nv-home-section-head {
  margin-bottom: 20px;
}
.nv-home-section-head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 44px;
}
.nv-home-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 8px;
  font-weight: 600;
}
.nv-home-section-head--row h2 { margin-bottom: 0; }
.nv-home-section-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.5;
}
.nv-home-section-head a {
  font-size: 0.84rem;
  color: var(--gold);
  white-space: nowrap;
}
.nv-home-section-head a:hover { text-decoration: underline; }
.nv-lanes--home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nv-grid.nv-grid--home,
.nv-grid--home {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px;
}
.nv-grid.nv-grid--more,
.nv-grid--more {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px;
}

.nv-card--premium .nv-card__img { aspect-ratio: 4/3.2; min-height: 140px; }
.nv-card--premium {
  background: var(--card);
  border: 1px solid var(--line);
}
.nv-card--premium .nv-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.nv-card--premium .nv-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.45);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.nv-card--premium .nv-card__fav:hover { background: rgba(0,0,0,0.65); }
.nv-card--premium .nv-card__specs {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 4-я карточка — призыв разместить */
.nv-card--cta {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-style: dashed;
  border-color: var(--line);
  overflow: hidden;
  position: relative;
}
.nv-card--cta:hover {
  border-color: var(--gold);
  border-style: solid;
}
.nv-card__cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--glow) 0%, transparent 65%),
    linear-gradient(165deg, var(--card) 0%, var(--bg-elevated) 100%);
  pointer-events: none;
}
.nv-card__body--cta {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px 24px;
  min-height: 220px;
}
.nv-card__cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--btn-post-bg);
  color: var(--btn-post-text);
  box-shadow: 0 6px 20px var(--glow);
}
.nv-card--cta h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 8px;
  line-height: 1.25;
}
.nv-card--cta p {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 200px;
}
.nv-card__cta-btn {
  font-size: 0.78rem;
  padding: 10px 16px;
  pointer-events: none;
}

/* Recent sidebar */
.nv-home-aside h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 18px;
}
.nv-recent--premium { gap: 14px; }
.nv-recent--premium a {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nv-recent--premium a:last-child { border-bottom: none; padding-bottom: 0; }
.nv-recent--premium img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}
.nv-recent--premium .nv-recent__body { flex: 1; min-width: 0; }
.nv-recent--premium strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nv-recent--premium .nv-recent__loc { display: block; margin-top: 2px; }
.nv-recent__price--gold { color: var(--gold) !important; font-weight: 600; display: block; margin-top: 4px; }

/* Sidebar cards — заполняют правую колонку */
.nv-aside-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.nv-aside-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.nv-aside-post__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--btn-post-bg);
  color: var(--btn-post-text);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
}
.nv-aside-post strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.nv-aside-post p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.nv-aside-premium {
  background: linear-gradient(145deg, var(--card) 0%, var(--bg-elevated) 100%);
}
.nv-aside-premium__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.nv-aside-premium p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.nv-aside-premium__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
}
.nv-aside-review {
  margin: 0;
  padding: 16px;
}
.nv-aside-review p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}
.nv-aside-review cite {
  font-size: 0.72rem;
  font-style: normal;
  color: var(--muted);
}

/* Trust bar */
.nv-trustbar {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 36px 0;
}
.nv-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nv-trustbar__item {
  text-align: center;
  padding: 0 12px;
}
.nv-trustbar__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 71, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.nv-trustbar__item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.nv-trustbar__item p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

body.nv-home .nv-footer { margin-top: 0; background: var(--bg); }

@media (max-width: 1024px) {
  .nv-grid--home,
  .nv-grid--more { grid-template-columns: repeat(2, 1fr); }
  .nv-lanes--home { grid-template-columns: repeat(2, 1fr); }
  .nv-home-top-grid { grid-template-columns: 1fr; }
  .nv-home-aside {
    position: static;
    order: -1;
  }
  .nv-trustbar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nv-header--premium .nv-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .nv-header--premium .nv-nav--center {
    grid-column: 1 / -1;
    justify-self: center;
    order: 3;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nv-hero-search { flex-direction: column; border-radius: 14px; }
  .nv-hero-search__field { border-right: none; border-bottom: 1px solid var(--line); }
  .nv-hero-search__btn { padding: 14px; border-left: none; }
  .nv-grid--home,
  .nv-grid--more { grid-template-columns: 1fr; }
  .nv-lanes--home { grid-template-columns: 1fr; }
  .nv-trustbar__grid { grid-template-columns: 1fr; }
  .nv-reviews__grid { grid-template-columns: 1fr; }
  .nv-hero__actions { flex-direction: column; }
  .nv-fab-post { display: flex; }
}

/* ── Hero: 3-second clarity + CTA ── */
.nv-hero__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--chrome-border);
  background: var(--pill-bg);
  color: var(--gold);
}
.nv-hero__compare {
  list-style: none;
  margin: 0 auto 20px;
  padding: 0;
  max-width: 520px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nv-hero__compare li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--hero-lead);
  line-height: 1.4;
}
.nv-hero__compare-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--btn-post-text);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.nv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.nv-btn--post-hero {
  padding: 10px 20px !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  border-radius: 10px !important;
  letter-spacing: 0.02em;
}
/* Мягкая кнопка «поделиться» — не кричит */
.nv-btn--post-soft {
  padding: 8px 16px !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em;
  box-shadow: none !important;
  animation: none !important;
  opacity: 0.95;
}
.nv-header--premium .nv-btn--post-soft {
  font-size: 0.76rem !important;
  padding: 7px 14px !important;
}
.nv-btn--post-soft:hover {
  box-shadow: 0 2px 12px var(--glow) !important;
  transform: translateY(-1px);
}
.nv-hero__actions .nv-btn--post-soft {
  background: var(--pill-bg);
  color: var(--text);
  border: 1px solid var(--chrome-border);
}
html[data-nova-theme="dark"] .nv-hero__actions .nv-btn--post-soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.nv-hero__actions .nv-btn--post-soft:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--pill-bg);
}
.nv-btn--ghost {
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--chrome-border);
  background: var(--pill-bg);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}
.nv-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.nv-btn--post-pulse {
  animation: nv-post-pulse 2.4s ease-in-out infinite;
}
@keyframes nv-post-pulse {
  0%, 100% { box-shadow: 0 4px 20px var(--glow); }
  50% { box-shadow: 0 6px 32px var(--glow), 0 0 0 4px rgba(232, 197, 71, 0.2); }
}

/* ── Live activity ticker ── */
.nv-activity-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
}
.nv-activity-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--wrap, 1200px);
  margin: 0 auto;
  padding: 10px 20px;
}
.nv-activity-bar__label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nv-activity-bar__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: nv-live-pulse 1.2s ease infinite;
}
@keyframes nv-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.nv-activity-bar__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nv-activity-bar__scroll {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: nv-activity-scroll 28s linear infinite;
  font-size: 0.8rem;
  color: var(--muted);
}
.nv-activity-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nv-activity-bar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes nv-activity-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Reviews ── */
.nv-reviews {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}
.nv-reviews__head {
  text-align: center;
  margin-bottom: 24px;
}
.nv-reviews__head h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.nv-reviews__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.nv-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.nv-review-card {
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  border-top: 3px solid var(--lane-stripe, var(--gold));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nv-review-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.nv-review-card__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.nv-review-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.nv-review-card__foot strong {
  display: block;
  font-size: 0.82rem;
}
.nv-review-card__foot small {
  color: var(--muted);
  font-size: 0.68rem;
}

/* ── Distinctive listing cards ── */
.nv-card--lane {
  border-top: 3px solid var(--lane-stripe, var(--gold));
  overflow: hidden;
}
.nv-card__seller {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}
.nv-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--av-color, var(--gold));
  color: #111;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nv-card__seller-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
}
.nv-stars {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Mobile floating post */
.nv-fab-post {
  display: none;
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: 20px;
  z-index: 300;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--pill-bg);
  color: var(--text);
  border: 1px solid var(--chrome-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.nv-fab-post:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1024px) {
  .nv-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nv-reviews__grid { grid-template-columns: 1fr; }
}
