/* ============================================================
   IBUFEN — Main Stylesheet
   BEM methodology | Mobile-first at 767px breakpoint
   Fonts: DM Sans (primary), Arial Narrow (footer disclaimer)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --color-blue-main:   #0037A4;
  --color-blue-mid:    #305FB7;
  --color-blue-light:  #E5EBF5;
  --color-footer:      #3657C1;
  --color-red:         #CB1F25;
  --color-red-bright:  #FF2123;
  --color-yellow:      #F7C35F;
  --color-white:       #FFFFFF;
  --color-black:       #1A1A1A;
  --color-grey:        #4F4F4F;
  --color-light-grey:  #D8D8D8;
  --color-bg:          #F8F7F8;

  --font-primary: 'DM Sans', sans-serif;
  --font-narrow:  'Arial Narrow', Arial, sans-serif;

  --radius-card:   24px;
  --radius-btn:    50px;
  --radius-circle: 50%;

  --transition: 0.3s ease;
}

/* ---- Reset / Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-black);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Container ---- */
/*
  На 1920px: (1920 - 1680) / 2 = 120px авто-отступы через margin: 0 auto
  На мобайле: padding 16px с каждой стороны
*/
.container {
  max-width: 1680px;
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
  width: 100%;
}

@media (max-width:1720px) {
    .container {
      max-width: 1440px;
      padding-left: 16px;
      padding-right: 16px;
      margin: 0 auto;
      width: 100%;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  padding: 15px 36px;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn--red {
  background: linear-gradient(89deg, var(--color-red) 0.26%, var(--color-red-bright) 99.7%);
  color: var(--color-white);
}

.btn--blue {
  background: linear-gradient(160deg, #305FB7 0%, #0A40A5 71.6%);
  color: var(--color-white);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
}

.btn--lg {
  font-size: 24px;
  padding: 24px 44px;
  min-width: 360px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding-top: 24px;
  /* Небольшой отступ снизу чтобы dropdown был виден */
  padding-bottom: 0;
}

/* Отступ от header для body — чтобы герой не уходил под хедер */
body {
  padding-top: 0; /* 24px top + ~82px header height + 24px gap */
}

/* .header__wrap = container обёртка, включает и top-bar и dropdown */
.header__wrap {
  position: relative;
}

/* Top bar — одна строка */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px 60px;
  box-shadow: 0 6px 10px 0 rgba(60, 114, 193, 0.30);
  position: relative;
  z-index: 2;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 50px;
  width: auto;
}

/* Desktop nav */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header__nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-grey);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.header__nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(90deg, #CB1F25 0.26%, #FF2123 99.7%);
}

@media (max-width: 767px) {

  .header__nav-link[aria-current="page"]::after {
    display: none;
  }
}

.header__nav-link:hover {
  color: var(--color-blue-main);
}

.header__nav-item--active .header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(85deg, var(--color-red) 0.26%, var(--color-red-bright) 99.7%);
}

/* Right side */
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  height: 50px;
  user-select: none;
}

.header__lang-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-grey);
  text-transform: uppercase;
}

.header__lang-arrow {
  flex-shrink: 0;
}

/* Desktop "Где купить" button */
.header__btn--desktop {
  min-width: 170px;
  padding: 15px 36px;
  font-size: 16px;
}

/* Mobile cross-button: hidden on desktop */
.header__btn--mobile {
  display: none;
}

/* Burger: hidden on desktop */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-blue-main);
  border-radius: 2px;
  transition: var(--transition);
}



.header__burger span:first-child{
  width: 50%;
}

.header__burger span:nth-child(3){
  width: 50%;
  margin-left: auto;
}

/* Mobile dropdown nav — скрыт по умолчанию, виден только на мобайле */
.header__mobile-nav {
  display: none;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */

/*
  Высота hero = 894px по макету.
  body имеет padding-top под фиксированный header.
  Слайдер занимает 100% высоты секции.
*/
.hero {
  position: relative;
  height: 894px;
  overflow: hidden;
  background: var(--color-bg);
}

/* Обёртка — занимает всю высоту секции */
.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Каждый слайд — абсолютно позиционирован, скрыт по умолчанию */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* ── Фон слайда ── */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Фото занимает левую ~55% */
.hero__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Градиентный fade справа от фото → фон страницы */
.hero__bg-fade {
  position: absolute;
  top: 0;
  left: 35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--color-bg));
  pointer-events: none;
}

/* ── Контент слайда ── */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  /* Выравниваем правую колонку по правой стороне */
  justify-content: flex-end;
  align-items: center;
}

/*
  Правая колонка: логотип + слоган + пачки.
  По макету контент занимает правую половину экрана.
*/
.hero__right {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 0;
}

/* Логотип бренда в слайде */
.hero__brand-logo {
  margin-bottom: 20px;
}

.hero__brand-logo img {
  height: auto;
  width: 100%;
  display: block;
  max-width: 409px;
}

/* Слоган */
.hero__tagline {
  font-size: clamp(32px, 2.8vw, 54px);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  background: linear-gradient(160deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 14px;
  max-width: 100%;
}

/* Пачки препарата — под текстом, выровнены влево */
.hero__products {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 32px;
  position: relative;
  height: 320px;
  width: 95%;
}

.hero__product {
  position: absolute;
  bottom: 0;
  display: block;
}

.hero__product--back {
  left: 0;
  width: 48%;
  z-index: 1;
}

.hero__product--front {
  width: 55%;
  z-index: 2;
}

/* ── Точки навигации ──
   Вынесены из слайдов, позиционируются относительно .hero */
.hero__dots {
  position: absolute;
  right: 64px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
      background: rgba(0, 55, 164, 0.06);
    padding: 24px;
    border-radius: 24px;
}

.hero__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(48, 95, 183, 0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.hero__dot--active,
.hero__dot:hover {
  background: var(--color-blue-mid);
  transform: scale(1.2);
}

/* ============================================================
   TEMPERATURE / INDICATIONS SECTION
   ============================================================ */
.temperature {
  position: relative;
  padding: 40px 0 60px;
  overflow: hidden;
}

.temperature__bg-decor {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(233, 243, 255, 0.25) 50%, transparent 100%);
  pointer-events: none;
}

.indications {
  padding-top: 60px;
  
}

.indications__grid.indications__grid--5 {
  padding-bottom: 160px;
}

.indications__title {
  font-size: clamp(32px, 2.9vw, 55px);
  font-weight: 600;
  color: var(--color-blue-main);
  line-height: 80px;
  margin-bottom: 34px;
}

.indications__grid {
  display: grid;
  gap: 0;
}

.indications__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

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

/* Indication Card */
.indication-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-card);
  transition: background var(--transition);
}

.indication-card:hover {
  background: rgba(48, 95, 183, 0.05);
}

.indication-card__circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indication-card__circle--large {
  width: min(300px, 100%);
  height: min(300px, 100%);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.indication-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.indication-card__label {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-blue-main);
  text-align: center;
  line-height: 1.2;
  margin-top: 26px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.indication-card--large .indication-card__label {
  min-height: 72px;
}

.indications--pain {
  padding-top: 0;
}

/* ============================================================
   CHOOSE SECTION
   ============================================================ */
.choose {
  padding: 60px 0 80px;
}

.choose__title {
  font-size: clamp(32px, 2.9vw, 55px);
  font-weight: 600;
  color: var(--color-blue-main);
  line-height: 80px;
  margin-bottom: 60px;
}

.choose__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Choose Card */
.choose-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid var(--color-blue-mid);
  background: var(--color-blue-light);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 430px;
}

.choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(48, 95, 183, 0.2);
}

.choose-card__inner {
  position: relative;
  overflow: hidden;
  padding: 40px 40px 0;
}

.choose-card__decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(35, 136, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.choose-card__top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choose-card__name {
  font-size: clamp(32px, 2vw, 50px);
  font-weight: 500;
  color: var(--color-blue-main);
  white-space: nowrap;
  padding-left: 20px;
}

.choose-card__btn {
  width: 82px;
  height: 82px;
  border-radius: 150px;
  border: 2px solid var(--color-blue-mid);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
}

.choose-card:hover .choose-card__btn {
  background: rgba(255,255,255,0.8);
}

.choose-card__photo {
  position: absolute;
  right: 0;
  top: 6px;
  height: calc(100% - 6px);
  width: 55%;
  object-fit: cover;
  object-position: center top;
}

.choose-card__products {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 50%;
  height: 320px;
}

.choose-card__product {
  position: absolute;
  bottom: 0;
}

.choose-card__product--1 {
  left: 0;
  width: 55%;
  z-index: 1;
}

.choose-card__product--2 {
  left: 100px;
  width: 60%;
  z-index: 2;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news {
  padding: 60px 0 30px;
}

.news__title {
  font-size: clamp(32px, 2.9vw, 55px);
  font-weight: 600;
  color: var(--color-blue-main);
  line-height: 80px;
  margin-bottom: 60px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* News Card */
.news-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid #D5D5D5;
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.news-card__image {
  position: relative;
  height: 257px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 10px 0 0 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-black);
}

.news-card__badge--yellow {
  background: var(--color-yellow);
}

.news-card__body {
  background: var(--color-footer);
  padding: 16px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-white);
  background: linear-gradient(152deg, rgba(164, 211, 246, 0.4) 0%, rgba(211, 235, 254, 0.4) 71.6%);
  align-self: flex-start;
}

.news-card__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
}

.news-card__excerpt {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home .news-card__excerpt{
  color: #fff;
}

/* Featured card is slightly taller */
.news-card--featured {
  margin-top: 0;
}

.news__actions {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.news__disclaimer {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-grey);
  text-align: center;
  line-height: 1.4;
  margin-top: 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--color-footer);
  padding: 44px 0;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.footer__bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: url('../images/footer-texture.png') center/cover no-repeat;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  text-align: center;
}

.footer__disclaimer {
  font-family: var(--font-narrow);
  font-size: clamp(24px, 2.5vw, 48px);
  font-weight: 400;
  color: var(--color-light-grey);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer__logo img {
  height: 62px;
  width: auto;
}

/* ============================================================
   MOBILE NAV DROPDOWN
   Dropdown — всегда скрыт на десктопе, управляется через JS + CSS
   ============================================================ */
.header__mobile-nav {
  display: none; /* перекрывается в @media ниже */
}

@media (max-width: 1800px) {
  .choose-card {
    height: 350px;
  }
}

@media (max-width: 1460px) {
  .choose-card {
    height: 330px;
  }
}

/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {

  /* Container */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header — на мобайле padding-top уже встроен в базовый .header */
  .header {
    top: 0; /* fixed от самого верха, внутри padding-top: 24px */
  }

  /* Body padding-top под меньший мобильный header */
  body {
    padding-top: 90px; /* 24px padding + ~48px header inner + 18px gap */
  }

  .header__inner {
    padding: 12px 16px;
    border-radius: 24px;
    box-shadow: 0 6px 10px 0 rgba(60, 114, 193, 0.30);
  }

  /* Desktop nav и кнопка — скрыты */
  .header__nav,
  .header__btn--desktop {
    display: none;
  }

  /* Burger — виден */
  .header__burger {
    display: flex;
    order: 1; /* слева */
  }

  /* Логотип по центру */
  .header__logo {
    order: 2;
    flex: 1;
    justify-content: center;
  }

  .header__logo-img {
    height: 34px;
  }

  /* Right side: только lang + cross-button */
  .header__right {
    order: 3;
    gap: 8px;
  }

  /* Cross-button — виден только на мобайле */
  .header__btn--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    width: 39px;
    height: 39px;
  }

  .header__cross-btn svg {
    display: block;
    width: 39px;
    height: 39px;
  }

  /* Mobile dropdown nav */
  .header__mobile-nav {
    display: block;
    background: var(--color-white);
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    /* Прячется за top-bar через margin */
    margin-top: -24px;
    padding-top: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 10px 0 rgba(60, 114, 193, 0.30);
  }

  .header__mobile-nav.is-open {
    max-height: 400px;
    opacity: 1;
  }

  .header__mobile-list {
    padding: 8px 0 16px;
  }

  ul.header__mobile-list a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    transition: color var(--transition);
  }

   ul.header__mobile-list [aria-current="page"]{
    border-radius: 8px;
    border-bottom: 1px solid var(--Light-Blue, #E5EBF5);
    background: var(--Light-Blue, #E5EBF5);
    color: #0037A4;
    font-weight: 600;
   }

  .header__mobile-item.{
    border-radius: 12px;
    transition: background var(--transition);
  }

  .header__mobile-link {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    transition: color var(--transition);
  }

  .header__mobile-item--active {
    background: var(--color-blue-light);
  }

  .header__mobile-item--active .header__mobile-link {
    color: var(--color-blue-main);
    font-weight: 600;
  }

  .header__mobile-item:not(.header__mobile-item--active):hover {
    background: rgba(48, 95, 183, 0.05);
  }

  /* Hero — мобильная версия */
  .hero {
    height: auto;
    min-height: 580px;
  }

  /* Фото на всю ширину, полупрозрачное */
  .hero__bg-img {
    width: 100%;
    height: 100%;
    opacity: 0.3;
  }

  /* Fade убираем на мобайле */
  .hero__bg-fade {
    display: none;
  }

  /* Контент — вертикально, выровнен по левому краю */
  .hero__content {
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    min-height: 580px;
    padding-bottom: 20px;
  }

  /* Правая колонка занимает всю ширину */
  .hero__right {
    width: 100%;
    padding-top: 20px;
    position: relative;
    z-index: 3;
  }

  /* Логотип бренда */
  .hero__brand-logo img {
    height: 70px;
  }

  /* Слоган */
  .hero__tagline {
    font-size: clamp(22px, 6vw, 30px);
    padding-left: 0;
    -webkit-text-fill-color: var(--color-blue-main);
    background: none;
    color: var(--color-blue-main);
    max-width: 100%;
  }

  /* Пачки */
  .hero__products {
    margin-top: 16px;
  }

  .hero__product--back {
    left: 0;
    width: 42%;
  }

  .hero__product--front {
    left: 0;
    width: 90%;
  }

  /* Точки */
  .hero__dots {
    right: 16px;
    gap: 24px;
    top: 90%;
  }

  .hero__dot {
    width: 12px;
    height: 12px;
  }

  /* Indications */
  .temperature {
    padding: 20px 0 40px;
  }

  .indications {
    padding-top: 30px;
  }

  .indications__title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .indications__grid--5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .indications__grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .indication-card__circle {
    width: 120px;
    height: 120px;
  }

  .indication-card__circle--large {
    width: 140px;
    height: 140px;
  }

  .indication-card__label {
    font-size: 16px;
    min-height: auto;
    margin-top: 12px;
  }

  .indication-card {
    padding: 12px;
  }

  /* Choose */
  .choose {
    padding: 30px 0 40px;
  }

  .choose__title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .choose__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .choose-card__inner {
    height: 280px;
    padding: 24px 20px 0;
  }

  .choose-card__name {
    font-size: 24px;
    padding-left: 10px;
  }

  .choose-card__btn {
    width: 52px;
    height: 52px;
  }

  .choose-card__photo {
    width: 50%;
    top: 0;
    height: 100%;
  }

  .choose-card__products {
    width: 48%;
    height: 200px;
  }

  /* News */
  .news {
    padding: 30px 0 20px;
  }

  .news__title {
    font-size: 28px;
        line-height: 1.4;
        margin-bottom: 24px;
        max-width: 82%;
        text-transform: uppercase;
  }

  .news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card__image {
    height: 200px;
  }

  .news-card__title {
    font-size: 18px;
  }

  .btn--lg {
    font-size: 18px;
    padding: 18px 32px;
    min-width: auto;
    width: 100%;
  }

  .news__actions {
    margin-top: 30px;
    margin-bottom: 60px;
  }

  /* Footer */
  .footer {
    min-height: auto;
    padding: 32px 0;
  }

  .footer__disclaimer {
    font-size: clamp(14px, 4vw, 22px);
    letter-spacing: 0;
  }

  .footer__logo img {
    height: 44px;
  }

}

@media (min-width: 1200px) and (max-width: 1400px) {
.indication-card__circle--large {
    width: min(230px, 100%);
    height: min(230px, 100%);
}

}

@media (min-width: 1360px) and (max-width: 1560px) {
.choose-card__btn {
    width: 60px;
    height: 60px;
  }
  .choose-card.choose-card--kids {
    background-size: contain;
    background-repeat: no-repeat;
}
.choose-card.choose-card--adults {
    background-size: contain;
    background-repeat: no-repeat;
}
}
/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .header__inner {
    padding: 14px 30px;
  }

  .header__nav-list {
    gap: 24px;
  }

  .hero {
    height: 680px;
  }

  .hero__tagline {
    font-size: clamp(28px, 3vw, 42px);
  }

  .indications__grid--5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .indications__grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .indication-card__circle {
    width: 160px;
    height: 160px;
  }

  .indication-card__circle--large {
    width: 200px;
    height: 200px;
  }

  .indication-card__label {
    font-size: 20px;
  }

  .choose__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer__disclaimer {
    font-size: clamp(20px, 3vw, 34px);
  }
}

/* ============================================================
   404.css — страница "Не найдено"
   Подключается поверх style.css
   ============================================================ */

/* На странице 404 body не имеет лишнего bg */
.page-404 {
  background: var(--color-bg);
}

/* ============================================================
   NOT-FOUND SECTION
   ============================================================ */
.not-found {
  position: relative;
  /* Занимает весь экран за вычетом header (130px — padding-top body из style.css) */
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
}

/* ── Фон: изображение на всю ширину и высоту секции ── */
.not-found__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.not-found__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Контейнер контента ── */
/*
  Desktop: flex-row.
  Левая часть: text-group + action (flex-col, ~44% ширины).
  Правая часть: bg (position:absolute, не в потоке).
*/
.not-found__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  min-height: 100vh;
}

/* text-group и action занимают только левую половину на десктопе */
.not-found__text-group,
.not-found__action {
  width: 44%;
  max-width: 744px;
}

/* Группа текстов */
.not-found__text-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 130px;
}

/* Заголовок */
.not-found__title {
  font-family: var(--font-primary);
  font-size: 55px;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(151deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* Описание */
.not-found__desc {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  background: linear-gradient(166deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 589px;
}

/* ── Кнопка "На главную страницу" ── */
.not-found__action {
  display: flex;
}

/*
  Обёртка-"капсула" с градиентной рамкой и тенью.
  Внутри — кнопка с синим градиентом и стеклянным блюром.
*/
.not-found__btn {
  display: block;
  width: 406px;
  padding: 6px;
  border-radius: 150px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  box-shadow:
    0 6px 10px 0 rgba(60, 114, 193, 0.30),
    0 4px 4px 0 rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.not-found__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 20px 0 rgba(60, 114, 193, 0.35),
    0 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.not-found__btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 64px;
  border-radius: 150px;
  background: linear-gradient(162deg, #305FB7 0%, #0A40A5 71.6%);
  box-shadow: inset 0 0 30px 0 rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(2px);

  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1360px) {
.choose-card__btn {
    width: 55px;
    height: 55px;
  }
  .choose-card.choose-card--kids {
    background-size: contain;
    background-repeat: no-repeat;
  }
  .choose-card.choose-card--adults {
    background-size: cover;
    background-repeat: no-repeat;
  }
  .choose-card__inner {
    position: relative;
    overflow: hidden;
    padding: 40px 30px 0;
  }
}

/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {
  .indications__grid.indications__grid--5 {
    padding-bottom: 30px;
  }
  .not-found {
    min-height: auto;
    overflow: visible;
  }

  /* Фон: static, в потоке, между text и action */
  .not-found__bg {
    position: static;
    width: 100%;
    /* aspect-ratio сохраняет пропорции адаптивно */
    aspect-ratio: 4 / 3;
    order: 2;
  }

  .not-found__bg-img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Контейнер — вертикальный flex */
  .not-found__container {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 40px;
    gap: 24px;
  }

  /* text и action — вся ширина */
  .not-found__text-group,
  .not-found__action {
    width: 100%;
    max-width: 100%;
  }

  .not-found__text-group {
    order: 1;
  }

  .not-found__action {
    order: 3;
  }

  /* Заголовок */
  .not-found__title {
    font-size: 28px;
    line-height: 1.4;
  }

  /* Описание */
  .not-found__desc {
    font-size: 20px;
  }

  /* Кнопка — на всю ширину */
  .not-found__btn {
    width: 100%;
  }

  .not-found__btn-inner {
    font-size: 20px;
    padding: 18px 32px;
  }
}

/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .not-found {
    min-height: 680px;
  }

  .not-found__container {
    min-height: 680px;
  }

  .not-found__content {
    width: 52%;
    gap: 40px;
  }

  .not-found__title {
    font-size: clamp(32px, 3.5vw, 50px);
  }

  .not-found__desc {
    font-size: 18px;
  }

  .not-found__btn {
    width: 340px;
  }

  .not-found__btn-inner {
    font-size: 20px;
    padding: 20px 44px;
  }

  .not-found__bg {
    width: 100%;
  }
}

/* ============================================================
   adults.css — страница «Взрослым»
   Все размеры рассчитаны пропорционально от Figma 1920→1680px контейнера.
   Фиксированные px-значения заменены на % / clamp() / flex-ratio.
   ============================================================ */

/* ============================================================
   PAGE HERO
   hero-text: 828/1680 = 49.3%
   hero-image: 828/1680 = 49.3%
   gap: 24px
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(233,243,255,0.18) 0%, rgba(233,243,255,0.04) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 60px;
}

/* Хлебные крошки */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--color-blue-main);
}

.breadcrumb__link {
  font-weight: 400;
  color: var(--color-blue-main);
  text-decoration: none;
  line-height: 1.3;
  transition: opacity var(--transition);
}

.breadcrumb__link:hover { opacity: 0.75; }
.breadcrumb__sep        { font-weight: 600; }
.breadcrumb__current    { font-weight: 600; line-height: 1.2; }

/* Hero layout */
.page-hero__content {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Текстовая колонка: ровно половина контейнера */
.page-hero__text {
  flex: 1 1 49%;
  min-width: 0;         /* разрешает сжатие */
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 34px);
}

.page-hero__logo {
  height: clamp(48px, 5.2vw, 80px);
  width: auto;
  display: block;
}

.page-hero__title {
  font-size: clamp(24px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  background: linear-gradient(154deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.page-hero__subtitle {
  font-size: clamp(14px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-blue-main);
  margin: 0;
}

/* Изображение: вторая половина */
.page-hero__image {
  flex: 1 1 49%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.page-hero__image img {
  position: absolute;
  top: 7%;
  left: 0%;
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   STATS BAR
   px-[121px] на 1920 = 6.3% от экрана → используем container
   ============================================================ */
.stats-bar {
  background: linear-gradient(168deg, #305FB7 0%, #0A40A5 71.6%);
  padding: 40px 0;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5.6vw, 95px);
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: var(--color-white);
  padding: 20px clamp(16px, 3vw, 50px);
  border-radius: 32px;
}

.stats-item__value {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.stats-item__label {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  max-width: 200px;
}

.stats-bar__divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT SECTION
   product-block: gap 162/1680 = 9.6%
   media: 546/1680 = 32.5%
   info: 970/1680 = 57.7%  (остаток с flex:1)
   ============================================================ */
.product-section {
  padding: clamp(40px, 5vw, 80px) 0 clamp(30px, 4vw, 60px);
}

.product-block {
  display: flex;
  gap: clamp(24px, 9.6vw, 162px);
  align-items: flex-start;
  margin-bottom: clamp(30px, 4vw, 60px);
}

.product-block--reverse {
  flex-direction: row-reverse;
}

/* Media col: 32.5% */
.product-block__media {
  flex: 0 0 35%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-block__img-wrap {
  flex: 1;
  min-height: clamp(200px, 22vw, 404px);
  overflow: hidden;
  border-radius: 16px;
}

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

/* Бейдж формы */
.product-block__form-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(10px, 1vw, 16px) clamp(20px, 3.2vw, 54px);
  border-radius: 150px;
  background: linear-gradient(88deg, #E8EEF8 0.26%, #A4D3F6 99.7%);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
}

.product-block__form-badge--right {
  align-items: flex-end;
}

.product-block__form-label {
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
}

.product-block__form-value {
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  text-transform: uppercase;
}

/* Info col: оставшиеся ~57.7% */
.product-block__info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 34px);
  overflow: hidden;
}

.product-block__title {
  font-size: clamp(28px, 2.8vw, 55px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-blue-main);
  margin: 0;
}

/* «Почему стоит выбрать» */
.product-block__why {
  background: var(--color-blue-light);
  border-radius: var(--radius-card);
  padding: clamp(14px, 1.2vw, 20px) clamp(16px, 1.8vw, 30px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 20px);
}

.product-block__why-heading {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

.product-block__why-text {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

/* Показания */
.product-block__indications {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 20px);
}

.product-block__indications-title {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

.product-block__indications-intro,
.product-block__indications-extra {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

/* Tags */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 16px);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 0.9vw, 15px) clamp(14px, 1.4vw, 24px);
  border-radius: 150px;
  background: linear-gradient(88deg, #ADC5F2 0.26%, #A4D3F6 99.7%);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  white-space: nowrap;
}

/* ============================================================
   DOSAGE ROW
   table: 688/1680 = 41%
   aside: 686/1680 = 40.8%  (gap 20px)
   ============================================================ */
.product-dosage-row {
  display: flex;
  gap: clamp(16px, 1.2vw, 20px);
  align-items: flex-end;
  gap: 41px;
}

.product-dosage-row--reverse {
  flex-direction: row-reverse;
}

/* Обе колонки примерно 41% */
.dosage-table-wrap {
  flex: 0 0 41%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 20px);
}

.dosage-table-wrap__title {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

.dosage-table {
  width: 100%;
  border-collapse: collapse;
}

.dosage-table tr {
  border-bottom: 2px solid var(--color-light-grey);
}

.dosage-table__label {
  padding: clamp(10px, 0.9vw, 16px) clamp(8px, 1.2vw, 20px);
  font-size: clamp(13px, 1.1vw, 20px);
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.4;
  width: 57%;
}

.dosage-table__value {
  padding: clamp(10px, 0.9vw, 16px) clamp(8px, 1.2vw, 20px);
  font-size: clamp(13px, 1.1vw, 20px);
  font-weight: 600;
  color: var(--color-black);
  text-align: right;
}

.product-dosage-row__aside {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 40px);
  align-items: flex-end;
}

.info-note {
  background: var(--color-blue-light);
  border-radius: var(--radius-card);
  padding: clamp(14px, 1.2vw, 20px) clamp(16px, 1.8vw, 30px);
  width: 100%;
  max-width: 686px;
}

.info-note p {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

.btn-wrap {
  display: flex;
}

/* ── Кнопка «Инструкция» ── */
.page-btn {
  display: block;
  width: clamp(240px, 24vw, 406px);
  padding: 6px;
  border-radius: 150px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  box-shadow: 0 6px 10px rgba(60,114,193,0.3), 0 4px 4px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(60,114,193,0.35), 0 6px 6px rgba(0,0,0,0.2);
}

.page-btn__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 1.4vw, 24px) clamp(32px, 3.8vw, 64px);
  border-radius: 150px;
  background: linear-gradient(162deg, #305FB7 0%, #0A40A5 71.6%);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ============================================================
   QUOTE BANNER
   ============================================================ */
.quote-banner {
  background: var(--color-blue-light);
  padding: clamp(30px, 3.5vw, 60px) 0;
}

.quote-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  text-align: center;
}

.quote-banner__logo {
  height: clamp(34px, 3vw, 50px);
  width: auto;
  display: block;
}

.quote-banner__text {
  font-size: clamp(18px, 2vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-blue-main);
  max-width: 1358px;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {
  .page-hero__image img {
    left: 0;
    width: 116%;
    height: auto;
    display: block;
  }
  .btn-wrap {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  /* Hero */
  .page-hero {
    min-height: auto;
  }

  .page-hero__inner {
    padding-top: 20px;
    padding-bottom: 0;
  }

  .page-hero__content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .page-hero__text {
    flex: none;
    width: 100%;
    gap: 20px;
    padding-left: 0;
  }

  .page-hero__logo  { height: 80px; }
  .page-hero__title { font-size: 34px; }
  .page-hero__subtitle { font-size: 16px; }

  .page-hero__image {
    flex: none;
    width: 100%;
    order: 2;
    padding-bottom: 15px;
  }

  /* Stats */
  .stats-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stats-bar__divider { display: none; }

  .stats-item:first-child{
    border-right: 2px solid #fff;
    border-radius: unset;
  }

  .stats-item:last-child { 
    grid-column: 1 / -1;
    border-top: 2px solid #fff;
    border-radius: unset;
  }

  .stats-item { padding: 12px 8px; border-radius: 32px; }
  .stats-item__value { font-size: 24px; }
  .stats-item__label { font-size: 16px; max-width: 100%; }

  /* Product block */
  .product-section { padding: 40px 0; }

  .product-block,
  .product-block--reverse {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
  }

  .product-block__media { flex: none; width: 100%; }

  .product-block__img-wrap { min-height: 220px; }

  .product-block__form-badge {
    padding: 16px 20px;
  }

  .product-block__form-badge--right { align-items: flex-start; }

  .product-block__info { flex: none; width: 100%; }

  .product-block__title { font-size: 28px; }

  .product-block__why { padding: 20px 16px; }
  .product-block__why-heading { font-size: 24px; }
  .product-block__why-text { font-size: 16px; }

  .product-block__indications-title { font-size: 24px; }
  .product-block__indications-intro,
  .product-block__indications-extra  { font-size: 16px; }

  .tags-list { gap: 8px; justify-content: center; }
  .tag       { font-size: 14px; padding: 12px 20px; }

  /* Dosage */
  .product-dosage-row,
  .product-dosage-row--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .dosage-table-wrap { flex: none; width: 100%; }
  .dosage-table-wrap__title { font-size: 24px; }
  .dosage-table__label,
  .dosage-table__value { font-size: 16px; padding: 10px 8px; }
  .dosage-table__value { white-space: normal; }

  .product-dosage-row__aside { align-items: flex-end; gap: 20px; }
  .info-note { padding: 16px; }
  .info-note p { font-size: 16px; }

  .page-btn { width: 100%; max-width: 360px; box-shadow: none;}
  .page-btn__inner { font-size: 20px; padding: 18px 40px; }

  /* Quote */
  .quote-banner { padding: 40px 0; }
  .quote-banner__logo { height: 40px; }
  .quote-banner__text { font-size: 20px; }

  .breadcrumb { font-size: 16px; }
}



@media (max-width: 768px){
  
  .choose-card {
      height: 560px;
  }
    .news-card__body {
      padding: 16px 20px 30px;
      display: flex;
      flex-direction: column;
      gap: 8px;
  }
}

select#lang_choice_1 {
    border: none;
}

/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   На планшете переходим к одноколоночной компоновке для product-block
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .page-hero { min-height: 520px; }

  .page-hero__content { gap: 20px; }

  .page-hero__text { flex: 1 1 50%; }

  .page-hero__image {
    flex: 1 1 45%;
  }

  .stats-bar__inner { gap: clamp(16px, 3vw, 50px); }
  .stats-item__label { max-width: 160px; }

  /* Product block: на планшете колонки становятся узкими —
     переходим в одну колонку при ширине < 900px */
  @media (max-width: 900px) {
    .product-block,
    .product-block--reverse {
      flex-direction: column;
      gap: 28px;
    }

    .product-block__media { flex: none; width: 100%; }
    .product-block__info  { flex: none; width: 100%; }

    .product-dosage-row,
    .product-dosage-row--reverse {
      flex-direction: column;
      align-items: stretch;
    }

    .dosage-table-wrap { flex: none; width: 100%; }
    .product-dosage-row__aside { align-items: flex-end; }
  }

  .quote-banner__text { font-size: clamp(18px, 2.5vw, 28px); }
}

/* ============================================================
   news.css — страница «Это интересно»
   Только уникальные стили страницы.
   Общие: .breadcrumb, .container — из style.css
   ============================================================ */

/* ============================================================
   NEWS HERO
   Figma: 1920px, hero height 780px
   Картинка слева (~52%), текст справа (~48%)
   ============================================================ */
.news-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}

/* Лёгкий голубоватый градиент-фон (opacity 40% из Figma) */
.news-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 30% 50%, rgba(233,243,255,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.news-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 60px;
}

.news-hero__content {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
}

/* Изображение занимает левые ~52% */
.news-hero__image {
  flex: 0 0 52%;
  min-width: 0;
  position: relative;
}

.news-hero__image img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Текст: правые ~48% */
.news-hero__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 34px);
  padding-right: 50px;
}

.news-hero__title {
  font-size: clamp(32px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  background: linear-gradient(171deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.news-hero__subtitle {
  font-size: clamp(16px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-blue-main);
  margin: 0;
}

/* ============================================================
   MAIN LAYOUT: sidebar 320px + content (остаток)
   Figma sidebar: 320px / 1680px = 19%
   ============================================================ */
.news-main {
  padding: 0 0 100px;
}

.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.news-sidebar {
  flex: 0 0 320px;
  min-width: 0;
  border-right: 1px solid rgba(0,0,0,0.1);
  padding-right: 0;
}

.filter-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Заголовок фильтра */
.filter-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.filter-form__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  text-transform: uppercase;
  line-height: 1.2;
}

.filter-form__reset {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  padding: 9px 13px;
  line-height: 1.3;
  transition: background var(--transition), border-color var(--transition);
}

.filter-form__reset:hover {
  background: var(--color-blue-light);
  border-color: var(--color-blue-mid);
}

.filter-form__divider {
  height: 1px;
  background: var(--color-light-grey);
  margin: 0;
}

/* ── Группа фильтра ── */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
}

.filter-group__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  text-transform: uppercase;
  line-height: 1.2;
  display: flex;
  align-items: center;
  margin: 0;
  border: none;
    background: none;
    margin-bottom: 16px;
}

/* ── Аудитория: 2×2 кнопки ── */
.filter-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-audience-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--color-light-grey);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  text-align: center;
}

.filter-audience-btn:hover {
  background: rgba(48, 95, 183, 0.08);
  border-color: var(--color-blue-mid);
}

/* Активное состояние (JS добавляет класс) */
.filter-audience-btn.is-active {
  background: linear-gradient(152deg, rgba(48,95,183,0.1) 0%, rgba(10,64,165,0.1) 71.6%);
  border-color: var(--color-blue-main);
}

/* ── Темы: чекбоксы ── */
.filter-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-topics__item {
  display: flex;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  height: 32px;
}

/* Скрываем нативный чекбокс */
.filter-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Кастомный чекбокс */
.filter-checkbox__box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--color-light-grey);
  background: var(--color-white);
  flex-shrink: 0;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Checked state */
.filter-checkbox__input:checked + .filter-checkbox__box {
  background: linear-gradient(119deg, #305FB7 0%, #0A40A5 71.6%);
  border-color: #305FB7;
}

/* Галочка */
.filter-checkbox__input:checked + .filter-checkbox__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 12px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.filter-checkbox__label {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  white-space: nowrap;
}

.filter-checkbox__count {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black);
  background: var(--color-blue-light);
  border-radius: 8px;
  padding: 4px 8px;
  line-height: 1;
  min-width: 29px;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   NEWS CONTENT (правая колонка)
   ============================================================ */
.news-content {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 24px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Шапка блока */
.news-content__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-content__heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
  white-space: nowrap;
}

.news-content__count {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   NEWS GRID — 3 колонки
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Карточка ── */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Изображение с бейджем аудитории */
.news-card__image {
  position: relative;
  height: 257px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Жёлтый бейдж аудитории — правый нижний угол изображения */
.news-card__audience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--color-yellow);
  padding: 10px 12px;
  border-radius: 10px 0 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1;
  white-space: nowrap;
}

/* Тело карточки — светло-голубой фон */
.news-card__body {
  background: var(--color-blue-light);
  padding: 16px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.home .news-card__body{
  background: var(--footer, #3657C1);
}

.home .news-card__title{
  color: #fff;
}

/* Тег темы */
.news-card__topic-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(88deg, #ADC5F2 0.26%, #A4D3F6 99.7%);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1;
  align-self: flex-start;
  white-space: nowrap;
}

/* Заголовок — 2 строки с обрезкой */
.news-card__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-blue-main);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 62px;
}

/* Анонс — 2 строки */
.news-card__excerpt {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--color-blue-light);
  border-radius: 26px;
  padding: 12px 20px;
  align-self: center;
}

.news-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  transition: background var(--transition);
  flex-shrink: 0;
}

.news-pagination__arrow:hover {
  background: rgba(0,0,0,0.06);
}

.news-pagination__pages {
  display: flex;
  align-items: center;
  gap: 24px;
}

.news-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 24px;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.4;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.news-pagination__page:hover {
  background: rgba(54, 87, 193, 0.12);
  color: var(--color-blue-main);
}

.news-pagination__page--active {
  background: var(--color-footer);
  color: var(--color-white);
  pointer-events: none;
}

.news-pagination__page--dots {
  pointer-events: none;
  color: var(--color-grey);
}

/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {

  /* Hero */
  .news-hero {
    min-height: auto;
  }

  .news-hero__inner {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .news-hero__content {
    flex-direction: column;
    gap: 0;
  }

  .news-hero__image {
    flex: none;
    width: 100%;
    order: 2; /* картинка внизу на мобайле */
  }

  .news-hero__image img {
    object-position: center 20%;
  }

      .news-hero__text {
        flex: none;
        width: 100%;
        padding-left: 16px;
        padding-bottom: 10px;
        order: 1;
        gap: 10px;
        padding-right: 30px;
    }

  .news-hero__title    { font-size: 28px; }
  .news-hero__subtitle { font-size: 16px; }

  /* Main */
  .news-main { padding: 0 0 60px; }

  /* Layout: боковой фильтр → аккордеон сверху */
  .news-layout {
    flex-direction: column;
    gap: 24px;
  }

  .news-sidebar {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .filter-form {
    padding: 0;
    gap: 16px;
  }
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

      .filter-form__divider {
        margin: 0;
        display: none;
        padding: 0;
    }

  .filter-audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-audience-btn { font-size: 14px; }
  .filter-checkbox__label { font-size: 14px; }

  .news-content {
    padding-left: 0;
    padding-top: 0;
    gap: 24px;
  }

  /* Grid: 1 колонка */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card__title   { font-size: 20px; min-height: auto; }
  .news-card__excerpt { font-size: 14px; min-height: auto; }
  .news-card__body    { padding: 14px 20px 24px; }

  /* Pagination */
  .news-pagination {
    gap: 20px;
    padding: 10px 16px;
  }

  .news-pagination__pages { gap: 12px; }
  .news-pagination__page  { font-size: 16px; width: 30px; height: 30px; }
}

/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .news-hero { min-height: 520px; }

  .news-hero__title    { font-size: clamp(24px, 3.5vw, 44px); }
  .news-hero__subtitle { font-size: clamp(14px, 2vw, 22px); }

  .news-sidebar { flex: 0 0 240px; }

  /* 2 колонки вместо 3 */
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  .news-card__title { font-size: 20px; }
}

/* ============================================================
   kids.css — страница «Детям»
   Все базовые блоки (page-hero, stats-bar, product-block,
   dosage-table, quote-banner, page-btn) берутся из adults.css.
   Здесь только НОВЫЕ компоненты этой страницы.
   ============================================================ */

/* ============================================================
   ФИЛЬТР ПО ВОЗРАСТУ
   ============================================================ */
.age-filter {
  padding: 40px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-light-grey);
}

.age-filter__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.age-filter__label {
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 600;
  color: #1A1A1A;
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

.age-filter__btns {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  flex-wrap: wrap;
  width: 100%;
}

.age-filter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 0.8vw, 15px) clamp(16px, 1.5vw, 24px);
  border: 1px solid var(--color-light-grey);
  border-radius: 150px;
  font-family: var(--font-primary);
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  background: transparent;
  width: 15%;
}

.age-filter__btn:hover {
  background: rgba(48, 95, 183, 0.08);
  border-color: var(--color-blue-mid);
  color: var(--color-blue-main);
}

.age-filter__btn--active {
  background: linear-gradient(162deg, #305FB7 0%, #0A40A5 71.6%);
  border-color: transparent;
  color: var(--color-white);
  font-weight: 600;
}

.age-filter__btn--active:hover {
  background: linear-gradient(162deg, #3d6ec4 0%, #1550b8 71.6%);
  color: var(--color-white);
}

/* Скрытые секции (JS фильтр) */
.product-section.is-hidden {
  display: none;
}

/* ============================================================
   БЕЙДЖ ВОЗРАСТА В ЗАГОЛОВКЕ ПРОДУКТА
   ============================================================ */
.product-block__title-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Переопределяем h2 — теперь он внутри flex-row */
.product-block__title-row .product-block__title {
  margin: 0;
}

.product-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 0.7vw, 15px) clamp(12px, 1.2vw, 24px);
    font-family: var(--font-primary);
    font-size: clamp(11px, 0.8vw, 16px);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 150px;
    border: 1px solid var(--2, #305FB7);
    background: var(--White, #FFF);
    box-shadow: 0 0 29.985px 0 rgba(255, 255, 255, 0.60) inset;
    backdrop-filter: blur(2px);
    color: var(--Black, #1A1A1A);
}

/* ============================================================
   ТАБЛИЦА ДОЗИРОВАНИЯ — ДОП. МОДИФИКАТОР
   Базовые стили .dosage-table из adults.css
   ============================================================ */

/* Заголовок таблицы */
.dosage-table__head {
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 600;
  color: var(--color-black);
  text-align: center;
  padding: clamp(10px, 0.8vw, 16px) clamp(8px, 1vw, 20px);
  background: var(--color-blue-light);
  line-height: 1.3;
  border-bottom: 2px solid var(--color-light-grey);
}

.dosage-table__head.dosage-table__label {
  text-align: left;
}

/* 3-колоночная таблица: равные колонки */
.dosage-table--3col .dosage-table__label { width: 40%; }
.dosage-table--3col .dosage-table__value { width: 30%; }

/* 2-колоночная таблица */
.dosage-table--2col .dosage-table__label { width: 50%; }
.dosage-table--2col .dosage-table__value { width: 50%; text-align: left; }

/* ============================================================
   QUOTE BANNER — ПОДЗАГОЛОВОК
   Базовый .quote-banner из adults.css.
   Добавляем поддержку .quote-banner__subtext
   ============================================================ */
.quote-banner__subtext {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-blue-main);
  max-width: 1358px;
  margin: 0;
  text-align: center;
}

/* STICKY для sidebar фильтра */
.news-sidebar {
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .news-sidebar {
    position: static;
    top: auto;
  }
}

/* Аккордеон тем + мобильная кнопка сброса — только мобайл */
@media (min-width: 768px) {
  .filter-group__arrow,
  .filter-group__count,
  .filter-form__reset--mobile { display: none; }
}

@media (max-width: 767px) {
  .filter-group__title--toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
  }

  .filter-group__count {
    background: var(--color-blue-light);
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 400;
  }

  .filter-group__arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .filter-group__title--toggle[aria-expanded="true"] .filter-group__arrow {
    transform: rotate(180deg);
  }

  .filter-topics.js-topics-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .filter-topics.js-topics-list.is-open {
    max-height: 1000px;
  }

  .filter-form__reset--mobile {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 0;
  }
  .filter-form__header {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {

  /* Фильтр */
  .age-filter { padding: 24px 0; }

  .age-filter__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .age-filter__btns {
    gap: 16px;
  }

      .age-filter__btn {
        font-size: 16px;
        padding: 15px 16px;
        flex: 0 0 47%;
    }
  .age-filter__label {
    font-size: 24px;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
  }
  .article-main p {
    font-size: 20px;
}

  .age-filter__btn--active {
    font-weight: 600;
    border-radius: 150px;
    background: var(--2, linear-gradient(119deg, #305FB7 0%, #0A40A5 71.62%));
    box-shadow: 0 0 29.985px 0 rgba(255, 255, 255, 0.60) inset;
    backdrop-filter: blur(2px);
  }

  /* Title row */
  .product-block__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-age-badge {
    font-size: 12px;
    padding: 8px 16px;
    width: fit-content;
  }

  /* Таблица дозирования */
  .dosage-table--3col .dosage-table__label,
  .dosage-table--3col .dosage-table__value {
    width: auto;
  }

  /* На мобайле 3-колоночная таблица становится скроллируемой */
  .dosage-table--3col {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .dosage-table--3col tbody,
  .dosage-table--3col thead,
  .dosage-table--3col tr {
    display: table-row-group;
  }

  /* Сброс white-space для читаемости */
  .dosage-table--3col td,
  .dosage-table--3col th {
    white-space: normal;
    min-width: 120px;
  }

  .dosage-table__head { font-size: 12px; }

  .quote-banner__subtext { font-size: 14px; }
}

/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .age-filter__btns { gap: 8px; }
  .age-filter__btn  { font-size: 14px; padding: 10px 18px; }

  .product-age-badge { font-size: 13px; }

  .quote-banner__subtext { font-size: clamp(14px, 2vw, 18px); }
}

/* ============================================================
   single.css — страница отдельной статьи
   Только новые компоненты. Общие: .breadcrumb, .container,
   .news-card, .btn--red — из style.css / news.css
   ============================================================ */

/* ============================================================
   ARTICLE HERO
   Картинка слева без боковых отступов, без фикс. высоты.
   Текст справа.
   ============================================================ */
.article-hero {
  padding: 140px 0 0;
}

.article-hero__content {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-top: 20px;
  /*
    Картинка выходит за пределы .container влево —
    компенсируем отрицательным margin на ширину паддинга страницы.
    На 1920px контейнер 1680px, паддинг (1920-1680)/2 = 120px.
  */
  margin-left: calc(-1 * (100vw - 100%) / 2);
}

/* Изображение: ~52% ширины, без фикс. высоты — адаптивное по содержимому */
.article-hero__image {
  flex: 0 0 52%;
  min-width: 0;
}

.article-hero__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Текст: остаток ширины, с паддингом слева чтобы вернуться в сетку контейнера */
.article-hero__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(20px, 4vw, 60px);
}

.article-hero__title {
  font-size: clamp(28px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  background: linear-gradient(154deg, #305FB7 0%, #0A40A5 71.6%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.article-hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Бейджи аудитории/темы — переиспользуем стиль тега */
.article-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  white-space: nowrap;
}

.article-badge--audience {
  background: var(--color-yellow);
}

.article-badge--topic {
  background: linear-gradient(88deg, #ADC5F2 0.26%, #A4D3F6 99.7%);
}

/* ============================================================
   ARTICLE MAIN: контент + sidebar
   ============================================================ */
.article-main {
  padding: 80px 0 100px;
}

.article-main__inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

/* ── Контент статьи ── */
.article-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.article-main p{
  font-size: clamp(20px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}


.article-main ol {
    width: 100%;
    padding-left: 1.5em;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/* ── Шаг статьи ── */
.article-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-step__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.article-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 24px;
  background: var(--color-footer);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.article-step__title {
  font-size: clamp(20px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-blue-main);
  margin: 0;
}

.article-step__text {
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

/* ── Callout: фото + текстовый блок на голубом фоне ── */
.article-callout {
  display: flex;
  gap: 24px;
  border-radius: var(--radius-card);
  background: var(--color-blue-light);
  overflow: hidden;
}

.article-callout__media {
  flex: 0 0 calc(566 / 1196 * 100%); /* ~47.3% от ширины контентной колонки в Figma */
  border-radius: var(--radius-card);
  overflow: hidden;
}

.article-callout__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-callout__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

.article-callout__text {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-blue-main);
  opacity: 0.8;
  margin: 0;
}

/* ── Блок фактов про ибупрофен ── */
.article-facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
  border-radius: var(--radius-card);
  background: var(--color-blue-light);
}

.article-facts__logo {
  height: 50px;
  width: auto;
}

.article-facts__grid {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 0 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.single-post.postid-744 .article-recommend__body .article-recommend__title{
  display: none;
}

.single-post.postid-744 .article-recommend__body .article-recommend__desc{
  display: none;
}

.article-fact {
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 16px;
  background: linear-gradient(89deg, #ADC5F2 0.26%, #A4D3F6 99.7%);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
}

.article-fact__icon {
  flex-shrink: 0;
}

.article-fact__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-fact__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.article-fact__value {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}

/* ── Источники ── */
.article-sources {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-main .article-callout__text {
    color: #0037A4;
}

.article-sources__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  width: 100%;
  margin: 0;
}

.article-sources__list {
  width: 100%;
  padding-left: 1.5em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-sources__list li {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: var(--color-black);
}

.article-sources__list a {
  color: var(--color-blue-main);
  text-decoration: underline;
}

/* ============================================================
   SIDEBAR (sticky)
   ============================================================ */
.article-sidebar {
  flex: 0 0 426px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* ── STICKY: как в news.css ── */
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

/* ── Содержание статьи ── */
.article-toc {
  background: var(--color-blue-light);
  border-radius: var(--radius-card);
  padding: 24px 46px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.article-toc__title {
  font-size: 30px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
}

.article-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}

.article-toc__item {
  display: flex;
}

.article-toc__link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  text-decoration: none;
  width: 100%;
  transition: opacity var(--transition);
}

.article-toc__link:hover {
  opacity: 0.7;
}

.article-toc__icon {
  flex-shrink: 0;
  display: flex;
}

.article-toc__text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-grey);
  transition: color var(--transition), font-weight var(--transition);
}

/* Активный пункт (текущий видимый раздел) — выделяем как заголовок */
.article-toc__link.is-active .article-toc__text {
  color: var(--color-black);
  font-weight: 600;
}

.article-toc__link.is-active .article-toc__icon svg path,
.article-toc__link.is-active .article-toc__icon svg rect,
.article-toc__link.is-active .article-toc__icon svg circle {
  stroke: #0037A4;
  fill: #0037A4;
}

/* Разделитель между TOC и рекомендацией */
.article-sidebar__divider {
  height: 1px;
  background: var(--color-light-grey);
}

/* ── Рекомендация препарата ── */
.article-recommend {
  background: var(--color-blue-light);
  border: 1px solid var(--color-blue-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-recommend__body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 34px;
  padding: 24px 46px;
  text-align: right;
}

.article-recommend__title {
  font-size: 30px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
  width: 100%;
  text-align: left;
}

.article-recommend__product {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.article-recommend__name {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-blue-main);
  line-height: 1;
  margin: 0;
  text-align: left;
}

.article-recommend__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-grey);
  margin: 0;
  text-align: left;
}

.article-recommend__btn {
  min-width: 170px;
}

.article-recommend__image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.article-recommend__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 191px;
}

/* ============================================================
   RELATED NEWS
   ============================================================ */
.related-news {
  padding: 0 0 100px;
}

.related-news__title {
  font-size: clamp(32px, 2.9vw, 55px);
  font-weight: 600;
  line-height: 80px;
  color: var(--color-blue-main);
  margin: 0 0 44px;
}

.related-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Заголовки карточек теперь ссылки — наследуем стиль news-card__title */
.related-news .news-card__title a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   READING PROGRESS (мобильная плавающая плашка)
   Скрыта на десктопе
   ============================================================ */
.reading-progress {
  display: none;
}

.product-dosage-row .product-dosage-row__aside {

    align-items: flex-end;
}

.product-dosage-row.product-rev .product-dosage-row__aside {
    align-items: flex-start;
}

  h2.product-block__title.title_pc {
    display: block;
  }
  h2.product-block__title.title_mob {
    display: none;
  }
  
 .article_img_mob {
    display: none;
  }

.step_line {
    display: flex;
    align-items: center;
    gap: 10px;
}

h2.article-step__text {
    color: var(--Blue-main, #0037A4);
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pc_v{
  display: block;
}

.mob_v{
  display: none;
}


/* ============================================================
   RESPONSIVE — ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {
  .pc_v{
    display: none;
  }

  .mob_v{
    display: block;
  }
  .product-block__title-row .product-block__title {
    margin: 0;
    text-transform: uppercase;
}
  h2.article-step__text {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
  }
  .step_line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
}
    .article_img_mob {
        display: block;
        margin-bottom: 60px;
    }
  h2.product-block__title.title_pc {
    display: none;
  }
  h2.product-block__title.title_mob {
    display: block;
    text-transform: uppercase;
  }
  .product-block__info.order_2 {
    order: 2;
  }
  .product-dosage-row__aside.order_2{
    order: 2;
  }
  /* Hero */
  .article-hero {
    padding-top: 40px;
  }

  .article-hero__content {
    flex-direction: column;
    margin-left: 0;
    gap: 16px;
    align-items: stretch;
  }

  .article-hero__image {
    flex: none;
    width: 100%;
    /* На мобайле картинка тоже без боковых отступов — выходит за container */
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    width: 100vw;
  }

  .article-hero__text {
    flex: none;
    padding-left: 0;
    padding-bottom: 0;
    gap: 10px;
    margin-bottom: 60px;
  }

  .article-hero__title {
    font-size: 28px;
  }

  .article-badge {
    font-size: 14px;
    padding: 12px;
  }

  /* Main layout: sidebar убирается из потока, контент — полная ширина */
  .article-main {
    padding: 0 0 40px;
  }

  section.article-hero {
    height: auto !important;
  }

  .article-main__inner {
    flex-direction: column;
    gap: 40px;
  }

  .article-content {
    gap: 40px;
  }

  .article-content__intro {
    font-size: 14px;
    line-height: 16px;
  }

  .article-step {
    gap: 16px;
  }

  .article-step__number {
    font-size: 16px;
    padding: 12px 24px;
  }

  .article-step__title {
    font-size: 20px;
  }

  .article-step__text {
    font-size: 14px;
    line-height: 16px;
  }

  /* Callout — вертикально, фото всегда сверху или снизу как в макете */
  .article-callout {
    flex-direction: column;
    gap: 12px;
    background: transparent;
  }

  .article-callout__media {
    flex: none;
    width: 100%;
    height: 240px;
    border-radius: var(--radius-card);
  }

  .article-callout__body {
    background: var(--color-blue-light);
    border-radius: var(--radius-card);
    padding: 20px;
    align-items: flex-start;
  }

  .article-callout__text {
    font-size: 20px;
  }

  /* Facts */
  .article-facts {
    padding: 30px 0;
    gap: 20px;
  }

  .article-facts__grid {
    flex-direction: column;
    gap: 16px;
  }

  .article-fact {
    min-width: 0;
    width: 100%;
  }

  /* Sidebar — становится обычным блоком в потоке, sticky отключаем */
  .article-sidebar {
    position: static;
    top: auto;
    flex: none;
    width: 100%;
    order: 99; /* "Мы рекомендуем" уходит после статьи на мобайле */
  }

  .article-toc {
    /* TOC скрываем на мобайле — заменён плавающей плашкой прогресса */
    display: none;
  }

  .article-sidebar__divider {
    display: none;
  }

  .article-recommend__body {
    padding: 24px 16px;
    gap: 16px;
  }

  .article-recommend__title {
    font-size: 20px;
  }

  .article-recommend__name {
    font-size: 24px;
  }

  .article-recommend__desc {
    font-size: 20px;
  }

  .article-recommend__image {
    height: 200px;
  }

  /* Related news */
  .related-news {
    padding-bottom: 40px;
  }

  .related-news__title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 28px;
  }

  .related-news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Reading progress: плавающая плашка ── */
  .reading-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 16px;
    left: 80%;
    transform: translateX(-50%);
    z-index: 150;
    background: var(--color-blue-light);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 5px rgba(60,114,193,0.3);
  }

  .reading-progress__bar-wrap {
    width: 40px;
    height: 6px;
    border-radius: 23px;
    background: var(--color-white);
    overflow: hidden;
  }

  .reading-progress__bar {
    height: 100%;
    width: 0%;
    border-radius: 23px;
    background: linear-gradient(154deg, #305FB7 0%, #0A40A5 71.6%);
    transition: width 0.1s linear;
  }

  .reading-progress__percent {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 16px;
    white-space: nowrap;
  }

  .reading-progress__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  /* Раскрытое меню TOC при клике на плашку */
  .reading-progress.is-open .article-toc {
    display: flex;
    position: fixed;
    bottom: 70px;
    left: 16px;
    right: 16px;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 151;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  }
}

/* ============================================================
   RESPONSIVE — 768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .article-hero__title {
    font-size: clamp(28px, 3.5vw, 40px);
  }

  .article-main__inner {
    flex-direction: column;
    gap: 40px;
  }

  .article-sidebar {
    position: static;
    top: auto;
    flex: none;
    width: 100%;
    flex-direction: row;
    gap: 20px;
  }

  .article-toc,
  .article-recommend {
    flex: 1 1 0;
  }

  .article-sidebar__divider {
    display: none;
  }

  .related-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   РАСКРЫТОЕ СОСТОЯНИЕ: bottom-sheet "Содержание статьи"
   ============================================================ */

/* Когда открыто — скрываем компактную плашку-кнопку,
   показываем полноразмерную панель */
.reading-progress.is-open {
  display: block;
  position: fixed;
  inset: auto 0 0 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  background: var(--color-white);
  border-top: 1px solid var(--color-light-grey);
  border-radius: 24px 24px 0 0;
  box-shadow: 0px -6px 10px rgba(65, 68, 73, 0.3);
  padding: 12px 20px 24px;
  gap: 20px;
  z-index: 151;
}

/* Скрываем элементы свёрнутой плашки при открытии */
.reading-progress.is-open .reading-progress__bar-wrap,
.reading-progress.is-open .reading-progress__percent,
.reading-progress.is-open .reading-progress__toggle {
  display: none;
}

/* "Ручка" для свайпа сверху панели */
.reading-progress.is-open::before {
  content: '';
  display: block;
  width: 120px;
  height: 5px;
  border-radius: 24px;
  background: linear-gradient(176deg, #305FB7 0%, #0A40A5 71.6%);
  margin: 0 auto 20px;
}

/* TOC внутри открытой панели */
.reading-progress.is-open .article-toc {
  display: flex;
  position: static;
  background: transparent;
  padding: 5px;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: none;
}

/* Заголовок + бейдж процента в одну строку */
.reading-progress.is-open .article-toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1;
  width: 100%;
  margin: 0;
}

/* Бейдж с процентом справа от заголовка, значение из data-атрибута (см. JS) */
.reading-progress.is-open .article-toc__title::after {
  content: attr(data-progress) '%';
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-black);
  background: var(--color-blue-light);
  border-radius: 10px;
  padding: 0;
}

/* Список пунктов TOC */
.reading-progress.is-open .article-toc__list {
  gap: 0;
}

.reading-progress.is-open .article-toc__item {
  flex-direction: column;
}

/* Разделитель между пунктами */
.reading-progress.is-open .article-toc__item:not(:last-child)::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--color-light-grey);
  width: 100%;
  margin: 12px 0;
}

.reading-progress.is-open .article-toc__link {
  padding: 0;
  gap: 12px;
}

/* Индикатор-кружок: 28px, серый по умолчанию */
.reading-progress.is-open .article-toc__icon {
  width: 28px;
  height: 28px;
}

.reading-progress.is-open .article-toc__icon svg circle {
  fill: var(--color-light-grey);
}

/* Активный пункт: синий заполненный кружок + жирный чёрный текст */
.reading-progress.is-open .article-toc__link.is-active .article-toc__icon svg circle {
  fill: var(--color-blue-main);
}


.reading-progress.is-open .article-toc__text {
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-grey);
}

.reading-progress.is-open .article-toc__link.is-active .article-toc__text {
  color: var(--color-black);
  font-weight: 600;
}

.article-toc__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}


.buy_hero .hero__right {
    width: 50%;
}

/* ============================================================
   WHERE BUY — блок «Выберите препарат» + сетка аптек
   ============================================================ */

.where-buy {
  padding: 60px 0 100px;
}

.where-buy__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 6.5vw, 110px);
}

/* ── Левая колонка: фильтр ── */
.where-buy__filter {
  flex: 0 0 clamp(280px, 37.6%, 632px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.where-buy__filter-title {
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 600;
  color: var(--color-black);
  line-height: 1;
  margin: 0;
}

.where-buy__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.where-buy__group-label {
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.4;
  margin: 0;
}

.where-buy__btns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 20px);
}

/* Кнопка-таб */
.where-buy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border: 1px solid var(--color-blue-main);
  border-radius: 50px;
  background: transparent;
  font-family: var(--font-primary);
  font-size: clamp(12px, 0.85vw, 16px);
  font-weight: 700;
  color: var(--color-blue-main);
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition);
}

.where-buy__btn:hover {
  background: rgba(0, 55, 164, 0.06);
}

.where-buy__btn--active {
  background: var(--color-blue-main);
  color: var(--color-white);
}

/* ── Правая колонка: аптеки ── */
.where-buy__pharmacies {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.where-buy__pharmacies-title {
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  color: var(--color-black);
  text-align: center;
  line-height: 1;
  margin: 0;
}

/* Таб: скрыт по умолчанию */
.where-buy__tab {
  display: none;
}

.where-buy__tab--active {
  display: block;
}

/* Сетка аптек: 3 колонки */
.where-buy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.2vw, 20px);
}

/* ── Карточка аптеки ── */
.pharmacy-card {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1vw, 20px);
}

/* Обёртка логотипа */
.pharmacy-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--color-white);
  border: 1px solid #ADC5F2;
  border-radius: var(--radius-card);
  padding: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--transition);
}

.pharmacy-card__img-wrap:hover {
  box-shadow: 0 6px 20px rgba(0, 55, 164, 0.15);
}

/* Выделенная карточка (активная аптека) */
.pharmacy-card--featured .pharmacy-card__img-wrap {
  border-color: var(--color-blue-main);
  box-shadow:
    0 16px 8px rgba(12, 12, 13, 0.10),
    0 4px 2px rgba(12, 12, 13, 0.05);
}

.pharmacy-card__img {
  display: block;
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Кнопка «Заказать» */
.pharmacy-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: clamp(13px, 0.95vw, 16px);
  text-decoration: none;
}

p.where-buy__group-label svg{
  display: none;
}

span.product-age-badge.title_mob {
    display: none;
}

span.product-age-badge.title_pc {
    display: flex;
}

/* ============================================================
   ≤ 767px (Mobile)
   ============================================================ */
@media (max-width: 767px) {

  span.product-age-badge.title_mob {
    display: flex;
  }

  span.product-age-badge.title_pc {
      display: none;
  }
  p.where-buy__group-label svg{
    display: flex;
  }

  .where-buy {
    padding: 40px 0 60px;
  }

  .where-buy__inner {
    flex-direction: column;
    gap: 40px;
  }

  .where-buy__filter {
    flex: none;
    width: 100%;
    gap: 20px;
  }

  .where-buy__filter-title {
    font-size: 28px;
  }

  .where-buy__group-label {
    font-size: 20px;
  }

  /* На мобайле кнопки — полная ширина */
  .where-buy__btns {
    flex-direction: column;
    gap: 16px;
  }

  .where-buy__btn {
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
  }

  .where-buy__pharmacies {
    width: 100%;
    gap: 24px;
  }

  /* 1 колонка аптек */
  .where-buy__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pharmacy-card__img-wrap {
    height: 200px;
  }

  /* Аккордеон групп на мобайле */
  .where-buy__group-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 0;
    border-top: 1px dashed #ADC5F2;
    border-bottom: 1px dashed #ADC5F2;
    user-select: none;
  }

  .where-buy__group-label svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  /* Стрелка вверх когда группа открыта */
  .where-buy__group--open .where-buy__group-label svg {
    transform: rotate(180deg);
  }

  /* Кнопки скрыты по умолчанию */
  .where-buy__btns {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
  }

  /* Показываем когда группа открыта */
  .where-buy__group--open .where-buy__btns {
    display: flex;
  }

  .where-buy__group-label svg {
    pointer-events: none;
  }
}

/* ============================================================
   768px – 1200px (Tablet)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {

  .where-buy__btns {
    gap: 10px;
  }

  .where-buy__btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* 2 колонки аптек */
  .where-buy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}