/* ==========================================================================
   FamCare — Product Page (Гинепантол®) Styles
   ========================================================================== */

.product-top-shell {
  position: relative;
  width: 100%;
  padding: 20px 20px 0;
}

/* Light Header Variant */
.header--light {
  padding: 17px 53px 0;
}

.header__logo-mask--dark {
  background-color: #393939;
}

.header__icon-close--dark {
  filter: brightness(0);
}

/* Header "Где купить" pill on light background */
.header__inner .btn--light-header {
  justify-self: end;
  margin-right: 7px;
}

.btn--light-header {
  min-width: 127px;
  background: rgba(214, 212, 212, 0.1);
  border: 1px solid #bda6b8;
  color: var(--color-black);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.btn--light-header::before {
  background: radial-gradient(circle at 42% 48%, rgba(189, 210, 230, 0.78) 0%, rgba(194, 212, 209, 0.4) 68%, transparent 100%);
}

.btn--light-header::after {
  background: radial-gradient(circle at 58% 52%, rgba(228, 161, 168, 0.62) 0%, transparent 82%);
}

.btn--light-header:hover {
  border-color: var(--color-accent-blue);
  color: #1c3548;
  box-shadow: 0 10px 26px rgba(90, 143, 190, 0.12);
}

/* Soft Hero Pills ("Где купить", "О проблемах") */
.btn--soft-hero {
  background: rgba(212, 212, 212, 0.2);
  border: 1px solid #f2e1e1;
  color: var(--color-black);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.btn--soft-hero::before {
  background: radial-gradient(circle at 42% 48%, rgba(189, 210, 230, 0.8) 0%, rgba(194, 212, 209, 0.42) 68%, transparent 100%);
}

.btn--soft-hero::after {
  background: radial-gradient(circle at 58% 52%, rgba(228, 161, 168, 0.65) 0%, transparent 85%);
}

.btn--soft-hero:hover {
  border-color: var(--color-accent-blue);
  color: #1c3548;
  box-shadow: 0 10px 26px rgba(90, 143, 190, 0.14);
}

/* Menu Popup on Light Page */
.menu-backdrop--page {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.menu-popup--page {
  top: 137px;
  left: 73px;
}

/* ==========================================================================
   1. PRODUCT HERO
   ========================================================================== */

.product-hero {
  padding: 40px 53px 0;
}

.product-breadcrumbs {
  max-width: 1582px;
  margin: 0 auto 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #817881;
}

.product-breadcrumbs__link {
  color: #817881;
  transition: color 0.3s var(--ease-smooth);
}

.product-breadcrumbs__link:hover {
  color: var(--color-accent-blue);
}

.page-product--ladyvag .product-breadcrumbs__link:hover {
  color: #8f4a6b;
}

.product-breadcrumbs__sep {
  opacity: 0.6;
}

.product-breadcrumbs__current {
  color: #393939;
}

.product-hero__grid {
  max-width: 1582px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 692px;
  gap: 40px;
  align-items: center;
}

.product-hero__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.product-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  margin-bottom: 34px;
}

.product-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(68px, 8.33vw, 144px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  white-space: nowrap;
}

.product-hero__reg {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.55vw, 44px);
  font-weight: 400;
  vertical-align: super;
  line-height: 1;
  margin-left: 2px;
}

.product-hero__desc {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
  max-width: 655px;
  margin-bottom: 118px;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.product-hero__actions .btn:first-child {
  min-width: 127px;
}

.product-hero__actions .btn:last-child {
  min-width: 145px;
}

.product-hero__visual {
  width: 100%;
}

.product-hero__box-card {
  position: relative;
  width: 100%;
  height: 652px;
  background-color: #afc0cf;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
}

.product-hero__img {
  width: 100%;
  height: 100%;
  max-width: 640px;
  max-height: 596px;
  object-fit: contain;
  transition: transform 0.9s var(--ease-smooth);
}

.product-hero__box-card:hover .product-hero__img {
  transform: scale(1.03);
}

/* ==========================================================================
   2. SHORTLY ABOUT MAIN (MINT CONTAINERS + 3 CARDS)
   ========================================================================== */

.gp-summary-section {
  margin-top: 102px;
  padding: 0 20px;
}

.gp-summary-section--usage {
  margin-top: 140px;
}

.gp-mint-container {
  background-color: var(--color-surface-mint);
  border-radius: var(--radius-card);
  padding: 86px 53px 136px;
  min-height: 679px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1582px;
  margin-top: 69px;
}

.gp-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  min-height: 299px;
  padding: 33px 39px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s var(--ease-smooth),
    background-color 0.55s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth);
}

.gp-card:hover {
  transform: scale(1.015);
  background-color: #fafcfc;
  box-shadow: 0 14px 36px rgba(32, 59, 59, 0.06);
}

.gp-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 232px;
  width: 100%;
  max-width: 335px;
}

.gp-card__inner--full {
  max-width: 100%;
}

.gp-card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

.gp-card__title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}

.gp-card__long-desc {
  max-width: 390px;
  line-height: 1.3;
}

/* Composite SVG Illustrations inside Overview Cards */
.gp-card__illust {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition:
    transform 0.75s var(--ease-smooth),
    opacity 0.55s var(--ease-smooth);
}

.gp-card:hover .gp-card__illust {
  transform: scale(1.045);
}

.gp-illust-layer {
  position: absolute;
  display: block;
  object-fit: contain;
}

/* Card 1: Формат — крем-свечи (330x270) */
.gp-card__illust--format {
  right: -39px;
  top: 0;
  width: 330px;
  height: 270px;
}

.gp-illust-layer--standing {
  left: 27.49%;
  top: 20.74%;
  width: 20.86%;
  height: 51.5%;
}

.gp-illust-layer--resting {
  left: 48.74%;
  top: 44.66%;
  width: 25.49%;
  height: 31.72%;
}

.gp-illust-layer--ribbon {
  left: 19.12%;
  top: 64.44%;
  width: 60.58%;
  height: 18.28%;
}

/* Card 2: Комплектация — упаковка и 10 крем-свечей (263x215) */
.gp-card__illust--pack {
  right: -21px;
  top: 41px;
  width: 263px;
  height: 215px;
}

.gp-illust-layer--carton {
  left: 37.27%;
  top: 8.9%;
  width: 33.03%;
  height: 49.36%;
}

.gp-illust-layer--blister {
  left: 14%;
  top: 52%;
  width: 72%;
  height: 36%;
  transform: rotate(-14deg);
}

/* Card 3: Состав — 3 компонента (277x227) */
.gp-card__illust--comp {
  right: 0;
  top: 38px;
  width: 277px;
  height: 227px;
}

.gp-illust-layer--ing1 {
  left: 15.14%;
  top: 9.25%;
  width: 36.99%;
  height: 44.83%;
}

.gp-illust-layer--ing2 {
  left: 47.88%;
  top: 9.25%;
  width: 36.97%;
  height: 44.83%;
}

.gp-illust-layer--ing3 {
  left: 31.51%;
  top: 42.95%;
  width: 36.98%;
  height: 45.57%;
}

/* ==========================================================================
   3. UNDERSTANDING SECTION ("Комфорт начинается с понимания")
   ========================================================================== */

.understanding-section {
  margin-top: 166px;
  padding: 0 73px;
}

.understanding-grid {
  max-width: 1582px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 582px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.understanding-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.understanding-text__eyebrow {
  margin-bottom: 0;
}

.understanding-text__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 3.6vw, 62px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

.understanding-text__desc {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
  max-width: 547px;
  margin-top: 10px;
}

.understanding-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.photo-info-card {
  position: relative;
  height: 461px;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 22px;
}

.photo-info-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
}

.photo-info-card:hover .photo-info-card__img {
  transform: scale(1.035);
}

.photo-info-card__gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(110, 110, 110, 0) 48%, rgba(62, 56, 56, 0.88) 100%);
  pointer-events: none;
}

.photo-info-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.photo-info-card__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-white);
}

.photo-info-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: #fbfbfb;
}

/* ==========================================================================
   4. COMPOSITION SECTION & OTHER PRODUCT (LADYVAG CROSS-PROMO)
   ========================================================================== */

.composition-section {
  margin-top: 166px;
}

.composition-item__title {
  min-height: auto;
  margin-bottom: 18px;
}

.composition-item__desc {
  max-width: 390px;
}

.other-product-section {
  margin-top: 168px;
}

.other-product-grid {
  gap: 112px;
}

.other-product-media {
  width: 783px;
  height: 783px;
  background-color: #f0dfdf;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px;
}

.other-product-media__img {
  width: 100%;
  height: 100%;
  max-width: 681px;
  max-height: 589px;
  object-fit: contain;
  transition: transform 0.9s var(--ease-smooth);
}

.other-product-media:hover .other-product-media__img {
  transform: scale(1.03);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR PRODUCT PAGE
   ========================================================================== */

@media (max-width: 1560px) {
  .gp-card__illust {
    opacity: 0.32;
    transform: scale(0.82);
    transform-origin: right center;
  }

  .gp-card:hover .gp-card__illust {
    opacity: 0.42;
    transform: scale(0.86);
  }

  .product-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  }

  .product-hero__box-card {
    height: 560px;
  }

  .understanding-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .other-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .other-product-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 1280px) {
  .product-hero {
    padding: 32px 36px 0;
  }

  .product-breadcrumbs {
    margin-bottom: 32px;
  }

  .product-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  }

  .product-hero__box-card {
    height: 480px;
  }

  .product-hero__desc {
    margin-bottom: 64px;
  }

  .gp-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .gp-card {
    padding: 26px 24px;
    min-height: 264px;
  }

  .gp-card__inner {
    min-height: 212px;
  }

  .gp-card .problem-card__tag {
    font-size: 16px;
  }

  .gp-card__title {
    font-size: 30px;
  }

  .gp-card__illust {
    opacity: 0.25;
    transform: scale(0.74);
    transform-origin: right center;
  }

  .gp-card:hover .gp-card__illust {
    opacity: 0.35;
    transform: scale(0.78);
  }
}

@media (max-width: 992px) {
  .header--light {
    padding: 16px 28px 0;
  }

  .menu-popup--page {
    left: 28px;
    right: 28px;
  }

  .product-hero {
    padding: 28px 32px 0;
  }

  .product-breadcrumbs {
    margin-bottom: 24px;
  }

  .product-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-hero__title {
    white-space: normal;
  }

  .product-hero__desc {
    margin-bottom: 36px;
  }

  .product-hero__box-card {
    height: 440px;
  }

  .gp-summary-section,
  .understanding-section,
  .composition-section,
  .other-product-section {
    margin-top: 100px;
  }

  .understanding-section {
    padding: 0 32px;
  }

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

  .gp-mint-container {
    padding: 52px 20px;
    min-height: auto;
  }

  .gp-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
  }

  .gp-card {
    padding: 20px 16px;
    min-height: 236px;
  }

  .gp-card__inner {
    min-height: 196px;
  }

  .gp-card .problem-card__tag {
    font-size: 12px;
  }

  .gp-card__title {
    font-size: 24px;
  }

  .gp-card .problem-card__desc {
    font-size: 13px;
    line-height: 1.3;
  }

  .gp-card__illust {
    opacity: 0.2;
    transform: scale(0.56);
    transform-origin: right center;
  }

  .gp-card:hover .gp-card__illust {
    opacity: 0.3;
    transform: scale(0.6);
  }

  .other-product-grid {
    grid-template-columns: 1fr;
  }

  .other-product-media {
    max-width: 560px;
    margin: 0 auto;
    padding: 36px;
  }
}

@media (max-width: 640px) {
  .product-top-shell {
    padding: 12px 12px 0;
  }

  .header--light {
    padding: 12px 16px 0;
  }

  .btn--light-header {
    min-width: auto;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .menu-popup--page {
    top: 82px;
    left: 12px;
    right: 12px;
  }

  .product-hero {
    padding: 20px 12px 0;
  }

  .product-breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
    gap: 8px;
  }

  .product-hero__eyebrow {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .product-hero__title {
    font-size: 52px;
  }

  .product-hero__reg {
    font-size: 22px;
  }

  .product-hero__desc {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 28px;
  }

  .product-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .product-hero__actions .btn,
  .product-hero__actions .btn:first-child,
  .product-hero__actions .btn:last-child {
    flex: 1 1 0;
    width: auto;
    max-width: 185px;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .product-hero__box-card {
    height: 340px;
    padding: 20px;
  }

  .gp-summary-section {
    padding: 0 12px;
  }

  .gp-mint-container {
    padding: 48px 16px;
  }

  .gp-cards-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .gp-card {
    padding: 24px 20px;
    min-height: 220px;
  }

  .gp-card__inner {
    min-height: 170px;
  }

  .gp-card .problem-card__tag {
    font-size: 16px;
  }

  .gp-card__title {
    font-size: 30px;
  }

  .gp-card .problem-card__desc {
    font-size: 15px;
  }

  .understanding-section {
    padding: 0 20px;
  }

  .understanding-text__title {
    font-size: 38px;
  }

  .understanding-text__desc {
    font-size: 15px;
    line-height: 1.45;
  }

  .photo-info-card__desc,
  .advantage-item__desc,
  .faq-open-item__a {
    font-size: 15px;
    line-height: 1.45;
  }

  .understanding-cards {
    grid-template-columns: 1fr;
  }

  .photo-info-card {
    height: 380px;
    border-radius: 28px;
  }

  .other-product-media {
    padding: 24px;
  }
}

/* ==========================================================================
   5. LADYVAG® THEME & EXTENDED SECTIONS (6-INGREDIENT GRID, OPEN FAQ)
   ========================================================================== */

.product-hero__eyebrow--berry,
.section-heading__eyebrow--berry {
  color: #8f4a6b;
}

.product-hero__desc--lv {
  margin-bottom: 24px;
}

.product-hero__disclaimer {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  max-width: 655px;
  margin-bottom: 48px;
}

.product-hero__box-card--rose {
  background-color: #f0dfdf;
}

.product-hero__img--lv {
  max-width: 598px;
  max-height: 518px;
}

.gp-mint-container--rose {
  background-color: rgba(242, 223, 227, 0.48);
}

.text-italic-dark {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-black);
}

.other-product-media--blue {
  background-color: #afc0cf;
}

.other-product-media__img--gp {
  max-width: 564px;
  max-height: 660px;
}

/* 6-Ingredient Grid (3x2 on desktop, 2x3 on tablet, 1 col on mobile) */
.composition-grid-six {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 88px 64px;
  max-width: 1220px;
  margin: 120px auto 0;
  justify-items: center;
}

.composition-grid-six .advantage-item {
  width: 100%;
  max-width: 360px;
}

/* Open 2-Column FAQ List (LadyVag FAQ) */
.faq-open-list {
  max-width: 1582px;
  margin: 44px auto 0;
}

.faq-open-item {
  border-top: 1px solid #e0d4d9;
  padding: 26px 0;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq-open-item--last {
  border-bottom: 1px solid #e0d4d9;
}

.faq-open-item__q {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-black);
}

.faq-open-item__a {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-black);
}

@media (max-width: 1280px) {
  .composition-grid-six {
    gap: 56px 32px;
    margin-top: 84px;
  }

  .composition-grid-six .advantage-item__circle {
    width: 260px;
    height: 260px;
  }

  .faq-open-item {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 992px) {
  .product-hero__disclaimer {
    margin-bottom: 32px;
  }

  .composition-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
    margin-top: 64px;
  }

  .composition-grid-six .advantage-item__circle {
    width: 240px;
    height: 240px;
  }

  .faq-open-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .faq-open-item__q {
    font-size: 28px;
  }

  .faq-open-item__q br {
    display: none;
  }

  .faq-open-item__a,
  .advantage-item__desc {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .product-hero__disclaimer {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .composition-grid-six {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .composition-grid-six .advantage-item__circle {
    width: 260px;
    height: 260px;
  }

  .faq-open-item__q {
    font-size: 24px;
  }

  .faq-open-item__a {
    font-size: 15px;
  }
}
