/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, main, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h3 {
    margin: 0.67em 0
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em;
    bottom: -0.25em
}

img {
    border: 0
}


figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

.table > thead {
    vertical-align: middle;
}

.table > tbody {
    vertical-align: middle;
}

td, th {
    padding: 0
}

h2 {
    font-weight: 900
}

/* Общие стили */

/*
Белый (крем): #FFFFFF
            Светло-бежевый (бисквит): #F8F0E3
                                    Розовый (ягоды): #E91E63
                                                   Красный (ягоды): #FF0000
                                                                  Зеленый (листья): #8BC34A

*/
:root {
    --bs-body-font-family: 'PT Serif', serif; /* Определяем значение переменной */
}

body {
    font-family: 'PT Serif', serif;
    margin: 0;
    padding: 0;
    background-color: #f8f0e3; /* светло-бежевый фон */
}

h1 {
    font-size: calc(24px + 0.5vw) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Serif', serif; /* Шрифт для заголовков */
    color: #333; /* Цвет заголовков */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

nav a {
    text-decoration: none;
    color: transparent; /* Наследование цвета от родителя */
}

/* Стили для шапки (header) */
header {
    /*background: linear-gradient(0deg,rgba(209, 50, 127, 0.33) 0%, rgba(235, 164, 198, 0.16) 20%, rgba(255, 255, 255, 0.87) 36%, rgba(255, 255, 255, 1) 100%);*/
    background-color: rgba(255, 255, 255, 0.75);
    position: fixed;
    width: -webkit-fill-available;
    z-index: 15;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px; /* Примерная высота логотипа */
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}


/* Убираем маркеры у всех <li> */
li {
    list-style-type: none; /* Убираем маркеры */
}

nav ul {
    list-style: none;
    padding: 15px;
    margin: 0;
    display: flex;
    /*   border-bottom: 1px solid rgba(125, 25, 29, 0.49);  Рамка: толщина, стиль и цвет */
}

nav li {
    margin-right: 20px;
}

nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease; /* Плавный переход цвета */
    font-size: 1.2rem;
}

.navbar-collapse {
    justify-content: center;
}

nav a:hover {
    color: #e91e63; /* Розовый цвет при наведении */
}

.contacts {
    text-align: right;
}

.contacts p {
    margin: 5px 0;
}

/* Стили для секции hero */
.hero {
    background-image: url('../image/11.jpg');

    background-position: top 15% right;
    background-size: cover;
    height: 500px;
}

.hero .container {
    position: relative;
    top: 35%;
}

.hero-text {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.65);
    max-width: max-content;
    padding: 15px 15px 25px 15px;

}

.hero h1 {
    margin-bottom: 15px;
    color: #222;
}

.hero p {
    font-size: calc(12px + 0.5vw);
    color: #555;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 500px;
}

/* Стили для кнопок */
button,
.button,
a.button {
    background-color: rgb(24, 120, 24); /* Основной цвет фона кнопки */
    color: #ffffff; /* Белый цвет текста */
    border: none; /* Убираем стандартные границы */
    border-radius: 5px; /* Скругленные углы */
    padding: 11px 25px; /* Внутренние отступы */
    font-weight: 500; /* Жирный текст */
    cursor: pointer; /* Курсор в виде указателя */
    transition: background-color 0.3s ease; /* Плавный переход цвета при наведении */
    text-decoration: none;
}

/* Стили для кнопок при наведении */
button:hover,
.button:hover,
a.button:hover {
    background-color: rgb(17, 85, 17); /* Темнее основного цвета */
    color: #ffffff; /* Белый цвет текста */
}

/* Стили для секции каталога */
.catalog {
    padding: 0;
    background-color: rgba(168, 134, 159, 0.07);
}

.h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: rgb(34, 34, 34);
    /*border-bottom: 1px solid rgba(125, 25, 29, 0.49);*/
}

.ornament {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 0;
}

.ornament img {
    width: 320px;
    height: 20px;
}

.categories {
    text-align: center;
    margin-bottom: 30px;
}

.categories a {
    display: inline-block;
    margin: 0 15px;
    color: #777;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.categories a:hover {
    color: #e91e63;
}

.product-card:hover {
    transform: translateY(-5px);

}


.product-card p {
    font-size: 1em;
    color: #666;
    margin: 0 15px 15px;
}

.product-card a.button {
    margin: 15px;
}

/* Стили для секции доставки */
.delivery {
    background-image: url("../image/1111.jpg");
    background-size: 25%;
    padding-bottom: 20px;
}


.delivery-options {
    /*    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); !* Адаптивная сетка *!*/
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.delivery-option {
    text-align: center;
    flex: 1 1 0;
}

.delivery-option h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.delivery-option p {
    font-size: 1.1em;
    color: #666;
    margin: 0 15px;
    padding: 0 20px;
}

.delivery-options svg {
    width: 130px;
    height: 130px;
}

.about-us {
    padding: 10px 0;
}

.about-us-cards {
    display: flex;
    /*justify-content: space-around;*/
    flex-wrap: wrap;
}

.about-us-card {
    text-align: center;
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
}

.about-us-card p {
    font-size: 1.1em;
    color: #666;
    padding: 10px 20px;
}

.about-us-card a {
    text-decoration: none;
}

/* Секция отзывов */
.testimonials {
    background-color: rgba(168, 134, 159, 0.07);

}

.testimonials .container {
    max-width: 1320px;
    margin: 0 auto;
}


/* Стили для контейнера слайдера */
.testimonials-slider-container {
    position: relative;
    overflow: hidden; /* Скрываем все, что выходит за границы контейнера */
    margin: 0 auto;
    display: flex;
    transition: transform 0.5s ease-in-out;

}

/* Стили для слайдера */
.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Анимация сдвига */
}

/* Карточка отзыва */
.testimonial {
    border-radius: 10px;
    overflow: hidden;
    padding: 2px;
    flex-shrink: 0; /* Не сжимать слайды */
    margin: 0 10px;
    box-sizing: border-box; /* Важно для правильного расчета размеров */
    /*  width: 245px;  Ширина одного слайда */
    display: flex;
    width: 250px;
    justify-content: center;
}

.testimonial img {
    width: inherit;
    max-height: 370px;
    display: block;
    border-radius: 8px;
}

/* Стили для кнопок */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(125, 25, 25, 0.49);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
    padding: 8px 10px;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

/* Дополнительный стиль для второго блока, если он не нужен для слайдера */
/*.testimonial:nth-child(2) img {
    display: none;
}*/

/* Стили для контейнера с точками */
.slider-dots {
    text-align: center;
    position: absolute; /* Позиционируем относительно .testimonials-slider-container */
    bottom: 0; /* Отступ снизу */
    left: 0;
    right: 0;
    z-index: 10; /* Чтобы точки были поверх других элементов */
}

/* Стиль для каждой точки */
.slider-dots .dot {
    display: inline-block;
    width: 12px; /* Размер точки */
    height: 12px; /* Размер точки */
    border-radius: 50%; /* Делаем точку круглой */
    background-color: #bbb; /* Цвет неактивной точки */
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Стиль для активной точки */
.slider-dots .dot.active {
    background-color: #9a1f26; /* Цвет активной точки (ваш розовый) */
}

/* Стили для подвала (footer) */
footer {
    background-color: #F8F0E3;
    padding: 30px 0;
    text-align: center;

}

.contact-info p {
    margin: 5px 0;
}

.footer-links a {
    margin: 0 10px;
    color: #777;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e91e63;
}


.logo {
    max-height: 70px;
}


/* Стили для секции "Каталог" */

.catalog .container {
    margin: 0 auto;
    padding: 20px;
}

/* Стили для сетки карточек */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); !* Адаптивная сетка *!*/
    gap: 10px;
}

/* Стили для карточки товара */
.product-card {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px 4px;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 0;
    margin: 0;
    height: 100%;
}

/* Стили для изображения */
.product-card img {
    width: 100%;
    height: 220px; /* Фиксированная высота */
    object-fit: cover;
}

/* Стили для заголовка */
.product-card h3 {
    font-size: 1.3em;
    margin: 15px;
    color: #333;
    text-align: left;
}

/* Стили для описания */
.product-card p {
    font-size: 1em;
    color: #666;
    margin: 0 15px 15px;
    text-align: left;
    flex-grow: 1;
}

/* Стили для стрелки */
.product-card .arrow {
    display: block;
    text-align: right;
    padding: 0 15px 15px;
    font-size: 1.5em;
    color: #777;
    margin-top: auto;
}

/* Дополнительные стили */
.product-card a:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.navbar-toggler:hover {
    background-color: transparent !important;
}

.navbar-brand:focus, .navbar-brand:hover {
    color: transparent !important;
}


/* Стили для секции доставки */
.information {
    background-image: url("../image/1111.jpg");
    background-size: 25%;
}


.information-options {
    /*    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); !* Адаптивная сетка *!*/
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

.information-option {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-self: start;

}

.information-option div {
    display: flex;
    padding: 5px 10px;
    font-size: 1em;
    font-weight: 400;
    color: #555;
}

.information-option i {
    color: #9a1f26;
    font-size: 1.5em;
    margin-right: 10px;
}

.information-option img {
    width: 210px;
}

.information-option h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #222;
}

.ornament.catalog {
    padding-top: 100px;
}

.btn-close:focus {
    box-shadow: none;
}

.backdrop {
    display: none;
}

.hide {
    display: none;
    margin: 1% 5% 10% 1%;
}

.mobile_contacts {
    display: block;
    flex-direction: row;
    justify-content: space-between;

    top: 0;
    opacity: 1;
    width: 100%;
    height: auto;
    z-index: 9999999;
    background-color: rgba(241, 241, 241, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    box-sizing: content-box;
}

.telephone-hide {
    display: none;
}

/*стрелка в меню*/
.dropdown {
    display: inline-block;
    margin: 0 auto;
    position: relative;
}

.dropdown .-hover > span {
    text-decoration: underline dashed;
    font-style: italic;
}

.dropdown .-hover::after {
    font-size: 50%;
}

.dropdown .-list {
    display: none; /*background: linear-gradient(0deg,rgba(209, 50, 127, 0.33) 0%, rgba(235, 164, 198, 0.16) 20%, rgba(255, 255, 255, 0.87) 36%, rgba(255, 255, 255, 1) 100%);*/
    background-color: white;
    background-size: 100%;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: -15px;
    z-index: 10;
    border-radius: 10px;
    width: 210px;
    margin-top: 5px;

}

.dropdown .-list a {
    display: block;
    font-weight: 400;
    padding: 0 10px;
    line-height: 35px;
    text-transform: none;
    vertical-align: baseline;
    font-size: 0.94em;
}

.dropdown .-list a:hover {
    color: #e91e63;
    background-image: url("../image/1111.jpg");
    background-size: cover;
    font-weight: 500;
}

.transition {
    transition: 4s;
}

#scroll_top {
    display: none;
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 1000;
    border-radius: 50%;
    opacity: 0.5;
    font-size: 1.2rem;
    color: #9a1f26;
}

#scroll_top:hover {
    opacity: 0.7;
}

.b_close {
    background-color: transparent;
}

.btn-close {
    background: none !important;
    opacity: 1 !important;
    height: 2.5em !important;
    width: 2.5em !important;
}

.offcanvas-end .logo {
    visibility: hidden;
}

.navbar-collapse .navbar-brand {
    display: none;
}

.btn-close:focus {
    box-shadow: none !important;
}

.mobile_nav .-list.show {
    display: flex;
    padding: 0;
    flex-direction: column;
}

.social_item svg {
    width: 28px;
    height: 28px;
}
/*якори для прокрутки*/
#delivery1, #contacts, #catalog1, #testimonials1{
    scroll-margin-top: 70px;
}

/*для всплывающего окна*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    display: none; /* Скрыто по умолчанию */
    z-index: 1000; /* Чтобы быть поверх всего */
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1001; /* Выше overlay */
    text-align: center;
    display: none; /* Скрыто по умолчанию */
}

.popup h3 {
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование по горизонтали */
}

.contact-link {
    display: block;
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
    width: 200px; /* Фиксированная ширина */
}

.contact-link:hover {
    background-color: #ddd;
    font-weight: 500;
    color: #222222;
}

.close-button {
    position: absolute;
    top: -10px;
    right: 0;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: #777;
}
.close-button:hover{
    background-color: transparent;
    color: #333333;

}