body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
     font-family: "Montserrat", serif;
}



.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.intro {
    text-align: center;
  
    padding: 20px 0;
}


.categories, .best-sellers, .advantages {
    padding: 20px;
    text-align: center;
}

.categories-grid, .products-grid, .advantages-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category, .product, .advantage {
    flex: 1;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.category img {
    width: 300px; /* Фиксированная ширина */
    height: 230px; /* Фиксированная высота */
    object-fit: cover; /* Сохраняет пропорции, обрезая лишнее */
    border-radius: 5px; /* Слегка скругляет углы */
    display: block;
    margin: 0 auto;
}

.product img{
    width: 300px;
    height: 230px;
}

.availability {
    color: green;
    font-weight: bold;
     margin-top: 0; /* Убираем лишний отступ сверху */
}

.size {
    border: 2px solid #333; /* Толщина и цвет рамки */
    padding: 5px; /* Отступы внутри рамки */
    border-radius: 5px; /* Слегка скругленные углы */
    display: inline-block; /* Чтобы рамка соответствовала тексту */
    background-color: #f9f9f9; /* Легкий фон */
    font-weight: bold; /* Жирный текст */
    margin-bottomm: 5px; /* Уменьшаем отступ снизу, если нужно */
}


.description{
    text-align: left;
}


.btn {
    background: #333;
    color: #fff;
    padding: 15px 25px; /* Увеличиваем отступы для большей кнопки */
    border: none;
    cursor: pointer;
    font-size: 18px; /* Увеличиваем размер шрифта */
    border-radius: 5px; /* Добавляем скругление углов (по желанию) */
    transition: background 0.3s ease; /* Добавим плавный переход для изменения фона */
}

.btn:hover {
    background: #555; /* Изменение фона при наведении */
}

.price {
    font-size: 20px; /* Увеличиваем размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    color: #333; /* Цвет текста */
    margin: 10px 0; /* Отступы сверху и снизу */
}






.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 400px; /* Фиксированная ширина */
    height: 300px; /* Фиксированная высота */
    object-fit: cover; /* Сохраняет пропорции и обрезает лишнее */
    margin: 0 auto; /* Центрирование внутри слайда */
    display: block;
}


button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}









.advantages {
    background-colorr: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.advantages h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Адаптивная сетка */
    gap: 20px;
    justify-items: center;
}

.advantage {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
  box-shadow: 0 4px 8px rgb(90 62 43);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage i {
    font-size: 40px;
    color: #5a3e2b;
    margin-bottom: 15px;
}

.advantage p {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.advantage:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* Две колонки на мобильных */
        gap: 15px; /* Уменьшенный отступ между элементами */
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* Также 2 колонки на маленьких экранах */
        gap: 10px;
    }

    .advantage {
        padding: 15px;
    }

    .advantage i {
        font-size: 36px;
    }

    .advantage p {
        font-size: 16px;
    }
}






 




















  /* Основные стили и типографика */
.main-header {
  background: linear-gradient(to right, #f2e0c9, #fdfdfd);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1000;
    border-bottom: 5px solid #f2e0c9; /* Золотистая линия для премиум-акцента */
    font-family: 'Montserrat', sans-serif;
    padding-top: 8px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 35px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    position: relative;
}

.logo {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    flex-grow: 1;
    letter-spacing: -1.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* Изменения здесь: отдельные контейнеры для левых и правых иконок */
.header-left-icons,
.header-right-icons {
    display: flex;
    align-items: center;
    gap: 25px; /* Пространство между иконками */
}

/* Стиль для всех иконок */
.icon {
    font-size: 1.8rem;
    color: #444;
    transition: color 0.3s ease, transform 0.2s ease, filter 0.2s ease;
}

.icon:hover {
    color: #000000;
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.7));
}

.burger {
    display: none; /* Скрыт по умолчанию, показывается в мобильной версии */
    font-size: 2.2rem;
    cursor: pointer;
    color: #444;
    transition: color 0.3s ease;
    margin-left: 5px; /* Небольшой отступ от корзины */
}

.burger:hover {
    color: #000000;
}

/* Основная навигация */
.main-nav {
    display: flex;
    justify-content: center;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 45px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.15rem;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding-bottom: 6px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #000000;
    transition: width 0.3s ease, left 0.3s ease, background-color 0.2s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: #000000;
    transform: translateY(-3px);
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
    background-color: #000000;
}

 .fa-telegram-plane {
        color: #00aaff;
         font-size: 1.8rem;
    }



@media (max-width: 992px) { /* Для планшетов */
    .container {
        padding: 0 25px;
    }
    .logo {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .header-left-icons,
    .header-right-icons {
        gap: 20px;
    }
    .icon {
        font-size: 1.6rem;
    }
    .main-nav {
        padding: 15px 0;
    }
    .main-nav ul {
        gap: 35px;
    }
    .main-nav a {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) { /* Для большинства мобильных устройств */
    .header-top {
        display: grid;
        grid-template-columns: 1fr auto 1fr; /* Левые иконки | Логотип | Правые иконки + бургер */
        align-items: center;
        padding: 15px 20px;
        column-gap: 15px;
    }

    .header-left-icons {
        grid-column: 1 / 2; /* Первая колонка */
        justify-self: start; /* Выравнивание влево */
        gap: 12px;
    }

    .logo {
        grid-column: 2 / 3; /* Вторая (центральная) колонка */
        text-align: center;
        font-size: 2.1rem;
        margin: 0;
        width: auto;
        justify-self: center; /* **Гарантируем центрирование самого элемента логотипа** */
    }
    
    .fa-telegram-plane {
        color: #00aaff;
    }

    .header-right-icons { /* Теперь этот класс включает корзину И бургер */
        grid-column: 3 / 4; /* Третья колонка */
        justify-self: end; /* Выравнивание вправо */
        gap: 12px; /* Пространство между корзиной и бургером */
    }

    .burger {
        display: block; /* Показываем бургер-меню на мобильных */
        margin-left: 0; /* Убираем лишний отступ */
    }

    /* Мобильная навигация */
    .main-nav {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-top: none;
        transition: max-height 0.7s ease-in-out, padding 0.7s ease-in-out;
        box-shadow: inset 0 3px 10px rgba(0,0,0,0.05);
    }

    .main-nav.open {
        max-height: 600px;
        padding: 25px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        margin-top: 15px;
    }

    .main-nav a {
        padding: 14px 0;
        font-size: 1.4rem;
        font-weight: 600;
        color: #4a4a4a;
    }

    .main-nav a::after {
        height: 3px;
        left: 50%;
        transform: translateX(-50%);
    }

    .main-nav a:hover::after {
        width: 75%;
    }
}

@media (max-width: 480px) { /* Для очень маленьких экранов (смартфоны) */
    .container {
        padding: 0 15px;
    }
    .header-top {
        padding: 12px 0;
        column-gap: 10px;
    }
    .header-left-icons,
    .header-right-icons {
        gap: 20px;
    }
    .icon {
        font-size: 1.5rem;
    }
    .logo {
        font-size: 1.7rem;
    }
    .burger {
        font-size: 1.8rem;
    }
    .main-nav ul {
        gap: 20px;
    }
    .main-nav a {
        font-size: 1.2rem;
        padding: 10px 0;
    }
}













/* Стили только для переключателя языка */
.language-selector {
  display: flex;
  gap: 2px;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #e9ecef;
}

.lang-btn {
  background: transparent;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.lang-btn:hover {
  background: #e9ecef;
  color: #495057;
  text-decoration: none;
}

.lang-btn.active {
  background: #000000;
  color: white;
}

/* Мобильный переключатель языка - скрыт по умолчанию */
.mobile-language-selector {
  display: none;
  width: 100%;
  padding: 15px 0 0 0;
  margin-top: 15px;
  border-top: 1px solid #eee;
  justify-content: center;
}

.mobile-language-selector .language-selector {
  background: #fff;
  border: 1px solid #dee2e6;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  /* Скрываем десктопный выбор языка */
  .desktop-language {
    display: none !important;
  }
  
  /* Показываем мобильный выбор языка внизу навигации */
  .mobile-language-selector {
    display: flex;
  }
  
  .lang-btn {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 50px;
  }
}

/* Для десктопной версии скрываем мобильный выбор языка */
@media (min-width: 769px) {
  .mobile-language-selector {
    display: none !important;
  }
  
  .desktop-language {
    display: flex !important;
  }
}














.current-price {
     width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    borderr: 2px solid #aaa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s 
ease;
    cursor: default;
}






















 .main-content {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(274deg, #ffffff 0%, #f2e0c9 100%);
    color: #000000;
}
          .main-content h2 {
           font-size: 29px;
        }

        .footer {
            background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
            color: #ecf0f1;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px 30px;
        }

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

        .footer-section h3 {
            color: #f39c12;
            margin-bottom: 20px;
            font-size: 1.2em;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, #f39c12, #e74c3c);
            border-radius: 2px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }

        .footer-section ul li:hover {
            transform: translateX(5px);
        }

        .footer-section a {
            color: #bdc3c7;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: #f39c12;
        }

        .footer-section a::before {
            content: '→';
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-section a:hover::before {
            opacity: 1;
        }

        .newsletter {
            background: rgba(255, 255, 255, 0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .newsletter-input {
            flex: 1;
            padding: 12px 16px;
            border: none;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.9);
            color: #2c3e50;
            font-size: 14px;
            min-width: 200px;
            transition: all 0.3s ease;
        }

        .newsletter-input:focus {
            outline: none;
            background: white;
            box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.3);
        }

        .newsletter-btn {
            padding: 12px 24px;
            background: linear-gradient(45deg, #f39c12, #e74c3c);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: linear-gradient(45deg, #3498db, #2980b9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            font-size: 18px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .social-link:hover::before {
            left: 100%;
        }

        .social-link:hover {
            transform: translateY(-3px) rotate(360deg);
        }

        .social-link.facebook { background: linear-gradient(45deg, #3b5998, #2d4373); }
        .social-link.instagram { background: linear-gradient(45deg, #e4405f, #c13584); }
        .social-link.telegram { background: linear-gradient(45deg, #0088cc, #006699); }
        .social-link.tiktok {   background: linear-gradient(45deg, #25F4EE, #FE2C55); color:black; }

        .footer-middle {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 30px 0;
            margin: 30px 0;
        }

        .payment-methods {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .payment-method {
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #bdc3c7;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .payment-method:hover {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
            color: #95a5a6;
        }

        .footer-bottom a {
            color: #95a5a6;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-bottom a:hover {
            color: #f39c12;
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, #f39c12, #e74c3c);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            font-size: 20px;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .back-to-top.visible {
            opacity: 1;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #bdc3c7;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            color: #f39c12;
            transform: translateX(5px);
        }

        .contact-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 768px) {
            .footer-top {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .newsletter-input {
                min-width: auto;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            
            .payment-methods {
                justify-content: center;
            }
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .floating-element {
            position: absolute;
            width: 10px;
            height: 10px;
            background: rgba(243, 156, 18, 0.3);
            border-radius: 50%;
            animation: float 15s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        }

        .floating-element:nth-child(1) { left: 10%; animation-delay: 0s; }
        .floating-element:nth-child(2) { left: 20%; animation-delay: 2s; }
        .floating-element:nth-child(3) { left: 30%; animation-delay: 4s; }
        .floating-element:nth-child(4) { left: 40%; animation-delay: 6s; }
        .floating-element:nth-child(5) { left: 50%; animation-delay: 8s; }
        .floating-element:nth-child(6) { left: 60%; animation-delay: 10s; }
        .floating-element:nth-child(7) { left: 70%; animation-delay: 12s; }
        .floating-element:nth-child(8) { left: 80%; animation-delay: 14s; }
        .floating-element:nth-child(9) { left: 90%; animation-delay: 16s; }