/* Первый экран: 3D-окно в раздевалку. Раскладка — как у прежней главы-ролика (.reel-*), но на один экран, без прокрутки шагов. */
.reel--hero3d {
  height: calc(var(--pin-h) + var(--header-h));
  padding-top: var(--header-h);
}

.reel--hero3d .reel-pin {
  position: relative;
  top: 0;
}

.reel--hero3d .reel-view canvas.h3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* статичный кадр — пока сцена грузится; убираем, когда WebGL нарисовал первый кадр */
.reel--hero3d .reel-still {
  z-index: 1;
  transition: opacity 0.4s ease;
}

.reel--hero3d .reel-view.is-live .reel-still {
  opacity: 0;
  pointer-events: none;
}

.h3d-cam {
  appearance: none;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(18, 18, 20, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #121214;
  font: 600 11px/1 var(--font-ui, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.h3d-cam[aria-pressed="true"] {
  background: #121214;
  color: #fff;
}

@media (max-width: 767px) {
  .reel--hero3d .reel-foot {
    align-items: flex-start;
  }
}

/* --- Новинки на главной: карточки каталога (css/catalog.css), без шапки-отступа каталога --- */
.cat2.hn {
  padding: 72px var(--rc-pad) 88px;
}

.hn-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
}

.hn-head h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hn-all {
  color: var(--rc-ink);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hn-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .hn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .cat2.hn { padding: 40px var(--rc-pad) 56px; }
  .hn-head { margin-bottom: 18px; }
  .hn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
