/* Флексонда — стили по макету Figma */
:root {
  --flexonda-blue: #1a365d;
  --flexonda-blue-light: #2c5282;
  --flexonda-blue-bg: #ebf8ff;
  --flexonda-gray: #f7fafc;
  --flexonda-text: #2d3748;
  --flexonda-border: #e2e8f0;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--flexonda-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Глобальная ширина контейнера по макету */
.container {
  max-width: 1200px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  background: #0454BC;
  padding: 0.75rem 0;
}
.site-header .navbar { padding: 0; }
.site-header .nav-link {
  color: #fff !important;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
}
.site-header .navbar-brand {
  color: #fff !important;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-header .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.site-header .navbar-toggler-icon {
  filter: invert(1);
}

/* Hero — по макету Figma (node 24:2) */
.hero {
  position: relative;
  min-height: 605px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flexonda-blue) url("../images/backheader.png") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: left;
  overflow: hidden;
}
.hero .hero__inner .container:not(.hero__inner) {
  max-width: 100%;
}
.hero .container.hero__inner {
 
  position: relative;
  z-index: 1;
  padding-top: 85px;
  padding-bottom: 80px;
  max-width: 1495px;
  margin: 0 auto;
}
 
.hero-tag {
  display: block;
  width: 100%;
  margin: 0 0 127px 0;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.17;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
}
.hero-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  margin-left: 100px;
}
.hero-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.17;
  letter-spacing: 0;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  color: #fff;
}
.hero-badge {
  position: absolute;
  left: 100%;
  bottom: 0.4em;
  margin-left: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.43);
  white-space: nowrap;
}
.hero-subtitle {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.17;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}

/* Section titles */
.section-title {
  color: #0454BC;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  text-align: center;
}

/* Product line — по макету Figma (node 38-3): фон #EFEFEF, карточки с radius 40px, изображения 400×186 */
.product-line {
  background: #EFEFEF;
  padding: 46px 0 80px;
}
.product-line .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  overflow: visible;
}
.product-line .section-title {
  margin-bottom: 48px;
}
.product-line-disclaimer {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.18;
  color: #7B7B7B;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}
/* В простом состоянии фона карточки нет; при наведении появляется фон */
.product-card {
  background: transparent;
  border: none;
  border-radius: 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  background: #D9D9D9;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.product-card .product-name {
  color: #1E1E1E;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
  padding-top: 1rem;
  order: 2;
}

.product-card .product-name > .product-dose {
  display: block;
  font-size: 40px;
  line-height: 1.18;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  color: #1E1E1E;
  margin-top: 2px;
}
.product-card .product-name .product-meta {
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}
.product-card .product-name .product-meta .product-dose {
  display: inline-block;
  font-size: 40px;
  line-height: 1.18;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  color: #1E1E1E;
}
.product-card .product-name .product-meta .product-volume {
  display: inline-block;
  margin-left: 4px;
  font-size: 24px;
  line-height: 1.18;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  color: #1E1E1E;
}

.product-card-desc {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.18;
  color: #7B7B7B;
  margin-bottom: 1rem;
  padding: 0 1.25rem;
  order: 3;
}
.product-card .product-img-wrap {
  height: 186px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  overflow: hidden;
  order: 1;
}
.product-card:hover .product-img-wrap {
  background: transparent;
}
.product-card .product-img-wrap .product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Кнопка «Подробнее» по Figma: outline #0454BC, текст #1E1E1E Roboto Condensed 18px; hover — заливка #0454BC */
.product-card .btn-more {
  margin: 0 1.25rem 1.25rem;
  display: inline-block;
  background: transparent;
  color: #1E1E1E;
  border: 2px solid #0454BC;
  padding: 10px 30px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 144px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  order: 4;
  align-self: flex-start;
}
.product-card .btn-more:hover,
.product-card .btn-more:focus,
.product-card a.btn-more:hover,
.product-card a.btn-more:focus,
.product-card a.btn-more:visited:hover {
  background: #0454BC;
  color: #fff;
  border-color: #0454BC;
}
.product-card a.btn-more { color: #1E1E1E; }
.product-card a.btn-more:visited { color: #1E1E1E; }
/* Карусель: стрелки 80×80 по Figma, круг синий, иконка белая */
.carousel-control-prev,
.carousel-control-next {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  transition: background 0.2s ease, border-radius 0.2s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #D9D9D9;
  border-radius: 50%;
}
.product-line #productCarousel {
  position: relative;
  overflow: visible;
}
.carousel-control-prev { left: -100px; }
.carousel-control-next { right: -100px; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-size: 100% 100%;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%237B7B7B' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%237B7B7B' viewBox='0 0 16 16'%3e%3cpath d='M4.646 14.354a.5.5 0 0 1 0-.708L10.293 8 4.646 2.354a.5.5 0 1 1 .708-.708l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708 0z'/%3e%3c/svg%3e");
}

/* Product detail blocks — по скрину: левый блок (название, %, список, кнопки), правый блок (только изображение) */
.product-detail { padding: 4rem 0; }
.product-detail .container { display: flex; flex-direction: column; gap: 2rem; }
.product-detail__card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}
.product-detail__left {
  flex: 0 0 33.333%;
  min-width: 280px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}
.product-detail__right {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  z-index: 0;
}
.product-detail__title-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.product-detail .card-title {
  color: #1E1E1E;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  flex-shrink: 0;
}
.product-detail .volume-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #D9D9D9;
  color: #1E1E1E;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  cursor: pointer;
}
.product-detail .volume-badge--active {
  border-color: #0454BC;
}
.product-detail .volume-badge__num {
  font-size: 26px;
  line-height: 1;
  pointer-events: none;
}
.product-detail .volume-badge__unit {
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
}
/* Обёртка круга и списка: вертикальная линия от низа круга через центры маркеров */
.product-detail__benefits-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Линия: цвет из переменной карточки --detail-accent */
.product-detail__card .product-detail__benefits-wrap::before {
  content: "";
  position: absolute;
  left: calc(2rem + 4px);
  top: 60px;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--detail-accent, #32E0FF);
  z-index: 0;
}
/* Круг строго 60×60px: центр на одной вертикали с линией и точками (2rem + 4px от края обёртки) */
.product-detail__percent {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  margin-left: -26px;
  position: relative;
  z-index: 1;
  overflow: visible;
  flex-shrink: 0;
}
.product-detail__card .product-detail__percent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--detail-accent, #32E0FF);
  z-index: -1;
}
.product-detail__percent {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 24px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.product-detail .benefits-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}
.product-detail .benefits-list li {
  color: #7B7B7B;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-family: "Rubik", sans-serif;
  font-weight: 100;
  font-size: 15px;
  line-height: 1.18;
}
.product-detail__card .benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--detail-accent, #32E0FF);
  margin-top: -4px;
}
.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  text-transform: uppercase;
}
.product-detail .product-img-box {
  width: 100%;
  min-height: 200px;


  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-detail .product-img-box .product-detail-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.product-detail .btn-cart {
  background: #0454BC;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  margin: 0;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.product-detail .btn-cart:hover { background: #0349a3; color: #fff; }
.product-detail .btn-cart-plus { font-size: 1.1em; font-weight: 600; }
.product-detail .btn-pharmacy {
  background: #fff;
  color: #0454BC;
  border: 2px solid #0454BC;
  padding: 0.5rem 1.25rem;
  margin: 0;
  border-radius: 40px;
}
.product-detail .btn-pharmacy:hover { background: #0454BC; color: #fff; }

/* Advantages — по макету Figma (style_9JTQ6E, style_HQEI5R, fill_X0ZIQ1) */
.advantages { padding: 4rem 0; }
.advantages .icon-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #1E1E1E;
  font-size: 2rem;
}
.advantages .icon-wrap .advantage-icon-img {
  width:140px;
  height: 140px;
  object-fit: contain;
}
.advantages h3 {
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #1E1E1E;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
.advantages p {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
  color: #7B7B7B;
  margin-bottom: 0;
  text-align: justify;
}

/* Official store block */
.official-store {
  background: #0454BC;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.official-store .section-title { color: #fff; }
.official-store p { opacity: 0.95; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.official-store .btn-store {
  background: #fff;
  color: #0454BC;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0.5rem 0.5rem;
  border-radius: 40px;
}
.official-store .btn-store:hover { background: #e2e8f0; color: #0454BC; }

/* Certificates */
.certificates { padding: 4rem 0; }
.certificates .cert-placeholder {
  height: 220px;
  background: var(--flexonda-gray);
  border: 1px dashed var(--flexonda-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 0.875rem;
}

/* Adverse reactions */
.adverse { padding: 4rem 0; background: var(--flexonda-gray); }
.adverse .section-title { margin-bottom: 1rem; }
.adverse p { margin-bottom: 1rem; text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.adverse .btn-report {
  background: #0454BC;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  border-radius: 40px;
}
.adverse .btn-report:hover { background: #0349a3; color: #fff; }
.adverse p { font-family: "Rubik", sans-serif; font-size: 16px; color: #7B7B7B; }
.adverse .disclaimer { font-size: 14px; color: #7B7B7B; font-family: "Rubik", sans-serif; }

/* Instruction — 5 карточек: название (13px), процент (21px), фото товара */
.instruction {
  padding: 3rem 0;
  padding-bottom: 70px;
  background: #fff;
}
.instruction-grid--cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}
/* Ниже 769px — всегда горизонтальный скролл (телефоны и узкие экраны), карточки не сжимаются */
@media (max-width: 768px) {
  .instruction-grid--cards {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 1rem;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding: 0 1rem 0.5rem;
    box-sizing: border-box;
  }
  .instruction-grid--cards .instruction-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    scroll-snap-align: start;
  }
}
.instruction-card {
  background: #EFEFEF;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem 1rem 0;
}
.instruction-card__title {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #1E1E1E;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}
.instruction-card__percent {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #1E1E1E;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.instruction-card__img {
  margin-top: auto;
  margin-left: -1rem;
  margin-right: -1rem;
}
.instruction-card__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Сертификаты и патенты — три изображения */
.certificates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.certificate-item {
  display: block;
  max-width: 300px;
}
.certificate-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Buy CTA and pharmacies */
.buy-cta {
  background: #0454BC;
  color: #fff;
  padding: 2rem 0;
  margin-bottom: 70px;
}
.buy-cta-title {
  margin: 0 0 1rem;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 26px;
  text-transform: uppercase;
}
.buy-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-buy {
  background: #fff;
  color: #0454BC;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
}
.btn-buy:hover {
  background: #e9f0ff;
  color: #0454BC;
}
.btn-buy-outline {
  background: transparent;
  color: #fff;
}
.btn-buy-outline:hover {
  background: #fff;
  color: #0454BC;
}

.pharmacies {
  padding: 2.5rem 0;
  background: #fff;
  padding-bottom: 70px;
}
.pharmacy-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding-bottom: 20px;
}
.pharmacy-logo {
  display: block;
  flex: 0 0 auto;
  max-width: 140px;
  transition: opacity 0.2s;
}
.pharmacy-logo:hover {
  opacity: 1;
}
.pharmacy-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}
.pharmacy-logo:hover img {
  filter: grayscale(0%);
}

.availability {
  padding: 2.5rem 0;
  background: #fff;
}
.availability-title {
  color: #0454BC;
  text-transform: uppercase;
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  margin-bottom: 1rem;
}
.availability-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  color: #6e6e6e;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 18px;
}

/* FAQ */
.faq {
  padding: 0 0 2.5rem;
  background: #fff;
}
.faq-head {
  background: #0454BC;
  color: #fff;
  padding: 1.25rem 1rem;
  margin-bottom: 1rem;
}
.faq-title {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  font-family: "Rubik", sans-serif;
  font-size: 26px;
}
.faq-accordion .accordion-item {
  border: none;
  border-radius: 0;
  background: #f5f5f5;
}
.faq-accordion .accordion-item:nth-child(odd) {
  background: #fff;
}
.faq-accordion .accordion-button {
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1E1E1E;
  background: inherit;
  border: none;
  padding: 1rem 1.25rem;
  padding-right: 3.5rem;
  box-shadow: none;
  min-height: 3.5rem;
  align-items: center;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #e8e8e8;
  color: #1E1E1E;
  box-shadow: none;
}
.faq-accordion .accordion-button:hover {
  background: inherit;
  color: #1E1E1E;
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  background: #e8e8e8;
}
.faq-accordion .accordion-item:nth-child(odd):has(.accordion-button:not(.collapsed)) {
  background: #e8e8e8;
}
.faq-accordion .accordion-button::after {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background: #0454BC !important;
  background-image: none !important;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  content: "×";
  font-size: 1.5rem;
  line-height: 0.9;
}
.faq-accordion .accordion-body {
  background: #e8e8e8;
  padding: 1rem 1.25rem;
  color: #1E1E1E;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.faq-accordion .accordion-collapse {
  border: none;
}
.legal-note {
  color: #6f6f6f;
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  padding: 1rem 0;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: #0454BC;
  color: #fff;
  padding: 3rem 0 1.5rem;
}
.site-footer .footer-nav .nav-link {
  color: #fff !important;
  padding: 0.25rem 0 !important;
  font-size: 0.9rem;
}
.site-footer .footer-nav .nav-link:hover { text-decoration: underline; }
.site-footer h6 {
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.site-footer .contact-item { font-size: 0.9rem; margin-bottom: 0.25rem; }
.site-footer .contact-item a { color: #fff; }
.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  margin-left: 0.5rem;
  text-decoration: none;
}
.site-footer .social-link:hover { background: rgba(255,255,255,0.25); color: #fff; }
.site-footer .social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.site-footer .copyright { font-size: 0.8rem; opacity: 0.8; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); }

/* Mobile — лучшие практики: без горизонтального скролла, читаемый текст, touch 44px+ */
@media (max-width: 991.98px) {
  .hero { min-height: 50vh; }
  .hero .container.hero__inner { padding-top: 3rem; padding-bottom: 3rem; text-align: center; }
  .hero .hero-title-wrap { margin-left: 0; margin-right: 0; }
  .hero-tag { font-size: clamp(16px, 4vw, 28px); margin-bottom: 2rem; padding: 0 0.5rem; }
  .hero-title { font-size: clamp(28px, 7vw, 48px); margin-bottom: 1rem; word-break: break-word; }
  .hero-subtitle { font-size: clamp(22px, 5vw, 48px); word-break: break-word; }
  .hero-badge { font-size: 18px; margin-left: 12px; }
  .product-line .carousel-control-prev,
  .product-line .carousel-control-next { display: none !important; }
  .product-line .container { padding-left: 1rem; padding-right: 1rem; }
  .product-line { padding: 2rem 0 3rem; }
  .section-title { font-size: clamp(1.25rem, 4vw, 40px); padding: 0 0.5rem; word-break: break-word; }
  .official-store .btn-store { display: block; margin: 0.5rem auto; min-height: 44px; }
  /* Инструкция (планшеты 769–992px): полторы карточки, горизонтальный скролл */
  .instruction-grid--cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 1rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 1rem 0.5rem;
  }
  .instruction-grid--cards .instruction-card {
    flex: 0 0 min(220px, calc((100% - 1rem) / 1.5));
    min-width: min(220px, calc((100% - 1rem) / 1.5));
    scroll-snap-align: start;
  }
  .buy-cta-actions { flex-direction: column; align-items: stretch; }
  .buy-cta .btn-buy { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .pharmacy-logos { gap: 1.5rem; }
  .pharmacy-logo { max-width: 100px; }
  /* Блок товара (2 мл / 3 мл): на мобильной — колонка: сверху текст, снизу фото */
  .product-detail .container {
    min-width: 0;
    width: 100%;
  }
  .product-detail__card {
    flex-direction: column;
    overflow: visible;
    width: 100%;
    min-width: 0;
  }
  .product-detail__left {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    padding: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    display: block;
  }
  .product-detail__right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem;
    order: 1;
    box-sizing: border-box;
  }
  .product-detail__title-row {
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }
  .product-detail .card-title {
    flex: 1 1 100%;
    font-size: 20px;
    margin-bottom: 0.5rem;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
  }
  /* Критично для iPhone: обёртка и список — на всю ширину, stretch чтобы текст не сворачивался в столбик */
  .product-detail__benefits-wrap {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    align-items: stretch;
    flex: 0 0 auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  .product-detail .benefits-list {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }
  .product-detail .benefits-list li {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    box-sizing: border-box;
  }
  .product-detail__left,
  .product-detail .card-title,
  .product-detail__benefits-wrap,
  .product-detail .benefits-list {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .product-detail .product-img-box {
    max-width: 280px;
    margin: 0 auto;
  }
  .product-detail .product-img-box .product-detail-img {
    max-height: 240px;
  }
}
@media (max-width: 575.98px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .site-header .nav-link { font-size: 18px; padding: 0.5rem 0.75rem !important; min-height: 44px; display: inline-flex; align-items: center; }
  .site-header .navbar-brand { font-size: 18px; }
  .hero .container.hero__inner { padding-top: 2rem; padding-bottom: 2rem; }
  .hero .hero-title-wrap { margin-left: 0; }
  .hero-tag { font-size: 18px; margin-bottom: 1.5rem; }
  .hero-title { font-size: 32px; margin-bottom: 0.5rem; }
  .hero-subtitle { font-size: 28px; }
  .hero-badge { position: static; display: block; margin: 0.5rem 0 0 0; font-size: 14px; }
  .section-title { font-size: 1.25rem; }
  .product-card .product-name { font-size: 18px; padding: 0 0.75rem; }
  .product-card .product-name .product-meta .product-dose,
  .product-card .product-name > .product-dose { font-size: 28px; }
  .product-card-desc { font-size: 15px; padding: 0 0.75rem; }
  .product-card .btn-more { margin: 0 0.75rem 1rem; padding: 12px 20px; min-height: 44px; }
  .product-detail .btn-cart, .product-detail .btn-pharmacy { display: block; width: 100%; margin-right: 0; min-height: 44px; }
  .product-detail__left { padding: 0.75rem 1rem; }
  .product-detail__right { padding: 0.75rem 1rem; }
  .product-detail .card-title { font-size: 18px; }
  .product-detail .benefits-list li { font-size: 14px; line-height: 1.4; }
  .product-detail .product-img-box { max-width: 100%; }
  .product-detail .product-img-box .product-detail-img { max-height: 200px; }
  .faq-title { font-size: 1.1rem; }
  .buy-cta-title { font-size: 1.25rem; }
  .accordion-button { font-size: 0.95rem; padding: 0.75rem 1rem; min-height: 44px; text-align: left; }
  .accordion-body { padding: 0.75rem 1rem; font-size: 15px; }
  .site-footer { padding: 2rem 0 1rem; }
  .site-footer .footer-nav .nav-link { padding: 0.5rem 0 !important; min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer .social-link { min-width: 44px; min-height: 44px; }
}
