/* ==========================================================================
   FamCare — Страница «Где купить» (where-to-buy.html)
   Адаптирована в согласованный визуальный стиль FamCare
   ========================================================================== */

.page-wtb {
  background-color: var(--color-white);
  color: #393939;
}

.page-wtb .product-top-shell {
  padding-bottom: 0;
}

.wtb-container {
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding-inline: 160px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.wtb-hero {
  padding-top: 36px;
  padding-bottom: 64px;
}

.wtb-hero__inner {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(57, 57, 57, 0.14);
}

.wtb-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #817881;
}

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

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

.wtb-breadcrumbs__sep {
  opacity: 0.6;
}

.wtb-breadcrumbs__current {
  color: #393939;
}

.wtb-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  margin-bottom: 14px;
}

.wtb-hero__title {
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 400;
  line-height: 1.05;
  color: #393939;
  margin-bottom: 24px;
}

.wtb-hero__title em {
  font-style: italic;
  color: var(--color-accent-blue);
}

.wtb-hero__lead {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(57, 57, 57, 0.8);
  max-width: 660px;
}

/* ==========================================================================
   2. Pharmacies & Marketplaces Grid
   ========================================================================== */
.wtb-stores-section {
  padding-bottom: 88px;
}

.wtb-stores-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 0.65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 44px;
}

.wtb-stores-head__eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
}

.wtb-stores-head__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.06;
  color: #393939;
}

.wtb-stores-head__title em {
  font-style: italic;
  color: #8f4a6b;
}

.wtb-stores-head__note {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(57, 57, 57, 0.72);
}

.wtb-stores-section .stores-grid {
  max-width: 100%;
  margin: 0;
}

/* ==========================================================================
   3. Detailed Product Cards (from Packaging Dielines)
   ========================================================================== */
.wtb-products-section {
  padding-bottom: 84px;
}

.wtb-products-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wtb-product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
}

.wtb-product-card--gp {
  background-color: #e6f0f7;
  color: #29466d;
}

.wtb-product-card--lv {
  background-color: #f3dfe5;
  color: #703652;
}

.wtb-product-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  overflow: hidden;
}

.wtb-product-card__ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.wtb-product-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 410px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 34px rgba(45, 36, 52, 0.14));
  transition: transform 0.6s var(--ease-smooth);
}

.wtb-product-card:hover .wtb-product-card__img {
  transform: scale(1.03);
}

.wtb-product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px 48px 20px;
  min-width: 0;
}

.wtb-product-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.85;
}

.wtb-product-card__title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 10px;
}

.wtb-product-card__subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 16px;
  opacity: 0.9;
}

.wtb-product-card__desc {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 620px;
  color: rgba(41, 70, 109, 0.88);
}

.wtb-product-card--lv .wtb-product-card__desc {
  color: rgba(112, 54, 82, 0.88);
}

.wtb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.wtb-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.wtb-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  margin-bottom: 28px;
}

.wtb-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wtb-spec--full {
  grid-column: 1 / -1;
}

.wtb-spec__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.wtb-spec__value {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.wtb-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.wtb-product-card__actions .btn--outline-pill {
  min-width: 220px;
  background: rgba(255, 255, 255, 0.72);
}

.wtb-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.3s var(--ease-smooth);
}

.wtb-product-card__link:hover {
  opacity: 0.7;
}

.wtb-product-card__disclaimer {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  opacity: 0.65;
}

/* ==========================================================================
   4. Sales & Manufacturer Info Strip
   ========================================================================== */
.wtb-sales-section {
  padding-bottom: 24px;
}

.wtb-sales-inner {
  border-top: 1px solid rgba(57, 57, 57, 0.16);
  padding-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.wtb-sales__eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f4a6b;
  padding-top: 8px;
}

.wtb-sales__title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  color: #393939;
  margin-bottom: 18px;
}

.wtb-sales__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(57, 57, 57, 0.8);
  max-width: 720px;
  margin-bottom: 24px;
}

.wtb-sales__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.wtb-sales__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(57, 57, 57, 0.35);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #393939;
  transition:
    color 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth);
}

.wtb-sales__link:hover {
  color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
}

/* ==========================================================================
   5. Feedback Form + Footer Overlap Spacing
   ========================================================================== */
.page-wtb .bottom-overlap-wrapper {
  margin-top: 84px;
}

.page-wtb .feedback-section {
  padding-top: 0;
}

@media (min-width: 1025px) {
  .page-wtb .footer {
    margin-top: -119px;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1440px) {
  .wtb-container {
    padding-inline: 80px;
  }

  .wtb-hero__title {
    font-size: 64px;
  }

  .wtb-stores-head__title {
    font-size: 48px;
  }

  .wtb-product-card__title {
    font-size: 54px;
  }

  .wtb-product-card__body {
    padding: 40px 40px 40px 16px;
  }
}

@media (max-width: 1180px) {
  .wtb-container {
    padding-inline: 40px;
  }

  .wtb-stores-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .wtb-product-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .wtb-product-card__visual {
    padding: 36px 24px 12px;
  }

  .wtb-product-card__img {
    max-width: 360px;
    max-height: 300px;
  }

  .wtb-product-card__body {
    padding: 20px 36px 40px;
  }
}

@media (max-width: 900px) {
  .wtb-container {
    padding-inline: 28px;
  }

  .wtb-hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .wtb-hero__inner {
    padding-bottom: 40px;
  }

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

  .wtb-hero__title {
    font-size: 50px;
  }

  .wtb-hero__lead {
    font-size: 16px;
  }

  .wtb-stores-section {
    padding-bottom: 64px;
  }

  .wtb-stores-head__title {
    font-size: 40px;
  }

  .wtb-products-section {
    padding-bottom: 64px;
  }

  .wtb-sales-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .wtb-sales__title {
    font-size: 38px;
  }

  .page-wtb .bottom-overlap-wrapper {
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  .wtb-container {
    padding-inline: 16px;
  }

  .wtb-hero {
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .wtb-hero__inner {
    padding-bottom: 32px;
  }

  .wtb-breadcrumbs {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .wtb-hero__eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .wtb-hero__title {
    font-size: 38px;
    margin-bottom: 16px;
  }

  .wtb-hero__lead {
    font-size: 15px;
  }

  .wtb-stores-section {
    padding-bottom: 48px;
  }

  .wtb-stores-head {
    margin-bottom: 28px;
  }

  .wtb-stores-head__eyebrow {
    font-size: 12px;
  }

  .wtb-stores-head__title {
    font-size: 34px;
  }

  .wtb-product-card {
    border-radius: 24px;
  }

  .wtb-product-card__visual {
    padding: 28px 20px 8px;
  }

  .wtb-product-card__ring {
    width: 240px;
    height: 240px;
  }

  .wtb-product-card__img {
    max-width: 260px;
    max-height: 220px;
  }

  .wtb-product-card__body {
    padding: 16px 20px 28px;
  }

  .wtb-product-card__eyebrow {
    font-size: 11px;
  }

  .wtb-product-card__title {
    font-size: 40px;
  }

  .wtb-product-card__subtitle {
    font-size: 14px;
  }

  .wtb-product-card__desc {
    font-size: 14px;
  }

  .wtb-badge {
    font-size: 12px;
    padding: 7px 12px;
  }

  .wtb-specs {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
    border-radius: 16px;
  }

  .wtb-product-card__actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .wtb-product-card__actions .btn--outline-pill {
    width: 280px;
    max-width: 100%;
    min-width: 0;
  }

  .wtb-sales__title {
    font-size: 32px;
  }

  .wtb-sales__desc {
    font-size: 15px;
  }

  .page-wtb .bottom-overlap-wrapper {
    margin-top: 40px;
  }
}
