body {
    font-family: "Montserrat", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


main {
    padding: 20px;
    text-align: center;
}

.category-description {
    font-size: 1.2em;
    margin-bottom: 20px;
}

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

.product {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.price {
    font-size: 1.2em;
    color: #e67e22;
}

.description {
    text-align: left;
}




























 .product-card {
  width: 300px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px;
  position: relative;
   font-family: "Montserrat", serif;
}

.badge {
 background: linear-gradient(to right, #f2e0c9, #fdfdfd);
  color: black;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 4px;
}

.discount {
  background-color: #ff6ec7;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 4px;
}

.product-image {
  width: 100%;
  border-radius: 8px;
}

.article {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

.product-title {
  font-size: 18px;
  font-weight: bold;
  margin: 8px 0;
}

.price {
  display: flex;
  align-items: baseline;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-right: 8px;
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    bordeуr: 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;
}

.old-price {
  font-size: 14px;
  color: #888;
  text-decoration: line-through;
}

.size-title {
  margin-top: 12px;
  font-size: 14px;
  font-weight: bold;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

 .size {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    color: #333;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 0 0 transparent;
}

.size:hover {
    background-color: #e0fdf4;  /* очень светлый мятный, почти белый */
    border-color: #8cd9b4;      /* мятная граница */
    color: #2c2c2c;
    transition: all 0.3s ease;
}


.size.selected {
    background-color: #d0f5e3;
    color: #2c2c2c;
    border-color: #a2dbc3;
    box-shadow: 0 0 0 3px rgba(162, 219, 195, 0.4);
    transform: scale(1.03);
    transition: all 0.3s ease;
}


.size.clicked {
    animation: clickPop 0.2s ease;
}

@keyframes clickPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}




.buy-button {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: white;
 background: linear-gradient(135deg, #32d67f, #1abc9c);
  border: none;
  border-radius: 4px;
  cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: 500;
}

.buy-button:hover {
  background-color: #ff3f9e;
}

.wishlist {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
  color: #888;
  cursor: pointer;
}




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










.product-specifications {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(145deg, #eef2ff, #d8e0ff);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px; /* Увеличенный размер заголовка */
    font-weight: bold;
    color: #4a6fa5;
    text-shadow: 1px 1px 8px rgba(74, 111, 165, 0.2);
}

.specifications-container {
    overflow-x: auto;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px; /* Увеличенный размер шрифта */
    color: #36475e;
}

.specifications-table th,
.specifications-table td {
    padding: 10px 14px; /* Увеличенные отступы */
    border: 1px solid #c2d0f2;
    border-radius: 6px;
}

.specifications-table th {
    background: linear-gradient(135deg, #6a8dbb, #98b6e0);
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    font-size: 15px; /* Увеличенный размер шрифта для заголовков */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.specifications-table td {
    background: linear-gradient(135deg, #f9fbff, #eef4ff);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.specifications-table tr:nth-child(even) td {
    background: linear-gradient(135deg, #f3f7ff, #e7eefc);
}

.specifications-table tr:hover td {
    background: linear-gradient(135deg, #dde7ff, #c8d8ff);
    color: #2c4a75;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .specifications-table th,
    .specifications-table td {
        font-size: 15px; /* Увеличенный размер шрифта для планшетов */
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .specifications-table th,
    .specifications-table td {
        font-size: 14px; /* Увеличенный шрифт для мобильных устройств */
        padding: 14px 16px;
    }
    
    .section-title {
        font-size: 26px; /* Увеличенный размер заголовка для мобильных */
    }
}











/* Родительский блок */
#blanket-features {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
}

#blanket-features h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Блок одной характеристики */
.feature {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #e6f7ff, #ccf2ff);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #007bff;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Рейтинг */
.rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating .label {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.rating .line {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rating .line .filled {
    height: 100%;
    background: #007bff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Адаптивность */
@media (max-width: 480px) {
    #blanket-features {
        padding: 20px;
    }

    #blanket-features h2 {
        font-size: 2rem;
    }

    .feature {
        padding: 15px;
    }

    .feature h3 {
        font-size: 1.5rem;
    }

    .rating .label {
        font-size: 1.2rem;
    }

    .rating .line {
        max-width: 300px;
        height: 8px;
    }
}
























    /* Стили для модального окна */
#quickBuyModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Контейнер модального окна */
.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Кнопка закрытия модального окна */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #e74c3c;
}

/* Заголовок */
.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* Предпросмотр товара */
#product-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#product-image {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: transform 0.3s;
}

#product-image:hover {
    transform: scale(1.1);
}

#product-name,
#product-model,
#product-size,
#product-price {
    font-size: 18px;
    color: #555;
    margin: 5px 0;
}

/* Формы в модальном окне */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

label {
    font-size: 16px;
    color: #333;
}

input[type="text"],
input[type="number"] {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #3498db;
}

button[type="submit"] {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Анимация для появления модального окна */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#quickBuyModal.show {
    animation: modalFadeIn 0.5s ease-out;
}

.buy-one-click-button {
    margin-top: 16px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: white;
  background: linear-gradient(45deg, #f39c12, #e74c3c);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Montserrat", serif;
    font-weight: 500;
}



































.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; }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
   /* Основные стили и типографика */
.main-header {
    background: linear-gradient(to right, #fefefe, #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: #ffcc00;
    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: #ffcc00;
}

/* Основная навигация */
.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: #ffcc00;
    transition: width 0.3s ease, left 0.3s ease, background-color 0.2s ease;
    border-radius: 2px;
}

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

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

 .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: #007bff;
  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;
  }
}