/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    --header-height: 110px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Кнопки */
.btn-primary {
    background: #000000;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    padding: 16px 32px;
    border: 2px solid #000000;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.btn-cart {
    background: #00C896;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.2);
    text-align: center;
}

.btn-cart:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 200, 150, 0.3);
}

.btn-view {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-view:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Кнопка подробнее в товарах */
.product-image .btn-view {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: auto;
    z-index: 10;
}

.product-card:hover .product-image .btn-view {
    opacity: 1;
    transform: translateY(0);
}

.product-image .btn-view:hover {
    background: #00C896;
    color: white;
    transform: scale(1.05);
}

/* Шапка */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Мобильная строка регионов */
.mobile-regions {
    display: none;
    background: #f8f9fa;
    padding: 4px 0;
    font-size: 11px;
    color: #666;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Компьютерная строка регионов */
.desktop-regions {
    display: none;
    background: #f8f9fa;
    padding: 6px 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400;
}

/* Мобильная навигация */
.mobile-nav {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    width: 100%;
}

.mobile-logo {
    margin-right: 12px; /* Добавляем расстояние до кнопки связаться */
}

.mobile-logo h2 {
    font-size: 3.5vw;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-contact-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background: #00B085;
    transform: translateY(-1px);
}

.mobile-search-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: #00B085;
    transform: translateY(-1px);
}

.mobile-cart-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-cart-btn:hover {
    background: #00B085;
    transform: translateY(-1px);
}

.mobile-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.header-top {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.header-bottom {
    padding: 12px 0;
}

.header-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.nav-brand h1 {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .separator {
    color: #00C896;
    font-weight: 400;
    font-size: 20px;
}

.nav-brand .tagline {
    color: #666666;
    font-size: 1vw;
    font-weight: 400;
    letter-spacing: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1vw;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.nav-link:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background: #00C896;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 24px;
}

/* Выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(0, 200, 150, 0.08);
    color: #00C896;
}

/* Анимация стрелочки у пункта Каталог */
.dropdown .nav-link i {
    transition: transform 0.2s ease;
}
.dropdown.active .nav-link i,
.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Области работы в навигации (только для десктопа) */
.nav-regions {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: #666;
    font-weight: 400;
}

/* Контейнер навигации */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Поиск в навигации */
.nav-search {
    position: relative;
    margin-left: 20px;
}

.nav-search .search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    width: 18rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-right: 1vw;
}

.nav-search .search-box:focus-within {
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
    background: white;
}

.nav-search .search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #1a1a1a;
    width: 100%;
    padding: 0;
    margin-right: 8px;
    font-weight: 400;
}

.nav-search .search-box input::placeholder {
    color: #999;
}

.nav-search .search-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-search .search-btn:hover {
    color: #00C896;
    background: rgba(0, 200, 150, 0.1);
}

/* Результаты поиска */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    backdrop-filter: blur(10px);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(0, 200, 150, 0.05);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 2px;
}

.search-result-price {
    color: #00C896;
    font-weight: 600;
    font-size: 13px;
}

.search-result-item.no-image {
    padding-left: 20px;
}

.search-result-item.no-image .search-result-info {
    margin-left: 0;
}

.search-result-category {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

/* Адаптивность для поиска */
@media (max-width: 1024px) {
    .nav-search {
        display: none;
    }
}

@media (max-width: 1200px) {
    .nav-search .search-box {
        width: 220px;
    }
}

@media (max-width: 1400px) {
    .nav-search .search-box {
        width: 250px;
    }
}

/* Поиск */
.search-box {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:focus-within {
    background: white;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    min-width: 200px;
}

.search-box input::placeholder {
    color: #999999;
}

.search-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #00b386;
}

/* Скрыть мобильный заголовок на десктопе */
.mobile-menu-header {
    display: none;
}

/* Гамбургер меню */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;

}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu:hover span {
    background: #00C896;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.email {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.email:hover {
    background: rgba(0, 0, 0, 0.08);
}

.email a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email:hover a {
    color: inherit;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 200, 150, 0.1);
    color: #00C896;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 24px;
}

.header-social a:hover {
    background: #00C896;
    color: white;
    transform: translateY(-1px);
}

.max-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    background: #00C896;
    color: #ffffff;
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
}

.contact-social-links .social-link .max-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.social-links .max-icon {
    width: 26px;
    height: 26px;
    font-size: 9px;
}

.contact-social .max-icon {
    width: 16px;
    height: 16px;
    color: #ffffff;
    font-size: 6px;
    font-weight: 800;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    background: #000000;
    color: white;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 13px;
}

.cart-icon:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF4757;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
}

.phone {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone:hover {
    background: rgba(0, 0, 0, 0.08);
}

.phone a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone:hover a {
    color: inherit;
}

/* Главный блок */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 11rem 0 110px;
    /* height: 100vh; */
    height: max-content;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    /* padding-top: 4vw; */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.02) 0%, rgba(0, 200, 150, 0.05) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
}

.hero-content {
    padding-right: 40px;
}

.hero-content h2 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Три кнопки в ряд на десктопе */
.hero-actions a {
    white-space: nowrap;
}

@media (min-width: 1025px) {
    .hero-actions { gap: 20px; }
    .hero-actions a { flex: 0 0 auto; }
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 40rem;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #00C896;
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    margin-top: 8px;
}

/* Новый главный блок с фоновым изображением */
.hero-new {
    background: url('background_main.png') center center/cover no-repeat;
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-background {
    display: none;
}

.hero-new .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1400px;
    height: 100%;
}

.hero-new-content {
    position: relative;
    max-width: 800px;
    padding: 32px 28px;
}

.hero-new-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
    pointer-events: none;
}

.hero-new-content h2 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-new-content p {
    font-size: 18px;
    color: #f0f8e8;
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-new-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-new-actions a {
    white-space: nowrap;
}

.hero-new-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-new-stat {
    text-align: center;
}

.hero-new-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #00C896;
    display: block;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Скрываем количество товаров до загрузки актуального числа */
.hero-new-stat-number[data-loading="true"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-new-stat-number[data-loading="false"] {
    opacity: 1;
}

.hero-new-stat-label {
    font-size: 14px;
    color: #f0f8e8;
    font-weight: 500;
    margin-top: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Новые стили для кнопок */
.btn-primary-new {
    background: #00C896;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 200, 150, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-new:hover {
    background: #00B085;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 200, 150, 0.4);
}

.btn-secondary-new {
    background: transparent;
    color: #ffffff;
    padding: 16px 32px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-new:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* Адаптивные стили для нового hero блока */
@media (max-width: 1024px) {
    .hero-new-content h2 {
        font-size: clamp(32px, 5vw, 48px);
    }
    
    .hero-new-content p {
        font-size: 17px;
    }
    
    .hero-new-actions {
        gap: 14px;
    }
    
    .hero-new-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-new {
        background-image: url('mob.png');
        background-position: center center;
        background-size: cover;
    }

    .hero-new .container {
        padding: 0 20px;
        align-items: center;
    }
    
    .hero-new-content {
        max-width: 100%;
        padding: 24px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-new-content h2 {
        font-size: clamp(28px, 6vw, 42px);
        margin-bottom: 0.8rem;
    }
    
    .hero-new-content p {
        font-size: 16px;
        margin-bottom: 1.2rem;
    }
    
    .hero-new-stats {
        order: 3;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        padding-top: 0;
        padding-bottom: 1.2rem;
        margin-bottom: 0;
        border-top: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-new-stat {
        flex: 1;
        min-width: 0;
        max-width: 120px;
    }
    
    .hero-new-actions {
        order: 4;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 1rem;
        margin-bottom: 0;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-new-actions a {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .hero-new-stat-number {
        font-size: 22px;
    }
    
    .hero-new-stat-label {
        font-size: 11px;
        line-height: 1.15;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .hero-new .container {
        padding: 0 16px;
    }
    
    .hero-new-content {
        padding: 20px 12px;
    }
    
    .hero-new-content h2 {
        font-size: 28px;
        margin-bottom: 0.6rem;
    }
    
    .hero-new-content p {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .hero-new-stats {
        gap: 8px;
        padding-bottom: 1rem;
    }

    .hero-new-stat {
        max-width: 105px;
    }

    .hero-new-actions {
        gap: 10px;
    }
    
    .hero-new-actions a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-new-stat-number {
        font-size: 24px;
    }
    
    .hero-new-stat-label {
        font-size: 12px;
        line-height: 1.15;
        margin-top: 4px;
        display: block;
    }
}

@media (max-width: 360px) {
    .hero-new-content h2 {
        font-size: 24px;
    }
    
    .hero-new-content p {
        font-size: 13px;
    }
    
    .hero-new-actions a {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-new-stats {
        gap: 6px;
        padding-top: 0;
    }

    .hero-new-stat {
        max-width: 95px;
    }
    
    .hero-new-stat-number {
        font-size: 22px;
    }
    
    .hero-new-stat-label {
        font-size: 11px;
        line-height: 1.1;
        margin-top: 3px;
    }
}

/* Ландшафтная ориентация для мобильных устройств */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-new-content h2 {
        font-size: clamp(24px, 4vw, 32px);
        margin-bottom: 0.5rem;
    }
    
    .hero-new-content p {
        font-size: 14px;
        margin-bottom: 1rem;
    }
    
    .hero-new-actions {
        margin-bottom: 0;
    }
    
    .hero-new-stats {
        padding-top: 0;
    }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
    .hero-new-content h2 {
        font-size: 22px;
    }
    
    .hero-new-content p {
        font-size: 12px;
    }
    
    .hero-new-actions a {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .hero-new-stats {
        gap: 16px;
        padding-top: 0;
    }
    
    .hero-new-stat-number {
        font-size: 20px;
    }
    
    .hero-new-stat-label {
        font-size: 10px;
    }
}

/* О компании */
.about {
    padding: 60px 0;
    background: #fafafa;
    position: relative;
}

.about h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 200, 150, 0.2);
}

.feature i {
    font-size: 42px;
    color: #00C896;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.feature:hover i {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature p {
    color: #666666;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

/* Каталог */
.catalog {
    /* padding: 60px 0; */
    background: white;
    position: relative;
}

.catalog-page {
    padding-top: 155px;
}

.catalog h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    position: relative;
    padding-top: 60px;
}

/* Секция категорий */
.categories-section {
    margin-bottom: 80px;
}

.categories-section h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 120px;
    aspect-ratio: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-content {
    color: white;
    width: 100%;
}

.category-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-count {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Поиск и фильтры */
.catalog-controls {
    margin-bottom: 60px;
}

.search-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-section .search-box {
    max-width: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-section .search-box:focus-within {
    background: white;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.search-section .search-box input {
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 16px;
    color: #1a1a1a;
    outline: none;
    flex: 1;
    min-width: 0;
}

.search-section .search-box input::placeholder {
    color: #999999;
}

.search-section .search-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 11px 11px 0;
    margin-left: -1px;
}

.search-section .search-btn:hover {
    background: #00b386;
}

/* Хлебные крошки */
.catalog-page-banner {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.catalog-page-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #666666;
}

.breadcrumbs a {
    color: #00C896;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #00B085;
    text-decoration: underline;
}

.breadcrumbs .separator {
    color: #999999;
    margin: 0 4px;
}

/* Заголовок категории */
.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-header h1 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}



.filters {
    display: flex;
    gap: 24px;
    margin-bottom: 64px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 64px auto;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafafa;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: fit-content;
    margin: 0 auto;
}

.filter-group:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.filter-group label {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.filter-group select {
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    color: #1a1a1a;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
}

.filter-group select:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    justify-items: center;
    padding: 0 24px;
    margin: 0 auto;
    max-width: 1400px;
    max-width: 100%;
    overflow-x: hidden;
}

/* На странице категории убираем лишний padding */
.products-grid--no-padding {
    padding: 0;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 520px;
    width: 100%;
    max-width: 380px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-image img:first-child {
    opacity: 1;
    z-index: 1;
}

/* Эффект приближения при наведении */
.product-image {
    overflow: hidden;
}

.product-image img {
    will-change: transform;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Скрываем старый индикатор фотографий */
.product-image::after { display: none !important; }

/* Точки-индикаторы фотографий */
.image-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 6;
    pointer-events: none;
}

.image-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.3s ease;
}

.image-dot.active {
    background: #00C896;
}

/* Горизонтальная галерея карточек */
.gallery-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
}
.gallery-container::-webkit-scrollbar { display: none; }

.gallery-card {
    flex: 0 0 800px;
    margin-right: 30px;
}



.gallery-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: auto;
}

.gallery-image:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.gallery-image img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 24px;
}

.gallery-content h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.product-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    min-height: 54px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info p {
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 15px;
    flex-grow: 1;
    height: 45px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price {
    margin-bottom: 16px;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-day {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    display: block;
}

.price-note {
    font-size: 12px;
    color: #00C896;
    margin-top: 4px;
    display: block;
    font-weight: 500;
    font-style: italic;
}

.price-discount {
    margin-top: 4px;
    text-align: left;
}

.price-discount-value {
    font-size: 16px;
    font-weight: 600;
    color: #00C896;
}

.price-discount-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-left: 2px;
}

/* Информация о наличии товара */
.stock-info {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-align: center;
    border: 1px solid transparent;
    margin-top: auto; /* Прижимаем к низу */
}

.stock-info.stock-available {
    color: #00C896;
    background: rgba(0, 200, 150, 0.1);
    border-color: rgba(0, 200, 150, 0.2);
}

.stock-info.stock-low {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.stock-info.stock-unavailable {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.product-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 0 0 auto;
}

.quantity-selector label {
    font-size: 10px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.quantity-input {
    width: 45px;
    height: 32px;
    padding: 4px 6px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.1);
}

.quantity-input:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.max-quantity {
    font-size: 8px;
    color: #999999;
    font-weight: 500;
    line-height: 1;
}

.btn-cart {
    flex: 0 0 auto;
    min-width: 120px;
    margin-left: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Страницы с текстовым контентом */
.page-content {
    padding: 180px 0 60px;
    background: #fafafa;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.text-content {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.page-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-placeholder i {
    font-size: 24px;
    margin-bottom: 16px;
    color: #00C896;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Контакты */
.contacts {
    padding: 60px 0;
    background: #fafafa;
    position: relative;
}

.contacts h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 200, 150, 0.2);
}

.contact-item i {
    font-size: 24px;
    color: #00C896;
    width: 32px;
    text-align: center;
}

.contact-item span {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 16px;
}

.contact-item a {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #00C896;
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

/* Секция социальных сетей в блоке контактов */
.contact-social-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-social-section h4 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.contact-social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-social-links .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social-links .social-link:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 200, 150, 0.2);
    color: #00C896;
}

.contact-social-links .social-link i {
    font-size: 20px;
    color: #00C896;
    width: 24px;
    text-align: center;
}

.contact-social-links .social-link:hover i {
    color: #00C896;
}

.contact-social-links .social-link span {
    font-weight: 500;
    color: inherit;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
    background: white;
    transform: translateY(-2px);
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-group input[type="date"] {
    position: relative;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 8px;
    padding: 4px;
    transition: all 0.3s ease;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(0, 200, 150, 0.1);
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.form-actions .btn-primary {
    min-width: 180px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #00C896 0%, #00B085 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.25);
    position: relative;
    overflow: hidden;
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, #00B085 0%, #009A75 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 200, 150, 0.35);
}

.form-actions .btn-primary:active {
    transform: translateY(-1px);
}

.form-actions .btn-primary:disabled {
    background: #cccccc;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.form-actions .btn-secondary {
    min-width: 140px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    color: #666666;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-actions .btn-secondary:hover {
    background: #f8f8f8;
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Основные стили для формы заказа */
.order-form {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-form h3 {
    margin: 0 0 32px 0;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
    text-align: center;
}

/* Основные стили для .form-group */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
    background: #ffffff;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенные стили для элементов формы с иконками */
.form-group-icon {
    position: relative;
}

.form-group-icon::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.form-group-icon input {
    padding-left: 48px;
}

.form-group-icon input:focus::before {
    opacity: 1;
}

/* Стили для placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999999;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder,
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0.7;
    color: #00C896;
}

/* Валидация */
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #00C896;
}

.form-group input:required:valid:not(:placeholder-shown) {
    border-color: #00C896;
}

/* Анимация при фокусе на форме */
.form-group {
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:hover {
    transform: translateY(-1px);
}

.form-group:focus-within {
    transform: translateY(-2px);
}

/* Дополнительные эффекты для кнопок */
.form-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-actions .btn-primary:hover::before {
    left: 100%;
}

/* Мобильная адаптация для формы заказа */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 24px 20px;
    }
    
    .modal-body {
        padding: 20px;
}

.modal-footer {
        padding: 24px 20px;
    }
    
    .order-form h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
        min-width: unset;
        padding: 16px 24px;
    }
    
    /* Адаптивные стили для модального окна корзины */
    #cartModal .modal-content {
        max-height: 90vh;
    }
    
    #cartModal .modal-body {
        max-height: calc(90vh - 100px);
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 20px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 20px 16px;
    }
    
    .order-form h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 15px;
    }
    
    /* Адаптивные стили для модального окна корзины на маленьких экранах */
    #cartModal .modal-content {
        max-height: 95vh;
    }
    
    #cartModal .modal-body {
        max-height: calc(95vh - 80px);
        padding: 12px 16px;
    }
}

/* Футер */
.footer {
    background: #1a1a1a !important;
    color: white !important;
    padding: 40px 0 20px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: #cccccc !important;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section p a {
    color: #cccccc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #00C896 !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: #00C896;
}

#footerNavigation {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

#footerNavigation li {
    margin-bottom: 4px;
}

#footerNavigation a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

#footerNavigation a:hover {
    color: #00C896;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contacts .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
}

.footer-contacts .contact-item i {
    color: #00C896;
    font-size: 16px;
    width: 20px;
}

.footer-contacts .contact-item a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts .contact-item a:hover {
    color: #00C896;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #999999;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #333333;
    color: #cccccc;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-links a:hover {
    background: #00C896;
    color: white;
    transform: translateY(-2px);
}

/* Планшетная версия */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-brand h1 {
        font-size: 14px; /* Уменьшаем логотип */
        gap: 8px;
    }
    
    .nav-brand .separator {
        font-size: 16px;
    }
    
    .nav-brand .tagline {
        font-size: 13px; /* Уменьшаем tagline */
    }
    
    .nav-list {
        gap: 24px; /* Уменьшаем расстояние между пунктами меню */
    }
    
    .nav-link {
        /* font-size: 12px;  */
        padding: 6px 10px; /* Уменьшаем padding */
    }
    
    .header-contacts .email,
    .header-contacts .phone {
        font-size: 11px; /* Уменьшаем контакты */
        padding: 4px 6px;
    }
    
    .header-social a {
        width: 28px; /* Уменьшаем социальные иконки */
        height: 28px;
        font-size: 18px;
    }
}

/* Узкие планшеты */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-brand .tagline {
        display: none; /* Скрываем tagline на узких планшетах */
    }
    
    .nav-brand .separator {
        display: none; /* Скрываем разделитель */
    }
    
    .nav-list {
        gap: 20px; /* Еще меньше расстояние */
    }
    
    .nav-link {
        padding: 6px 8px; /* Еще меньше padding */
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    /* Показываем мобильные элементы */
    .mobile-regions {
        display: block;
    }
    
    /* Скрываем поиск в навигации на мобильных */
    .nav-search {
        display: none !important;
    }
    
    /* Скрываем компьютерные элементы */
    .desktop-regions {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    /* Скрываем старое гамбургер меню на мобильных */
    .header-bottom .hamburger-menu:not(.mobile-hamburger) {
        display: none;
    }
    
    /* Показываем новое мобильное гамбургер меню */
    .mobile-hamburger {
        display: flex !important;
        margin-right: 12px; /* Добавляем расстояние до лого */
    }
    
    /* Скрываем десктопные элементы в заголовке */
    .header-top {
        display: none;
    }

    .hero {
        padding: 140px 0 50px; /* Уменьшили отступ сверху из-за более компактного заголовка */
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 24px;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        order: 1;
    }

    .hero-content h2 {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        margin: 12px 0; /* Уменьшаем расстояние сверху */
        order: 1; /* Перемещаем выше кнопок */
    }

    .hero-stat {
        text-align: center;
        flex: 1;
        padding: 0;
    }

    .hero-stat-number {
        font-size: 20px; /* Увеличиваем размер */
        display: block;
        line-height: 1.2;
    }

    .hero-stat-label {
        font-size: 11px; /* Увеличиваем размер */
        margin-top: 4px;
        line-height: 1.2;
        font-weight: 500;
    }

    .hero-actions {
        justify-content: center;
        order: 2; /* Кнопки после статистики */
    }

    /* Адаптивность header */
    .header-top .container {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }
    
    .header-contacts {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .header-social {
        gap: 12px;
    }
    
    .header-right {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .email, .phone {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .header-social a {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .header-bottom .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        position: relative;
    }

    .header-bottom {
        padding: 8px 0;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 0;
        overflow-y: auto;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: #fafafa;
    }

    .mobile-menu-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
    }

    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 20px;
        color: #666666;
        cursor: pointer;
        padding: 8px;
        border-radius: 6px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-close-btn:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #1a1a1a;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 24px;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 16px 0;
        font-size: 16px;
        border-radius: 0;
    }

    .nav-link:after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #fafafa;
        margin: 0;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .dropdown.active .dropdown-menu {
        max-height: 600px; /* плавное раскрытие на мобильных */
    }

    .dropdown-menu a {
        padding: 12px 16px;
        font-size: 14px;
        border-left: 3px solid transparent;
    }

    .dropdown-menu a:hover {
        border-left-color: #00C896;
    }

    /* Области работы в навигации (только для десктопа) */
    .nav-regions {
        display: none;
    }

    .search-box {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Оверлей для мобильного меню */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .header-right {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .nav-brand h1 {
        font-size: 18px;
        gap: 8px;
        justify-content: center;
    }

    .nav-brand .tagline {
        font-size: 14px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h3 {
        text-align: center;
    }
    
    .contact-social-section {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .contact-social-section h4 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-social-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-social-links .social-link {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .contact-social-links .social-link i {
        font-size: 18px;
        width: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-section h4 {
        text-align: center;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    #footerNavigation {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 12px;
    }
    
    #footerNavigation a {
        font-size: 13px;
    }

    .footer-contacts {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        max-width: none;
        height: 140px;
        aspect-ratio: 1.2/1;
    }
    
    .category-image {
        height: 100%;
    }
    
    .category-content {
        padding: 12px;
    }
    
    .category-content h4 {
        font-size: 16px;
    }
    
    .categories-section h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .catalog-page {
        padding-top: calc(var(--header-height, 80px) + 16px);
    }

    .catalog-page-banner {
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .catalog-page-banner img {
        max-height: 140px;
    }

    .breadcrumbs {
        font-size: 12px;
        margin-bottom: 24px;
        flex-wrap: wrap;
    }
    
    .category-header {
        margin-bottom: 40px;
    }
    
    .category-header h1 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 12px;
    }
    


    .filters {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-items: center;
        padding: 0 16px;
        margin: 0 auto;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* На странице категории убираем лишний padding для мобильных */
    .products-grid--no-padding {
        padding: 0;
    }

    .product-card {
        max-width: none;
    }

    .product-image {
        height: 120px;
    }

    .product-info {
        padding: 8px;
        text-align: center;
    }

    .product-info h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .product-info p {
        font-size: 0.75rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
    }

    .price {
        margin: 2px 0;
        text-align: center;
        padding: 6px 4px;
    }

    .price-day,
    .price-note {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .price-discount {
        margin-top: 0;
        text-align: center;
    }
    
    .price-discount-value {
        font-size: 0.8rem;
    }
    
    .price-discount-note {
        font-size: 0.7rem;
    }

    .product-actions {
        gap: 6px;
        padding: 0 8px 6px 8px;
    }

    .stock-info {
        text-align: center;
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-bottom: 4px;
        border-radius: 4px;
        margin-top: 2px;
        display: inline-block;
        font-weight: 500;
    }

    .btn-view {
        font-size: 0.8rem;
        padding: 10px 12px;
        text-align: center;
        width: auto;
        min-width: 120px;
    }

    .quantity-selector {
        gap: 4px;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .quantity-selector label {
        font-size: 0.75rem;
    }

    .quantity-input {
        width: 40px;
        height: 32px;
        padding: 4px 6px;
        font-size: 12px;
        text-align: center;
    }

    .max-quantity {
        font-size: 0.7rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Эффекты загрузки */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 3% auto;
    border: none;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Специальные стили для модального окна корзины */
#cartModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
}

#cartModal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(85vh - 120px); /* Вычитаем высоту header и footer */
}

#cartModal .modal-footer {
    flex-shrink: 0;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

/* Стили для скроллбара в модальном окне корзины */
#cartModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#cartModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#cartModal .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#cartModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Мобильное модальное окно поиска - в стиле контактов */
#mobileSearchModal {
    background-color: transparent !important; /* Убираем затемнение */
    backdrop-filter: none !important;
    z-index: 2500;
}

#mobileSearchModal .modal-content {
    max-width: 350px; /* Уменьшаем ширину */
    position: fixed; /* Фиксированное позиционирование */
    bottom: 0; /* Прижимаем к низу */
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* Центрируем и скрываем внизу */
    border-radius: 16px 16px 0 0; /* Скругляем только верх */
    transition: transform 0.3s ease-in-out;
    max-height: 70vh; /* Уменьшаем высоту */
    overflow-y: auto;
    margin: 0; /* Убираем margin */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); /* Добавляем тень */
}

#mobileSearchModal.show .modal-content {
    transform: translateX(-50%) translateY(0); /* Всплывает снизу с центрированием */
}

@media (max-width: 768px) {
    #mobileSearchModal .modal-content {
        width: 95%; 
        max-width: 95%;
        max-height: 66vh;
        border-radius: 12px 12px 0 0; 
    }
}

.mobile-search-container {
    padding: 0;
}

.mobile-search-modal .search-box {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.mobile-search-modal .search-box input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    background: transparent;
    outline: none;
}

.mobile-search-modal .search-btn {
    background: #00C896;
    color: white;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 60px;
}

.mobile-search-modal .search-btn:hover {
    background: #00B085;
}

.mobile-search-results {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 12px;
    background: #f8f9fa;
}

.mobile-search-results .search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-search-results .search-result-item:hover {
    background: #e9ecef;
}

.mobile-search-results .search-result-item:last-child {
    border-bottom: none;
}

.mobile-search-results .search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.mobile-search-results .search-result-info {
    flex: 1;
}

.mobile-search-results .search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.mobile-search-results .search-result-price {
    font-size: 12px;
    color: #00C896;
    font-weight: 600;
}

.mobile-search-results .search-result-category {
    font-size: 11px;
    color: #666;
}

.mobile-search-results .search-result-item.no-image {
    padding-left: 20px;
}

.mobile-search-results .search-result-item.no-image .search-result-info {
    margin-left: 0;
}

.modal-header {
    padding: 32px 40px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
}

.modal-header .close {
    color: #999999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    padding: 0;
    background: none;
    border: none;
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: #333333;
}

.modal-body {
    padding: 10px 20px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    max-height: calc(85vh - 60px); /* Оставляем место для header */
}

/* Дополнительные стили для корзины */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cart-item:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-info {
    flex: 1;
    padding-right: 40px;
}

.cart-item-name {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.cart-item-price {
    color: #00C896;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.cart-item-remove {
    background: #FF4757;
    color: white;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

.cart-item-remove:hover {
    background: #e73c7e;
    transform: scale(1.05);
}

/* Элементы управления в корзине */
.cart-controls {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    margin-top: 8px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
    white-space: nowrap;
}

.control-group input[type="number"] {
    width: 40px !important;
    padding: 0px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.control-group input[type="number"]:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.control-group input[type="number"]:hover {
    border-color: #bbb;
}

.cart-total {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: right;
    background: #fafafa;
    padding: 24px;
    border-radius: 16px;
    margin: 32px -16px 0 -16px;
}

.cart-total h4 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.01em;
}

.modal-footer {
    padding: 32px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    flex-shrink: 0;
}

.modal-footer .btn-primary {
    min-width: 200px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #00C896 0%, #00B085 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #00B085 0%, #009A75 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 200, 150, 0.35);
}

/* Дополнительные медиа-запросы для маленьких экранов */
@media (max-width: 480px) {
    .hero {
        padding: 110px 0 40px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }
    .hero-content p {
        margin-bottom: 10px;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 4px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        margin: 10px 0; /* Уменьшаем расстояние сверху */
        order: 1; /* Перемещаем выше кнопок */
    }
    
    .hero-stat {
        text-align: center;
        flex: 1;
        padding: 0;
    }

    .hero-stat-number {
        font-size: 16px; /* Увеличиваем размер */
        display: block;
        line-height: 1.1;
    }

    .hero-stat-label {
        font-size: 9px; /* Увеличиваем размер */
        margin-top: 2px;
        line-height: 1.1;
        font-weight: 600;
    }

    .hero-actions {
        order: 2; /* Кнопки после статистики */
    }
    
    .nav-brand h1 {
        font-size: 15px;
        flex-wrap: wrap;
        text-align: center;
        line-height: 1.2;
    }
    
    .nav-brand .tagline {
        font-size: 11px;
        display: inline;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .phone span {
        display: none;
    }
    
    .search-section .search-box {
        max-width: 100%;
    }
    
    .search-section .search-box input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .search-section .search-btn {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        height: 120px;
        aspect-ratio: 1.15/1;
    }
    
    .category-image {
        height: 100%;
    }
    
    .category-content {
        padding: 10px;
    }
    
    .category-content h4 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    

    
    .categories-section {
        margin-bottom: 60px;
    }
    
    .categories-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature {
        padding: 20px 12px;
        text-align: center;
    }

    .feature i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .feature h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .filters {
        padding: 0 16px;
        gap: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
        width: 100%;
        text-align: center;
        /* flex-wrap: wrap; */
        align-items: center;
    }
    
    .filter-group label {
        font-size: 14px;
    }
    
    .filter-group select {
        width: 100%;
        padding: 6px 10px;
    }
    
    /* Адаптация для новых элементов фильтрации */
    .price-filter {
        flex-direction: row;
        gap: 4px;
        width: auto;
        flex-wrap: wrap;
    }
    
    .price-filter input[type="number"] {
        width: 60px;
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .price-separator {
        display: inline;
        font-size: 12px;
    }
    
    .btn-filter {
        width: auto;
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .sort-buttons {
        flex-direction: row;
        gap: 4px;
        width: auto;
        flex-wrap: wrap;
    }
    
    .sort-btn {
        width: auto;
        padding: 8px 10px;
        font-size: 12px;
        justify-content: center;
        min-width: 60px;
    }
    
    /* Дополнительная адаптация для очень маленьких экранов */
    @media (max-width: 480px) {
        .filters {
            gap: 8px;
            padding: 0 8px;
        }
        
        .filter-group {
            padding: 6px 8px;
            gap: 6px;
        }
        
        .price-filter input[type="number"] {
            width: 50px;
            padding: 4px 6px;
            font-size: 12px;
        }
        
        .sort-btn {
            padding: 6px 8px;
            font-size: 11px;
            min-width: 50px;
        }
        
        .btn-filter {
            padding: 4px 6px;
            font-size: 11px;
        }
    }
    
    .nav {
        width: 90%;
        max-width: 300px;
    }
    
    .hero-content h2 {
        font-size: clamp(28px, 8vw, 40px);
        text-align: center;
    }
    
    .hero-content p {
        font-size: 16px;
        text-align: center;
    }
    
    .about h2,
    .catalog h2,
    .contacts h2,
    .gallery-section h2 {
        font-size: clamp(28px, 8vw, 40px);
    }
    
    /* Мобильная версия корзины */
    .cart-controls {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
        margin-top: 10px;
    }
    
    .control-group {
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
        min-width: 80px;
        gap: 4px;
    }
    
    .control-group label {
        font-size: 11px;
        color: #666;
        font-weight: 500;
    }
    
    .control-group input[type="number"] {
        width: 100%;
        padding: 6px 8px;
        font-size: 13px;
        border: 1px solid #ddd;
        border-radius: 6px;
        text-align: center;
    }
    
    .control-group small {
        font-size: 10px;
        color: #888;
        margin-top: 2px;
    }
    
    .products-grid {
        padding: 0 16px;
        margin: 0 auto;
    }
    
    /* На странице категории убираем лишний padding для маленьких экранов */
    .products-grid--no-padding {
        padding: 0;
    }
    
    .cart-item {
        gap: 12px;
        padding: 16px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cart-item img {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        border-radius: 8px;
    }
    
    .cart-item-info {
        flex: 1;
        min-width: 0;
        padding-right: 35px;
    }
    
    .cart-item-name {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .cart-item-price {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .cart-item-remove {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }
    
    /* Адаптация для выбора количества на мобильных */
    .product-actions {
        gap: 8px;
    }
    
    .quantity-selector {
        gap: 3px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .quantity-selector label {
        font-size: 9px;
    }
    
    .quantity-input {
        width: 40px;
        height: 28px;
        padding: 3px 4px;
        font-size: 12px;
    }
    
    .max-quantity {
        font-size: 7px;
    }
    
    .btn-cart {
        margin-left: 4px;
        font-size: 13px;
        padding: 6px 8px;
        min-width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .btn-cart i {
        margin-right: 0;
    }
    
    .btn-cart:not([disabled]) {
        font-size: 0;
    }
    
    .btn-cart:not([disabled]) i {
        font-size: 14px;
    }
    
    .btn-cart[disabled] {
        font-size: 9px;
        padding: 6px 8px;
        min-width: auto;
        height: 32px;
    }
    
    /* Дополнительное уменьшение отступов цен для маленьких экранов */
    .price {
        margin: 4px 0;
        padding: 4px 2px;
    }
    
    .price-discount {
        margin-top: 0;
    }
    
    .price-day,
    .price-note {
        font-size: 0.75rem;
    }
    
    .price-discount-value {
        font-size: 0.7rem;
    }
    
    .price-discount-note {
        font-size: 0.65rem;
    }
    
    /* Адаптивные стили для социальных сетей в блоке контактов на очень маленьких экранах */
    .contact-social-section {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .contact-social-section h4 {
        text-align: center;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .contact-social-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .contact-social-links .social-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .contact-social-links .social-link i {
        font-size: 14px;
        width: 16px;
    }
}

/* Модальное окно деталей товара */
#productModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

#productModal .modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    min-height: 400px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
}

/* Планшетная версия модального окна */
@media (max-width: 1024px) and (min-width: 769px) {
    #productModal .modal-content {
        width: 95%;
        max-width: 800px;
        max-height: 85vh;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-details-content {
        padding: 20px;
    }
}

/* Мобильная версия модального окна */
@media (max-width: 768px) {
    #productModal .modal-content {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .product-details {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .product-details-content {
        padding: 15px;
    }
    
    .product-details-title {
        font-size: 1.3rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

#productModal .close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    z-index: 10;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#productModal .close:hover,
#productModal .close:focus {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.product-details-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.product-gallery {
    position: relative;
}

.product-details-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

.product-details-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.product-details-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
}

/* Стили для галереи товара */
.product-gallery {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 500px;
}

.product-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    z-index: 1;
}

.product-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.product-gallery .gallery-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background: transparent;
    /* Убираем белый фон */
    background-color: transparent !important;
}

.product-gallery .gallery-slide {
    display: none;
    width: auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.product-gallery .gallery-slide.active {
    display: block !important;
}

.product-gallery .gallery-slide img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 4;
    background: transparent;
    display: block !important;
    /* Убираем белый фон */
    background-color: transparent !important;
    backdrop-filter: none;
}

.product-gallery .gallery-prev,
.product-gallery .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.product-gallery .gallery-prev:hover,
.product-gallery .gallery-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-gallery .gallery-prev {
    left: 20px;
}

.product-gallery .gallery-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 3;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

.product-details-content {
    padding: 40px;
    background: #fff;
    overflow-y: auto;
    max-height: 600px;
}

.product-details-header {
    margin-bottom: 24px;
    position: relative;
}

.btn-back-to-previous {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.btn-back-to-previous:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    transform: translateX(-2px);
}

.btn-back-to-previous i {
    font-size: 0.8rem;
}

.product-details-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-details-subtitle {
    font-size: 16px;
    color: #718096;
    margin-bottom: 20px;
}

.product-details-stock {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.product-details-stock.available {
    background: #f0fff4;
    color: #38a169;
    border: 1px solid #c6f6d5;
}

.product-details-stock.low {
    background: #fffaf0;
    color: #dd6b20;
    border: 1px solid #fbd38d;
}

.product-details-stock.unavailable {
    background: #fed7d7;
    color: #e53e3e;
    border: 1px solid #feb2b2;
}

.product-details-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 32px;
}

.product-details-price {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border-left: 4px solid #00C896;
}

.product-details-price h4 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 600;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.price-option-label {
    font-weight: 500;
    color: #4a5568;
}

.price-option-value {
    font-weight: 700;
    color: #00C896;
    font-size: 18px;
}

.product-details-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.product-details-actions .quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafafa;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    align-self: flex-start;
}

.product-details-actions .quantity-selector label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    white-space: nowrap;
}

.product-details-actions .quantity-input {
    width: 60px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.product-details-actions .quantity-input:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.product-details-actions .quantity-input:hover {
    border-color: #bbb;
}

.product-details-actions .max-quantity {
    font-size: 12px;
    color: #999999;
    white-space: nowrap;
}

.cart-quantity-info {
    font-size: 12px;
    color: #00C896;
    margin-top: 4px;
    font-weight: 500;
    display: block;
}

.product-details-actions .buttons-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn-add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, #00C896 0%, #00B085 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal {
    background: #f8fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

@media (max-width: 768px) {
    .hero .container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .hero-image {
        position: static !important;
        top: auto !important;
        order: 1;
        margin-bottom: 16px;
    }
    .hero-content {
        order: 2;
        padding-right: 0;
    }
}

.btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #00B085 0%, #009A75 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 200, 150, 0.3);
}

.btn-add-to-cart:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.btn-close-modal:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

/* Блокировка прокрутки body при открытом модальном окне */
.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    #productModal .modal-content {
        width: 95%;
        max-height: 90vh;
        min-height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        min-height: auto;
        flex: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .product-details-image {
        padding: 30px 20px;
        min-height: 250px;
        flex-shrink: 0;
    }
    
    .product-details-image img {
        max-height: 200px;
    }
    
    /* Мобильные стили для галереи */
    .product-gallery {
        padding: 20px;
        min-height: 250px;
        flex-shrink: 0;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-slide img {
        max-height: 200px;
    }
    
    .gallery-dots {
        margin-top: 15px;
        gap: 6px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
    
    .product-details-content {
        padding: 30px 20px;
        max-height: none;
        overflow-y: auto;
        flex: 1;
        -webkit-overflow-scrolling: touch;
    }
    
    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) translateY(0) scale(1);
        }
    }
    
    .product-details-title {
        font-size: 24px;
    }
    
    .btn-back-to-previous {
        padding: 6px 10px;
        font-size: 0.8rem;
        top: 15px;
        left: 15px;
    }
    
    .btn-back-to-previous i {
        font-size: 0.7rem;
    }
    
    .product-details-actions {
        flex-direction: column;
    }
    
    .price-options {
        gap: 8px;
    }
    
    .price-option {
        padding: 10px 14px;
    }
    
    .price-option-value {
        font-size: 16px;
    }
}

/* Частые вопросы */
.faq {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.faq h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 200, 150, 0.2);
}

.faq-question {
    padding: 24px 32px;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    background: rgba(0, 200, 150, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    font-size: 16px;
    color: #00C896;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 24px 32px;
    margin: 0;
    color: #666666;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

/* Адаптивность для FAQ */
@media (max-width: 768px) {
    .faq {
        padding: 50px 0;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 16px;
    }
    
    .faq-answer p {
        padding: 20px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 40px 0;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        padding-right: 12px;
    }
    
    .faq-answer p {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
}

/* Отзывы */
.reviews {
    padding: 60px 0;
    background: #fafafa;
    position: relative;
}

.reviews h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 24px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

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

.review-card {
    flex: 0 0 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}



.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00C896 0%, #00B085 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating i {
    font-size: 14px;
    color: #FFD700;
}

.review-rating .far {
    color: #E2E8F0;
}

.review-card p {
    color: #666666;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    flex-grow: 1;
    margin: 0 0 20px 0;
    font-style: italic;
}

.review-date {
    font-size: 14px;
    color: #999999;
    font-weight: 500;
    margin-top: auto;
}

.reviews-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease-in-out;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
}

.reviews-arrow:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #00C896;
}

.reviews-arrow:active {
    background: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reviews-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Адаптивность для стрелочек товаров */
@media (max-width: 768px) {
    /* Скрываем ВСЕ стрелочки в мобильной версии для расширения основного блока */
    .products-arrow,
    .reviews-arrow,
    .gallery-arrow,
    .products-prev,
    .products-next,
    .reviews-prev,
    .reviews-next,
    .gallery-prev,
    .gallery-next {
        display: none !important;
    }
    
    .products-carousel,
    .reviews-carousel,
    .gallery-main {
        gap: 0;
    }
    
    .products-horizontal,
    .reviews-container,
    .gallery-container {
        padding: 10px 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Скрываем ВСЕ стрелочки в мобильной версии для расширения основного блока */
    .products-arrow,
    .reviews-arrow,
    .gallery-arrow,
    .products-prev,
    .products-next,
    .reviews-prev,
    .reviews-next,
    .gallery-prev,
    .gallery-next {
        display: none !important;
    }
    
    .products-carousel,
    .reviews-carousel,
    .gallery-main {
        gap: 0;
    }
    
    .products-horizontal,
    .reviews-container,
    .gallery-container {
        padding: 8px 0;
        width: 100%;
    }
}

/* Адаптивность для отзывов */
@media (max-width: 768px) {
    .reviews {
        padding: 50px 0;
    }
    
    .reviews-carousel {
        gap: 16px;
    }
    
    .reviews-container {
        gap: 16px;
    }
    
    .review-card {
        flex: 0 0 280px;
        padding: 24px;
        min-height: 240px;
    }
    
    .review-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-info h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .review-card p {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .reviews-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .reviews {
        padding: 40px 0;
    }
    
    .reviews-carousel {
        gap: 12px;
    }
    
    .reviews-container {
        gap: 12px;
    }
    
    .review-card {
        flex: 0 0 240px;
        padding: 20px;
        min-height: 200px;
    }
    
    .review-header {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .review-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .review-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .review-card p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .review-date {
        font-size: 12px;
    }
    
    .reviews-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Галерея */
.gallery-section {
    padding: 60px 0;
    background: #fafafa;
    position: relative;
}

.gallery-section h2 {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-container {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}



.gallery-caption {
    text-align: center;
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
    min-height: 24px;
    font-weight: 400;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #00C896;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 200, 150, 0.3);
    transition: all 0.15s ease-in-out;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
}

.gallery-arrow:hover {
    background: #00B085;
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.4);
    color: white;
    transform: scale(1.05);
}

.gallery-arrow:active {
    background: #009973;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
    transform: scale(0.98);
}

.gallery-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #00C896;
    color: white;
}

.gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666666;
}

.gallery-loading i {
    font-size: 24px;
    margin-bottom: 8px;
}

.gallery-loading p {
    margin: 0;
    font-size: 16px;
    color: #999999;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }

    .gallery-container {
        min-height: 250px;
        gap: 12px; /* Уменьшаем расстояние между фото */
    }

    .gallery-card {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .gallery-card .gallery-image img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }
    
    .gallery-content h4 {
        font-size: 14px; /* Уменьшаем текст */
    }
    
    .gallery-caption {
        font-size: 14px;
        padding: 12px 16px;
        margin-top: 16px;
    }
}

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

    .gallery-container {
        min-height: 200px;
        gap: 10px; /* Еще меньше расстояние между фото */
    }

    .gallery-card {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .gallery-card .gallery-image img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
    
    .gallery-content h4 {
        font-size: 12px; /* Еще меньше текст */
    }
    
    .gallery-caption {
        font-size: 13px;
        padding: 10px 14px;
        margin-top: 12px;
    }
}

/* Модальное окно контактов */
/* Специальные стили для модального окна контактов */
#contactModal {
    background-color: transparent !important; /* Убираем затемнение */
    backdrop-filter: none !important;
}

#contactModal .modal-content {
    max-width: 350px; /* Уменьшаем ширину */
    position: fixed; /* Фиксированное позиционирование */
    bottom: 0; /* Прижимаем к низу */
    left: 50%;
    transform: translateX(-50%) translateY(100%); /* Центрируем и скрываем внизу */
    border-radius: 16px 16px 0 0; /* Скругляем только верх */
    transition: transform 0.3s ease-in-out;
    max-height: 70vh; /* Уменьшаем высоту */
    overflow-y: auto;
    margin: 0; /* Убираем margin */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); /* Добавляем тень */
}

#contactModal.show .modal-content {
    transform: translateX(-50%) translateY(0); /* Всплывает снизу с центрированием */
}

@media (max-width: 768px) {
    #contactModal .modal-content {
        width: 95%; 
        max-width: 95%;
        max-height: 66vh;
        border-radius: 12px 12px 0 0; 
    }
}

.contact-modal-content {
    padding: 0;
}

.contact-section {
    padding: 12px 0; /* Уменьшаем padding */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-section:last-child {
    border-bottom: none;
}

.contact-section h4 {
    display: flex;
    align-items: center;
    gap: 6px; /* Уменьшаем gap */
    font-size: 14px; /* Уменьшаем размер */
    font-weight: 600;
    color: #000;
    margin: 0 0 6px 0; /* Уменьшаем margin */
}

.contact-section h4 i {
    color: #00C896;
    font-size: 12px; /* Уменьшаем размер иконки */
}

.contact-section p {
    margin: 0;
    color: #666;
    line-height: 1.4; /* Уменьшаем line-height */
    font-size: 14px; /* Добавляем размер шрифта */
}

.contact-section a {
    color: #00C896;
    text-decoration: none;
    font-weight: 500;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Уменьшаем gap */
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 6px; /* Уменьшаем gap */
    padding: 6px 10px; /* Уменьшаем padding */
    background: #f8f9fa;
    border-radius: 6px; /* Уменьшаем скругление */
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px; /* Уменьшаем размер */
}

.contact-social a:hover {
    background: #00C896;
    color: white;
    transform: translateY(-1px);
}

.contact-social a i {
    font-size: 14px; /* Уменьшаем размер иконок */
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 400px) {
    .cart-item {
        gap: 8px;
        padding: 12px;
    }
    
    .cart-item img {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-info {
        padding-right: 28px;
    }
    
    .cart-item-name {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .cart-item-price {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .cart-item-remove {
        width: 24px;
        height: 24px;
        font-size: 10px;
        top: 6px;
        right: 6px;
    }
    
    .cart-controls {
        gap: 8px;
        margin-top: 8px;
    }
    
    .control-group {
        min-width: 70px;
        gap: 3px;
    }
    
    .control-group input[type="number"] {
        width: 100%;
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .control-group label {
        font-size: 10px;
    }
    
    .control-group small {
        font-size: 9px;
        color: #888;
        margin-top: 1px;
    }
}

/* Фильтр по цене */
.price-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-filter input[type="number"] {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-filter input[type="number"]:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
}

.price-filter input[type="number"]:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.price-separator {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.btn-filter {
    background: #00C896;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-filter:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

/* Кнопки сортировки */
.sort-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-btn {
    background: white;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sort-btn:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sort-btn.active {
    background: #00C896;
    color: white;
    border-color: #00C896;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

.sort-btn.active:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.4);
}

.sort-btn i {
    font-size: 12px;
}

/* Секции товаров */
.products-section {
    margin: 60px 0;
}

.products-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
}

.products-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.products-arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease-in-out;
    flex-shrink: 0;
    z-index: 10;
}

.products-arrow:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #00C896;
}

.products-arrow:active {
    background: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Горизонтальные списки товаров */
.products-horizontal {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-horizontal::-webkit-scrollbar {
    display: none;
}

.products-horizontal::-webkit-scrollbar {
    height: 8px;
}

.products-horizontal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-horizontal::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.products-horizontal::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Простые категории одинакового размера */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 160px;
    width: 100%;
    aspect-ratio: 1.25/1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 25%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-content {
    color: white;
    width: 100%;
}

.category-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

/* Уменьшенные карточки товаров для горизонтальных списков */
.products-horizontal .product-card {
    flex: 0 0 280px;
    height: auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.products-horizontal .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.products-horizontal .product-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.products-horizontal .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.products-horizontal .product-image img:first-child {
    opacity: 1;
    z-index: 1;
}

/* Эффект приближения при наведении в горизонтальных списках */
.products-horizontal .product-image img {
    transition: transform 0.3s ease !important;
}

.products-horizontal .product-card:hover .product-image img {
    transform: scale(1.1);
}

.products-horizontal .product-image .btn-view {
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    font-size: 11px;
}

.products-horizontal .product-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.products-horizontal .product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-horizontal .product-info p {
    display: none; /* Убираем описание в горизонтальных списках */
}

.products-horizontal .stock-info {
    display: none; /* Убираем информацию о наличии в горизонтальных списках */
}

.products-horizontal .price {
    margin-top: auto;
    margin-bottom: 12px;
}

.products-horizontal .price-day {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.products-horizontal .price-discount {
    margin-top: 4px;
}

.products-horizontal .price-discount-value {
    font-size: 14px;
    color: #00C896;
    font-weight: 500;
}

.products-horizontal .price-discount-note {
    font-size: 12px;
    color: #666;
}

.products-horizontal .product-actions {
    margin-top: auto;
}

.products-horizontal .quantity-selector {
    margin-bottom: 8px;
}

.products-horizontal .btn-cart {
    width: auto;
    padding: 10px 16px;
    font-size: 14px;
    margin-top: 8px;
}

/* Адаптивность для горизонтальных списков */
@media (max-width: 768px) {
    .products-horizontal .product-card {
        flex: 0 0 240px;
        min-height: 280px;
    }
    
    .products-horizontal .product-image {
        height: 140px;
    }
    
    .products-horizontal .product-info {
        padding: 12px;
    }
    
    .products-horizontal .product-info h3 {
        font-size: 14px;
    }
    
    .products-horizontal .price-day {
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        height: 140px;
        width: 100%;
    }
    
    .category-content h4 {
        font-size: 14px;
    }
    
    .category-overlay {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .products-horizontal .product-card {
        flex: 0 0 200px;
        min-height: 240px;
    }
    
    .products-horizontal .product-image {
        height: 120px;
    }
    
    .products-horizontal .product-info {
        padding: 10px;
    }
    
    .products-horizontal .product-info h3 {
        font-size: 13px;
    }
    
    .products-horizontal .price-day {
        font-size: 13px;
    }
    
    .products-horizontal .btn-cart {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .category-card {
        height: 120px;
        width: 100%;
    }
    
    .category-content h4 {
        font-size: 12px;
    }
    
    .category-overlay {
        padding: 10px;
    }
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

/* Макет каталога с сайдбаром */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Левый сайдбар с фильтрами */
.catalog-sidebar {
    position: sticky;
    top: 200px;
    height: fit-content;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section h3 i {
    color: #00C896;
    font-size: 16px;
}

/* Поиск в сайдбаре */
.sidebar-section .search-box {
    width: 100%;
    margin-bottom: 0;
}

.sidebar-section .search-box input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
}

.sidebar-section .search-btn {
    padding: 14px 5px;
    font-size: 14px;
}

/* Фильтр цены в сайдбаре */
.sidebar-section .price-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.sidebar-section .price-filter input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: #fafafa;
    transition: all 0.3s ease;
}

.sidebar-section .price-filter input[type="number"]:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
    background: white;
}

.sidebar-section .price-separator {
    text-align: center;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    margin: 4px 0;
}

.sidebar-section .btn-filter {
    background: #00C896;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sidebar-section .btn-filter:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

/* Кнопки сортировки в сайдбаре */
.sidebar-section .sort-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-section .sort-btn {
    background: #fafafa;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    width: 100%;
    white-space: nowrap;
}

.sidebar-section .sort-btn:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-section .sort-btn.active {
    background: #00C896;
    color: white;
    border-color: #00C896;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

.sidebar-section .sort-btn.active:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.4);
}

.sidebar-section .sort-btn i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Список категорий в сайдбаре */
.sidebar-section .categories-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.sidebar-section .categories-header span {
    flex: 1;
}

.sidebar-section .categories-header:hover {
    color: #00C896;
}

.sidebar-section .categories-header .categories-chevron {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #666;
    flex-shrink: 0;
}

.sidebar-section .categories-header.expanded .categories-chevron {
    transform: rotate(180deg);
}

.sidebar-section .categories-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-section .category-item {
    display: block;
    padding: 10px 14px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-section .category-item:hover {
    background: #fafafa;
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.sidebar-section .category-item.active {
    font-weight: 700;
    color: #1a1a1a;
    background: #f0f9ff;
    border-color: rgba(0, 200, 150, 0.2);
}

/* Основная область товаров */
.catalog-main {
    min-height: 600px;
    margin-bottom: 6vw;
}

/* Обновленная сетка товаров - меньшие карточки */
.catalog-main .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Обновленные карточки товаров - меньшего размера */
.catalog-main .product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
}

.catalog-main .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.catalog-main .product-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.catalog-main .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.catalog-main .product-image img:first-child {
    opacity: 1;
    z-index: 1;
}

/* Точки-индикаторы фотографий для карточек каталога */
.catalog-main .image-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    z-index: 6;
    pointer-events: none;
}

.catalog-main .image-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.3s ease;
}

.catalog-main .image-dot.active {
    background: #00C896;
}

.catalog-main .product-image .btn-view {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 11px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: auto;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalog-main .product-card:hover .product-image .btn-view {
    opacity: 1;
    transform: translateY(0);
}

.catalog-main .product-image .btn-view:hover {
    background: #00C896;
    color: white;
    transform: scale(1.05);
}

.catalog-main .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.catalog-main .product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    min-height: 40px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-main .product-info p {
    color: #666666;
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 13px;
    flex-grow: 1;
    height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-main .price {
    margin-bottom: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-main .price-day {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    display: block;
}

.catalog-main .price-note {
    font-size: 11px;
    color: #00C896;
    margin-top: 2px;
    display: block;
    font-weight: 500;
    font-style: italic;
}

.catalog-main .price-discount {
    margin-top: 4px;
    text-align: left;
}

.catalog-main .price-discount-value {
    font-size: 14px;
    font-weight: 600;
    color: #00C896;
}

.catalog-main .price-discount-note {
    font-size: 11px;
    color: #666;
    font-style: italic;
    margin-left: 2px;
}

/* Информация о наличии товара в каталоге */
.catalog-main .stock-info {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 5px;
    margin-bottom: 8px;
    text-align: center;
    border: 1px solid transparent;
    margin-top: auto;
}

.catalog-main .stock-info.stock-available {
    color: #00C896;
    background: rgba(0, 200, 150, 0.1);
    border-color: rgba(0, 200, 150, 0.2);
}

.catalog-main .stock-info.stock-low {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.catalog-main .stock-info.stock-unavailable {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.catalog-main .product-actions {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
}

.catalog-main .quantity-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 0 0 auto;
}

.catalog-main .quantity-selector label {
    font-size: 9px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.catalog-main .quantity-input {
    width: 40px;
    height: 28px;
    padding: 3px 5px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
    transition: all 0.3s ease;
}

.catalog-main .quantity-input:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.1);
}

.catalog-main .quantity-input:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.catalog-main .max-quantity {
    font-size: 7px;
    color: #999999;
    font-weight: 500;
    line-height: 1;
}

.catalog-main .btn-cart {
    flex: 0 0 auto;
    min-width: 100px;
    margin-left: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00C896;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 4px;
}

.catalog-main .btn-cart:hover {
    background: #00B085;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

/* Адаптивность для нового макета */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .catalog-sidebar {
        display: none;
    }
    
    .catalog-main {
        order: 1;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .catalog-sidebar {
        position: static;
        order: 2;
        margin-top: 0;
        padding: 16px;
        border-radius: 12px;
    }
    
    .catalog-main {
        order: 1;
    }
    
    .sidebar-section {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    
    .sidebar-section h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .sidebar-section .sort-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .sidebar-section .sort-btn {
        flex: 1;
        min-width: 120px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .sidebar-section .price-filter {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .sidebar-section .price-filter input[type="number"] {
        flex: 1;
        width: auto;
    }
    
    .sidebar-section .price-separator {
        margin: 0;
        flex-shrink: 0;
    }
    
    .sidebar-section .btn-filter {
        flex-shrink: 0;
        padding: 8px 12px;
    }
    
    .catalog-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* .catalog-main .product-card {
        height: 320px;
    } */
    
    .catalog-main .product-image {
        height: 140px;
    }
    
    .catalog-main .product-info {
        padding: 12px;
    }
    
    .catalog-main .product-info h3 {
        font-size: 14px;
        min-height: 36px;
    }
    
    .catalog-main .product-info p {
        font-size: 12px;
        height: 28px;
    }
    
    .catalog-main .price {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .catalog-main .price-day {
        font-size: 14px;
    }
    
    .catalog-main .price-discount-value {
        font-size: 12px;
    }
    
    .catalog-main .btn-cart {
        min-width: 80px;
        font-size: 11px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .catalog-sidebar {
        padding: 12px;
    }
    
    .sidebar-section {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .sidebar-section h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .sidebar-section .sort-buttons {
        gap: 4px;
    }
    
    .sidebar-section .sort-btn {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 100px;
    }
    
    .catalog-main .products-grid {
        gap: 8px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* .catalog-main .product-card {
        height: 280px;
    } */
    
    .catalog-main .product-image {
        height: 120px;
    }
    
    .catalog-main .product-info {
        padding: 8px;
    }
    
    .catalog-main .product-info h3 {
        font-size: 13px;
        min-height: 32px;
    }
    
    .catalog-main .product-info p {
        font-size: 11px;
        height: 24px;
    }
    
    .catalog-main .price {
        padding: 6px;
        margin-bottom: 6px;
    }
    
    .catalog-main .price-day {
        font-size: 13px;
    }
    
    .catalog-main .btn-cart {
        min-width: 60px;
        font-size: 10px;
        padding: 5px 6px;
    }
}

/* Мобильная фильтрация для страницы категорий */
.mobile-filters {
    display: none;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-categories {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-categories-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
    padding: 8px 0;
}

.mobile-categories-header span {
    flex: 1;
}

.mobile-categories-header:hover {
    color: #00C896;
}

.mobile-categories-header .mobile-categories-chevron {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #666;
    flex-shrink: 0;
}

.mobile-categories-header.expanded .mobile-categories-chevron {
    transform: rotate(180deg);
}

.mobile-categories-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

.mobile-category-item {
    display: block;
    padding: 10px 14px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-category-item:hover {
    background: #fafafa;
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.mobile-category-item.active {
    font-weight: 700;
    color: #1a1a1a;
    background: #f0f9ff;
    border-color: rgba(0, 200, 150, 0.2);
}

.mobile-search {
    margin-bottom: 16px;
}

.mobile-search .search-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-search .search-box input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
}

.mobile-search .search-box input::placeholder {
    color: #999;
}

.mobile-search .search-btn {
    padding: 14px 16px;
    background: #00C896;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search .search-btn:hover {
    background: #00a87a;
}

.mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.mobile-price-filter,
.mobile-sort {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-price-filter label,
.mobile-sort label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.mobile-price-filter .price-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-price-filter .price-filter input[type="number"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

.mobile-sort .sort-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-sort .sort-btn {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mobile-sort .sort-btn:hover {
    background: #f8f9fa;
    border-color: #00C896;
}

.mobile-sort .sort-btn.active {
    background: #00C896;
    color: white;
    border-color: #00C896;
}

.mobile-sort .sort-btn i {
    font-size: 10px;
}

/* Показываем мобильную фильтрацию на планшетах и мобильных устройствах */
@media (max-width: 1024px) {
    .mobile-filters {
        display: block !important;
        margin-bottom: 24px;
        background: #ffffff;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Скрываем десктопный сайдбар на планшетах и мобильных */
    .catalog-sidebar {
        display: none !important;
    }
    
    /* Убираем отступы у основного контента */
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .catalog-main {
        order: 1;
        margin-top: 0;
    }
}

/* Дополнительные стили для планшетной версии */
@media (max-width: 1024px) and (min-width: 769px) {
    .mobile-filters {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .mobile-search .search-box input {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .mobile-search .search-btn {
        padding: 14px 18px;
    }
    
    .mobile-controls {
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .mobile-price-filter label,
    .mobile-sort label {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .mobile-price-filter .price-filter input[type="number"] {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .mobile-sort .sort-btn {
        min-width: 120px;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .mobile-sort .sort-btn i {
        font-size: 11px;
    }
    
}   

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .mobile-filters {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .mobile-controls {
        gap: 12px;
    }
    
    .mobile-sort .sort-buttons {
        gap: 6px;
    }
    
    .mobile-sort .sort-btn {
        min-width: 80px;
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .mobile-price-filter .price-filter input[type="number"] {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    /* Мобильные стили для страниц с текстовым контентом */
    .page-content {
        padding: 140px 0 50px;
    }
    
    .page-header {
        margin-bottom: 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .text-content {
        margin: 0 16px;
        padding: 24px;
        border-radius: 12px;
    }
    
    .page-text {
        font-size: 15px;
    }
}

/* Стили для связанных товаров в модальном окне */
.related-products-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.related-products-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-products-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #00C896;
    border-radius: 2px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    /* max-height: 200px; */
    overflow-y: auto;
}

.related-product-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.related-product-item:hover {
    border-color: #00C896;
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.15);
}

.related-product-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.related-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00C896;
}

/* Адаптивность для связанных товаров */
@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .related-product-item {
        padding: 8px;
    }
    
    .related-product-image {
        height: 60px;
    }
    
    .related-product-name {
        font-size: 0.8rem;
    }
    
    .related-product-price {
        font-size: 0.85rem;
    }
}

/* Стили для карусели похожих товаров */
.related-products-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.related-products-horizontal {
    display: flex;
    gap: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    flex: 1;
}

.related-products-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    flex-shrink: 0;
    width: 100%;
}

/* Товары в блоках должны выглядеть как в обычной сетке */
.related-products-block .related-product-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.related-products-block .related-product-item:hover {
    border-color: #00C896;
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.15);
}

.related-products-block .related-product-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.related-products-block .related-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-products-block .related-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-products-block .related-product-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00C896;
}

.related-products-arrow {
    position: absolute;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-products-prev {
    left: -14px;
}

.related-products-next {
    right: -14px;
}

.related-products-arrow:hover {
    background: #00C896;
    border-color: #00C896;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.3);
}

.related-products-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
}

.related-products-arrow:disabled:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    box-shadow: none;
}

/* Адаптивность для карусели похожих товаров */
@media (max-width: 768px) {
    .related-products-block {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
        min-width: calc(2 * 120px + 10px); /* 2 товара по 120px + отступ */
    }
    
    .related-products-block .related-product-item {
        padding: 8px;
    }
    
    .related-products-block .related-product-image {
        height: 60px;
    }
    
    .related-products-block .related-product-name {
        font-size: 0.8rem;
    }
    
    .related-products-block .related-product-price {
        font-size: 0.85rem;
    }
    
    .related-products-arrow {
        width: 24px;
        height: 24px;
    }
    
    .related-products-prev {
        left: -12px;
    }
    
    .related-products-next {
        right: -12px;
    }
}

/* Стили для кнопок количества товара */
/* .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #374151;
    min-width: 50px;
    height: 50px;
}

.quantity-btn:hover {
    background: #e5e7eb;
    color: #00C896;
}

.quantity-btn:active {
    background: #d1d5db;
    transform: scale(0.95);
}

.quantity-btn.quantity-decrease {
    border-right: 1px solid #d1d5db;
}

.quantity-btn.quantity-increase {
    border-left: 1px solid #d1d5db;
}

.quantity-input {
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 16px;
    width: 80px;
    background: white;
    color: #374151;
    outline: none;
}

.quantity-input:focus {
    outline: none;
    box-shadow: none;
}



.max-quantity {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
} */
.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}
/* Новые аккуратные стили для кнопок количества товара */
.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

/* Выравнивание чекбокса выбора товара в корзине */
.cart-item .cart-item-select-wrap {
    display: flex;
    align-items: flex-start;
    padding-top: 6px;
    margin-right: 6px;
}

/* Стилизация чекбоксов выбора товаров */
.cart-item .cart-item-select-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00C896;
    cursor: pointer;
}

/* Кнопка "Поделиться корзиной" — отступ снизу на мобилке */
@media (max-width: 480px) {
    #cartModal .modal-footer .btn-share-cart { margin-bottom: 8px; }
}

/* Стили способов оплаты в форме заказа */
.payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.payment-option {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.payment-option:hover { border-color: #00C896; box-shadow: 0 3px 12px rgba(0,0,0,0.06); }
.payment-option.selected { border-color: #00C896; background: rgba(0,200,150,0.06); }
.payment-option input[type="radio"] { accent-color: #00C896; width: 16px; height: 16px; }
.payment-label { font-weight: 600; font-size: 14px; color: #2b2b2b; }

@media (max-width: 480px) {
    .payment-methods { gap: 10px; }
    .payment-option { padding: 10px 12px; gap: 8px; }
}

.quantity-btn {
    background: #f9f9f9;
    border: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #e9e9e9;
    color: #00C896;
}

.quantity-btn:active {
    background: #ddd;
    transform: scale(0.95);
}

.quantity-btn.quantity-decrease {
    border-right: 1px solid #ddd;
}

.quantity-btn.quantity-increase {
    border-left: 1px solid #ddd;
}

.quantity-controls .quantity-input {
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    width: 38px;
    height: 26px;
    padding: 0;
    background: white;
    color: #333;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls .quantity-input:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .quantity-btn {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .quantity-controls .quantity-input {
        width: 34px;
        height: 24px;
        font-size: 13px;
    }
    
    /* Мобильная версия: кнопка "В корзину" на отдельной строке */
    .product-actions {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    
    .quantity-selector {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .quantity-selector label {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
        min-width: 60px !important;
    }
    
    .max-quantity {
        font-size: 0.65rem !important;
        white-space: nowrap !important;
    }
    
    .btn-cart {
        width: 100% !important;
        margin-top: 4px !important;
        font-size: 0.8rem !important;
        padding: 8px !important;
    }
}

/* Компактная строка контролов в корзине */
.cart-controls-inline {
    margin-top: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.control-inline { display: inline-flex; align-items: center; gap: 6px; }
.mini-label { font-size: 11px; color: #666; white-space: nowrap; }
.mini-hint { color: #888; font-size: 10px; }
.quantity-controls-sm .quantity-btn { width: 24px; height: 24px; }
.quantity-controls-sm .quantity-input { width: 34px; height: 24px; font-size: 12px; }

/* Мобильное выравнивание контролов Дн./Шт. в корзине */
@media (max-width: 480px) {
    .cart-controls-inline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
        align-items: center;
    }
    .cart-controls-inline .control-inline {
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: flex-start;
    }
    .cart-controls-inline .mini-hint { grid-column: 1 / -1; }
    .mini-label { min-width: 22px; text-align: right; }
    .quantity-controls-sm { white-space: nowrap; }
    .quantity-controls-sm .quantity-btn { width: 22px; height: 22px; }
    .quantity-controls-sm .quantity-input { width: 30px; height: 22px; font-size: 12px; }
}

/* Стили для уведомления о согласии с обработкой персональных данных */
.privacy-notice {
    font-size: 12px;
    color: #666;
    margin: 10px 0 30px 0;
    line-height: 1.4;
}

.privacy-notice a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-notice {
        font-size: 11px;
        margin: 8px 0;
    }
}

/* Стили для индикатора загрузки */
.loading-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 10;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.loading-indicator i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-50%) translateX(10px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Стили для контейнеров с бесконечной прокруткой */
.products-container {
    position: relative;
    overflow: hidden;
}

.products-container .product-card {
    transition: transform 0.3s ease;
}

.products-container .product-card:hover {
    transform: translateY(-2px);
}

/* Стили для окна согласия на cookies */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #00C896;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #00C896;
}

.cookie-consent-text p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.cookie-consent-text p:last-child {
    margin-bottom: 0;
}

.cookie-consent-text a {
    color: #00C896;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #00B085;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-accept {
    background: linear-gradient(135deg, #00C896 0%, #00B085 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 200, 150, 0.3);
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #00B085 0%, #009A75 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.4);
}

.cookie-decline {
    background: transparent;
    color: #cccccc;
    border: 2px solid #666666;
}

.cookie-decline:hover {
    background: #666666;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 102, 102, 0.3);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-consent-text h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .cookie-consent-text p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 12px;
    }
    
    .cookie-consent-text h4 {
        font-size: 15px;
    }
    
    .cookie-consent-text p {
        font-size: 12px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 12px;
    }
}