/* Page module: master-series.css */

.series-main {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 44px 42px 64px;
  background: #f7f7f5;
  color: #111111;
  overflow-x: hidden;
}

.series-block {
  margin-bottom: 78px;
}

.series-block + .series-block {
  padding-top: 78px;
  border-top: 1px solid #dedede;
}

.series-block:last-child {
  margin-bottom: 0;
}

.series-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px;
}

.series-intro h2 {
  margin: 10px 0 14px;
  color: #111111;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.series-intro p {
  max-width: 620px;
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.55;
}

.series-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(620px, 1.4fr);
  gap: 34px;
  align-items: start;
  min-width: 0;
}

.product-stage {
  min-width: 0;
  min-height: 874px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid #e2e2e2;
  background:
    radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0.07), transparent 46%),
    linear-gradient(145deg, #ffffff, #f1f1ef);
}

.stage-meta {
  position: relative;
  z-index: 2;
}

.stage-sku {
  display: block;
  margin-bottom: 8px;
  color: var(--hs-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-meta h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.stage-stem {
  display: block;
  margin-top: 10px;
  color: #777777;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-image-wrap {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 520px;
  min-width: 0;
}

.stage-image-wrap::after {
  content: "";
  position: absolute;
  bottom: 60px;
  width: 62%;
  height: 34px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.22), transparent 70%);
  filter: blur(8px);
}

.stage-image {
  position: relative;
  z-index: 1;
  width: min(92%, 620px);
  max-height: 620px;
  object-fit: contain;
  transition: opacity 0.16s ease;
}

.stage-hint {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dedede;
  border-left: 1px solid #dedede;
  align-self: start;
  align-content: start;
}

.product-card {
  min-width: 0;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  cursor: pointer;
  overflow: hidden;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover,
.product-card.active {
  z-index: 2;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
  height: 150px;
  flex: 0 0 150px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  min-width: 0;
}

.product-info {
  flex: 0 0 auto;
  min-width: 0;
}

.product-image {
  position: absolute;
  max-width: 88%;
  max-height: 140px;
  object-fit: contain;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.hover-image {
  opacity: 0;
}

.product-card:hover .default-image,
.product-card.active .default-image {
  opacity: 0;
}

.product-card:hover .hover-image,
.product-card.active .hover-image {
  opacity: 1;
  transform: scale(1.04);
}

.product-info span {
  display: block;
  margin-bottom: 7px;
  color: #8d8d8d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-info h3 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-info p {
  margin: 0;
  color: #666666;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.product-load-error {
  grid-column: 1 / -1;
  padding: 24px;
  background: #ffffff;
  color: #d11328;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  font-size: 13px;
  font-weight: 900;
}

/* DESKTOP NARROW / TABLET */

@media (max-width: 1180px) {
  .series-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-stage {
    position: relative;
    top: auto;
    min-height: 640px;
  }

  .stage-image-wrap {
    min-height: 420px;
  }

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

/* TABLET / LARGE PHONE */

@media (max-width: 820px) {
  .series-main {
    padding: 30px 16px 46px;
  }

  .series-block {
    margin-bottom: 46px;
  }

  .series-block + .series-block {
    padding-top: 46px;
  }

  .series-intro {
    display: block;
    margin-bottom: 22px;
  }

  .series-intro h2 {
    font-size: clamp(38px, 14vw, 74px);
  }

  .series-intro p {
    font-size: 15px;
  }

  .product-stage {
    min-height: auto;
    padding: 24px;
  }

  .stage-meta h2 {
    font-size: clamp(22px, 8vw, 38px);
  }

  .stage-image-wrap {
    min-height: 330px;
  }

  .stage-image {
    width: min(100%, 520px);
    max-height: 360px;
  }

  .stage-hint {
    margin-top: 12px;
  }

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

  .product-card {
    min-height: 220px;
    padding: 16px;
  }

  .product-image-wrap {
    height: 120px;
    flex-basis: 120px;
    margin-bottom: 14px;
  }

  .product-image {
    max-height: 112px;
  }
}

/* SMALL PHONES: KEEP 2 COLUMNS */

@media (max-width: 480px) {
  .series-main {
    width: 100%;
    max-width: 100%;
    padding: 24px 10px 38px;
  }

  .series-layout {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .product-stage {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .stage-image-wrap {
    min-height: 260px;
  }

  .stage-image {
    max-height: 280px;
  }

  .product-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 176px;
    padding: 10px;
  }

  .product-image-wrap {
    height: 92px;
    flex-basis: 92px;
    margin-bottom: 10px;
  }

  .product-image {
    max-width: 94%;
    max-height: 86px;
  }

  .product-info span {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .product-info h3 {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .product-info p {
    font-size: 10px;
    line-height: 1.15;
  }
}

/* VERY SMALL PHONES */

@media (max-width: 360px) {
  .series-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .product-card {
    min-height: 166px;
    padding: 8px;
  }

  .product-image-wrap {
    height: 82px;
    flex-basis: 82px;
  }

  .product-image {
    max-height: 76px;
  }

  .product-info h3 {
    font-size: 11px;
  }

  .product-info p {
    font-size: 9px;
  }
}

.seriesStory {
      position: relative;
      margin-bottom: 42px;
      padding: clamp(42px, 5.4vw, 82px);
      overflow: hidden;
      border: 1px solid #dedede;
      background:
        radial-gradient(circle at 88% 12%, rgba(209, 19, 40, 0.08), transparent 34%),
        linear-gradient(145deg, #ffffff, #f1f1ef);
      color: #111111;
    }

.seriesStory::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.035), transparent 30%),
        radial-gradient(circle at 18% 86%, rgba(0, 0, 0, 0.045), transparent 32%);
    }

.seriesStoryKicker {
      position: relative;
      z-index: 1;
      margin-bottom: 22px;
      color: var(--hs-red);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

.seriesStoryGrid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
      gap: clamp(28px, 5vw, 76px);
      align-items: start;
    }

.seriesStory h2 {
  margin: 0;
  color: #090909;
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.seriesStorySubline {
      margin: 24px 0 0;
      color: #1a1a1a;
      font-size: clamp(20px, 2.4vw, 34px);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.035em;
    }

.seriesStoryText {
      max-width: 760px;
      padding-top: 6px;
    }

.seriesStoryText p {
      margin: 0;
      color: #3e4348;
      font-size: clamp(16px, 1.35vw, 21px);
      line-height: 1.72;
    }

.seriesStoryText p + p {
      margin-top: 18px;
    }

@media (max-width: 980px) {
  .seriesStoryGrid {
        grid-template-columns: 1fr;
        gap: 28px;
      }

  .seriesStory {
        padding: 42px 28px;
      }
    }

@media (max-width: 560px) {
  .seriesStory {
        padding: 34px 22px;
        margin-bottom: 30px;
      }

  .seriesStory h2 {
        font-size: clamp(40px, 13vw, 62px);
      }

  .seriesStorySubline {
        margin-top: 18px;
        font-size: 20px;
      }

  .seriesStoryText p {
        font-size: 15px;
        line-height: 1.62;
      }

  .heroVideo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }
