/* --- Глобальные переменные --- */
:root {
  --primary-color: #0055a4;
  --secondary-color: #3a7bd5;
  --light-blue: #e9f0f9;
  --light-gray: #f5f5f7;
  --dark-text: #212B36;
  --gray-text: #637381;
  --white: #fff;
  --green: #00A76F;
  --shadow: 0 4px 12px rgba(33, 43, 54, 0.08);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* --- Сброс и База --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gray-bg { background-color: var(--light-gray); }
.text-center { text-align: center; }

h1, h2, h3, h4 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 36px; }
h2 { font-size: 32px; margin-bottom: 40px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; color: var(--primary-color); }
p { margin-bottom: 1rem; color: var(--gray-text); }
ul, ol { padding-left: 20px; }

/* --- Стилизованные ссылки --- */
.link-primary {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-primary:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    text-decoration: none;
}

.link-telegram {
    color: #0088cc;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.link-telegram:hover {
    color: #006ba3;
    border-bottom-color: #006ba3;
    text-decoration: none;
}

/* --- Кнопки --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-telegram {
    background-color: #0088cc;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-telegram:hover { background-color: #006ba3; }

.btn-block {
  display: block;
  width: 100%;
}

/* --- Шапка сайта --- */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-actions {
        gap: 10px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* Иконка корзины в хедере */
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-blue);
    color: var(--primary-color);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.header-cart:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.header-cart.active {
    background: var(--primary-color);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.header-phone {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-phone:hover { color: var(--primary-color); }
.header-phone i { display: none; }

/* --- Хлебные крошки --- */
.breadcrumb-container {
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  display: inline-block;
  padding: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a { color: var(--secondary-color); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #6c757d; }

/* --- Герой-секция (Главная страница) --- */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}
.hero-content h1 { font-size: 42px; margin-bottom: 20px; color: var(--primary-color); }
.hero-subtitle { font-size: 20px; color: var(--gray-text); max-width: 700px; margin: 0 auto 40px; }

/* --- Карточка товара (Детальная) --- */
.product-section { padding: 60px 0; }
.product-card-page {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.product-image-section { position: sticky; top: 120px; }

/* --- Галерея товара --- */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-main {
    position: relative;
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-nav:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-nav i {
    color: var(--primary-color);
    font-size: 18px;
}

.gallery-zoom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-zoom:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

.gallery-zoom i {
    color: var(--primary-color);
    font-size: 16px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--light-gray);
    flex-shrink: 0;
}

.gallery-thumb:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 85, 164, 0.3);
}

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

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    color: var(--white);
    font-size: 16px;
    margin-top: 20px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    font-size: 24px;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    font-size: 24px;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Детали товара */
.product-sku {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    font-family: monospace;
    letter-spacing: 0.5px;
}
.product-availability {
    color: var(--green);
    font-weight: 600;
    background: #e6f6f0;
    padding: 6px 12px;
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: 20px;
}
.price-simple { font-size: 40px; font-weight: 700; margin-bottom: 4px; }
.payment-info { font-size: 14px; color: var(--gray-text); margin-bottom: 24px; }
.product-buttons { margin-bottom: 32px; }

@media (max-width: 768px) {
    .price-simple { font-size: 32px; }
    .product-availability {
        font-size: 14px;
        padding: 5px 10px;
    }
    .product-buttons {
        margin-bottom: 25px;
    }
    .callback-box {
        padding: 15px;
    }
    .callback-form {
        flex-direction: column;
        gap: 10px;
    }
    .callback-form input {
        width: 100%;
    }
    
    .btn-callback {
        white-space: normal;
        padding: 10px 15px;
        font-size: 14px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

.product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.info-item { display: flex; justify-content: space-between; font-size: 15px; }
.info-label { color: var(--gray-text); }
.info-value { font-weight: 600; }

/* Плашка "Оригинал" (Синяя, на всю ширину) */
.badge-blue {
    background-color: #e9f0f9;
    color: #0055a4;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

/* Форма обратного звонка в товаре */
.callback-box {
    background-color: var(--light-blue);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 32px;
    border: 1px solid #dbe6f5;
}
.callback-box-text {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.5;
}
.callback-box-text i { color: var(--primary-color); margin-right: 8px; }
.callback-form { display: flex; gap: 10px; }
.callback-form input {
    flex-grow: 1;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px; /* Предотвращает zoom на iOS */
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 16px;
}
.btn-callback {
    padding: 12px 20px;
    border: none;
    background-color: var(--green);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
}
.btn-callback:hover { background-color: #00855A; }

/* --- КАТАЛОГ И ФИЛЬТРЫ --- */
.catalog-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

/* Сайдбар */
.catalog-sidebar {
    width: 260px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    flex-shrink: 0;
}
.filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.filter-section:last-child { border-bottom: none; margin-bottom: 0; }
.filter-title { font-weight: 700; font-size: 14px; margin-bottom: 12px; display: block; }

.filter-options { list-style: none; padding: 0; }
.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--dark-text);
    cursor: pointer;
}
.filter-option input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}
.reset-filters-btn {
    width: 100%;
    background: #f5f5f7;
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    color: var(--gray-text);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}
.reset-filters-btn:hover { background: #e0e0e0; color: var(--dark-text); }

/* Двойной ползунок цены */
.price-filter-wrapper { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.price-inputs { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.price-inputs input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: var(--dark-text);
}
.price-slider-container {
    position: relative;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    margin-top: 10px;
}
.price-slider-progress {
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
}
.range-input { position: relative; }
.range-input input {
    position: absolute;
    top: -5px;
    height: 5px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.range-input input::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
}
.range-input input::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: auto;
    cursor: pointer;
}

/* Сетка товаров (Каталог и Мини-карточки) */
.catalog-grid-wrapper { flex-grow: 1; }
.catalog-grid-full, .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.product-card-mini {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.product-card-mini:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}
.pcm-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
}
.pcm-image img { max-width: 80%; max-height: 80%; object-fit: contain; }
.pcm-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-text);
    text-decoration: none;
    line-height: 1.4;
}
.pcm-category { font-size: 12px; color: var(--gray-text); margin-bottom: 10px; }
.pcm-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    margin-bottom: 15px;
}

/* Статусы в каталоге */
.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}
.status-instock { background-color: #e6f6f0; color: var(--green); }
.status-preorder { background-color: #fff4e5; color: #b76e00; }
.status-request { background-color: var(--light-blue); color: var(--primary-color); }

.no-products-msg {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--gray-text);
}

/* Мобильная кнопка фильтров */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.mobile-filter-close { display: none; }

/* --- Блок "Похожие товары" / "Альтернатива" --- */
.similar-products-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
    background-color: var(--white);
}
.similar-grid-centered {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.compact-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
}
.product-card-mini.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 85, 164, 0.15);
}
.recommendation-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Медицинский дисклеймер --- */
.medical-disclaimer-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.medical-disclaimer-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: var(--radius);
    border: 1px solid #d1d5db;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 1100px;
    margin: 0 auto;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

.disclaimer-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-text);
}

/* Адаптив для дисклеймера */
@media (max-width: 768px) {
    .medical-disclaimer-section {
        padding: 30px 0;
    }
    
    .medical-disclaimer-box {
        flex-direction: column;
        padding: 25px 20px;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .disclaimer-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .disclaimer-title {
        font-size: 17px;
    }
    
    .disclaimer-text {
        font-size: 14px;
    }
}

/* --- Секции контента (Общие) --- */
.content-section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}
.description-content, .payment-delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.description-block, .feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Эффективность */
.efficacy-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.efficacy-icon {
    font-size: 40px;
    color: var(--primary-color);
    background-color: var(--light-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.efficacy-content {
    flex: 1;
    min-width: 0; /* Критично для правильного переноса текста в flex-контейнере */
    overflow-wrap: break-word;
    word-break: break-word;
}
.efficacy-sources {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
}

.efficacy-sources ol {
    list-style: decimal;
    padding-left: 25px;
    margin: 0;
}

.efficacy-sources li {
    margin-bottom: 12px;
}

.efficacy-sources a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.efficacy-sources a:hover {
    border-bottom-color: var(--primary-color);
    color: var(--secondary-color);
}

.efficacy-sources em {
    font-style: italic;
}

/* Старые стили для совместимости */
.efficacy-sources-old {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

/* Инструкция (Детальная) */
.instruction-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .instruction-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.instruction-card-detailed {
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid #e0e0e0;
}
.instruction-card-detailed h4 i { margin-right: 8px; }

@media (max-width: 768px) {
    .instruction-card-detailed {
        padding: 18px;
    }
    
    .instruction-card-detailed h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .instruction-card-detailed p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .instruction-card-detailed ul,
    .instruction-card-detailed ol {
        padding-left: 20px;
        margin-bottom: 15px;
    }
    
    .instruction-card-detailed li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    .instruction-card-detailed ul ul {
        padding-left: 20px;
        margin-top: 5px;
    }
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  margin-bottom: 15px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  margin: 0;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  transition: var(--transition);
  color: var(--primary-color);
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  padding: 0 20px 20px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    .description-block,
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .alert-box,
    .info-advice-box,
    .status-box {
        padding: 15px;
        margin: 15px 0;
    }
    
    .status-box ul li {
        font-size: 14px;
        padding-left: 25px;
    }
    
    .info-advice-box h4 {
        font-size: 16px;
    }
}

/* Города (Список в столбик) */
.city-list-column {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.city-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}
.city-list-item:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--primary-color);
}
.city-list-name { font-size: 20px; font-weight: 700; color: var(--dark-text); }
.city-list-action { font-size: 16px; font-weight: 600; color: var(--primary-color); }

/* --- Форма заказа --- */
.order-form-section {
    padding: 80px 0;
    background: var(--light-blue);
    scroll-margin-top: 100px;
}
.order-form-section h2 { text-align: center; }
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .order-form-section {
        padding: 40px 0;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        min-width: auto;
        width: 100%;
    }
    
    .review-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .review-rating {
        min-width: auto;
    }
}
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.form-row .form-group { flex: 1; min-width: 250px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 16px;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
}
.form-disclaimer {
  font-size: 14px;
  color: var(--gray-text);
  text-align: center;
  margin-top: 20px;
}

/* --- Блок "Источники информации" --- */
.sources-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.source-item {
    background: var(--white);
    border: 1px solid #e0e6ed;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.source-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.source-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.source-content {
    flex: 1;
}

.source-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.3;
}

.source-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.source-content h4 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.source-content p {
    margin: 0;
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
}

.sources-footer {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
    margin-top: 20px;
}

.sources-footer p {
    margin: 0;
}

.sources-footer small {
    font-size: 13px;
    color: var(--gray-text);
    font-style: italic;
}

/* Адаптив для источников */
@media (max-width: 768px) {
    .sources-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .source-item {
        padding: 15px;
    }
    
    .source-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }
    
    .source-content h4 {
        font-size: 15px;
    }
    
    .source-content p {
        font-size: 12px;
    }
}

/* --- Подвал --- */
.footer {
  background-color: var(--dark-text);
  color: #a0aec0;
  padding: 60px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-column h4 { color: var(--white); margin-bottom: 20px; }
.footer-links a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4a5568;
  font-size: 14px;
}

/* --- АДАПТИВНОСТЬ (Media Queries) --- */

@media (max-width: 992px) {
    .product-card-page { grid-template-columns: 1fr; }
    .product-image-section { position: static; }
    .nav-links { gap: 30px; justify-content: space-around; flex-wrap: wrap; }
    
    /* Галерея на планшетах */
    .gallery-main {
        padding: 15px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav i {
        font-size: 16px;
    }
    
    .gallery-thumb {
        width: 70px;
        height: 70px;
    }
    
    /* Каталог */
    .catalog-container { flex-direction: column; }
    .mobile-filter-toggle { display: flex; }
    .catalog-sidebar {
        display: none; 
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 2000;
        overflow-y: auto;
        border-radius: 0;
        padding: 20px;
        padding-top: 60px;
    }
    .catalog-sidebar.active { display: block; }
    .mobile-filter-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--dark-text);
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 24px; line-height: 1.3; }
    h2 { font-size: 22px; line-height: 1.3; margin-bottom: 25px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    .content-section { padding: 40px 0; }
    .product-section { padding: 40px 0; }
    .form-row { flex-direction: column; gap: 0; }
    .efficacy-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .efficacy-content {
        width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .efficacy-content h3,
    .efficacy-content h4,
    .efficacy-content h5 {
        overflow-wrap: break-word;
        word-break: break-word;
        font-size: 18px;
    }
    
    .efficacy-content h4 {
        font-size: 16px;
    }
    
    .efficacy-content p {
        overflow-wrap: break-word;
        word-break: break-word;
        font-size: 14px;
    }
    
    .efficacy-content .table-responsive {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .efficacy-content .table-responsive table {
        min-width: 100%;
    }
    
    .efficacy-icon {
        align-self: center;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    .callback-form { flex-direction: column; }
    .hero-section { padding: 40px 0; }
    
    /* Обеспечиваем одинаковую ширину контейнеров на мобильных */
    .container {
        padding: 0 15px;
    }
    
    /* Убеждаемся, что все секции имеют одинаковую ширину */
    .product-card-page,
    .description-content,
    .description-block {
        width: 100%;
        max-width: 100%;
    }
    
    /* Шапка Мобильная */
    .header { padding: 10px 0; }
    .logo-text { font-size: 20px; }
    
    /* Оптимизация таблиц для мобильных */
    .monitoring-table,
    .custom-table {
        min-width: 100%;
        font-size: 12px;
        overflow-x: auto;
        display: block;
        width: 100%;
    }
    
    .monitoring-table th,
    .monitoring-table td,
    .custom-table th,
    .custom-table td {
        padding: 8px 10px;
        font-size: 12px;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }
    
    /* Оптимизация instruction-grid */
    .instruction-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instruction-card-detailed {
        padding: 20px;
    }
    
    /* Оптимизация карточек */
    .study-card,
    .expert-card {
        padding: 20px;
    }
    
    .expert-card {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Оптимизация comparison-table */
    .comparison-table,
    .comparison-table-full {
        font-size: 12px;
        overflow-x: auto;
        display: block;
        width: 100%;
    }
    
    .comparison-table th,
    .comparison-table td,
    .comparison-table-full th,
    .comparison-table-full td {
        padding: 8px 10px;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: normal;
    }
    
    /* Оптимизация product-image-single */
    .product-image-single {
        padding: 15px;
        max-width: 100%;
    }
    
    /* Оптимизация кнопок */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-block {
        width: 100%;
    }
    
    /* Оптимизация форм */
    .callback-form input,
    .callback-form textarea {
        font-size: 16px; /* Предотвращает zoom на iOS */
        padding: 12px 15px;
    }
    
    /* Оптимизация отступов */
    p {
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    ul, ol {
        padding-left: 20px;
        font-size: 14px;
    }
    
    li {
        margin-bottom: 8px;
    }
    
    /* Иконка корзины на мобильных */
    .header-cart {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .cart-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
        top: -4px;
        right: -4px;
    }
    
    .header-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--secondary-color);
        color: var(--white);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        font-size: 18px;
    }
    .header-phone i { display: inline-block; }
    .header-phone span { display: none; }
    .btn-telegram-text { display: none; }
    .btn-telegram {
        padding: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        font-size: 18px;
    }
    
    /* Галерея на мобильных */
    .gallery-main {
        padding: 10px;
        aspect-ratio: 1 / 1;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        opacity: 0.9;
    }
    
    .gallery-nav i {
        font-size: 14px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-zoom {
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }
    
    /* Дополнительная оптимизация для очень маленьких экранов */
    .instruction-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instruction-card-detailed {
        padding: 20px;
    }
    
    .study-card,
    .expert-card {
        padding: 20px;
    }
    
    .monitoring-table,
    .custom-table {
        font-size: 12px;
    }
    
    .monitoring-table th,
    .monitoring-table td,
    .custom-table th,
    .custom-table td {
        padding: 8px 10px;
    }
    
    .comparison-table,
    .comparison-table-full {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td,
    .comparison-table-full th,
    .comparison-table-full td {
        padding: 8px 10px;
    }
    
    .product-image-single {
        padding: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .callback-form input,
    .callback-form textarea {
        font-size: 16px; /* Предотвращает zoom на iOS */
    }
    
    p {
        font-size: 14px;
    }
    
    ul, ol {
        font-size: 14px;
    }
}

/* Дополнительная оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    
    .container {
        padding: 0 10px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .product-section {
        padding: 30px 0;
    }
    
    .instruction-card-detailed,
    .study-card,
    .expert-card,
    .contact-method-card {
        padding: 15px;
    }
    
    .monitoring-table th,
    .monitoring-table td,
    .custom-table th,
    .custom-table td {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .contact-method-card h3 {
        font-size: 18px;
    }
}
    
    .gallery-zoom i {
        font-size: 14px;
    }
    
    .gallery-thumbnails {
        gap: 8px;
        padding: 0 5px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    /* Lightbox на мобильных */
    .lightbox {
        padding: 0;
    }
    
    .lightbox-content {
        max-width: 100%;
        width: 100%;
        height: 100%;
        padding: 50px 10px 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .lightbox-image {
        max-height: calc(100vh - 200px);
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .lightbox-nav {
        position: fixed;
        bottom: 20px;
        top: auto;
        transform: none;
        width: 60px;
        height: 60px;
        font-size: 24px;
        background: rgba(255, 255, 255, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.6);
        z-index: 10002;
    }
    
    .lightbox-nav:active {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(0.95);
    }
    
    .lightbox-prev {
        left: 50%;
        transform: translateX(-80px);
    }
    
    .lightbox-next {
        right: 50%;
        transform: translateX(80px);
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        font-size: 22px;
        background: rgba(255, 255, 255, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.6);
    }
    
    .lightbox-counter {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 0;
    }
}

/* Очень маленькие экраны */
@media (max-width: 400px) {
    .lightbox-prev {
        left: 20px;
        transform: none;
    }
    
    .lightbox-next {
        right: 20px;
        transform: none;
    }
    
    .lightbox-image {
        max-height: calc(100vh - 180px);
    }
}


/* --- Стили для SEO-текста (Экспертный блок) --- */
.seo-text-wrapper {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text);
}

.seo-text-wrapper h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
    color: var(--primary-color);
}

.seo-text-wrapper h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

/* Карточки препаратов внутри текста */
.drug-detail-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.drug-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.drug-detail-header h3 { margin: 0; color: var(--primary-color); }
.drug-icon-large { font-size: 30px; color: var(--secondary-color); }

/* Списки форм выпуска */
.drug-forms-list {
    list-style: none;
    padding: 0;
}

.drug-forms-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
}

.drug-forms-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

/* Блоки внимания (Warning / Info) */
.alert-box {
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    font-size: 15px;
}

.alert-box.warning {
    background-color: #fff4e5;
    border-left: 4px solid #b76e00;
    color: #663c00;
}

.alert-box.info {
    background-color: #e9f0f9;
    border-left: 4px solid var(--primary-color);
    color: var(--dark-text);
}

@media (max-width: 768px) {
    .alert-box {
        padding: 15px;
        margin: 15px 0;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .alert-box p {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .alert-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

.alert-title {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Таблицы (Адаптивные) */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px; /* Чтобы не сжималась на мобилках */
}

/* Улучшенная адаптивность таблиц */
@media (max-width: 768px) {
    .table-responsive {
        margin: 15px -15px; /* Расширяем на всю ширину с учетом padding контейнера */
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    
    .monitoring-table,
    .custom-table {
        min-width: 100%;
    }
}

.custom-table th, .custom-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.custom-table th {
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-weight: 600;
}

/* Сетка для симптоматической терапии */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.symptom-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
}

.symptom-card h4 {
    color: var(--dark-text);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Блок Гарантии */
.guarantee-block {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 50px;
}

.guarantee-list li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.guarantee-list li::before {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--green);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .guarantee-block {
        padding: 20px;
        margin-top: 30px;
    }
    
    .guarantee-list li {
        font-size: 14px;
        padding-left: 22px;
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

/* Адаптив текста */
@media (max-width: 768px) {
    .seo-text-wrapper h2 { font-size: 24px; }
    .drug-detail-header { flex-direction: column; align-items: flex-start; gap: 5px; }
    .symptoms-grid { grid-template-columns: 1fr; }
}


/* --- Стили для блока "Побочные действия" --- */

/* Вложенные списки */
.instruction-card-detailed ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.instruction-card-detailed li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Стиль для второго уровня списка (конкретные симптомы) */
.instruction-card-detailed ul ul {
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: circle;
    color: var(--gray-text); /* Чуть светлее основного текста */
}

/* Красный текст для опасных состояний */
.text-danger {
    color: #d32f2f;
    font-weight: 700;
}

/* Блок критической информации (Красная рамка) */
.critical-warning-box {
    background-color: #fff5f5; /* Очень светло-красный фон */
    border-left: 4px solid #d32f2f; /* Красная полоса слева */
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.critical-warning-title {
    color: #d32f2f;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.critical-warning-box ul {
    margin: 0;
    padding-left: 20px;
}

.critical-warning-box li {
    color: #333;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .critical-warning-box {
        padding: 12px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .critical-warning-title {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .critical-warning-box p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .critical-warning-box ul,
    .critical-warning-box ol {
        padding-left: 18px;
        margin-bottom: 10px;
    }
    
    .critical-warning-box li {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
}


/* --- Стили для таблицы мониторинга и критических порогов --- */

/* Контейнер для прокрутки таблицы на мобильных */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius);
    border: 1px solid #e0e0e0;
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    scrollbar-width: thin; /* Тонкий скроллбар для Firefox */
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Сама таблица */
.monitoring-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Гарантирует, что таблица не сжимается слишком сильно */
    font-size: 14px;
}

.monitoring-table th {
    background-color: var(--light-blue);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #dbe6f5;
}

.monitoring-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: var(--dark-text);
    vertical-align: top;
}

/* Выделение строки "Первые 3 месяца" (как в вашем примере) */
.row-highlight {
    background-color: #fff9e6; /* Светло-желтый */
}

/* Чересплосица для остальных строк */
.monitoring-table tr:nth-child(even):not(.row-highlight) {
    background-color: #fafafa;
}

/* Список критических порогов */
.threshold-list {
    margin-top: 15px;
    padding-left: 20px;
}

.threshold-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Нумерованный список действий */
.action-steps-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
}

.action-steps-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
}

.action-steps-list li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    font-weight: bold;
}


/* --- Стили для блока "Взаимодействие" --- */

/* Группы взаимодействия */
.interaction-group {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: var(--radius);
    border-left: 4px solid #ccc; /* Базовый цвет рамки */
}

@media (max-width: 768px) {
    .interaction-group {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .interaction-group h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .interaction-group p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .drug-list {
        padding-left: 18px;
    }
    
    .drug-list li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .action-steps-list {
        padding-left: 0;
    }
    
    .action-steps-list li {
        padding-left: 30px;
        font-size: 14px;
        margin-bottom: 8px;
    }
}

/* Красный блок (Ингибиторы - Опасно, повышают уровень) */
.interaction-group.danger {
    background-color: #fff5f5;
    border-left-color: #dc3545;
}

/* Синий блок (Индукторы - Снижают эффективность) */
.interaction-group.info {
    background-color: #e9f0f9;
    border-left-color: #0055a4;
}

/* Желтый блок (Печень - Риск) */
.interaction-group.warning {
    background-color: #fff9e6;
    border-left-color: #ffc107;
}

/* Зеленый блок (Разрешено - Совместимость) */
.interaction-group.success {
    background-color: #f0fff4;
    border-left-color: #28a745;
}

.interaction-title {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.interaction-effect {
    font-size: 14px;
    margin-bottom: 10px;
    font-style: italic;
}

/* Список лекарств */
.drug-list {
    margin: 0;
    padding-left: 20px;
}

.drug-list li {
    margin-bottom: 5px;
}

.drug-list strong {
    color: #333;
}


/* Стили для статусных блоков (Показания/Противопоказания) */
.status-box {
    padding: 25px;
    border-radius: var(--radius);
    margin: 20px 0 40px;
    box-shadow: var(--shadow);
}

.status-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.status-box ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

@media (max-width: 768px) {
    .status-box {
        padding: 18px;
        margin: 15px 0 30px;
    }
    
    .status-box ul li {
        font-size: 14px;
        padding-left: 25px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .status-box.success-title,
    .status-box.danger-title,
    .status-box.warning-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Иконки для списков внутри статус-боксов */
.status-box ul li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Цветовые модификаторы */
.status-box.success { background-color: #f0fff4; border-left: 5px solid #28a745; }
.status-box.success li::before { content: "\f00c"; color: #28a745; }
.status-box.success-title { color: #28a745; font-weight: 700; margin-bottom: 10px; }

.status-box.danger { background-color: #fff5f5; border-left: 5px solid #dc3545; }
.status-box.danger li::before { content: "\f00d"; color: #dc3545; }
.status-box.danger-title { color: #dc3545; font-weight: 700; margin-bottom: 10px; }

.status-box.warning { background-color: #fffdf0; border-left: 5px solid #ff9800; }
.status-box.warning li::before { content: "\f06a"; color: #ff9800; }
.status-box.warning-title { color: #ff9800; font-weight: 700; margin-bottom: 10px; }

/* Блок совета (Info) */
.info-advice-box {
    background: var(--light-blue);
    padding: 25px;
    border-radius: var(--radius);
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
}

.info-advice-box h4 {
    margin-top: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Сетка для таймлайна "Когда начинать" */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .timeline-card {
        padding: 20px;
    }
}

.timeline-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border-top: 5px solid #ccc;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.timeline-card:hover {
    transform: translateY(-5px);
}

.timeline-card h4 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
}

.timeline-period {
    font-weight: 800;
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Модификаторы цветов для таймлайна */
.timeline-card.optimal { border-top-color: #28a745; }
.timeline-card.optimal .timeline-period { color: #28a745; }

.timeline-card.good { border-top-color: #ff9800; }
.timeline-card.good .timeline-period { color: #ff9800; }

.timeline-card.late { border-top-color: #dc3545; }
.timeline-card.late .timeline-period { color: #dc3545; }

.timeline-card p {
    font-size: 15px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .timeline-card {
        padding: 18px;
    }
    
    .timeline-card h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .timeline-card p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .timing-card {
        padding: 15px;
    }
    
    .timing-card h4 {
        font-size: 16px;
    }
    
    .timing-status {
        font-size: 12px;
    }
    
    .symptom-card {
        padding: 15px;
    }
    
    .symptom-card h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .symptom-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .combo-mini-table {
        font-size: 12px;
    }
    
    .combo-mini-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Утилитарный класс для акцента */
.text-accent-red {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.1em;
}

/* Стили для таблицы маркеров (адаптируем уже имеющуюся систему) */
.markers-table-wrapper {
    margin: 30px 0;
}

/* Используем уже созданный .monitoring-table, добавив специфику */
.markers-table th {
    background-color: var(--primary-color);
    color: white;
}


/* Блоки сравнения форм БАС */
.efficacy-card {
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 8px solid;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Спинальная форма - Зеленый градиент */
.efficacy-card.spinal {
    background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
    border-left-color: #28a745;
}

/* Бульбарная форма - Оранжевый градиент */
.efficacy-card.bulbar {
    background: linear-gradient(135deg, #fffaf0 0%, #fef3c7 100%);
    border-left-color: #ff9800;
}

.efficacy-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    font-size: 24px;
}

.efficacy-card.spinal h3 { color: #166534; }
.efficacy-card.bulbar h3 { color: #9a3412; }

.efficacy-tagline {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.efficacy-card.spinal .efficacy-tagline { color: #1b5e20; }
.efficacy-card.bulbar .efficacy-tagline { color: #bf360c; }

/* Плашка с цифрой эффекта */
.effect-badge-large {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 20px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.efficacy-card.spinal .effect-badge-large { color: #28a745; border: 2px solid #28a745; }
.efficacy-card.bulbar .effect-badge-large { color: #ff9800; border: 2px solid #ff9800; }

.study-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    border: 1px dashed rgba(0,0,0,0.1);
}

.study-box strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-text);
}

/* Специфические стили для сравнительной таблицы */
.comparison-table th {
    background-color: var(--primary-color) !important;
}

.text-success-bold {
    color: #28a745;
    font-weight: 700;
}


/* Блоки комбинированной терапии */
.combo-card {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

@media (max-width: 768px) {
    .combo-card {
        padding: 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .combo-card h3,
    .combo-card h5 {
        font-size: 16px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .combo-card p {
        font-size: 14px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* Модификаторы цветов для комбо */
.combo-card.blue {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    border-color: #01579b;
}
.combo-card.purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-color: #4a148c;
}
.combo-card.pink {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    border-color: #880e4f;
}

.combo-card h3 {
    margin-top: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-card.blue h3 { color: #01579b; }
.combo-card.purple h3 { color: #4a148c; }
.combo-card.pink h3 { color: #880e4f; }

/* Грид для механизма действия */
.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.mechanism-item {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mechanism-item h5 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

/* Таблица внутри комбо-блока */
.combo-mini-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 15px 0;
}

.combo-mini-table td {
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Сравнение схем (основная таблица) */
.comparison-table-full tr:nth-child(odd) { background-color: #f8f9fa; }
.comparison-table-full td { font-size: 14px; }
.comparison-table-full .highlight-cell { font-weight: 700; color: var(--primary-color); }

@media (max-width: 768px) {
    .mechanism-grid { grid-template-columns: 1fr; }
}



/* Сетка для таймлайна пропусков */
.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.timing-card {
    padding: 20px;
    border-radius: var(--radius);
    border-top: 4px solid #ccc;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.timing-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.timing-status {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

/* Цвета для тайминг-карт */
.timing-card.safe { border-top-color: #28a745; background-color: #f0fff4; }
.timing-card.safe .timing-status { color: #28a745; }

.timing-card.warning { border-top-color: #ff9800; background-color: #fffdf0; }
.timing-card.warning .timing-status { color: #ff9800; }

.timing-card.danger { border-top-color: #dc3545; background-color: #fff5f5; }
.timing-card.danger .timing-status { color: #dc3545; }

/* Блок примеров */
.example-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid #e0e6ed;
    margin: 25px 0;
}

@media (max-width: 768px) {
    .example-box {
        padding: 18px;
        margin: 20px 0;
    }
    
    .example-item {
        margin-bottom: 15px;
    }
    
    .example-item strong {
        font-size: 15px;
    }
    
    .example-item p {
        font-size: 14px;
        line-height: 1.6;
    }
}

.example-item {
    margin-bottom: 20px;
}

.example-item:last-child { margin-bottom: 0; }

.example-item hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.example-item strong { color: var(--primary-color); }




/* Стили для ежедневного меню / распорядка */
.daily-routine {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 2px solid var(--primary-color);
    margin: 30px 0;
}

@media (max-width: 768px) {
    .daily-routine {
        padding: 20px;
        margin: 20px 0;
    }
    
    .routine-item {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }
    
    .routine-time {
        font-size: 14px;
        min-width: auto;
    }
    
    .routine-content {
        font-size: 14px;
    }
}

.routine-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.routine-item:last-child { border-bottom: none; }

.routine-time {
    font-weight: 800;
    color: var(--primary-color);
    min-width: 70px;
    font-size: 16px;
}

.routine-content strong {
    display: block;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.routine-note {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Таблицы внутри блоков питания */
.nutrition-table th {
    background-color: #fdecea !important; /* Очень бледный красный для заголовка кофеина */
    color: #a92a35 !important;
}


/* Дополнительный стиль для списков действий (нумерованных) */
.action-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.action-steps li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.action-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
    font-weight: 700;
}



/* Сетка экстренных ситуаций */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.emergency-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #e0e6ed;
    border-top: 6px solid #ccc; /* Акцент сверху */
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.emergency-card h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Цвета для экстренных карт */
.emergency-card.red { border-top-color: #dc3545; background-color: #fffafb; }
.emergency-card.red h4 { color: #dc3545; }

.emergency-card.yellow { border-top-color: #ffc107; background-color: #fffdf0; }
.emergency-card.yellow h4 { color: #9a3412; }

.emergency-card.teal { border-top-color: #009688; background-color: #f2faff; }
.emergency-card.teal h4 { color: #00695c; }

.emergency-card .emergency-label {
    display: block;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.emergency-card p { font-size: 14px; line-height: 1.5; }

/* Список внутри экстренных карт */
.emergency-list {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    font-size: 13px;
    list-style: none;
    padding-left: 0;
}

.emergency-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.emergency-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: inherit;
    font-weight: bold;
}

/* Стили для таблицы симптомов */
.symptom-table th {
    background-color: #fef3c7 !important; /* Бледно-желтый для заголовка */
    color: #92400e !important;
}


/* ========================================= */
/* === СТИЛИ БЛОКА ГАРАНТИЙ (ОБНОВЛЕННЫЕ) === */
/* ========================================= */

/* --- 1. Блок партии (Свежесть) --- */
.batch-status-box {
    background-color: #f8f9fa;
    border: 1px dashed var(--primary-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.batch-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.batch-header i { color: var(--green); margin-right: 8px; }

.batch-data-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.batch-item {
    background: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    flex: 1;
    min-width: 180px;
    text-align: center;
}

@media (max-width: 768px) {
    .batch-data-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .batch-item {
        min-width: 100%;
        width: 100%;
    }
    
    .batch-status-box {
        padding: 15px;
    }
    
    .batch-header {
        font-size: 16px;
    }
}

.batch-label {
    display: block;
    font-size: 12px;
    color: var(--gray-text);
    margin-bottom: 4px;
}

.batch-value {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-text);
}

.text-success { color: var(--green) !important; }


/* --- 2. Основная сетка (Галерея + Описание) --- */
.authenticity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

/* На десктопе: Слева галерея, Справа текст */
@media (min-width: 992px) {
    .authenticity-wrapper {
        display: grid;
        grid-template-columns: 1.1fr 1fr; /* Галерея чуть шире */
        align-items: start;
        gap: 50px;
    }
}


/* --- 3. Галерея из 3-х фото --- */
.pack-gallery {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr; /* Мобильный вид: одно под другим */
}

/* Планшет и ПК: Красивая раскладка (1 большое, 2 маленьких) */
@media (min-width: 576px) {
    .pack-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "main main"
            "sub1 sub2";
    }
    
    /* Первое фото (Лицо) - на всю ширину сверху */
    .gallery-item:nth-child(1) { grid-area: main; }
    .gallery-item:nth-child(2) { grid-area: sub1; }
    .gallery-item:nth-child(3) { grid-area: sub2; }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    background: #fff;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.02); /* Легкий зум при наведении */
}

.marker-caption {
    background: #fcfcfc;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 600;
    border-top: 1px solid #eee;
    text-transform: uppercase;
}


/* --- 4. Маркеры на фото (Пульсирующие точки) --- */
.visual-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 85, 164, 0.5);
    border: 2px solid #fff;
    cursor: default;
    z-index: 5;
    animation: pulse-marker 2s infinite;
}

@keyframes pulse-marker {
    0% { box-shadow: 0 0 0 0 rgba(0, 85, 164, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 85, 164, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 85, 164, 0); }
}

/* Координаты маркеров */
.marker-1 { top: 50%; left: 50%; transform: translate(-50%, -50%); } /* Центр */
.marker-2 { top: 45%; right: 15%; } /* QR код справа */
.marker-3 { bottom: 25%; left: 50%; transform: translate(-50%, 0); } /* Пломба снизу */


/* --- 5. Список особенностей (Справа) - ИСПРАВЛЕННЫЕ КРУГИ --- */
.pack-features h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.feature-list-item {
    display: flex;           /* Включаем Flexbox */
    align-items: flex-start; /* Выравнивание по верху */
    gap: 20px;               /* Отступ между цифрой и текстом */
    margin-bottom: 30px;
}

/* Стиль синего круга с цифрой */
.feature-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;          /* Не сжимать круг */
    background-color: var(--primary-color); 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 85, 164, 0.25);
    border: 2px solid #fff;
}

/* Текстовая часть списка */
.feature-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--dark-text);
    line-height: 1.3;
}

.feature-text p {
    font-size: 15px;
    margin: 0;
    color: var(--gray-text);
    line-height: 1.5;
}


/* --- 6. Аккордеон (Инструкция) --- */
.verification-accordion details {
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.verification-accordion details[open] {
    border-color: var(--primary-color);
}

.verification-summary {
    padding: 18px 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    background-color: #fcfcfc;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.verification-summary::-webkit-details-marker { display: none; }

.verification-summary::after {
    content: '\f078'; /* FontAwesome arrow down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.3s ease;
}

details[open] .verification-summary::after {
    transform: rotate(180deg);
}

.verification-content {
    padding: 25px;
    border-top: 1px solid #e0e6ed;
    background: #fff;
}

/* Шаги внутри инструкции */
.verification-steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.v-step-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-text);
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    display: inline-block;
}

/* Блок расшифровки кодов (Синий) */
.code-decoding-box {
    margin-top: 15px;
    background: #f0f7ff;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.code-decoding-box h5 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 16px;
}

.decoding-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.decoding-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.highlight-sn {
    color: #c2185b;
    font-weight: 700;
    background: #fce4ec;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Шаблон письма */
.email-template-box {
    background: #f1f3f4;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid #dce0e4;
    font-family: monospace;
    font-size: 14px;
    color: #333;
    margin: 15px 0 5px;
}

.small-text { font-size: 12px; color: #888; margin-top: 5px; display: block; }


/* --- Адаптив (Мобильные) --- */
@media (max-width: 768px) {
    .authenticity-wrapper { gap: 30px; }
    
    .batch-data-grid { flex-direction: column; gap: 10px; }
    .batch-item { text-align: left; display: flex; justify-content: space-between; align-items: center; }
    .batch-label { margin-bottom: 0; }
    
    /* Уменьшаем маркеры на телефоне, чтобы не закрывали фото */
    .visual-marker { width: 26px; height: 26px; font-size: 12px; }
    
    .feature-list-item { gap: 15px; }
    .feature-num { width: 34px; height: 34px; font-size: 16px; }
    
    .feature-text strong { font-size: 16px; }
}


/* ========================================= */
/* === СТИЛИ БЛОКА ВОЗВРАТА (RETURNS) === */
/* ========================================= */

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--gray-text);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 10px;
    }
}

/* Сетка карточек возврата */
.return-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .return-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .return-card {
        padding: 20px;
    }
    
    .return-card h3 {
        font-size: 18px;
    }
    
    .process-steps {
        padding: 20px;
        gap: 15px;
    }
    
    .process-header {
        padding: 20px;
    }
    
    .process-header h3 {
        font-size: 18px;
    }
    
    .p-step {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
    }
    
    .return-process-box {
        margin: 20px 0;
    }
}

.return-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.return-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Иконки ситуаций */
.return-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.return-icon.damaged { background: #fff5f5; color: #dc3545; } /* Красный */
.return-icon.error { background: #fff9e6; color: #ff9800; } /* Оранжевый */
.return-icon.quality { background: #e9f0f9; color: var(--primary-color); } /* Синий */

@media (max-width: 768px) {
    .return-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
}

.return-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.return-card p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 20px;
    flex-grow: 1; /* Чтобы кнопки внизу были на одном уровне */
    line-height: 1.6;
}

@media (max-width: 768px) {
    .return-card p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
}

/* Блок действия (Вышлем/Вернем) */
.return-action {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--dark-text);
    border: 1px dashed #ccc;
}

.return-action i {
    color: var(--green);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .return-action {
        padding: 12px;
        font-size: 13px;
        line-height: 1.5;
    }
    
    .return-action strong {
        font-size: 14px;
    }
}


/* Блок процесса возврата (Широкий внизу) */
.return-process-box {
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid var(--light-blue);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .return-process-box {
        flex-direction: row;
        align-items: center;
    }
}

/* Левая часть (Заголовок) */
.process-header {
    background: var(--light-blue);
    padding: 30px;
    flex: 1;
    text-align: center;
}

.process-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-header p {
    margin: 0;
    font-weight: 600;
}

/* Средняя часть (Шаги) */
.process-steps {
    flex: 2;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.p-step {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 220px;
}

.p-num {
    width: 32px;
    height: 32px;
    background: var(--dark-text);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.p-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 768px) {
    .p-step p {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }
    
    .p-num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Правая часть (Кнопка) */
.process-cta {
    flex: 1.2;
    padding: 30px;
    text-align: center;
    border-left: 1px solid #eee;
}

@media (max-width: 768px) {
    .process-cta {
        padding: 20px;
    }
}

.small-legal-text {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .small-legal-text {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 12px;
    }
}

@media (max-width: 992px) {
    .process-cta { 
        border-left: none; 
        border-top: 1px solid #eee; 
        padding: 20px;
    }
    .process-steps { justify-content: flex-start; }
}



/* --- Фикс кнопки Telegram в блоке претензий на мобильных --- */

@media (max-width: 992px) {
    /* Обращаемся конкретно к кнопке внутри блока process-cta */
    .process-cta .btn-telegram {
        width: 100% !important;       /* Растягиваем на всю ширину */
        height: auto !important;      /* Убираем фиксированную высоту кружка */
        border-radius: 8px !important;/* Делаем прямоугольной со скруглением */
        padding: 15px 20px !important;/* Возвращаем отступы внутри */
        display: flex !important;     /* Включаем флекс для центрирования */
        align-items: center;
        justify-content: center;
        background-color: #0088cc;    /* Цвет Telegram */
        color: #fff;
        text-decoration: none;
        margin-top: 10px;
    }

    /* Самое важное: Возвращаем текст, который был скрыт в шапке */
    .process-cta .btn-telegram .btn-telegram-text {
        display: inline-block !important; /* Показываем текст */
        margin-left: 10px;    /* Отступ от иконки */
        font-size: 16px;      /* Размер шрифта */
        font-weight: 600;
    }

    /* Настраиваем иконку */
    .process-cta .btn-telegram i {
        font-size: 20px !important;
        margin: 0 !important;
    }
}


/* ========================================= */
/* === СТИЛИ КАЛЬКУЛЯТОРА КУРСА ЛЕЧЕНИЯ === */
/* ========================================= */

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.calculator-form {
    padding: 40px;
}

.calc-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.calc-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.calc-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-section h3 i {
    font-size: 22px;
}

/* Радио-кнопки для схем */
.calc-radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-radio {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.calc-radio:hover {
    border-color: var(--secondary-color);
    background: var(--light-blue);
}

.calc-radio input[type="radio"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.calc-radio input[type="radio"]:checked + .radio-label {
    color: var(--primary-color);
}

.calc-radio:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}

.radio-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radio-label strong {
    font-size: 16px;
    color: var(--dark-text);
}

.radio-label small {
    font-size: 14px;
    color: var(--gray-text);
}

/* Упаковки */
.calc-packages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius);
    gap: 15px;
}

.package-name {
    flex: 1;
    font-size: 15px;
    color: var(--dark-text);
}

.package-count {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.package-price {
    font-size: 15px;
    color: var(--gray-text);
    white-space: nowrap;
}

/* Чекбокс подписки */
.calc-checkbox {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.calc-checkbox:hover {
    border-color: var(--secondary-color);
    background: var(--light-blue);
}

.calc-checkbox input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.calc-checkbox:has(input:checked) {
    border-color: var(--green);
    background: #f0fff4;
    box-shadow: 0 0 0 3px rgba(0, 167, 111, 0.1);
}

.checkbox-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkbox-label strong {
    font-size: 16px;
    color: var(--dark-text);
}

.checkbox-label small {
    font-size: 14px;
    color: var(--gray-text);
}

/* Результаты расчета */
.calc-results {
    background: var(--light-blue);
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
    border: 2px solid var(--primary-color);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    color: var(--dark-text);
}

.result-row span:first-child {
    color: var(--gray-text);
}

.result-row span:last-child {
    font-weight: 600;
    color: var(--dark-text);
}

.result-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 2px solid var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.result-total span:first-child {
    color: var(--dark-text);
}

.result-total span:last-child {
    color: var(--primary-color);
    font-size: 28px;
}

.result-monthly {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    color: var(--gray-text);
}

.result-monthly strong {
    color: var(--primary-color);
    font-size: 18px;
}

/* Разбивка по месяцам */
.calc-breakdown {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.calc-breakdown h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.breakdown-phase {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
}

.breakdown-phase h5 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.breakdown-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dotted #ddd;
}

.breakdown-month:last-child {
    border-bottom: none;
}

.breakdown-month.summary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ccc;
    font-weight: 600;
}

.breakdown-month span {
    color: var(--gray-text);
}

.breakdown-month strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Дисклеймер */
.calc-disclaimer {
    background: #fff9e6;
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: var(--radius);
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.6;
}

.calc-disclaimer i {
    color: #ff9800;
    margin-right: 8px;
}

.calc-disclaimer strong {
    color: #9a3412;
}

/* Действия */
.calc-actions {
    margin-top: 30px;
}

/* Стили для карточек исследований в блоке эффективности */
.study-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid #e0e6ed;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ========================================= */
/* === СТИЛИ БЛОКА ЭКСПЕРТНОГО МНЕНИЯ === */
/* ========================================= */

.expert-card {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 2px solid var(--light-blue);
}

.expert-photo {
    flex-shrink: 0;
}

.expert-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 60px;
    border: 4px solid var(--primary-color);
}

.expert-info {
    flex: 1;
}

.expert-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 24px;
}

.expert-title {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.expert-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.expert-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-text);
}

.expert-detail-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.expert-quote {
    background: linear-gradient(135deg, var(--light-blue) 0%, #dbe6f5 100%);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .expert-quote {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .quote-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .quote-author {
        font-size: 13px;
    }
    
    .expert-comment {
        padding: 20px;
    }
    
    .expert-comment h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .expert-comment p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .expert-faq {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .expert-faq h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .expert-details {
        gap: 12px;
    }
    
    .expert-detail-item {
        font-size: 14px;
        padding: 12px;
    }
    
    .expert-point {
        padding: 15px;
        gap: 15px;
    }
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: var(--dark-text);
    margin: 0 0 15px 0;
    padding-left: 50px;
    line-height: 1.6;
    font-weight: 500;
}

.quote-author {
    text-align: right;
    font-size: 16px;
    color: var(--gray-text);
    margin: 0;
    padding-left: 50px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .quote-text {
        font-size: 16px;
        padding-left: 0;
        margin-bottom: 12px;
    }
    
    .quote-author {
        font-size: 13px;
        padding-left: 0;
        text-align: left;
    }
    
    .quote-icon {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

.expert-comment {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.expert-comment h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.expert-comment h4 {
    color: var(--dark-text);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
}

.expert-points {
    margin: 25px 0;
}

.expert-point {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.point-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.point-content {
    flex: 1;
    line-height: 1.6;
}

.expert-recommendations {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.expert-recommendations li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.expert-recommendations li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 18px;
}

.expert-advice {
    background: var(--light-blue);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.expert-faq {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.expert-faq h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
}

.faq-expert-item {
    margin-bottom: 30px;
    border: 1px solid #e0e6ed;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.faq-expert-question {
    background: var(--light-blue);
    padding: 20px;
}

@media (max-width: 768px) {
    .faq-expert-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-expert-answer {
        padding: 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .faq-expert-answer p {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .faq-expert-answer ul,
    .faq-expert-answer ol {
        padding-left: 20px;
        margin-bottom: 12px;
    }
    
    .faq-expert-answer li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
}
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-expert-question:hover {
    background: #dbe6f5;
}

.faq-expert-question i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-expert-question span {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark-text);
}

.faq-expert-answer {
    padding: 20px;
    border-top: 1px solid #e0e6ed;
}

.faq-expert-answer p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.faq-expert-answer ul {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-expert-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cost-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.cost-block {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
    border: 2px solid #e0e6ed;
}

.cost-block h5 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.cost-block ul {
    margin: 15px 0;
    padding-left: 20px;
}

.cost-block li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.cost-total {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 15px;
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cost-note {
    font-size: 13px;
    color: var(--gray-text);
    margin-top: 10px;
    font-style: italic;
}

.expert-tip {
    background: #fff9e6;
    padding: 15px;
    border-radius: var(--radius);
    border-left: 4px solid #ff9800;
    margin-top: 20px;
    font-size: 14px;
}

.expert-tip i {
    color: #ff9800;
    margin-right: 8px;
}

.expert-publications {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.expert-publications h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.publications-section {
    margin-bottom: 30px;
}

.publications-section:last-child {
    margin-bottom: 0;
}

.publications-section h4 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 18px;
}

.publications-list {
    list-style: none;
    padding-left: 0;
}

.publications-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--gray-text);
}

.publications-list li::before {
    content: "📄";
    position: absolute;
    left: 0;
}

/* ========================================= */
/* === СТИЛИ БЛОКА СРАВНЕНИЯ С АНАЛОГАМИ === */
/* ========================================= */

.comparison-main-table {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.comparison-main-table h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.table-note {
    font-size: 13px;
    color: var(--gray-text);
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

.comparison-details {
    margin-bottom: 40px;
}

.comparison-parameter {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.comparison-parameter h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.comparison-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--gray-text);
    font-style: italic;
}

.comparison-note strong {
    color: var(--dark-text);
    font-style: normal;
}

.cost-visualization {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .cost-visualization {
        padding: 15px;
        margin: 20px 0;
    }
    
    .cost-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .cost-bar-label {
        min-width: auto;
        width: 100%;
        font-size: 13px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .cost-bar-fill {
        min-width: auto;
        width: 100%;
        font-size: 12px;
    }
}

.cost-bar {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cost-bar-label {
    min-width: 180px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
}

.cost-bar-fill {
    flex: 1;
    height: 35px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cost-legend {
    margin-top: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid #e0e6ed;
}

.cost-legend p {
    margin-bottom: 10px;
    font-size: 15px;
}

.cost-legend p:last-child {
    margin-bottom: 0;
}

.recommendations-section {
    margin-bottom: 40px;
}

.recommendations-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .recommendation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.recommendation-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid #e0e6ed;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.recommendation-card.primary {
    border-color: var(--primary-color);
    background: var(--light-blue);
    grid-column: 1 / -1;
}

.recommendation-card h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendation-card.primary h4 {
    color: var(--primary-color);
    font-size: 20px;
}

.recommendation-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.recommendation-card li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
    padding-left: 5px;
}

.recommendation-card li:last-child {
    margin-bottom: 0;
}

.replacement-section,
.import-substitution,
.reviews-comparison,
.final-recommendation {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.replacement-section h3,
.import-substitution h3,
.reviews-comparison h3,
.final-recommendation h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.replacement-section h4,
.import-substitution h4 {
    color: var(--dark-text);
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 18px;
}

.replacement-section ul,
.import-substitution ul {
    margin: 15px 0;
    padding-left: 25px;
}

.replacement-section li,
.import-substitution li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .comparison-parameter,
    .replacement-section,
    .import-substitution,
    .reviews-comparison,
    .final-recommendation {
        padding: 18px;
        margin-bottom: 25px;
    }
    
    .comparison-parameter h4,
    .replacement-section h3,
    .import-substitution h3,
    .reviews-comparison h3,
    .final-recommendation h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .replacement-section h4,
    .import-substitution h4 {
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 12px;
    }
    
    .replacement-section p,
    .import-substitution p,
    .reviews-comparison p,
    .final-recommendation p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .replacement-section ul,
    .import-substitution ul {
        padding-left: 20px;
        margin: 12px 0;
    }
    
    .replacement-section li,
    .import-substitution li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .expert-faq {
        padding: 18px;
        margin-bottom: 30px;
    }
    
    .expert-faq h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .faq-expert-item {
        margin-bottom: 20px;
    }
}

/* Адаптивность для экспертного блока */
@media (max-width: 768px) {
    .expert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .expert-details {
        grid-template-columns: 1fr;
    }
    
    .expert-point {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .point-number {
        margin-bottom: 10px;
    }
    
    .quote-text {
        padding-left: 0;
        font-size: 18px;
    }
    
    .quote-author {
        padding-left: 0;
        text-align: center;
    }
    
    .cost-comparison {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность для блока сравнения */
    .comparison-main-table,
    .comparison-parameter,
    .replacement-section,
    .import-substitution,
    .reviews-comparison,
    .final-recommendation {
        padding: 20px;
    }
    
    .cost-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cost-bar-label {
        min-width: auto;
        width: 100%;
    }
    
    .cost-bar-fill {
        width: 100%;
        min-width: auto;
    }
    
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
    
    .recommendation-card.primary {
        grid-column: 1;
    }
}

/* ========================================= */
/* === СТИЛИ БЛОКА ОТЗЫВОВ ПАЦИЕНТОВ === */
/* ========================================= */

.reviews-summary {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.rating-overview {
    text-align: center;
}

.rating-score {
    margin-bottom: 20px;
}

.rating-stars-large {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.rating-out-of {
    font-size: 18px;
    color: var(--gray-text);
    margin-top: 5px;
}

.rating-based {
    font-size: 14px;
    color: var(--gray-text);
    margin: 15px 0 10px;
}

.rating-recommend {
    font-size: 16px;
    color: var(--green);
    margin-top: 15px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    min-width: 150px;
    font-size: 14px;
    color: var(--dark-text);
}

.rating-bar {
    flex: 1;
    height: 25px;
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease;
}

.rating-count {
    min-width: 100px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
}

.reviews-stats {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.reviews-stats h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stat-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid #e0e6ed;
}

.stat-card h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
}

.stat-item {
    margin-bottom: 15px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.stat-bar {
    height: 20px;
    background: #e0e6ed;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    transition: width 0.5s ease;
}

.reviews-list {
    margin-bottom: 40px;
}

.reviews-list h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.review-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid #e0e6ed;
}

.review-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.review-rating {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 120px;
}

.review-author {
    flex: 1;
}

.review-author strong {
    display: block;
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--gray-text);
}

.review-verified {
    color: var(--green);
    font-weight: 600;
}

.review-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.review-content {
    line-height: 1.7;
    color: var(--dark-text);
}

.review-content p {
    margin-bottom: 15px;
}

.review-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.review-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .review-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .review-content p {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .review-content ul {
        margin: 12px 0;
        padding-left: 20px;
    }
    
    .review-content li {
        margin-bottom: 6px;
        font-size: 14px;
    }
    
    .review-pros-cons {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
}

.review-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.review-pros,
.review-cons {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
}

.review-pros strong {
    color: var(--green);
    display: block;
    margin-bottom: 10px;
}

.review-cons strong {
    color: #dc3545;
    display: block;
    margin-bottom: 10px;
}

.review-pros ul,
.review-cons ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.review-pros li,
.review-cons li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.review-recommend {
    background: var(--light-blue);
    padding: 15px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.review-footer {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e6ed;
    font-size: 14px;
    color: var(--gray-text);
}

.review-helpful {
    color: var(--green);
    font-weight: 600;
}

.review-not-helpful {
    color: #dc3545;
}

.review-comments {
    color: var(--primary-color);
}

.review-verification {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review-verification h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

/* ========================================= */
/* === СТИЛИ БЛОКА "ГДЕ КУПИТЬ" === */
/* ========================================= */

.where-to-buy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-method-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid #e0e6ed;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 32px;
}

.contact-method-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-method-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.contact-method-card .btn {
    width: 100%;
    margin-top: auto;
}

.pharmacy-info {
    background: var(--light-gray);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 30px;
}

.pharmacy-info h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.pharmacy-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pharmacy-info li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.pharmacy-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 18px;
}

.pharmacy-info li:last-child {
    margin-bottom: 0;
}

/* --- Инструкция (аккордеон) --- */
.instruction-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.instruction-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--dark-text);
    text-align: center;
    font-weight: 700;
}

/* Навигация по разделам инструкции */
.instr-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 35px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.instr-nav-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.instr-nav-link:hover,
.instr-nav-link.active {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(42, 157, 143, 0.25);
}

/* Контейнер аккордеонов */
.instr-accordion {
    max-width: 960px;
    margin: 0 auto;
}

/* Элемент аккордеона */
.instr-item {
    background: var(--white);
    border: 1.5px solid #e0e6ed;
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 100px;
}

.instr-item:hover {
    border-color: #c0cdd8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.instr-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.12);
}

/* Заголовок аккордеона */
.instr-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    gap: 15px;
    user-select: none;
}

.instr-header:hover {
    background-color: #f8fafa;
}

.instr-item.active .instr-header {
    background-color: #f0f9f8;
    color: var(--primary-color);
}

.instr-header-text {
    flex: 1;
    line-height: 1.4;
}

/* Стрелка-шеврон */
.instr-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.instr-chevron::before,
.instr-chevron::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.instr-chevron::before {
    transform: translate(-3px, 0) rotate(45deg);
}

.instr-chevron::after {
    transform: translate(3px, 0) rotate(-45deg);
}

.instr-item.active .instr-chevron::before {
    transform: translate(-3px, 0) rotate(-45deg);
}

.instr-item.active .instr-chevron::after {
    transform: translate(3px, 0) rotate(45deg);
}

/* Контент аккордеона */
.instr-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.instr-body {
    padding: 0 22px 22px;
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 15px;
    border-top: 1px solid #e8edf1;
    padding-top: 18px;
}

.instr-body p {
    margin: 0 0 14px 0;
    color: var(--dark-text);
    line-height: 1.7;
}

.instr-body p:last-child {
    margin-bottom: 0;
}

.instr-body ul,
.instr-body ol {
    margin: 0 0 14px 0;
    padding-left: 22px;
}

.instr-body li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--dark-text);
}

.instr-body li:last-child {
    margin-bottom: 0;
}

.instr-body strong {
    color: var(--dark-text);
    font-weight: 600;
}

.instr-body h4 {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.instr-body h4:first-child {
    margin-top: 0;
}

/* Таблица внутри инструкции */
.scroll-table {
    overflow-x: auto;
    margin: 14px 0;
}

.scroll-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}

.scroll-table th,
.scroll-table td {
    padding: 10px 14px;
    border: 1px solid #e0e6ed;
    text-align: left;
    font-size: 14px;
}

.scroll-table th {
    background-color: #f0f9f8;
    color: var(--primary-color);
    font-weight: 600;
}

/* Инструкция — мобильная адаптация */
@media (max-width: 768px) {
    .instruction-section {
        padding: 50px 0;
    }

    .instruction-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .instr-nav {
        gap: 6px;
        margin-bottom: 25px;
    }

    .instr-nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .instr-header {
        padding: 14px 16px;
        font-size: 15px;
    }

    .instr-body {
        padding: 0 16px 16px;
        padding-top: 14px;
        font-size: 14px;
    }

    .scroll-table {
        margin: 10px -16px;
    }

    .scroll-table table {
        min-width: 320px;
    }

    .scroll-table th,
    .scroll-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* --- Описание импортной ситуации --- */
.import-info-text {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.import-info-text p {
    margin-bottom: 15px;
}

.import-info-text p:last-child {
    margin-bottom: 0;
}


/* --- Аккордеон --- */
.accordion-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 6px 16px rgba(33, 43, 54, 0.12);
}

.accordion-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
    font-size: 16px;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
    font-weight: 300;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
}

.accordion-content ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.accordion-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* --- Города доставки --- */
.delivery-cities {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.delivery-city {
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.delivery-city strong {
    display: block;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Шаги заказа --- */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
}

.step-content p {
    margin: 0;
}

/* Адаптивность для отзывов */
@media (max-width: 768px) {
    .reviews-summary {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 25px;
    }
    
    .rating-bar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .rating-label {
        min-width: auto;
    }
    
    .rating-bar {
        width: 100%;
    }
    
    .rating-count {
        min-width: auto;
        text-align: left;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .review-rating {
        min-width: auto;
    }
    
    .review-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .review-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Адаптивность для блока "Где купить" */
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-method-card {
        padding: 25px;
    }
    
    .pharmacy-info {
        padding: 20px;
    }
}

/* Стили для одного изображения товара */
.product-image-single {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-single img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-image-single {
        padding: 15px;
        max-width: 100%;
    }
}

.study-card h5 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.study-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.study-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .study-card {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .study-card h5 {
        font-size: 16px;
    }
    
    .study-card p {
        font-size: 14px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .calculator-form {
        padding: 25px 20px;
    }
    
    .calc-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .calc-section h3 {
        font-size: 18px;
    }
    
    .package-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .package-count,
    .package-price {
        align-self: flex-end;
    }
    
    .result-total {
        font-size: 20px;
    }
    
    .result-total span:last-child {
        font-size: 24px;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}





/* --- CSS FIX: ПРИНУДИТЕЛЬНАЯ АДАПТАЦИЯ ТЕКСТА --- */
/* Вставьте это в самый конец файла style.css */

/* 1. Глобально разрешаем перенос слов везде */
body {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word; /* Для длинных мед. терминов */
}

@media (max-width: 768px) {
    
    /* 2. Чиним CSS Grid блоки, чтобы они не распирали экран */
    .instruction-grid-detailed,
    .timeline-grid,
    .symptoms-grid,
    .emergency-grid,
    .contact-methods,
    .stats-grid,
    .return-cases-grid,
    .product-card-page {
        display: block !important; /* Отключаем сложный грид на мобилках */
        width: 100% !important;
    }

    /* 3. Сбрасываем ограничения ширины у карточек */
    .instruction-card-detailed,
    .timeline-card,
    .status-box,
    .expert-card,
    .review-item,
    .info-advice-box,
    .batch-status-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; /* Критично для Flex/Grid элементов! */
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        
        /* Уменьшаем отступы, чтобы дать больше места тексту */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 4. Принудительно заставляем списки и текст переноситься */
    .instruction-card-detailed li,
    .instruction-card-detailed p,
    .status-box li,
    ul li, 
    ol li,
    p {
        white-space: normal !important; /* Запрет на запрет переноса */
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto; /* Включаем переносы слов дефисами */
    }

    /* 5. Фикс для контейнера, чтобы он не уезжал */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Обрезаем случайные вылеты */
    }
}

/* --- Подвал (site-footer) --- */
.site-footer {
    background-color: var(--dark-text);
    color: #a0aec0;
    padding: 60px 0 20px;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.site-footer-contacts {
    list-style: none;
    padding: 0;
}

.site-footer-contacts li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-address i {
    color: #a0aec0;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-address span {
    color: #a0aec0;
    line-height: 1.6;
}

.site-footer-contacts a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer-contacts a:hover {
    color: var(--white);
}

.site-footer-schedule {
    color: #a0aec0;
}

.site-footer-schedule p {
    margin: 0;
}

.site-footer-links {
    list-style: none;
    padding: 0;
}

.site-footer-links li {
    margin-bottom: 10px;
}

.site-footer-links a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer-links a:hover {
    color: var(--white);
}

.site-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    font-size: 14px;
}

.site-footer-bottom .legal-notice {
    margin-bottom: 10px;
    color: #a0aec0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Окно о сборе куки */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-text);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
}

.cookie-consent-text a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-consent-text a:hover {
    color: var(--secondary-color);
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 85, 164, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 85, 164, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 100px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===== Страница Политики конфиденциальности ===== */
.policy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}

.policy-hero h1 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 12px;
}

.policy-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 8px;
}

.policy-hero-meta i {
    font-size: 13px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    padding: 50px 0 60px;
}

/* TOC — оглавление */
.policy-toc {
    position: sticky;
    top: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 24px;
    border-left: 4px solid var(--primary-color);
}

.policy-toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.policy-toc ol {
    padding-left: 18px;
    margin: 0;
}

.policy-toc li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.policy-toc a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s;
}

.policy-toc a:hover {
    color: var(--primary-color);
}

/* Основной контент */
.policy-content {
    min-width: 0;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8ecf0;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.policy-section p {
    color: var(--dark-text);
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-section ul,
.policy-section ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 10px;
}

.policy-section ul li,
.policy-section ol li {
    position: relative;
    padding: 8px 12px 8px 38px;
    margin-bottom: 4px;
    background: var(--light-gray);
    border-radius: 6px;
    font-size: 15px;
    color: var(--dark-text);
    line-height: 1.5;
}

.policy-section ul li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.policy-section ol {
    counter-reset: ol-counter;
}

.policy-section ol li {
    counter-increment: ol-counter;
}

.policy-section ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

/* Контактный блок */
.policy-contacts-box {
    background: var(--light-blue);
    border: 1px solid rgba(0, 85, 164, 0.15);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 12px;
}

.policy-contacts-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-contacts-box li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 85, 164, 0.1);
    font-size: 15px;
    color: var(--dark-text);
    background: none !important;
}

.policy-contacts-box li:last-child {
    border-bottom: none;
}

.policy-contacts-box li::before {
    display: none;
}

.policy-contacts-box i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.policy-contacts-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.policy-contacts-box a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Адаптив политики */
@media (max-width: 900px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .policy-toc {
        position: static;
    }
}

@media (max-width: 600px) {
    .policy-hero h1 {
        font-size: 26px;
    }

    .policy-layout {
        padding: 30px 0 40px;
        gap: 24px;
    }

    .policy-section h2 {
        font-size: 17px;
    }
}