* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Noto Sans Georgian', sans-serif;
    background-color: #ffffff;
    color: #1d1d1b;
    line-height: 1.6;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(90deg, #d2091e 7.514%, #ec6608 79.533%);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 300px;
}

.logo {
    width: 157.333px;
    height: 40px;
}

.logo svg {
    width: 100%;
    height: 100%;
    fill: white;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
}

nav a:hover {
    opacity: 0.8;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 550px;
    max-width: 1160px;
    margin: 0 auto;
    overflow: hidden;
    display: flex; /* Добавлено для выравнивания дочерних элементов */
    align-items: center; /* Выравниваем по центру вертикально */
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Устанавливаем z-index, чтобы фон был сзади */
}

.hero-bg-mobile {
    display: none;
}

.hero-content {
    position: absolute; /* Меняем с absolute на relative */
    z-index: 2; /* Устанавливаем z-index выше, чем у фона */
    display: flex;
    flex-direction: column; /* Элементы будут располагаться в колонку */
    align-items: flex-start; /* Выравниваем по левому краю */
    gap: 20px; /* Добавляем отступ между заголовком и картинкой */
}

.hero-title {
    position: static; /* Убираем абсолютное позиционирование */
    width: auto; /* Ширина будет автоматической */
    color: #ec6608;
    font-size: 40px;
    font-weight: bold;
    
}

.product_img {
    position: static; /* Убираем абсолютное позиционирование */
    max-width: 600px; /* Ограничиваем максимальную ширину картинки */
    height: auto;
}

.hero-btn {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #d2091e 7.514%, #ec6608 79.533%);
    color: white;
    padding: 8px 30px 10px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    height: 40px;
    z-index: 2;
    margin-top: 40px;
}

.hero-btn:hover {
    opacity: 0.9;
}

/* --- Стили для нового попапа --- */
.hero-btn-wrapper {
    position: relative;
    /* Кнопка .hero-btn сама себя центрирует с помощью left: 50%
       и transform: translateX(-50%), так что ей этот
       div-родитель не помешает.
    */
}
/* Контейнер попапа */
.hero-popup {
    display: none; /* 1. По умолчанию попап скрыт */
    position: absolute;
    /* 2. Позиционируем его рядом с кнопкой. 
       Значения bottom и left могут потребовать небольшой корректировки 
       в зависимости от финального вида. */
    bottom: 60px; /* Располагаем чуть выше кнопки */
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 10px;
    z-index: 10; /* Убедимся, что попап выше других элементов */

}

/* Добавляем "хвостик" или "стрелочку" для попапа */
.hero-popup::after {
    content: '';
    position: absolute;
    top: 100%; /* Располагаем стрелку снизу */
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Убираем маркеры у списка */
.hero-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ссылки внутри попапа */
.hero-popup ul li a {
    display: block;
    padding: 8px 12px;
    color: #1d1d1b;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
    text-align: center;
}

/* Эффект при наведении на ссылку */
.hero-popup ul li a:hover {
    background-color: #f0f0f0;
    color: #ec6608;
}

/* Класс для отображения попапа */
.hero-popup.show {
    display: block;
}

/* Main Content */
main {
    display: flex;
    flex-direction: column;
    gap: 47px;
    padding: 40px 20px;
    align-items: center;
}

section {
    width: 100%;
    max-width: 1160px;
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    color: #ec6608;
    text-align: center;
    margin-bottom: 30px;
}

/* Advantages Cards */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 200px;
    row-gap: 20px  ;
    position: relative;
}

.advantage-card {
    background: #fee27a;
    border: 1px solid #f39200;
    border-radius: 10px;
    padding: 20px;
}

.icons-container {
    /* Эта строка заставляет блок растянуться на всю ширину сетки (на 2 колонки) */
    grid-column: 1 / -1; 
    
    /* Эти строки выстраивают иконки в ряд и центрируют их */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Расстояние между иконками */
    padding: 20px 0; /* Вертикальные отступы для блока */
}

/* Стили для самих иконок, чтобы они были одного размера */
.icons-container img {
    width: 60px;  /* Можете изменить размер */
    height: 60px; /* Можете изменить размер */
    object-fit: contain; /* Сохраняет пропорции изображения */
}

.icons-container .sun {
    width: 200px;  /* Set your desired width */
    height: 200px; /* Set your desired height */
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #ec6608;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 16px;
    color: #1d1d1b;
}

.icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    margin: -40px 0;
}

/* Vitamin Section */
.vitamin-card {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 20px 0 rgba(163, 133, 112, 0.40);
    overflow: hidden;
}

.vitamin-header {
    background: linear-gradient(90deg, #d2091e 7.514%, #ec6608 79.533%);
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 26px;
    font-weight: bold;
}

.vitamin-content {
    padding: 25px;
    text-align: center;
}

.vitamin-blocks {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.vitamin-block {
    text-align: center;
    width: 500px;
}

.vitamin-block img {
    width: 136px;
    height: 136px;
    margin-bottom: 20px;
}

.vitamin-block h3 {
    font-size: 20px;
    font-weight: bold;
    color: #ec6608;
    margin-bottom: 20px;
}

/* Symptoms Grid */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.symptom-card {

    height: 225px;
    display: flex;
    flex-direction: column;
}

.symptom-header {
    background: linear-gradient(90deg, #d2091e 7.514%, #ec6608 79.533%);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.symptom-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 80px;
    box-shadow: 0 0 15px 0 rgba(115, 115, 115, 0.40);
}

.symptom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    
}

/* Health Section */
.health {
    border-radius: 10px;
    border: 1px solid var(--light_orange, #F39200);
    background: var(--yellow, #FEE27A);
    padding: 30px;
}

.health-content {
    display: flex;
    gap: 38px;
    align-items: center;
    justify-content: center;
}

.health-lists {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.health-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.health-text {
    font-size: 16px;
    font-weight: bold;
    color: #1d1d1b;
    width: 430px;
}

/* Product Cards */
.product-slider {
    display: flex;
    gap: 40px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 20px;
}

.product-card {
    position: relative;
    width: 360px;
    flex-shrink: 0;
}

.product-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 25px 0px rgba(163,133,112,0.3);
    padding: 30px 20px;
    margin-top: 200px;
    min-height: 350px;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
}

.product-title {
    font-size: 20px;
    font-weight: bold;
    color: #1d1d1b;
    margin-bottom: 10px;
}

.product-description {
    font-size: 16px;
    color: #1d1d1b;
    line-height: 1.5;
    height: 500px;
}

/* Advice Section */
.advice-box {
        border-radius: 10px;
    border: 1px solid var(--light_orange, #F39200);
    background: var(--yellow, #FEE27A);
    padding-left: 20px;
    display: flex;
    gap: 41px;
    align-items: center;
}

.advice-text {
    flex: 1;
}

.advice-text p {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.advice-image {
    width: 359px;
    height: 191px;
}

/* Where to Buy */
.pharmacy-logos {
    display: flex;
    justify-content: center;
    gap: 0px;
    align-items: center;
}

.pharmacy-logo {
    width: 300px;
    height: 150px;
    object-fit: contain;
}

/* Footer */
footer {
    background: #ec6608;
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 0 380px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 31px;
    width: 660px;
}

.footer-section {
    font-size: 16px;
    line-height: 1.8;
}

.footer-section strong {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 360px;
}

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

.contact-icon {
    width: 20px;
    height: 20px;
}

.pharmacy-link {
    display: inline-block; /* Позволяет ссылке принять размеры картинки */
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; /* Плавный переход для эффектов */
}

.pharmacy-item {
    position: relative; /* Контейнер для позиционирования попапа */
}

.pharmacy-logos .hero-popup {
    bottom: 105%; /* Располагаем попап над логотипом */
    left: 50%;
    transform: translateX(-50%);
    /* Другие стили, такие как ширина, фон и т.д., наследуются от .hero-popup */
}
/* END: Новые стили */


.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s;
}

.pharmacy-link:hover {
    transform: scale(1.05); /* Немного увеличиваем логотип при наведении */
    opacity: 0.9; /* Делаем его чуть прозрачнее */
}

.contact-link {
    text-decoration: none; /* Убираем подчёркивание у ссылки */
    color: inherit; /* Ссылка наследует цвет текста родителя (в вашем случае - белый) */
    display: block; /* Позволяет ссылке занимать всю строку */
    transition: opacity 0.2s; /* Плавный эффект при наведении */
}

.contact-link:hover {
    opacity: 0.8; /* Немного уменьшаем прозрачность при наведении */
}
.worwag_logo {
    width: 160px;
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .header-content,
    .footer-content {
        padding: 0 100px;
    }
}
@media (min-width: 1201px) {
    .product-swiper-container .swiper-wrapper {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .products {
        /* Заставляем секцию занимать всю ширину */
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .product-swiper-container {
        /* Ограничиваем максимальную ширину слайдера, но даем ему быть гибким */
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 20px; /* Добавляем боковые отступы */
        overflow: hidden; /* Скрываем все, что выходит за пределы */
    }
    
    .swiper-slide.product-card {
        /* Важно для правильного отображения слайдов */
        height: auto; 
        display: flex;
        flex-direction: column;
    }

    .swiper-slide .product-content {
        flex-grow: 1; /* Позволяет контенту занимать все доступное пространство */
    }

    /* Стили для пагинации */
    .swiper-pagination {
        position: static; /* Убираем абсолютное позиционирование */
        margin-top: 30px; /* Добавляем отступ сверху */
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: #ccc;
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background-color: #ec6608; /* Цвет активной точки */
    }
    .header-content,
    .footer-content {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .advantages-grid {
        gap: 20px;
    }

    .pharmacy-logos {
        gap: 60px;
        flex-wrap: wrap;
    }
        .icons-container .sun {
    width: 150px;
    height: 150px;
}
}

@media (max-width: 992px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #d2091e 7.514%, #ec6608 79.533%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

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

    .health-content {
        flex-direction: column;
    }

    .health-text {
        width: 100%;
    }

    .advice-box {
        flex-direction: column;
    }

    .advice-image {
        width: 100%;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .vitamin-blocks {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 768px) {
.hero-content {
    position: absolute;
    z-index: 2;
    display: flex
;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    align-content: flex-start;
    flex-wrap: wrap;
    left: 20px;
}
    .hero {
        height: auto;
        min-height: 500px;
    }

    .hero-title {
        font-size: 24px;
        width: 70%;
        position: relative;
        padding: 20px 0;
        top: 40px;
    }

    .product_img {
        position: relative;
        max-width: 600px;
        height: 220px;
        left: -70px;
        top: 20px;
    }


    nav ul {
       gap: 50px;
    }

    .hero-btn {
        /* position: relative;
        top: auto;
        left: auto;
        transform: none; */

        display: block;
        width: fit-content;

    }

    .advantages-grid {
        gap: 40px;
    }

    .section-title {
        font-size: 22px;
    }

    .symptoms-grid {
        grid-template-columns: 1fr;
    }

    .product-slider {
        flex-direction: column;
        align-items: center;
    }

    .pharmacy-logos {
        flex-wrap: wrap;
        gap: 40px;
    }

    .pharmacy-logo {
        width: 120px;
        height: 120px;
    }
    .product-swiper-container {
        padding: 0 15px;
    }
    .product-description {
    height: 300px;
}
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
        height: 30px;
    }

    .header-content {
        padding: 10px 20px;
    }

    nav a {
        font-size: 16px;
    }
    .icons-container  {

        gap: 10px;

    }
    .icons-container img {
        width: 35px;
        height: 35px;

    }
    .icons-container .sun{
    width: 100px;
    height: 100px;
    }

    .advantages-grid {
        gap: 10px;
    }

    .hero-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .advantage-card h3,
    .vitamin-block h3 {
        font-size: 18px;
    }

    .advantage-card p,
    .vitamin-block p,
    .health-text,
    .product-description {
        font-size: 14px;
    }
    /* Правила для смены фона и скрытия изображения продукта */
.hero {
        height: 750px; /* 1. Убираем фиксированную высоту у главного блока */
        min-height: unset; /* Сбрасываем минимальную высоту */
    }

    .hero-bg {
        position: static; /* 2. Возвращаем картинку в поток документа. Это ключевое изменение! */
        height: auto;     /* 3. Высота картинки теперь будет автоматической, сохраняя пропорции */
    }

    /* 4. Контент и кнопка уже имеют position: absolute, 
       поэтому они будут накладываться поверх картинки. 
       Нужно просто скорректировать их положение. */
    .hero-content {
        top: 20px;   /* Например, 20px от верха */
        left: 50%;
        transform: translateX(-50%); /* Центрируем по горизонтали */
        width: 90%; /* Задаем ширину, чтобы текст не прилипал к краям */
    }
    
    .hero-title {
      width: 100%; /* Заголовок должен занимать всю ширину родителя */
      text-align: center; /* Выравниваем текст по центру */
      top: 10px;
    }

    .hero-btn {
        bottom: 10px; /* 20px от низа */
        left: 50%;
        transform: translateX(-50%);

        font-size: 12px;
                width: 200px;
        display: flex
;
        justify-content: center;
    }

    /* 5. Управляем видимостью фонов, как и раньше */
    .hero-bg-desktop {
        display: none;
    }

    .hero-bg-mobile {
        display: block;
    }
    
    /* И прячем изображение продукта */
    .product_img {
        display: none; 
    }
        .product-description {
    height: 500px;
}
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

.page-note {
    text-align: center;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000; /* Убедитесь, что баннер находится поверх других элементов */
}

.cookie-banner-container {
    display: flex; /* Активируем Flexbox */
    align-items: center; /* Центрируем элементы по вертикали */
    max-width: 1200px; /* Ограничиваем ширину контейнера для лучшего вида */
    margin: 0 auto; /* Центрируем контейнер по горизонтали */
    height: 120px; /* Задаём высоту баннера */
    padding: 0 20px;
    box-sizing: border-box;
}

.cookie-banner-text {
    flex-basis: 80%; /* Занимает 80% ширины */
    text-align: left;
    padding-right: 20px;
}

.cookie-banner-buttons {
    flex-basis: 20%; /* Занимает 20% ширины */
    display: flex; /* Активируем Flexbox для кнопок */
    flex-direction: column; /* Располагаем кнопки друг под другом */
    gap: 10px; /* Отступ между кнопками */
}

.cookie-accept-btn{
    background-color: #ffcc00;
    color: black;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.cookie-accept-btn:hover {
    background-color: #f5821f;
}


.close-button {
    position: absolute;
    top: 10px;       /* Расстояние сверху */
    right: 15px;     /* Расстояние справа */
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 640px) {
    .cookie-banner-text {
        font-size: 10px;
}

}

@media (max-width: 480px) {
.cookie-banner-container {
    height: 120px; /* Задаём высоту баннера */
}

}

@media (max-width: 480px) {
 .cookie-banner-container {
    flex-direction: column;
    margin-top: 10px;
 }

 .cookie-banner-buttons {

    display: flex; /* Активируем Flexbox для кнопок */
    flex-direction: column; /* Располагаем кнопки друг под другом */
    gap: 10px; /* Отступ между кнопками */
    width: 260px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}
 
 .cookie-accept-btn,
.cookie-decline-btn {
 width: 80%;

}
.cookie-banner-text {
    flex-basis: 80%; /* Занимает 80% ширины */
    text-align: center;
    padding-right: 0;
}

}

#symptoms,
#composition,
#where,
#products,
#about {
    scroll-margin-top: 80px; 
}

/* --- START: Стили для угловых блоков Hero --- */
.hero-bottom-left,
.hero-bottom-right {
    position: absolute;
    bottom: 20px; /* Отступ от нижнего края */
    z-index: 3; /* Выше чем .hero-content (z-index: 2) */
    text-align: center;
    width: 120px; /* Ширина блока */
}

.hero-bottom-left {
    left: 20px; /* Отступ от левого края */
}

.hero-bottom-right {
    right: 20px; /* Отступ от правого края */
}

.hero-bottom-left img,
.hero-bottom-right img {
    max-width: 60px; /* Ограничим размер картинок */
    height: auto;
    display: block; 
    margin: 0 auto 5px; /* Центрируем картинку и добавляем отступ снизу */
}

.hero-corner-text {
    font-size: 10px;
    color: #1d1d1b; /* Используем основной цвет текста */
    line-height: 1.2;
}

/* Скрываем на мобильных, где .hero сильно меняется */


/* --- START: Стили для блоков под MAIN --- */
.bottom-info-container {
    /* Используем ту же максимальную ширину, что и у остального контента */
    max-width: 1160px;
    margin: 0 auto 40px auto; /* Центрируем и добавляем отступ снизу */
    padding: 0 20px; /* Боковые отступы, как у .container */
    
    display: flex;
    justify-content: space-between; /* Разносим блоки по краям */
    align-items: flex-end; /* Выравниваем по верху */
}

.bottom-info-block {
    width: 120px; /* Та же ширина, что и у hero-блоков */
    text-align: center;
}

.bottom-info-block img {
    max-width: 60px; /* Тот же размер, что и у hero-картинок */
    height: auto;
    display: block;
    margin: 0 auto 5px; /* Центрируем и даем отступ снизу */
}

.bottom-info-text {
    font-size: 10px;
    color: #1d1d1b;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .bottom-info-container {
        margin-bottom: 20px; /* Уменьшаем отступ на мобильных */
    }
}