/*Общие стили*/

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Attentica';
    src: url(/assets/fonts/Attentica_4F_UltraLight.otf);
    font-display: swap;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Стили для баннера */
.banner {
    background-image: url('/images/banner-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.banner-vet {
    background-color: #ffe3ad;
    background-image: url('/images/banner-vet.webp');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

body,
p,
ul li,
h1,
h2,
h3 {
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    color: rgb(86, 68, 150);
    line-height: 1.2;
    font-weight: 700;
}

h1,
h2 {
    font-size: 48px;
    background: linear-gradient(to right, rgb(86, 68, 150) 0%, #6b65a2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: 36px;
}

@media (max-width: 991.98px) {
    h3 {
        font-size: 28px;
    }
}

h4 {
    font-size: 24px;
}

.vet-bottom h5 {
    text-align: center;
}

.vet-bottom a {
    text-decoration: none;
}

.vet-bottom img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vet-bottom img:hover {
    transform: scale(1.12) rotate(-4deg);
}

@media (max-width: 767.98px) {

    h1,
    h2 {
        font-size: 32px;
    }

    .banner h1,
    .banner h2,
    .banner-vet h2 {
        text-align: center;
    }

    h3 {
        font-size: 30px;
    }
}

ul li,
p {
    font-size: 18px;
    color: #5d5d5d;
}


p {
    line-height: 1.5;
}

section {
    padding: 75px 0;
}

@media (max-width: 767.98px) {
    section {
        padding: 40px 0;
    }
}

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

.table tr th {
    background: #d97fb3;
    text-align: center;
    color: #fff
}

.table tr td {
    text-align: center;
}

.table .strip td {
    background: #f6eeff;
}


.table th,
.table td {
    padding: 8px;
    text-align: left;
    border-left: none;
    border-right: none;
    position: relative;
    /* Для позиционирования псевдоэлементов */
}

/* Вертикальная линия в шапке - белая */
.table thead th:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: white;
}

/* Вертикальная линия в теле таблицы - #d97fb3 */
.table tbody td:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: #d97fb3;
}

/* Горизонтальные разделители */
.table thead tr {
    border-bottom: 1px solid #d97fb3;
    /* Цвет как в теле */
}

.table tbody tr {
    border-bottom: 1px solid #ddd;
}


/* Стили для верхнего фиксированного блока */
.fixed-header {
    height: 41px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.brand-name a {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: rgb(40, 29, 81);
    text-decoration: none;
}

.brand-name img {
    height: 22px;
}

.logo {
    height: 32px;
    width: auto;
}

.logo img {
    width: 100px;
    height: auto;
}

/* Стили для меню */
.top-menu {
    background-color: rgb(40, 29, 81);
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: rgb(254, 255, 255);
    line-height: 1.334;
    position: fixed;
    top: 41px;
    left: 0;
    width: 100%;
    z-index: 1029;
}

.menu-item {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    padding: 0 15px;
    display: block;
    line-height: 38px;
}

.menu-item:hover {
    text-decoration: underline;
    color: #e0e0ff;
    text-decoration: none;
}

@media screen and (max-width: 991.98px) {
    .menu-item {
        color: #5d5d5d;
    }
}

/* Отступ для основного контента под фиксированными блоками */
body {
    padding-top: 79px;
    /* 41px + 38px */
}

@media (max-width: 767.98px) {
    body {
        padding-top: 41px;
    }
}

/* Стили для мобильного меню */
.navbar-toggler {
    border: none;
    padding: 0;
    margin-right: 15px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Скрываем логотип на мобильных */
@media (max-width: 991.98px) {
    .logo {
        display: none;
    }

    .fixed-header {
        justify-content: space-between;
    }
}

/* Показываем логотип на десктопах */
@media (min-width: 992px) {

    .navbar-toggler,
    .mobile-menu {
        display: none;
    }
}

/* Адаптивное меню */
.mobile-menu {
    background-color: white;
    padding: 15px;
    position: fixed;
    width: 100%;
    z-index: 1029;

}

.mobile-menu .menu-item {
    padding: 5px 0;
    line-height: 1.5;
}

.banner-vet h2 {
    color: #fff;
}

.banner-vet img {
    position: absolute;
    top: 79px;
}

@media (max-width: 767.98px) {
    .banner-vet img {
        position: unset;
        margin-top: -92px;
    }
}

.vet-bottom {
    background-color: rgb(246, 238, 255);
}

.small-banner {
    background-image: url('/images/banner-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.banner-content,
.drug,
.effect {
    display: flex;
    align-items: center;
}

.banner-content {
    height: 100%;
}

.btn-where,
.btn-dark,
.btn-drug {
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    transition: all 0.3s;
}

.btn-where {
    background-color: white;
    color: #000;
}

.btn-dark,
.btn-drug {
    background-color: #281d51;
    color: #fff;
}

.btn-drug {
    padding: 10px 30px;
}

.btn-where:hover,
.btn-dark:hover,
.btn-drug:hover {
    opacity: 0.8;
    /*background-color: #f0f0f0;*/
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Адаптация баннера для мобильных */
@media (max-width: 767.98px) {
    .banner {
        min-height: 750px;
        text-align: center;
        align-items: start;
    }

    .cats {
        min-height: 750px;
    }

    .banner-vet {
        min-height: 500px;
    }

    .btn-where {
        width: 80%;
        color: #281d51;
    }

    .col-md-7 {
        order: 1;
    }

    .col-md-5 {
        order: 2;
    }
}

/* Стили для основного контента */
.main-content-section {
    background-color: #f6eeff;
}

.main-content-section .row {
    margin-top: -155px;
}

.bg-light {
    background-color: #f6eeff !important;
    padding: 10px 0 30px;
}

@media (max-width: 767.98px) {
    .main-content-section .row {
        margin-top: -130px;
    }
}

.icon-card {
    text-align: center;
    margin-bottom: 60px;
}

.icon-card img {
    margin-bottom: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-card img:hover {
    transform: scale(1.12) rotate(-4deg);
}

.icon-card p {
    font-size: 20px;
    color: rgb(93, 93, 93);
    line-height: 1.2;
}

/* Новая секция с фоновым изображением */
.new-section {
    background-color: #f6eeff;
    min-height: 375px;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.new-section p {
    font-size: 32px;
    line-height: 1.5;
    color: #5d5d5d;
}

.quality {
    background-color: #fce1af;
    height: 230px;
}

.quality .row {
    margin: -95px 0 0;
}

@media (max-width: 1399.98px) {
    .new-section p {
        font-size: 28px;
    }
}

@media (max-width: 1199.98px) {
    .new-section p {
        font-size: 24px;
    }

    .quality {
        height: 165px;
    }
}

@media (max-width: 991.98px) {
    .quality .row {
        margin: -40px 0 0;
    }
}

@media (max-width: 767.98px) {
    .new-section {
        min-height: 600px;
    }

    .new-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        /* Прижимаем текст к нижней части */
    }

    .new-section p {
        font-size: 24px;
        text-align: center;
    }

    .quality {
        height: unset;
    }

    .quality .row {
        margin: -200px 0 0;
    }

}

/*Секция о препарате*/
.drug {
    display: flex;
    align-items: center;
}

.banner-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.btn-drug {
    border-radius: 30px;
    background-color: rgb(40, 29, 81);
    color: #fff;
    padding: 10px 30px;
}

.btn-drug:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .drug {
        padding: 60px 0;
    }
}

/*Показания*/
.indications {
    display: flex;
    align-items: center;
    border-top: 10px solid #fce1af;
}

.indications-top {
    display: block;
    background: url(/images/indications-top-img.png) no-repeat;
    background-size: contain;
    width: 100%;
    margin: -75px 0;
    padding: 10px 0 5px 20px;
}

.indications-top p {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: rgb(86, 68, 150);
    line-height: 1.2;
    font-weight: 400;
}

.reviews {
    font-size: 20px;
    margin: -60px 0;
}

.reviews a:hover {
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .indications-top {
        margin: -50px 0;
    }

    .reviews {
        margin: 30px 0;
    }

}

/*"Эффект*/
.effect {
    display: flex;
    align-items: center;
}

/*Подвал*/
.footer {
    background-color: #281d51;
    padding: 30px 0;
}

.footer a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 10px 0;
}

.footer-bottom {
    background-color: rgb(24, 18, 48);
    padding: 10px 0;
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
}

.footer-bottom a {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.contraindications {
    background-color: #6b687b;
    padding: 10px 0 0;
}

.warning {
    background-color: white;
    text-align: center;
    padding: 15px 70px 0;
    box-shadow: 0 -1px 9px 0 rgb(0 0 0 / 10%);
}

.warning p {
    font-family: 'Attentica', Arial, Helvetica, sans-serif;
    color: #d2d2d2;
    text-transform: uppercase;
    font-size: 56px;
    line-height: 0.8;
}

@media (max-width: 767.98px) {
    .warning p {
        font-size: 30px;
    }
}

/*FAQ*/
.faq-item {
    padding: 20px 0;
}

.faq-item span {
    color: rgb(86, 68, 150);
}

.faq-question {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
}

.faq-toggle {
    margin-right: 15px;
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #d97fb3;
}

.faq-answer {
    padding: 15px 0 5px 40px;
    display: none;
}

.expanded .faq-toggle {
    transform: rotate(45deg);
}

hr {
    margin: 0;
    color: #d97fb3;
    opacity: 0.7;
}

/* --- Dropdown menu styles --- */
.menu-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    border-radius: 0 0 8px 8px;
    padding: 0;
}

.menu-dropdown-wrapper:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-item-custom {
    color: #5d5d5d;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 16px;
    background: none;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item-custom:hover {
    background: #f6eeff;
    color: #d97fb3;
}

/* Мобильное меню: показывать dropdown всегда */
.mobile-dropdown {
    display: block !important;
    position: static;
    background: none;
    box-shadow: none;
    min-width: unset;
    border-radius: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .mobile-dropdown {
        display: none !important;
    }
}

ul li::marker {
    color: rgb(86, 68, 150);
}

.contact-form-wrapper {
    background-color: #f6eeff;
}

input[type="text"] {
    width: 100%;
    height: 46px;
    margin-bottom: 32px;
    color: #010101;
    line-height: 46px;
    padding: 0 13px;
    outline: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #828282;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    width: 100%;
    min-height: 300px;
    resize: none;
    color: #010101;
    padding: 15px 20px;
    outline: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 20px;
    border: 1px solid #828282;
}


@media (max-width: 767.98px) {
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        min-width: 600px;
    }
}

@media (max-width: 767.98px) {
    iframe {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        display: block;
    }
}

@media (prefers-color-scheme: dark) and (max-width: 767.98px) {

    h1,
    h2,
    h3,
    h4 {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        background: none !important;
    }

    body,
    .bg-light {
        background-color: #000 !important;
    }

    .banner h1,
    .banner h2 {
        color: rgb(86, 68, 150) !important;
        background: linear-gradient(to right, rgb(86, 68, 150) 0%, #6b65a2 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        color: transparent !important;
    }

    ul li,
    p {
        color: #fff !important;
    }

    ul li::marker {
        color: #fff !important;
    }

    .icon-card p {
        color: rgb(93, 93, 93) !important;
    }

    .new-section p {
        color: #5d5d5d !important;
    }

    .warning p {
        color: #d2d2d2 !important;
    }

    .indications-top p {
        color: rgb(86, 68, 150) !important;
    }
}

/*Cookie notification Bar*/
#cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #dbeff8;
    padding: 5px 0;
    z-index: 9999;
    text-align: center;
    font-size: 13px;
    display: none;
}

#cookie-close {
    margin: -2px 20px 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    background: #fff;
    padding: 5px 15px;
    border-radius: 10px
}