/* Подключение шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #5C4033;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #EDE0D4;
}


/* Заголовки – мощные, строгие */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* Основной текст – читаемый и легкий */
p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* Шапка */
.header {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Логотип */
/* Логотип */
.logo {
    font-size: 20px; /* Уменьшен размер */
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #EDE0D4;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Десктопное меню */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #EDE0D4;
    font-size: 18px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #FFC107;
}

/* Блок контактов (WhatsApp, Telegram, Звонок) */
.contact-icons {
    display: flex;
    align-items: center;
    gap: 8px; /* Чуть уменьшим отступы между иконками */
}

/* Улучшенные стили для иконок мессенджеров */
.contact-icon {
    font-size: 14px; /* Чуть меньше для аккуратности */
    padding: 5px; /* Минимальные отступы */
    border-radius: 50%; /* Делаем их полностью круглыми */
    transition: 0.3s ease-in-out;
    text-decoration: none;
    width: 32px; /* Ещё компактнее */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Легкая тень */
}

/* WhatsApp */
.contact-icon.whatsapp {
    background-color: #25D366;
    color: white;
}

/* Telegram */
.contact-icon.telegram {
    background-color: #0088cc;
    color: white;
}

/* Эффект при наведении */
.contact-icon:hover {
    opacity: 0.85;
    transform: scale(1.08); /* Едва заметное увеличение */
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .contact-icon {
        width: 28px; /* Ещё меньше на мобильных */
        height: 28px;
        font-size: 12px;
        padding: 4px;
    }
}



.footer-map {
    margin-top: 20px;
    text-align: center;
}

.map-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.map-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Кнопка "Позвонить" */
.call-btn {
    padding: 5px 15px;
    background-color: #FFC107;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.call-btn:hover {
    background-color: #E6A500;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: #EDE0D4;
    transition: 0.3s;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
}

.mobile-menu a {
    text-decoration: none;
    color: #EDE0D4;
    font-size: 22px;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #FFC107;
}

/* Открытие меню */
.mobile-menu.open {
    transform: translateY(0);
}

/* Первый экран */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('11.png') no-repeat center center/cover;
    position: relative;
}

/* 📱 Адаптивность: Меньше 768px */
@media (max-width: 768px) {
    .logo {
        font-size: 18px;
    }

    .menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .contact-icons {
        gap: 8px;
    }

    .contact-icon {
        font-size: 16px;
        padding: 6px;
    }

    .call-btn {
        font-size: 10px;
        padding: 4px 10px;
    }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.hero h1 {
    font-size: 50px;
    font-weight: bold;
    animation: fadeIn 1.2s ease-in-out;
}

.hero p {
    font-size: 22px;
    margin: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 2s ease-in-out;
}

.btn-primary {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #FFC107;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #E6A500;
}


.btn-primary {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }
}


/* Блок "Почему мы?" */
.why-us {
    text-align: center;
    padding: 80px 50px;
    background-color: #4A3325; /* Темный фон */
    color: #EDE0D4;
}

.why-us h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* Контейнер с блоками */
.why-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Каждый блок */
.why-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    animation: fadeIn 1.2s ease-in-out;
}

.why-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.why-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.why-item h3 {
    font-size: 20px;
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .why-container {
        flex-direction: column;
        align-items: center;
    }

    .why-item {
        width: 100%;
        max-width: 350px;
    }
}




/* Основные стили каталога */
/* Основные стили каталога */
.catalog {
    padding: 50px 20px;
    background: #4A3325;
    text-align: center;
    color: white;
}

.catalog-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Сетка товаров */
.catalog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px; /* Добавляем расстояние между карточками */
    padding: 20px 10px; /* Отступы от краев */
}

/* Карточка товара */
.catalog-item {
    width: 100%;
    max-width: 350px; /* Фиксированная ширина */
    height: 450px; /* Фиксированная высота */
    background: #71422a; /* Темно-коричневый */
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 25px; /* Отступ между карточками по вертикали */
}
@media (max-width: 768px) {
    .catalog-item {
        max-width: 90%; /* Растягиваем карточку */
        height: auto; /* Высота адаптируется */
        margin-bottom: 20px; /* Чуть больше отступ для мобильных */
    }

    .carousel {
        height: 250px;
    }
    .carousel img {
        max-height: 230px;
    }

    .btn-details {
        width: 100%;
    }
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}


.catalog-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 10px 0;
}

.catalog-item p {
    font-size: 14px;
    color: #e0d5c8;
    margin: 5px 0;
    flex-grow: 1;
}

/* Карусель изображений */
.carousel {
    width: 100%;
    height: 300px; /* Увеличиваем высоту контейнера */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex; /* Добавляем flex */
    align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
}

.carousel-track {
    width: 100%;
    height: 100%; /* Занимаем всю высоту родителя */
    display: flex;
    align-items: center; /* Центровка по вертикали */
}

.carousel img {
    width: auto; /* Меняем на auto */
    height: auto; /* Убираем фиксированную высоту */
    max-width: 100%; /* Ограничиваем по ширине */
    max-height: 280px; /* Максимальная высота с отступом */
    object-fit: contain; /* Меняем cover на contain */
    display: none;
    margin: 0 auto; /* Центрируем изображение */
}

.carousel img.active {
    display: block;
}

/* Кнопки переключения */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-details {
    background: #c7a24e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn-details:hover {
    background: #3E2912;
}

.btn-full-catalog {
    background: white;
    color: #5A3E1B;
    margin-top: 20px;
    font-weight: bold;
    padding: 12px 20px;
    font-size: 18px;
}

.btn-full-catalog:hover {
    background: #EEE;
}












/* Секция "Товары" */
.products {
    padding: 50px 20px;
    background: #4A3325;
    text-align: center;
    color: white;
}

.products-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.products-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Карточка товара */
.product-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Иконки */
.product-icon {
    font-size: 50px;
    color: #5A3E1B;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.product-item:hover .product-icon {
    color: #3E2912;
}

/* Заголовки */
.product-item h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #5A3E1B;
    font-weight: bold;
}

/* Описание */
.product-item p {
    font-size: 14px;
    color: #333;
}

/* Футер секции */
.products-footer {
    margin-top: 30px;
    text-align: center;
}

/* Текст под товарами */
.products-call-text {
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
}

/* Кнопка "Позвонить" */
.btn-call {
    display: inline-block;
    background: #D4A017; /* Темно-желтый */
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-call:hover {
    background: #B68A10; /* Чуть темнее при наведении */
}







/* Затемнение фона */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Основное окно попапа */
.catalog-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: rgb(145, 113, 100);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

/* Контентная область */
.popup-content {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 15px;
}

/* Карусель с полноразмерными фото */
.popup-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    border-radius: 8px;
}

.popup-carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-carousel-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    display: none;
    border-radius: 8px;
    margin: 0 auto;
}

.popup-carousel-image.active {
    display: block;
}

/* Кнопки навигации */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 2;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .catalog-popup {
        width: 95%;
        padding: 15px;
    }
    
    .popup-carousel {
        height: 300px;
    }
    
    .popup-carousel-image {
        max-height: 280px;
    }
    
    .prev, .next {
        padding: 10px;
        font-size: 20px;
    }
}

/* Остальные стили */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.popup-price {
    font-size: 22px;
    font-weight: bold;
    color: #ffcc00;
    margin: 20px 0;
}

.popup-divider {
    width: 80%;
    height: 3px;
    background: #ffcc00;
    margin: 20px auto;
    border-radius: 2px;
}

.popup-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.popup-info p {
    font-size: 16px;
    font-weight: bold;
    color: #f1c27b;
    margin-bottom: 15px;
}

.popup-info ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.popup-info li {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 8px;
    line-height: 1.5;
}

.popup-call {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #ffcc00;
    margin-top: 20px;
}

body.no-scroll {
    overflow: hidden;
}

.catalog-popup.active,
.popup-overlay.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}



/* Блок "О нас" */
.about-us {
    position: relative;
    padding: 100px 50px;
    color: #EDE0D4;
    text-align: center;
}

/* Фон с текстурой */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('2.png') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

/* Контент */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-description {
    font-size: 20px;
    margin-bottom: 40px;
}

/* Преимущества */
.about-advantages {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantage {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, background 0.3s;
    animation: fadeIn 1.2s ease-in-out;
}

.advantage:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.2);
}

/* Иконки */
.icon-box {
    flex: 0 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.icon-box img {
    width: 50px;
    height: 50px;
}

/* Текст */
.text-box {
    text-align: left;
    color: #F5E6CC;
}

.text-box h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-us {
        padding: 80px 30px;
    }

    .about-content {
        max-width: 100%;
    }

    .advantage {
        flex-direction: column;
        text-align: center;
    }

    .icon-box {
        margin-bottom: 10px;
        margin-right: 0;
    }
}




/* Основной фон секции портфолио */
.portfolio-section {
    background: #4A3325;
    padding: 50px 20px;
    color: #fff;
}

/* Заголовок */
.portfolio-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Стиль заголовка */
.portfolio-header h2 {
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f1c27b;
    margin-bottom: 15px;
}

/* Описание */
.portfolio-description {
    font-size: 16px;
    line-height: 1.6;
    color: #d4af7a;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
}

/* Грид контейнер */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Карточка портфолио */
.portfolio-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Фото */
.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Контент карточки */
.portfolio-content {
    padding: 15px;
    text-align: left;
}

.portfolio-content h3 {
    font-size: 20px;
    color: #3b2e25;
    margin-bottom: 8px;
    font-weight: bold;
}

.portfolio-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Эффект при наведении */
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header h2 {
        font-size: 26px;
    }

    .portfolio-description {
        font-size: 14px;
        padding: 10px;
    }
}



/* Секция "Отзывы" */
.reviews {
    padding: 50px 20px;
    background: linear-gradient(to bottom, #5A3E1B, #8B5A2B);
    text-align: center;
    color: white;
}

.reviews-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.reviews-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

/* Контейнер отзывов */
.reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

/* Трек отзывов */
.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Отзыв */
.review {
    min-width: 100%;
    background: rgba(245, 222, 179, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #5A3E1B;
    position: relative;
}

/* Заголовок отзыва */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #3E2912;
}

/* Звезды */
.stars {
    font-size: 18px;
    color: gold;
}

/* Кнопки переключения */
.reviews-carousel .prev, .reviews-carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 2; /* Чтобы кнопки были сверху */
}

.reviews-carousel .prev:hover, .reviews-carousel .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.reviews-carousel .prev {
    left: -40px; /* Сдвигаем левее */
}

.reviews-carousel .next {
    right: -40px; /* Сдвигаем правее */
}







.btn-full-catalog {
    background: #c7a24e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    width: 100%;
    text-align: center;
    display: block;
    margin: 20px auto;
}

.btn-full-catalog:hover {
    background: #b88f3a;
}




/* Контейнер кнопки "Назад" */
/* Контейнер кнопки "Назад" */
.back-button-container {
    position: fixed;
    top: 10px; /* Подняли выше */
    left: 10px;
    z-index: 1100;
}

/* Кнопка "Назад" */
.back-button {
    background: #c7a24e; /* Золотистый */
    color: white;
    border: none;
    padding: 8px 16px; /* Чуть компактнее */
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 110px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Отступ для иконки */
.back-button::before {
    content: "←";
    font-size: 16px;
}

/* Эффект при наведении */
.back-button:hover {
    background: #b88f3a;
    transform: scale(1.05);
}

/* Эффект при нажатии */
.back-button:active {
    transform: scale(0.95);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .back-button-container {
        top: 8px;
        left: 8px;
    }

    .back-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Контейнер для фильтров */
.catalog-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    margin-top: 70px; /* Отступ вниз от меню */
    background: #5a3e1b;
    border-bottom: 3px solid #d4af37;
}

/* Стиль кнопок фильтра */
.filter-btn {
    background: linear-gradient(45deg, #d4af37, #b8860b);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* Иконки */
.filter-btn i {
    font-size: 18px;
}

/* Эффект наведения */
.filter-btn:hover {
    background: linear-gradient(45deg, #b8860b, #d4af37);
    transform: scale(1.05);
}

/* Активная кнопка */
.filter-btn.active {
    background: #8b5e34;
    color: #fff;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .catalog-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        font-size: 14px;
        padding: 10px 14px;
    }
}







/* Общий стиль блока отзывов */
.customer-reviews {
    background: linear-gradient(135deg, #654321, #43210f);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}

.reviews-heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.reviews-subtext {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Контейнер слайдера */
.reviews-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}




/* Стили для модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.modal-content a {
    color: #0F6587;
    text-decoration: underline;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#consent-yes {
    background-color: #0F6587;
    color: white;
}

#consent-yes:hover {
    background-color: #0a4a63;
}

#consent-no {
    background-color: #e74c3c;
    color: white;
}

#consent-no:hover {
    background-color: #c0392b;
}

/* Слайдер отзывов */
.reviews-slider {
    display: flex;
    gap: 15px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    touch-action: pan-x;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

/* Карточка отзыва */
.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
    border-radius: 12px;
    background: #f4e1c6;
    color: #333;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    scroll-snap-align: center;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

/* Имя пользователя */
.review-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Звёзды */
.review-stars {
    font-size: 16px;
    color: #ffcc00;
    margin-bottom: 10px;
}

/* Текст отзыва */
.review-text {
    font-size: 15px;
    line-height: 1.5;
}




/* Политика конфиденциальности */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #654321, #43210f);
    color: #EDE0D4;
    font-size: 14px;
}

.footer-content a {
    color: #FFFFFF; /* Белый цвет ссылки */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #FFC107; /* Желтый цвет при наведении */
}

/* Блок иконок */
.footer-contact-icons {
    display: flex;
    gap: 12px;
}

/* Стили для иконок мессенджеров */
.contact-icon {
    font-size: 18px;
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.contact-icon.whatsapp {
    background-color: #25D366;
    color: white;
}

.contact-icon.telegram {
    background-color: #0088cc;
    color: white;
}

.contact-icon.phone {
    background-color: #FFC107;
    color: black;
}

.contact-icon:hover {
    opacity: 0.8;
}

/* 📱 Адаптивность: уменьшение размеров на мобильных */
@media (max-width: 768px) {
    .contact-icon {
        font-size: 16px;
        padding: 8px;
    }
}