/* Главная: оверрайды концепта поверх theme.css */

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 8.5rem;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  background: none;
}

.hero picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  max-width: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.32) 48%, transparent 72%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.45) 0%, transparent 28%, rgba(11, 11, 12, 0.15) 58%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--heading);
  max-width: 14ch;
  margin: 0;
}

.hero__sub,
.hero__sub p {
  margin-top: 1.2rem;
  max-width: 52ch;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.55;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.categories-section {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
  padding: 0 0 4rem;
  background: transparent;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  max-width: none;
  padding: 0;
}

.cat-tile {
  position: relative;
  grid-column: span 3;
  min-height: 280px;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.35rem;
  color: var(--heading);
  transform: none;
}

.cat-tile:nth-last-child(-n + 3) {
  grid-column: span 4;
}

.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  margin: 0;
  filter: none;
  transition: transform 0.7s var(--ease);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.78));
}

.cat-tile:hover {
  transform: none;
  color: var(--heading);
}

.cat-tile:hover img {
  transform: scale(1.06);
  filter: none;
}

.cat-tile__label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin: 0;
}

.promos,
.articles,
.reviews {
  padding: 0.5rem 0 5.5rem;
  background: transparent;
  color: var(--text);
}

.split {
  padding: 0 0 5.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}

.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split__heading {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--heading);
}

.split__text {
  margin-top: 1.15rem;
  line-height: 1.6;
  max-width: 44ch;
  font-size: 1.05rem;
  color: var(--text);
}

.split__body .page-content {
  max-width: 44ch;
  margin-top: 1.15rem;
  color: var(--text);
  font-size: 1.05rem;
}

.split__body .btn {
  margin-top: 1.6rem;
  align-self: flex-start;
}

.seo-block .page-content h2:first-child {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--heading);
  margin: 0 0 1.15rem;
}

.split__photo {
  position: relative;
  isolation: isolate;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 440px;
}

.split__photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.split__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.split:hover .split__photo img {
  transform: scale(1.05);
}

.split--flip .split__inner {
  direction: rtl;
}

.split--flip .split__inner > * {
  direction: ltr;
}

.split--text .split__inner {
  grid-template-columns: 1fr;
}

.split--text .split__text,
.split--text .split__body .page-content {
  max-width: 60ch;
}

.promos__title,
.articles__title,
.reviews__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--heading);
  margin-bottom: 1.6rem;
  text-align: left;
}

.promos .promo-slide,
.articles .article-card--hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  grid-template-columns: none;
  min-height: 420px;
  border-radius: var(--r);
  background: #141416;
  border: 0;
}

.promos .promo-slide img,
.articles .article-card--hero img,
.articles .article-card--sm img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  max-width: none;
  margin: 0;
  transition: transform 0.7s var(--ease);
}

.promos .promo-slide:hover img,
.articles .article-card--hero:hover img,
.articles .article-card--sm:hover img {
  transform: scale(1.05);
}

.promos .promo-slide::after,
.articles .article-card--hero::after,
.articles .article-card--sm::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.72) 68%, rgba(0, 0, 0, 0.92) 100%);
}

.promos .promo-slide__body,
.articles .article-card__overlay,
.articles .article-card--sm .article-card__body {
  position: relative;
  z-index: 2;
  padding: 1.45rem 1.6rem 1.55rem;
  max-width: 38rem;
  display: block;
  background: none;
  flex: 0 0 auto;
  margin-top: auto;
  align-self: flex-start;
}

.promos .promo-slide__body {
  padding-left: 4.75rem;
  padding-right: 4.75rem;
}

.promos .promo-slide__heading,
.articles .article-card__title,
.articles .article-card--hero .article-card__title,
.articles .article-card--sm .article-card__title {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #f3eee6;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.promos .promo-slide__text {
  margin-top: 0.55rem;
  max-width: 42ch;
  color: rgba(243, 238, 230, 0.86);
  line-height: 1.5;
  font-size: 0.98rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.promos .promo-slide__link,
.articles .article-card__link,
.articles .article-card--hero .article-card__link,
.articles .article-card--sm .article-card__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #f3eee6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.articles .articles__all {
  display: inline-block;
  margin-top: 0;
  font-weight: 700;
  color: var(--heading);
}

.promos .promos__wrap {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
}

.promos .promos__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 0;
}

.promos .promos__track::-webkit-scrollbar {
  display: none;
}

.promos .promo-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 100%;
}

.promos--list {
  padding: 2.5rem 0 4rem;
}

.promos--list .promos__track {
  display: flex;
  flex-direction: column;
  overflow: visible;
  scroll-snap-type: none;
  gap: 1rem;
}

.promos--list .promo-slide {
  flex: none;
  min-width: 0;
  width: 100%;
  scroll-snap-align: unset;
}

.promos--list .promo-slide__body {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.promos .promos__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.72);
  color: var(--icon);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.promos .promos__nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.promos .promos__nav--prev {
  left: 16px;
}

.promos .promos__nav--next {
  right: 16px;
}

.promos .promos__nav:hover {
  transform: translateY(calc(-50% - 1px));
  background: rgba(226, 58, 122, 0.28);
}

.promos .promos__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.promos .promos__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.promos .promos__dot.active {
  background: var(--magenta);
  transform: none;
}

.articles .articles__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  max-width: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.articles .articles__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 0;
}

.articles .article-card--hero {
  grid-row: 1 / span 2;
  min-height: 460px;
}

.articles .article-card--sm {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 220px;
  border-radius: var(--r);
  background: #141416;
  border: 0;
  transform: none;
  box-shadow: none;
}

.articles .article-card--sm:hover {
  transform: none;
  box-shadow: none;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 0;
}

.reviews--list {
  padding: 2.5rem 0 4rem;
}

.reviews--list .reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reviews--list .review-card--with-reply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
  align-items: stretch;
}

.reviews--list .review-card__text {
  padding-left: 0;
}

.reviews--list .review-card__reply {
  margin: 0;
  height: 100%;
}

.review-card {
  padding: 1.45rem 1.5rem 1.55rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  box-shadow: none;
  color: var(--text);
}

.review-card:hover {
  transform: none;
  border-color: rgba(226, 58, 122, 0.35);
  box-shadow: none;
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--magenta);
}

.review-card__stars {
  color: var(--magenta);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  margin: 0;
}

.review-card__text {
  line-height: 1.6;
  color: var(--text);
  font-size: 1.02rem;
  padding-top: 1.1rem;
  padding-left: calc(44px + 0.75rem);
  margin: 0;
}

.review-card__reply {
  margin: 1rem 0 0 calc(44px + 0.75rem);
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--magenta);
  background: rgba(226, 58, 122, 0.08);
  border-radius: 0 10px 10px 0;
}

.review-card__reply-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.35rem;
}

.review-card__reply-text {
  margin: 0;
  line-height: 1.55;
  color: var(--text);
  font-size: 0.95rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(226, 58, 122, 0.22);
  color: #f8b3cc;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
}

.review-card__name {
  font-weight: 700;
  color: var(--heading);
}

.review-card__date {
  color: var(--muted);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.cat-tile.reveal:nth-child(2) { transition-delay: 0.06s; }
.cat-tile.reveal:nth-child(3) { transition-delay: 0.12s; }
.cat-tile.reveal:nth-child(4) { transition-delay: 0.18s; }
.cat-tile.reveal:nth-child(5) { transition-delay: 0.08s; }
.cat-tile.reveal:nth-child(6) { transition-delay: 0.14s; }
.cat-tile.reveal:nth-child(7) { transition-delay: 0.2s; }
.review-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.review-card.reveal:nth-child(3) { transition-delay: 0.16s; }

.s-title {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--heading);
  font-weight: 700;
}

@media (max-width: 980px) {
  .articles__grid,
  .split__inner {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews--list .review-card--with-reply {
    grid-template-columns: 1fr;
  }

  .cat-tile,
  .cat-tile:nth-last-child(-n + 3) {
    grid-column: auto;
    min-height: 220px;
  }

  .cat-tile::after {
    background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.88));
  }

  .cat-tile__label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 4px 18px rgba(0, 0, 0, 0.75);
  }

  .article-card--hero {
    grid-row: auto;
    min-height: 280px;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 1.5rem) 0 6rem;
  }

  .hero__bg {
    object-fit: cover;
    object-position: center 22%;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.42) 0%, rgba(11, 11, 12, 0.22) 22%, rgba(11, 11, 12, 0.68) 58%, var(--bg) 100%),
      linear-gradient(90deg, rgba(11, 11, 12, 0.5) 0%, transparent 72%);
  }

  .hero h1 {
    max-width: 12ch;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 10px 32px rgba(0, 0, 0, 0.55);
  }

  .hero__sub,
  .hero__sub p {
    color: var(--heading);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .hero .btn--ghost {
    background: rgba(11, 11, 12, 0.55);
    border-color: rgba(255, 255, 255, 0.45);
  }

  .categories-section {
    margin-top: -2.25rem;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero__btns {
    justify-content: flex-start;
  }

  .promo-slide__body {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .cat-tile img,
  .article-card--hero img,
  .article-card--sm img,
  .split__photo img,
  .btn {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.btn {
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: var(--magenta);
  color: #f3e9ee;
  cursor: pointer;
}

.hero .btn {
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 0;
  background: var(--magenta);
  color: #f3e9ee;
  box-shadow: none;
}

.hero .btn:hover {
  background: var(--magenta);
  color: #f3e9ee;
  box-shadow: none;
  filter: brightness(1.06);
}

.hero .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--heading);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--heading);
  filter: none;
}

.header-cart {
  color: var(--icon);
}
