/* CSS Variables - Design System */
:root {
    /* Colors */
    --bg-primary: #F9F9F9;
    --bg-secondary: #F5EEDE;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --accent-green: #4CAF50;
    --accent-green-dark: #388E3C;
    --accent-green-light: #66BB6A;
    --accent-purple: #9933CC;
    --accent-blue: #3399FF;
    --border-color: #E5E5E5;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-large: 28px;
    --border-radius-card: 20px;
    --transition: 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: #F5EEDE;
    background-image: 
        /* Сетка карточек товаров - основной паттерн */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.08) 280px,
            rgba(255, 255, 255, 0.08) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.08) 320px,
            rgba(255, 255, 255, 0.08) 360px
        ),
        /* Тени карточек */
        radial-gradient(circle at 160px 200px, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 480px 400px, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 800px 600px, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        /* Градиенты для глубины */
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 140, 143, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, rgba(249, 249, 249, 0.4) 0%, rgba(245, 238, 222, 0.7) 100%);
    background-size: 
        360px 360px,
        360px 360px,
        640px 640px,
        640px 640px,
        640px 640px,
        100% 100%,
        100% 100%,
        100% 100%;
    background-position: 
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0,
        0 0;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Дополнительный слой с контурами карточек - убран для исправления скролла */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: 900;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 900;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 700;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-large);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), 0 0 20px rgba(76, 175, 80, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--accent-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4), 0 0 30px rgba(76, 175, 80, 0.25);
    text-shadow: none;
    animation: none;
}

.btn--large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-large);
}

/* Зеленая кнопка "Заказать сейчас" в шапке */
.header__btn.btn--primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    animation: none;
}

.header__btn.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--accent-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    text-shadow: none;
    animation: none;
}

/* Кнопка "Получить каталог" - белый фон, черная тень, зеленый контур */
.hero__cta.btn--primary {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid var(--accent-green);
    color: #1A1A1A;
    font-weight: var(--font-weight-bold);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.2) !important;
    animation: none;
}

.hero__cta.btn--primary:hover {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: 1px solid var(--accent-green);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 0, 0, 0.3) !important;
    text-shadow: none;
    animation: none;
}

/* Scroll animation for header button - Desktop */
@media (min-width: 768px) {
    .header__btn {
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }

    .header__btn.scrolled {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: auto !important;
        min-width: 140px;
        height: 60px;
        padding: 0 16px 0 12px !important;
        border-radius: 30px;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        overflow: hidden;
        animation: none;
        transform-origin: center;
        font-size: 0;
        line-height: 0;
        text-indent: -9999px;
    }

    .header__btn.scrolled::before {
        content: '';
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px 24px;
        flex-shrink: 0;
        display: block !important;
    }

    .header__btn.scrolled span {
        display: inline-block !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        opacity: 1 !important;
        visibility: visible !important;
        white-space: nowrap;
        animation: none;
        transform: translateX(0);
        text-indent: 0;
        line-height: normal;
    }

    .header__btn.scrolled::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
        border-radius: 12px;
        z-index: -1;
    }
}

/* Header */
.header {
    position: static;
    background-color: #1A1A1A;
    background-image: 
        repeating-linear-gradient(45deg, #1A1A1A 0px, #1A1A1A 2px, #0F0F0F 2px, #0F0F0F 4px),
        repeating-linear-gradient(-45deg, #1A1A1A 0px, #1A1A1A 2px, #0F0F0F 2px, #0F0F0F 4px);
    background-size: 4px 4px, 4px 4px;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
}

.header__top-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.header__top-right .header__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__top-right .header__phone {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all var(--transition);
}

.header__top-right .header__phone:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.header__logo-label {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    white-space: nowrap;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}

.header__logo-label:hover {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.logo-label__pro {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.6), 0 0 20px rgba(76, 175, 80, 0.4);
    font-weight: 900;
}

.logo-label__text {
    color: #FFFFFF;
    font-weight: 700;
}

.header__about-text {
    display: flex;
    align-items: center;
}

.header__about-link {
    color: #FFFFFF;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    transition: color var(--transition);
    text-decoration: none;
}

.header__about-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5), 0 0 16px rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

.header__nav {
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xs);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    justify-content: center;
}

.nav__link {
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition);
    color: #FFFFFF;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-green-light));
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6), 0 0 20px rgba(76, 175, 80, 0.4);
    transition: width var(--transition), box-shadow var(--transition);
}

.nav__link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5), 0 0 16px rgba(76, 175, 80, 0.3);
}

.nav__link:hover::after {
    width: 100%;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.6), 0 0 24px rgba(76, 175, 80, 0.4);
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header__contacts-main {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

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

.header__social-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Скрыть бургер-меню в десктопной версии, если он внутри header__contacts */
.header__contacts .header__burger {
    display: none;
}

.header__phone {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-large);
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all var(--transition);
    animation: text-glow 3s ease-in-out infinite;
}

.header__phone:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.header__burger--mobile {
    display: none;
}

.header__burger span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all var(--transition);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 249, 249, 0.6);
    background-image: 
        /* Сетка карточек в hero */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.1) 280px,
            rgba(255, 255, 255, 0.1) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.1) 320px,
            rgba(255, 255, 255, 0.1) 360px
        ),
        radial-gradient(ellipse at top, rgba(76, 175, 80, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(124, 140, 143, 0.02) 0%, transparent 60%);
    background-size: 360px 360px, 360px 360px, 100% 100%, 100% 100%;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background-color: transparent;
}

.hero__bg-image {
    display: none; /* фон-картинку полностью скрываем */
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* убираем затемнение */
    z-index: 1;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-md);
    color: #1A1A1A;
    text-shadow: none;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-size: var(--font-size-large);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-shadow: none;
    font-weight: 500;
    line-height: 1.6;
}

.hero__usp {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.usp__badge {
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--accent-green);
    border-radius: 16px;
    color: #1A1A1A;
    font-weight: var(--font-weight-bold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 15px rgba(76, 175, 80, 0.15);
    transition: all var(--transition);
    animation: none;
    backdrop-filter: blur(10px);
}

.usp__badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 0 20px rgba(76, 175, 80, 0.25);
    border-color: var(--accent-green-light);
    background-color: rgba(255, 255, 255, 1);
}

.hero__cta {
    margin-top: var(--spacing-sm);
}

/* Section Styles */
.section__title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
    text-transform: uppercase;
    color: #1A1A1A;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1A1A1A;
    text-shadow: none;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6), 0 0 20px rgba(76, 175, 80, 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
}

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background-color: rgba(249, 249, 249, 0.5);
    background-image: 
        /* Сетка карточек продолжается в секциях */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.06) 280px,
            rgba(255, 255, 255, 0.06) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.06) 320px,
            rgba(255, 255, 255, 0.06) 360px
        ),
        radial-gradient(circle at 50% 0%, rgba(76, 175, 80, 0.015) 0%, transparent 50%);
    background-size: 360px 360px, 360px 360px, 100% 200px;
    backdrop-filter: blur(0.3px);
    z-index: 1;
    transition: background-color 0.3s ease;
}

section:first-of-type {
    padding-top: calc(var(--spacing-xxl) + var(--spacing-lg));
}

section:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

/* About Section */
.about__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.about__advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-card {
    background-color: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-card);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 0 25px rgba(76, 175, 80, 0.12);
    border-color: var(--accent-green);
}

.advantage-card__icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-card__icon .icon-3d {
    width: 64px;
    height: 64px;
    color: var(--accent-green);
    transition: transform var(--transition), filter var(--transition), color var(--transition);
    filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.4)) drop-shadow(0 0 15px rgba(76, 175, 80, 0.3));
    animation: icon-glow 3s ease-in-out infinite;
}

.advantage-card:hover .advantage-card__icon .icon-3d {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(76, 175, 80, 0.6)) drop-shadow(0 0 30px rgba(76, 175, 80, 0.5));
    color: var(--accent-green-light);
    animation: icon-glow 1.5s ease-in-out infinite;
}

.advantage-card__title {
    color: #1A1A1A;
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
    transition: all var(--transition);
}

.advantage-card:hover .advantage-card__title {
    text-shadow: none;
}

.advantage-card__text {
    color: var(--text-secondary);
}

.about__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery__item {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition);
    display: block;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.05);
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-item__number {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: #1A1A1A;
    margin-bottom: var(--spacing-xs);
    text-shadow: none;
    transition: all var(--transition);
}

.stat-item:hover .stat-item__number {
    transform: scale(1.1);
    text-shadow: none;
}

.stat-item__label {
    color: var(--text-secondary);
    font-size: var(--font-size-large);
}

/* Catalog Section */
.catalog__category-section {
    margin-bottom: var(--spacing-xl);
}

.catalog__category-section:last-child {
    margin-bottom: 0;
}

.catalog__category-title {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--spacing-md);
    display: block;
    text-align: center;
}

.catalog__category-section[data-category="all"] .catalog__category-title {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    border-color: var(--accent-green);
    color: #000000;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5), 0 0 25px rgba(76, 175, 80, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}

.catalog__scroll-container {
    position: relative;
    overflow: hidden; /* рамка статична, скролл внутри */
}

.catalog__scroll-inner {
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 0;
}

.catalog__scroll-inner::-webkit-scrollbar {
    display: none; /* WebKit - скрываем скроллбар, но сохраняем прокрутку */
}

.catalog__cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
}

/* Кнопки горизонтальной навигации каталога - скрыты, так как горизонтальный скролл убран */
.catalog__scroll-nav-btn {
    display: none !important;
}

.catalog__scroll-nav-btn--left {
    left: 8px;
}

.catalog__scroll-nav-btn--right {
    right: 8px;
}

.catalog__scroll-nav-btn--visible {
    opacity: 1;
    pointer-events: auto;
}

.catalog__scroll-nav-btn:hover {
    background: rgba(76, 175, 80, 0.9);
    color: #000000;
    transform: translateY(-50%) scale(1.05);
}

.product-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    width: 100%;
    will-change: transform;
    position: relative;
    /* Фон с сеткой карточек как на основном фоне */
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 70px,
            rgba(255, 255, 255, 0.2) 70px,
            rgba(255, 255, 255, 0.2) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 255, 255, 0.2) 80px,
            rgba(255, 255, 255, 0.2) 90px
        ),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, rgba(249, 249, 249, 0.8) 0%, rgba(245, 238, 222, 0.6) 100%);
    background-size: 
        90px 90px,
        90px 90px,
        100% 100%,
        100% 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.12),
        0 0 25px rgba(76, 175, 80, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-green);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F9F9F9 0%, #F5F5F5 50%, #E8E8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    display: block;
}

.product-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.product-card__content {
    padding: var(--spacing-md);
}

.product-card__title {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-card__description {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    margin-bottom: var(--spacing-sm);
}

.product-card__price {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: #1A1A1A;
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
    transition: all var(--transition);
}

.product-card:hover .product-card__price {
    text-shadow: none;
    transform: scale(1.05);
}

.product-card__availability {
    font-size: var(--font-size-small);
    color: #1A1A1A;
    text-shadow: none;
    transition: all var(--transition);
}

.product-card:hover .product-card__availability {
    text-shadow: none;
}

/* Trust Section */
.trust__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.trust__subtitle {
    margin-bottom: var(--spacing-md);
    color: #1A1A1A;
    text-transform: uppercase;
    font-weight: 700;
    font-size: var(--font-size-large);
    position: relative;
    padding-bottom: var(--spacing-xs);
    text-shadow: none;
}

.trust__subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-green-light));
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6), 0 0 20px rgba(76, 175, 80, 0.4);
    animation: glow-pulse 2s ease-in-out infinite;
}

.reviews__slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: var(--spacing-md) 0;
    scroll-snap-type: x mandatory;
}

.review-card {
    min-width: 300px;
    background-color: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-card);
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 0 25px rgba(76, 175, 80, 0.12);
    border-color: var(--accent-green);
}

.review-card__text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.review-card__author {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    transition: all var(--transition);
}

.review-card:hover .review-card__author {
    color: var(--text-primary);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.portfolio__item {
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-card);
    overflow: hidden;
}

.portfolio__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9F9F9 0%, #E8E8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.portfolio__item:hover .portfolio__placeholder {
    border-color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.video__container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-card);
}

.video__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9F9F9 0%, #E8E8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.video__container:hover .video__placeholder {
    border-color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.partners__list {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

/* По просьбе заказчика временно скрываем блок с партнёрами */
.trust__partners {
    display: none;
}

.partner__logo {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    min-width: 150px;
    text-align: center;
    color: var(--text-secondary);
}

/* Advantages Section */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-item {
    background-color: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-card);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.advantage-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 30px rgba(76, 175, 80, 0.15);
    border-color: var(--accent-green);
}

.advantage-item__icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantage-item__icon .icon-3d {
    width: 64px;
    height: 64px;
    color: var(--accent-green);
    transition: transform var(--transition), filter var(--transition), color var(--transition);
    filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.4)) drop-shadow(0 0 15px rgba(76, 175, 80, 0.3));
    animation: icon-glow 3s ease-in-out infinite;
}

.advantage-item:hover .advantage-item__icon .icon-3d {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(76, 175, 80, 0.6)) drop-shadow(0 0 30px rgba(76, 175, 80, 0.5));
    color: var(--accent-green-light);
    animation: icon-glow 1.5s ease-in-out infinite;
}

.advantage-item__title {
    color: #1A1A1A;
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
    transition: all var(--transition);
}

.advantage-item:hover .advantage-item__title {
    text-shadow: none;
}

.advantage-item__text {
    color: var(--text-secondary);
}

/* Cooperation Section */
.cooperation {
    background-color: rgba(249, 249, 249, 0.5) !important;
    background-image: 
        /* Сетка карточек в cooperation */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.06) 280px,
            rgba(255, 255, 255, 0.06) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.06) 320px,
            rgba(255, 255, 255, 0.06) 360px
        ),
        radial-gradient(circle at 50% 0%, rgba(76, 175, 80, 0.015) 0%, transparent 50%);
    background-size: 360px 360px, 360px 360px, 100% 200px;
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.cooperation .section__title {
    color: #1A1A1A !important;
    text-shadow: none;
}

.cooperation .table-icon-wrapper {
    color: #1A1A1A;
}

.cooperation .table {
    background-color: #FFFFFF;
}

.cooperation .table th {
    background-color: var(--accent-green) !important;
    color: #FFFFFF !important;
}

.cooperation .table td {
    color: #1A1A1A !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
}

.table thead {
    background-color: var(--accent-green) !important;
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.table th {
    color: #FFFFFF !important;
    font-weight: var(--font-weight-bold);
    background-color: var(--accent-green) !important;
}

.table td {
    color: #1A1A1A;
    background-color: #FFFFFF;
}

.table-icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

.cooperation .table-icon {
    filter: brightness(0) saturate(100%);
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cooperation .table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Pricing Section */
.pricing__tabs {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.pricing__tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

.pricing__tab:hover,
.pricing__tab.active {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    border-color: var(--accent-green);
    color: #000000;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5), 0 0 25px rgba(76, 175, 80, 0.3);
    text-shadow: none;
    transform: scale(1.05);
    animation: glow-pulse 2s ease-in-out infinite;
}

.pricing {
    background-color: rgba(249, 249, 249, 0.5) !important;
    background-image: 
        /* Сетка карточек в pricing */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.06) 280px,
            rgba(255, 255, 255, 0.06) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.06) 320px,
            rgba(255, 255, 255, 0.06) 360px
        ),
        radial-gradient(circle at 50% 0%, rgba(76, 175, 80, 0.015) 0%, transparent 50%);
    background-size: 360px 360px, 360px 360px, 100% 200px;
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.pricing .section__title {
    color: #1A1A1A !important;
    text-shadow: none;
}

.pricing .pricing__tab {
    background-color: #F5F5F5;
    color: #1A1A1A !important;
    border-color: rgba(0, 0, 0, 0.2);
}

.pricing .pricing__tab:hover,
.pricing .pricing__tab.active {
    color: #000000 !important;
}

.pricing__content {
    margin-bottom: var(--spacing-xl);
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: var(--spacing-lg);
}

.pricing__content table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    color: #1A1A1A;
}

.pricing__content table th {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    padding: var(--spacing-md);
    text-align: left;
    font-weight: var(--font-weight-bold);
}

.pricing__content table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #1A1A1A;
}

.pricing__content table tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pricing__special-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #1A1A1A;
    text-shadow: none;
}

.special-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.special-offer {
    background-color: #FFFFFF;
    padding: var(--spacing-lg);
    color: #1A1A1A;
    border-radius: var(--border-radius-card);
    border: 2px solid var(--accent-green);
    position: relative;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2), inset 0 0 20px rgba(76, 175, 80, 0.05);
    transition: all var(--transition);
}

.special-offer:hover {
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4), 0 0 40px rgba(76, 175, 80, 0.2), inset 0 0 30px rgba(76, 175, 80, 0.1);
    transform: translateY(-5px) scale(1.02);
    border-width: 3px;
}

.special-offer__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: #FFFFFF;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--font-size-small);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4), 0 0 25px rgba(76, 175, 80, 0.25);
    text-shadow: none;
    animation: none;
}

.special-offer__title {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: #1A1A1A;
}

.special-offer__text {
    color: #666666;
}

/* Footer */
.footer {
    background-color: rgba(249, 249, 249, 0.5);
    background-image: 
        /* Сетка карточек в footer */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 280px,
            rgba(255, 255, 255, 0.06) 280px,
            rgba(255, 255, 255, 0.06) 320px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 320px,
            rgba(255, 255, 255, 0.06) 320px,
            rgba(255, 255, 255, 0.06) 360px
        ),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.015) 0%, transparent 50%);
    background-size: 360px 360px, 360px 360px, 100% 100%;
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer__title {
    color: #1A1A1A;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-large);
    text-shadow: none;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer__icon .icon-small {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
    transition: transform var(--transition), filter var(--transition), color var(--transition);
    filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3)) drop-shadow(0 0 10px rgba(76, 175, 80, 0.2));
    animation: icon-glow 3s ease-in-out infinite;
}

.footer__contact:hover .footer__icon .icon-small {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 12px rgba(76, 175, 80, 0.6)) drop-shadow(0 0 20px rgba(76, 175, 80, 0.4));
    color: var(--accent-green-light);
    animation: icon-glow 1s ease-in-out infinite;
}

.footer__link {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--accent-green);
}

.footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
}

.social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.social__link:hover {
    background-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.social__icon-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform var(--transition);
}

.social__link:hover .social__icon-frame {
    transform: scale(1.32);
}

/* В подвале убираем любые дополнительные фоны/рамки вокруг иконок соцсетей */
.footer__social .social__link,
.footer__social .social__link:hover {
    background-color: transparent;
    box-shadow: none;
}

.social__icon-frame::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    opacity: 0.9;
}

.social__icon-frame img.social__icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.social__icon-frame--whatsapp::before {
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.4) 100%);
}

.social__icon-frame--telegram::before {
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.social__icon-frame--vk::before {
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.social__icon {
    width: 32px;
    height: 32px;
    transition: transform var(--transition), filter var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
    object-fit: contain;
}

.social__link:hover .social__icon {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.social__icon.icon-small {
    width: 40px;
    height: 40px;
}

/* Brand colors for social icons */
.social__link[aria-label="WhatsApp"] .social__icon {
    color: #25D366;
}

.social__link[aria-label="Telegram"] .social__icon {
    color: #3399FF;
}

.social__link[aria-label="VK"] .social__icon {
    opacity: 1;
    filter: none !important;
    width: 40px;
    height: 40px;
    display: block;
}

.social__link[aria-label="VK"]:hover .social__icon {
    filter: drop-shadow(0 4px 8px rgba(76, 117, 163, 0.5)) !important;
    transform: scale(1.15) translateY(-2px);
}

.footer__map-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer__map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.footer__map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    position: relative;
}

@media (max-width: 768px) {
    .footer__map {
        min-height: 50vh;
    }
}

/* Модальное окно с картой */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.map-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.map-modal__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.map-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.map-modal__close:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.map-modal__map {
    width: 100%;
    height: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .map-modal__content {
        width: 95%;
        height: 90vh;
    }
}

.map__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background-color: #FFFFFF;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-card);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2001;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 40px rgba(76, 175, 80, 0.1);
    backdrop-filter: blur(10px);
}

.modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    color: var(--accent-green);
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.8), 0 0 30px rgba(76, 175, 80, 0.6);
    transform: scale(1.2) rotate(90deg);
}

.modal__title {
    margin-bottom: var(--spacing-lg);
    color: #1A1A1A;
    text-align: center;
    text-shadow: none;
}

/* Product Modal */
.product-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #FFFFFF;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 70px,
            rgba(249, 249, 249, 0.3) 70px,
            rgba(249, 249, 249, 0.3) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(249, 249, 249, 0.3) 80px,
            rgba(249, 249, 249, 0.3) 90px
        ),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%);
    background-size: 90px 90px, 90px 90px, 100% 100%;
}

.product-modal__header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.product-modal__title {
    font-size: var(--font-size-xxl);
    color: #1A1A1A;
    margin-bottom: var(--spacing-sm);
    text-align: center;
    text-shadow: none;
}

.product-modal__size {
    font-size: var(--font-size-large);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.product-modal__body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.product-modal__description {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.8;
    padding: var(--spacing-lg);
    background-color: var(--bg-primary);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 70px,
            rgba(255, 255, 255, 0.1) 70px,
            rgba(255, 255, 255, 0.1) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 255, 255, 0.1) 80px,
            rgba(255, 255, 255, 0.1) 90px
        ),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%);
    background-size: 90px 90px, 90px 90px, 100% 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    word-break: break-word;
    overflow-wrap: anywhere;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-modal__image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #E8E8E8 100%);
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 70px,
            rgba(255, 255, 255, 0.1) 70px,
            rgba(255, 255, 255, 0.1) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 255, 255, 0.1) 80px,
            rgba(255, 255, 255, 0.1) 90px
        ),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #E8E8E8 100%);
    background-size: 90px 90px, 90px 90px, 100% 100%, 100% 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-modal__image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__input {
    padding: var(--spacing-sm);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4), 0 0 25px rgba(76, 175, 80, 0.2), inset 0 0 10px rgba(76, 175, 80, 0.1);
    animation: glow-pulse 2s ease-in-out infinite;
}

.form__input::placeholder {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), 0 0 20px rgba(76, 175, 80, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4), 0 0 30px rgba(76, 175, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes glow-pulse-fast {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4), 0 0 40px rgba(76, 175, 80, 0.3), 0 0 60px rgba(76, 175, 80, 0.15);
    }
    50% {
        box-shadow: 0 8px 40px rgba(76, 175, 80, 0.5), 0 0 60px rgba(76, 175, 80, 0.4), 0 0 80px rgba(76, 175, 80, 0.25);
    }
}

@keyframes icon-glow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(76, 175, 80, 0.25)) drop-shadow(0 0 10px rgba(76, 175, 80, 0.15));
    }
    50% {
        filter: drop-shadow(0 6px 12px rgba(76, 175, 80, 0.35)) drop-shadow(0 0 20px rgba(76, 175, 80, 0.25));
    }
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
    }
    50% {
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.6), 0 0 30px rgba(76, 175, 80, 0.4);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Icons general styles */
.icon-3d {
    display: inline-block;
    vertical-align: middle;
}

.icon-small {
    display: inline-block;
    vertical-align: middle;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green-light);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Catalog responsive styles */
@media (max-width: 768px) {
    .product-card {
        min-width: 80vw;
        width: 80vw;
    }
    
    .catalog__cards-wrapper {
        gap: var(--spacing-md);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        min-width: 300px;
        width: 300px;
    }
}

/* Visual scroll indicators for catalog */
.catalog__scroll-container::before,
.catalog__scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 1;
    transition: opacity var(--transition);
}

.catalog__scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
    opacity: 0;
}

.catalog__scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.catalog__scroll-container.scrollable-start::before {
    opacity: 0;
}

.catalog__scroll-container.scrollable-end::after {
    opacity: 0;
}

