:root {
    --primary-color: #2e7d32;
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --secondary-color: #4caf50;
    --text-color: #333;
    --background-color: #f8f9fa;
    --surface-color: #ffffff;
    --footer-bg: rgba(46, 125, 50, 0.95); /* Возвращаем исходный цвет футера */
    --footer-border: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #4caf50, #2e7d32);
    --gradient-2: linear-gradient(45deg, #81C784, #A5D6A7);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-border: rgba(0, 0, 0, 0.1);
}

/* --- Глобальные стили скроллбара --- */
html {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #cccccc #f0f0f0; /* Firefox (ползунок светло-серый, трек очень светло-серый) */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

/* Webkit-браузеры */
body::-webkit-scrollbar {
    width: 5px; /* Делаем еще тоньше */
}

body::-webkit-scrollbar-track {
    background: #f0f0f0; /* Очень светло-серый фон */
}

body::-webkit-scrollbar-thumb {
    background-color: #cccccc; /* Светло-серый ползунок */
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #aaaaaa; /* Чуть темнее при наведении */
}
/* --- Конец глобальных стилей скроллбара --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Навигация */
.navbar {
    background: rgba(255, 255, 255, 0.7);
    position: fixed;
    top: 0; 
    left: 50%; /* ИЗМЕНЕНО: Центрируем сразу */
    transform: translateX(-50%); /* ИЗМЕНЕНО: Центрируем сразу */
    width: 100%;
    max-width: 100vw; /* ДОБАВЛЕНО: Изначально на всю ширину */
    border-radius: 0; /* ДОБАВЛЕНО: Изначально без скругления */
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--nav-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* ИЗМЕНЕНО: Обновляем transition, добавляем width */
    transition: top 0.4s ease-in-out, 
                max-width 0.4s ease-in-out, 
                border-radius 0.4s ease-in-out, 
                padding 0.4s ease-in-out,
                background-color 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out,
                border-bottom 0.4s ease-in-out;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

.navbar.peninsula {
    top: 20px; 
    width: 100%;
    max-width: 1200px;
    border-radius: 25px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); 
    border-bottom: none; 
    padding: 10px 15px; 
    background: rgba(255, 255, 255, 0.85); 
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1rem;
    transition: opacity 0.3s ease;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%);
}

/* Главный экран */
.hero {
    /* Уменьшаем верхний и нижний отступы */
    padding: 6rem 2rem 4rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Новые стили для альтернативного параллакса */
.hero-parallax-new {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    perspective: 1000px;
}

.parallax-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease; /* Убрали opacity */
    transform: scale(1.1);
    opacity: 0; /* Добавили opacity 0 */
    visibility: hidden; /* Добавили visibility hidden */
}

.parallax-image.active {
    /* opacity: 1; - Убрали, GSAP управляет autoAlpha */
    /* Класс active теперь можно использовать для других целей, например, для запуска анимации parallaxDeep */
    animation: parallaxDeep 15s infinite alternate;
}

@keyframes parallaxDeep {
    0% {
        transform: scale(1.1) translateZ(0px);
    }
    100% {
        transform: scale(1.2) translateZ(50px);
    }
}

.parallax-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.parallax-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdbdbd; /* ИЗМЕНЕНО: Серый цвет для неактивных точек */
    cursor: pointer;
    transition: all 0.3s ease;
}

.parallax-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Раздел контактов */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item .material-icons {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    background: rgba(76, 175, 80, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Возвращаем селектор для Material Icons и убираем лишние стили */
.social-link .material-icons {
    margin-right: 0.5rem;
    /* vertical-align: middle; */ /* Возможно, понадобится для Material Icons */
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quick-contact {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quick-contact-item {
    margin-bottom: 1.5rem;
}

.quick-contact-item input,
.quick-contact-item textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quick-contact-item textarea {
    min-height: 120px;
    resize: vertical;
}

.quick-contact-item input:focus,
.quick-contact-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.hero-image {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0) 70%);
    animation: gradient-rotate 20s linear infinite;
    z-index: -1;
}

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

.leaf-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.leaf-image {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.leaf-path {
    animation: pulse 4s ease-in-out infinite;
}

.vein {
    animation: vein-pulse 4s ease-in-out infinite;
}

.side-veins {
    animation: veins-pulse 4s ease-in-out infinite;
}

.texture {
    animation: texture-move 8s ease-in-out infinite;
}

.particles {
    animation: particles-float 6s ease-in-out infinite;
}

.particle {
    animation: particle-pulse 3s ease-in-out infinite;
}

.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 2;
}

.marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: rgba(46, 125, 50, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.marker-label {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.marker:hover .marker-label {
    opacity: 1;
    transform: translateY(0);
}

.marker:nth-child(even) .marker-label {
    transform: translateY(-40px);
}

/* Параллакс секция */
.parallax-section {
    position: relative;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
    padding: 8rem 0;
}

.parallax-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.parallax-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-block {
    position: relative;
    z-index: 2;
}

.subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.text-block h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-block p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 500px;
    opacity: 0.8;
}

.animation-block {
    position: relative;
    height: 500px;
}

.icons-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.icon-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-item .material-icons {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.icon-item .icon-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(46, 125, 50, 0.2);
}

.icon-item.highlight {
    background: var(--gradient-1);
}

.icon-item.highlight .material-icons,
.icon-item.highlight .icon-label {
    color: white;
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.connection-line {
    stroke: var(--primary-light);
    stroke-width: 2;
    stroke-dasharray: 8;
    opacity: 0.5;
    animation: dash 30s linear infinite;
}

/* Секция продуктов */
.products {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 1rem auto;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2.5rem; /* Увеличил паддинги для большего пространства */
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex; /* Добавлено, если не было или для явности */
    flex-direction: column; /* Добавлено, если не было или для явности */
    align-items: center; /* Центрируем содержимое по горизонтали */
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 24px 24px 0 0;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem; /* Добавлен отступ снизу */
}

.product-card-content {
    width: 100%; /* Добавлено */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Позволяет контенту занять оставшееся место */
}

.product-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    text-decoration: none !important; /* Убираем подчеркивание */
}

.btn::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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

/* Специальный класс для кнопки в hero-секции */
.hero-btn-special {
    overflow: hidden; /* Применяем overflow здесь */
}

.hero-btn-special span {
    position: relative;
    z-index: 2; /* Убедимся, что текст над блеском */
}

.hero-btn-special::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;
}

.hero-btn-special:hover::before {
    left: 100%;
}

/* Кнопка остается как есть или стилизуем ее по желанию */
.product-card .btn {
    /* Можно добавить margin-top: auto; чтобы кнопка всегда была внизу, если описание разной длины */
    /* margin-top: auto; */ /* Пока убрали старую кнопку */
    /* align-self: flex-start; */
    /* display: none; */ /* Скрываем старую кнопку полностью */
}

/* Блок с кнопками действий в карточке */
.card-actions {
    display: flex;
    gap: 0.75rem; /* Расстояние между кнопками */
    margin-top: auto; /* Прижимаем к низу */
    padding-top: 1rem; /* Небольшой отступ сверху */
}

.action-btn {
    background: transparent;
    border: 1px solid var(--secondary-color); /* Бордер в цвет темы */
    color: var(--secondary-color);
    border-radius: 50%; /* Круглые кнопки */
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0; /* Убираем внутренний паддинг у кнопки */
}

.action-btn .material-icons {
    font-size: 20px; /* Размер иконки */
}

.action-btn:hover {
    background-color: rgba(46, 125, 50, 0.1); /* Легкий фон при наведении */
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.action-btn.wishlist.active .material-icons {
    /* Стили для активного состояния (например, добавленно в желаемое) */
    font-variation-settings: 'FILL' 1; /* Заливка иконки */
    color: var(--primary-color);
}

/* Футер */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 3rem 2rem 2rem; /* Увеличиваем верхний паддинг, убирая марджин */
    /* margin-top: 4rem; */ /* Убираем внешний отступ */
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
    position: relative;
    display: inline-block; /* Оборачиваем блок по содержимому */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: white;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border);
}

/* Кнопка "Вверх" */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Слайды с текстом */
.text-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    width: 100%;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* Сцены анимации */
.animation-scene {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.animation-scene.active {
    opacity: 1;
}

/* Круговая анимация */
.circle-animation {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit:nth-child(1) { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
.orbit:nth-child(2) { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
.orbit:nth-child(3) { width: 400px; height: 400px; margin: -200px 0 0 -200px; }

.planet {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet .material-icons {
    color: var(--primary-color);
    font-size: 24px;
}

/* Волновая анимация */
.waves-animation {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: var(--gradient-1);
    opacity: 0.1;
    border-radius: 40%;
    transform-origin: 50% 48%;
    animation: wave 12s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: -3s;
    opacity: 0.07;
}

.wave:nth-child(3) {
    animation-delay: -6s;
    opacity: 0.05;
}

.wave-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.leaf-path {
    filter: drop-shadow(0 10px 20px rgba(46, 125, 50, 0.2));
    transition: all 0.3s ease;
}

.leaf-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.leaf-container:hover .leaf-path {
    filter: drop-shadow(0 15px 30px rgba(46, 125, 50, 0.3));
    transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }

    .parallax-content {
        grid-template-columns: 1fr;
    }
    
    .text-block {
        margin-bottom: 2rem;
    }
    
    .text-block p {
        margin: 0 auto;
    }
    
    .animation-block {
        height: 400px;
    }
}

/* Стили для страницы продуктов */
.product-banner {
    position: relative;
    height: 80vh;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Новые стили карусели на странице продуктов */
.new-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 600px;
    margin: 0 auto;
}

.card-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    width: 80%;
    max-width: 1000px;
    height: 480px;
    opacity: 0;
    transform: translateX(100px) scale(0.85);
    transition: all 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 5;
}

.carousel-slide.active ~ .carousel-slide {
    transform: translateX(-100px) scale(0.85);
}

.carousel-card-wrapper {
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.carousel-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.card-image {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.card-content {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.card-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Красивый таймер */
.carousel-fancy-timer {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
}

.timer-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.progress-circle-bg {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.progress-circle {
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transform-origin: center;
    transform: rotate(-90deg);
    animation: timerRing 6s linear infinite;
}

@keyframes timerRing {
    0% {
        stroke-dashoffset: 283;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.current-slide {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.total-slides {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    right: 10px;
    bottom: 10px;
}

/* Миниатюрные карточки */
.carousel-mini-cards {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.mini-card {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-card.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.mini-card:hover {
    opacity: 0.9;
}

/* Адаптивность новой карусели */
@media (max-width: 992px) {
    .carousel-card {
        flex-direction: column;
    }
    
    .card-image, .card-content {
        width: 100%;
    }
    
    .card-image {
        height: 40%;
    }
    
    .card-content {
        height: 60%;
        padding: 1.5rem;
    }
    
    .card-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .card-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Анимации */
@keyframes rotate {
    from { transform: rotateZ(0deg); }
    to { transform: rotateZ(360deg); }
}

@keyframes wave {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        filter: url(#shadow);
    }
    50% {
        filter: url(#glow);
    }
}

@keyframes vein-pulse {
    0%, 100% {
        stroke-opacity: 0.3;
    }
    50% {
        stroke-opacity: 0.6;
    }
}

@keyframes veins-pulse {
    0%, 100% {
        stroke-opacity: 0.2;
    }
    50% {
        stroke-opacity: 0.4;
    }
}

@keyframes texture-move {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@keyframes particles-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes particle-pulse {
    0%, 100% {
        opacity: 0.6;
        r: 2;
    }
    50% {
        opacity: 0.8;
        r: 3;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Обновленные стили для упрощенных контактов */
.contact-simple {
    max-width: 800px;
    margin: 3rem auto 0;
}

.contact-person {
    display: flex;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.person-photo {
    max-width: 200px; /* Фиксированный максимальный размер */
    width: 200px; /* Фиксированная ширина */
    height: 200px; /* Фиксированная высота */
    overflow: hidden;
    border-radius: 50%; /* Полностью круглая форма для контейнера */
    aspect-ratio: 1 / 1; /* Сохраняем пропорции 1:1 */
    margin: 20px; /* Добавляем отступ вокруг фото */
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Центрируем изображение */
    border-radius: 50%; /* Возвращаем 50% для круглой картинки */
}

.person-info {
    width: 65%;
    padding: 2.5rem;
}

.person-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.person-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-details {
    margin: 2rem 0;
}

/* Уточняем стили для соц. кнопок именно в блоке контактов */
.contact-person .social-links {
    margin-top: 1.5rem; /* Немного уменьшим отступ */
    gap: 0.8rem; /* Уменьшим расстояние */
}

.contact-person .social-link {
    min-width: auto; /* Убираем минимальную ширину */
    padding: 0 1.2rem; /* Только горизонтальный padding */
    height: 38px; /* Задаем фиксированную высоту */
    font-size: 0.9rem; /* Можно чуть уменьшить шрифт если нужно */
    display: inline-flex; 
    align-items: center;
}

/* Стили для социальных сетей */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 0.5rem;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивность для контактного блока */
@media (max-width: 768px) {
    .contact-person {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px; /* Добавляем внутренние отступы */
    }
    
    .person-photo, 
    .person-info {
        width: 100%;
    }
    
    .person-photo {
        width: 150px; /* Уменьшаем для мобильных */
        height: 150px; /* Уменьшаем для мобильных */
        margin: 20px auto 30px; /* Увеличиваем отступ снизу */
    }
    
    .person-info {
        text-align: center; /* Центрируем текст */
        padding-top: 0; /* Убираем верхний отступ */
        padding: 0 1rem 1.5rem; /* Уменьшаем отступы со всех сторон */
    }
    
    /* Уменьшаем размер заголовка в мобильной версии */
    .person-info h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
}

/* Улучшенные стили для раздела новинок */
.featured-products {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 3rem;
}

.featured-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.2);
}

.featured-item.large {
    grid-column: span 6;
    grid-row: span 2;
    height: 500px;
}

.featured-item.medium {
    grid-column: span 6;
    height: 240px;
}

.featured-item.small {
    grid-column: span 3;
    height: 240px;
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    z-index: 1;
}

.featured-item:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    color: white;
    z-index: 2;
    transition: transform 0.3s ease;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-bottom 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.featured-item:hover .featured-description {
    max-height: 100px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Строка поиска */
.search-container {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 100px;
    padding: 0.5rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.15);
    border-color: var(--primary-light);
}

.search-icon {
    color: var(--primary-color);
    margin-right: 1rem;
}

.search-box input {
    border: none;
    flex: 1;
    padding: 0.7rem 0;
    font-size: 1rem;
    background: transparent;
}

.search-box input:focus {
    outline: none;
}

.search-clear {
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
}

.search-clear:hover {
    color: var(--primary-color);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.search-box:focus-within + .search-suggestions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
}

.categories {
    background: #f9f9f9;
    padding: 4rem 0;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-tab:hover:not(.active) {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

/* Стили для Coverflow баннера */
.coverflow-banner {
    padding: 5rem 0;
    padding-top: calc(5rem + 80px);
    background: linear-gradient(135deg, #e0f2f7 0%, #f8f9fa 100%);
    overflow: hidden;
}

.coverflow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
    perspective: 1500px;
}

.coverflow-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    margin: 0;
    list-style: none;
}

.coverflow-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 370px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0.7; 
    filter: grayscale(30%) brightness(0.9); 
}

@media (min-width: 992px) {
    .coverflow-card {
        width: 350px;
        height: 460px;
    }
}

.coverflow-card.active {
    opacity: 1;
    filter: none;
    z-index: 10;
    transform: translate3d(-50%, -50%, 50px) !important; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease; 
}

.coverflow-card.active .card-inner {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-inner img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
}

.card-text {
    padding: 1rem;
    text-align: center;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.card-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.coverflow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 20;
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.control-btn .material-icons {
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.control-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Стили для оверлея детального просмотра */
.product-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* На весь экран */
    height: 100vh; /* На весь экран */
    background: rgba(0, 0, 0, 0.6); /* Чуть менее темный фон */
    backdrop-filter: blur(8px); /* Эффект размытия */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1150; /* Увеличиваем z-index, чтобы был гарантированно выше гамбургера */
    display: flex; /* Оставляем flex для дочернего .detail-content */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 0; /* Убираем внутренние отступы если были */
}

.product-detail-overlay.visible {
    opacity: 1;
    pointer-events: auto; /* Активен, когда видим */
}

.close-overlay-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1101;
    transition: background 0.3s ease, transform 0.3s ease;
}

.close-overlay-btn .material-icons {
    color: var(--primary-dark);
    font-size: 28px;
}

.close-overlay-btn:hover {
    background: white;
    transform: scale(1.1);
}

.detail-content {
    background: var(--surface-color);
    width: 100%; /* Занимает всю ширину оверлея */
    height: 100%; /* Занимает всю высоту оверлея */
    border-radius: 0; /* Без скругления для полноэкранного вида */
    box-shadow: none; /* Без тени */
    display: grid;
    grid-template-columns: 45% 55%; /* Немного изменим пропорции для полного экрана */
    overflow: hidden;
    position: relative; /* Добавлено для z-index */
    z-index: 1100; /* Добавлено - на том же уровне, что и фон оверлея */
    pointer-events: auto; /* Добавлено - Явно разрешаем события */
}

.detail-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #eee; /* Фон на случай, если картинка не загрузится */
}

#detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполняет контейнер */
    display: block;
    /* Для Flip важно, чтобы у картинки был ID или уникальный атрибут */
    /* data-flip-id будет устанавливаться динамически */
}

.detail-info {
    padding: 3rem 4rem; /* Увеличим отступы для полного экрана */
    overflow-y: auto; /* Позволяем прокрутку, если контент не влезает */
    display: flex;
    flex-direction: column;
    /* Убираем стили для скроллбара */
    /* scrollbar-width: thin; */
    /* scrollbar-color: red var(--background-color); */
}

/* Убираем стили для Webkit-скроллбара */
/*
.detail-info::-webkit-scrollbar {
    width: 8px;
}

.detail-info::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

.detail-info::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 4px;
    border: 2px solid var(--background-color);
}

.detail-info::-webkit-scrollbar-thumb:hover {
    background-color: darkred;
}
*/

#detail-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

#detail-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.detail-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    /* border-top: 1px solid rgba(0,0,0,0.1); */ /* Убираем старую полосу */
    /* padding-top: 1.5rem; */ /* Убираем старый отступ */
}

.detail-long-description {
    /* margin-top: 1.5rem; */ /* Убираем старый отступ */
    /* padding-top: 1.5rem; */ /* Убираем старый отступ */
    /* border-top: 1px solid rgba(0,0,0,0.1); */ /* Убираем старую разделительную полосу */
    line-height: 1.7; /* Можно увеличить межстрочный интервал для лучшей читаемости */
    margin-bottom: 1.5rem; /* Добавляем отступ снизу перед кнопками */
}

.detail-separator {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 0.75rem 0 1.5rem; /* Уменьшен верхний отступ, нижний оставлен прежним */
}

.detail-gallery {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem; /* Отступ снизу */
    overflow-x: auto; /* Горизонтальная прокрутка */
    margin-bottom: 2rem;
    min-height: 145px; /* Примерно 120px высота картинки + отступы/запас */
    padding-top: 5px; /* Небольшой отступ сверху для тени */
    padding-left: 5px; /* Небольшой отступ слева для тени */
    /* Чтобы scrollbar не добавлял лишнего пространства снизу, если он тонкий */
    scrollbar-gutter: stable both-edges;

    /* Скрытие полосы прокрутки */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.detail-gallery::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.gallery-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent; /* Оставляем прозрачную рамку для сохранения места и плавности */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Изменяем transition */
}

.gallery-image:hover {
    transform: scale(1.05);
    /* border-color: var(--primary-color); */ /* Удаляем изменение border-color */
    box-shadow: 0 0 0 2px var(--primary-color); /* Добавляем контур через box-shadow */
}

.detail-info .btn {
    margin-top: auto; /* Кнопка прижимается к низу */
    align-self: flex-start;
}

/* Адаптивность для оверлея */
@media (max-width: 900px) {
    .detail-content {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        height: 100%; /* Все еще на всю высоту */
        width: 100%; /* Все еще на всю ширину */
        overflow-y: auto; /* Добавляем скролл на весь контент оверлея, если не влезает */
    }
    
    .detail-image-container {
        height: 40vh; /* Уменьшаем высоту изображения */
        min-height: 250px; /* Минимальная высота */
    }

    .detail-info {
        padding: 1.5rem; /* Уменьшаем паддинг для мобильных */
        overflow-y: visible; /* Отключаем скролл внутри инфо, так как он теперь на .detail-content */
    }

    #detail-title {
        font-size: 1.8rem; /* Уменьшаем заголовок */
    }

    #detail-description {
        font-size: 1rem; /* Уменьшаем текст описания */
        margin-bottom: 1.5rem;
    }

    .detail-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        padding-top: 1rem;
    }

    .detail-gallery {
        margin-bottom: 1.5rem;
    }

    .gallery-image {
        width: 80px;
        height: 80px;
    }

    .detail-info .btn,
    .share-overlay-btn { /* Применяем и к кнопке Поделиться */
        align-self: stretch; /* Растягиваем кнопку */
        text-align: center; /* Центрируем текст в кнопке */
        margin-left: 0; /* Убираем отступ на мобильных */
        margin-top: 10px; /* Добавляем отступ сверху для второй кнопки */
    }

    .detail-actions { /* Если используется контейнер .detail-actions */
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .coverflow-controls {
        display: none; /* Скрываем кнопки навигации карусели на мобильных */
    }
}

/* --- Медиа-запросы для адаптивности --- */
@media (max-width: 768px) {
    /* --- Навбар --- */
    .navbar {
        position: fixed; /* Фиксируем на мобильных */
        top: 0; 
        width: 100%;
        max-width: 100%; /* Убираем ограничение ширины */
        border-radius: 0; /* Убираем скругление */
        padding: 0.75rem 1rem; /* Уменьшаем паддинг */
        background: rgba(255, 255, 255, 0.95); /* Делаем фон менее прозрачным */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: none; /* Отключаем анимацию "острова" */
    }

    .navbar.peninsula {
        /* Переопределяем стили острова, чтобы они не применялись */
        top: 0;
        max-width: 100%;
        border-radius: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .nav-content {
        padding: 0 1rem; 
        width: 100%;
        justify-content: space-between; /* Лого слева, гамбургер справа */
        align-items: center; /* ВЫРАВНИВАЕМ по вертикали */
    }
    
    .logo-img {
        height: 35px; 
    }

    .nav-links { 
        display: none; 
    }

    /* --- Кнопка-гамбургер --- */
    .hamburger-btn {
        background: none;
        border: none;
        color: var(--text-color);
        cursor: pointer;
        padding: 0.5rem; /* Небольшие отступы вокруг иконок */
        transition: color 0.3s ease;
        position: relative; /* Для позиционирования иконок */
        width: 32px; /* Примерная ширина иконки 2rem */
        height: 32px; /* Примерная высота иконки 2rem */
        overflow: hidden; /* Скрываем иконки за пределами */
    }
    
    .hamburger-btn .material-icons {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .hamburger-btn .icon-menu {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    
    .hamburger-btn .icon-close {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-90deg);
    }
    
    .hamburger-btn.active .icon-menu {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    
    .hamburger-btn.active .icon-close {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .hamburger-btn:hover {
        color: var(--primary-color);
    }

    /* --- Оверлей меню --- */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 1050; /* Возвращаем z-index, чтобы он был выше волны */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0s 0.3s linear;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.3s ease, visibility 0s 0s linear;
    }

    /* Стили для контента внутри оверлея (появятся позже) */
    .mobile-menu-overlay .close-btn,
    .mobile-menu-overlay .mobile-nav-links {
        opacity: 0;
        transition: opacity 0.4s ease 0.2s; /* Появление с задержкой 0.2s */
    }

    .mobile-menu-overlay.content-visible .close-btn,
    .mobile-menu-overlay.content-visible .mobile-nav-links {
        opacity: 1;
    }

    .close-btn {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: #fff;
        font-size: 2.5rem; /* Возвращаем размер, так как иконка Material Icons, а не font */
        cursor: pointer;
        z-index: 1051; /* Делаем z-index выше чем у оверлея */
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .close-btn:hover {
        color: #eee;
        transform: rotate(90deg);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mobile-nav-links a {
        color: #fff;
        text-decoration: none;
        font-size: 1.8rem;
        font-weight: 500;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .mobile-nav-links a:hover {
        color: #eee;
        transform: scale(1.05);
    }

    /* --- Элемент Анимации Волны (создается JS) --- */
    .wave-effect {
        position: fixed;
        border-radius: 50%;
        background-color: rgba(46, 125, 50, 0.95); /* Основной цвет меню */
        transform: scale(0);
        transform-origin: center center;
        pointer-events: none; /* Не мешает кликам */
        z-index: 1045; /* Ниже оверлея, но выше остального контента */
        width: 50px; 
        height: 50px;
    }

    /* --- Адаптивность других секций --- */
    .hero {
        padding: 8rem 1rem 4rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 3rem;
        text-align: center; /* Центрируем текст */
    }
    
    .hero-text {
        order: 2; /* Текст под картинкой */
    }
    
    .hero-parallax-new {
        order: 1; /* Картинка над текстом */
        height: 350px; /* Уменьшаем высоту параллакса */
    }
    
    /* Скрываем индикаторы параллакса на мобильных */
    .parallax-indicators {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem; /* Уменьшаем заголовок */
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem; /* Уменьшаем заголовки секций */
    }

    .products-grid {
        grid-template-columns: 1fr; /* Карточки продуктов в одну колонку */
        gap: 1.5rem;
    }
    
    .contact-container {
        padding: 4rem 1rem; /* Уменьшаем отступы */
    }

    .contact-person {
        flex-direction: column; /* Фото над текстом */
        text-align: center;
        gap: 1.5rem;
    }
    
    .person-photo {
        margin: 0 auto; /* Центрируем фото */
        width: 150px;
        height: 150px;
    }
    
    .contact-details {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .parallax-section {
        padding: 4rem 1rem;
    }

    .parallax-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .text-block {
        width: 100%;
        text-align: center;
    }
    
    .animation-block {
        width: 100%;
        height: 300px; /* Уменьшаем блок анимации */
        margin-top: 0;
    }

    .footer-content {
        flex-direction: column; /* Секции футера в столбец */
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%); /* Центрируем подчеркивание */
    }

    /* Изначально скрываем гамбургер на десктопе */
    .hamburger-btn {
        display: none;
    }
}

/* Медиа-запрос для показа гамбургера только на мобильных */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block; /* Гамбургер виден */
    }
    
    .navbar .nav-content {
        justify-content: space-between; /* Убедимся, что элементы разнесены */
        align-items: center; /* Выровнены по центру */
    }
}

/* Скрываем десктопные ссылки на мобильных */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }
}

/* Показываем десктопные ссылки и скрываем гамбургер на больших экранах */
@media (min-width: 769px) {
    .navbar .nav-links {
        display: flex;
    }
    .hamburger-btn {
        display: none;
    }
    .mobile-menu-overlay {
        display: none; /* Убедимся, что оверлей скрыт на десктопе */
    }
}

/* --- Адаптация для ОЧЕНЬ маленьких экранов --- */
@media (max-width: 400px) {
    /* Кнопки соцсетей в контактах - только иконки */
    .contact-person .social-link span:not(.material-icons) {
        display: none; /* Скрываем текст */
    }

    .contact-person .social-link {
        padding: 0; /* Убираем внутренние отступы */
        width: 40px; /* Делаем кнопку квадратной под иконку */
        height: 40px;
        justify-content: center; /* Иконка по центру */
    }

    .contact-person .social-link .material-icons {
        margin-right: 0; /* Убираем отступ у иконки */
        font-size: 1.5rem; /* Можно немного подправить размер иконки */
    }
    
    .person-photo {
        width: 120px; /* Ещё меньше для очень маленьких экранов */
        height: 120px; /* Сохраняем пропорции */
        margin: 15px auto 25px; /* Меньшие, но сбалансированные отступы */
    }
    
    .contact-person {
        padding: 25px 15px; /* Уменьшаем внутренние отступы */
    }
}

/* Styles for Cart & Wishlist Page (cart-wishlist.html) */
.cart-wishlist-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    padding-top: 120px; /* Увеличиваем отступ сверху для учета высоты навбара */
    font-family: 'Inter', sans-serif;
}

.cart-section,
.wishlist-section {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.cart-wishlist-page .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.cart-items-container,
.wishlist-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item,
.wishlist-item {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin: 0 0 8px 0;
}

.item-price,
.item-quantity {
    font-size: 15px;
    color: #555;
    margin: 4px 0;
}

.remove-item-btn {
    background-color: transparent;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.remove-item-btn .material-icons {
    font-size: 22px;
}

.remove-item-btn:hover {
    background-color: #fceeee;
    color: #c0392b;
}

.empty-message {
    font-size: 16px;
    color: #777;
    text-align: center;
    padding: 30px 0;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
    text-align: right;
}

.cart-summary p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.cart-summary #cart-total {
    color: #27ae60;
}

.checkout-btn {
    /* Assuming .btn and .btn-primary styles are defined elsewhere */
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    /* Add specific styles if needed, or rely on existing .btn classes */
}

/* Общие стили для кнопок действий, если они еще не определены глобально */
.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: 0 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #555; /* Цвет иконок по умолчанию */
}

.action-btn:hover {
    background-color: #e0e0e0;
}

.action-btn .material-icons {
    font-size: 20px; /* или 22px, 24px */
    vertical-align: middle;
}

.action-btn.wishlist.active .material-icons {
    color: #e91e63; /* Ярко-розовый для активного избранного */
    font-variation-settings: 'FILL' 1; /* Заливка иконки */
}

.action-btn.cart.added .material-icons {
    color: #4CAF50; /* Зеленый для добавленного в корзину */
}

/* Адаптивность для страницы корзины/избранного */
@media (max-width: 768px) {
    .cart-wishlist-page {
        margin: 20px auto;
        padding: 15px;
    }

    .cart-item,
    .wishlist-item {
        flex-direction: column;
        align-items: center; /* Центрируем все по центру на мобильных */
        text-align: center;
    }

    .item-image {
        width: 120px; /* Чуть больше для мобильных, если элементы идут в столбик */
        height: 120px;
        margin-bottom: 10px;
    }

    .item-details {
        width: 100%;
    }

    .remove-item-btn {
        margin-top: 10px;
        padding: 8px;
    }

    .cart-wishlist-page .section-title {
        font-size: 24px;
    }

    .cart-summary {
        text-align: center;
    }

    .checkout-btn {
        width: 100%;
        max-width: 300px; /* Ограничиваем ширину кнопки */
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .cart-wishlist-page .section-title {
        font-size: 20px;
    }
    .item-name {
        font-size: 16px;
    }
    .item-price, .item-quantity {
        font-size: 14px;
    }
    .checkout-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

.item-actions { /* Новый стиль для контейнера кнопок в карточке корзины/избранного */
    display: flex;
    flex-direction: column; /* Кнопки в столбик */
    align-items: center; /* Центрируем кнопки */
    gap: 10px; /* Пространство между кнопками */
    margin-left: auto; /* Прижимаем к правому краю */
    padding-left: 15px; /* Небольшой отступ слева от кнопок */
}

/* Адаптивность для страницы корзины/избранного */
@media (max-width: 768px) {
    .cart-wishlist-page {
        margin: 20px auto;
        padding: 15px;
    }

    .cart-item,
    .wishlist-item {
        flex-direction: column;
        align-items: center; /* Центрируем все по центру на мобильных */
        text-align: center;
    }

    .item-image {
        width: 120px; /* Чуть больше для мобильных, если элементы идут в столбик */
        height: 120px;
        margin-bottom: 10px;
    }

    .item-details {
        width: 100%;
    }

    .remove-item-btn {
        margin-top: 10px;
        padding: 8px;
    }

    .cart-wishlist-page .section-title {
        font-size: 24px;
    }

    .cart-summary {
        text-align: center;
    }

    .checkout-btn {
        width: 100%;
        max-width: 300px; /* Ограничиваем ширину кнопки */
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .item-actions {
        flex-direction: row; /* Кнопки в ряд на мобильных */
        margin-top: 15px;
        margin-left: 0; /* Убираем отступ слева */
        padding-left: 0;
        justify-content: center; /* Центрируем кнопки в ряду */
    }
}

@media (max-width: 480px) {
    .cart-wishlist-page .section-title {
        font-size: 20px;
    }
    .item-name {
        font-size: 16px;
    }
    .item-price, .item-quantity {
        font-size: 14px;
    }
    .checkout-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Стили для кнопки "Поделиться" в оверлее */
.share-overlay-btn {
    display: inline-flex; /* Для выравнивания иконки и текста */
    align-items: center;
    gap: 8px; /* Пространство между иконкой и текстом */
    padding: 0.8rem 1.5rem; /* Немного другие паддинги, если нужно */
    /* margin-left: 10px; */ /* Убираем, так как gap у родителя .detail-actions */
    flex-grow: 1; /* Добавлено для равномерного распределения ширины */
    flex-basis: 0; /* Добавлено для равномерного распределения ширины */
    justify-content: center; /* Центрируем контент внутри кнопки */
}

.share-overlay-btn .material-icons {
    font-size: 20px; /* Размер иконки можно подстроить */
}

/* Стили для контейнера кнопок в оверлее */
.detail-actions {
    display: flex;
    gap: 10px; /* Пространство между кнопками */
    align-items: center; /* Вертикальное выравнивание кнопок */
    margin-top: auto; /* Прижимает контейнер с кнопками к низу */
    padding-top: 1.5rem; /* Отступ сверху перед кнопками */
}

/* Стиль для кнопки "Уже в корзине" при наведении */
.detail-info .btn[disabled]:hover {
    background-color: #c23a2c !important; /* Красный фон при наведении на неактивную кнопку */
    color: white !important;
}

/* Общий стиль для всех кнопок .btn внутри .detail-actions для одинаковой ширины */
.detail-actions .btn {
    flex-grow: 1;
    flex-basis: 0;
    justify-content: center; /* Центрируем иконку и текст по горизонтали */
    align-items: center; /* Центрируем иконку и текст по вертикали */
    padding: 0.8rem 1rem; /* Уменьшим горизонтальный паддинг, чтобы текст не был слишком далеко от иконки */
    display: inline-flex; /* Для корректной работы align-items с иконкой и текстом */
}

/* Убедимся, что иконки в кнопках одного размера и выровнены */
.detail-actions .btn .material-icons {
    font-size: 20px;
    margin-right: 8px; /* Добавляем отступ между иконкой и текстом, если он не берется из gap родителя */
    line-height: 1; /* Помогает с вертикальным выравниванием некоторых иконок */
}

/* Убираем правый отступ у иконки, если она последний элемент (на всякий случай, обычно текст идет после) */
.detail-actions .btn .material-icons:last-child {
    margin-right: 0;
}

/* Стили для карточек товаров */
.products-grid .product-card .product-description {
    display: none; /* Скрываем краткое описание на самой карточке */
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 22px;
    align-items: center;
}

.tag {
    padding: 4px 10px;
    font-size: 0.8em;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.tag::first-letter {
    text-transform: uppercase;
}

/* Обновленные цвета для тегов согласно предпочтениям */
.tag-new {
    background-color: #5bc0de; /* Голубой - для новинок */
}

.tag-popular { /* Класс .tag-bestseller удален из этой группы */
    background-color: #ff8c00; /* Яркий оранжевый - для популярного */
}

.tag-sale, .tag-discount { /* Распродажа и скидка - цвет оставлен */
    background-color: #c77b6b; /* Терракотовый / приглушенный красный */
}

.tag-eco {
    background-color: #8FBC8F; /* DarkSeaGreen - свежий природный зеленый */
}

.tag-handmade { /* Ручная работа - цвет оставлен */
    background-color: #a98a78; /* Теплый бежево-коричневый */
}

.tag-limited, .tag-exclusive { /* Ограниченная серия и эксклюзив */
    background-color: #9370DB; /* MediumPurple - насыщенный фиолетовый */
}
/* Предыдущие определения цветов тегов, включая .tag-vegan и .tag-bestseller в группе с .tag-popular, были заменены этим блоком. */

/* Стили для фильтров по тегам */
.tag-filters-container {
    margin-top: 2rem;
}

.tag-filter {
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.tag-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tag-filter:hover:not(.active) {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

/* Стили для карточек преимуществ на главной странице */
.feature-card {
    background: rgba(255, 255, 255, 0.9); /* Аналогично .product-card */
    border-radius: 24px; /* Аналогично .product-card */
    padding: 2rem; /* Уменьшенный padding по сравнению с 2.5rem у product-card */
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Аналогично .product-card */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Обновленный transition */
    position: relative;
    overflow: hidden;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02); /* Аналогично .product-card */
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15); /* Аналогично .product-card */
}

.feature-card .feature-icon {
    font-size: 3rem; /* Размер иконки */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .feature-title {
    font-size: 1.5rem; /* Аналогично .product-title */
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card .feature-description {
    color: var(--text-color);
    margin-bottom: 1.5rem; /* Аналогично .product-description */
    line-height: 1.6;
    font-size: 1rem; /* Убедимся, что размер шрифта задан */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.no-results-placeholder {
    display: flex; /* Will be toggled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    color: #888;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.no-results-placeholder .ghost-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color: #ddd;
}

.no-results-placeholder .no-results-text {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- Стили для кастомных уведомлений --- */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.notification {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    max-width: 350px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(40px) scale(0.98);
    max-height: 0;
    overflow: hidden;
    pointer-events: all;
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1),
                transform 0.45s cubic-bezier(.4,0,.2,1),
                max-height 0.5s cubic-bezier(.4,0,.2,1),
                padding 0.4s cubic-bezier(.4,0,.2,1),
                margin 0.4s cubic-bezier(.4,0,.2,1);
}

.notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
    max-height: 200px;
    padding: 12px 20px;
    margin-bottom: 10px;
    overflow: visible;
}

.notification.exit-right {
    opacity: 0;
    transform: translateX(40px) scale(0.98);
    max-height: 200px;
    /* padding и margin не схлопываем, только уводим */
}

.notification.exit-genie {
    opacity: 0;
    transform: translate(40px, -30px) scale(0.7, 0.3);
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.notification:last-child {
    margin-bottom: 0;
}

.notification .material-icons {
    font-size: 24px;
    margin-right: 12px;
}

.notification.success .material-icons {
    color: var(--primary-color);
}

.notification.error .material-icons {
    color: #e74c3c;
}

.notification.info .material-icons {
    color: #3498db;
}

/* --- Конец стилей для кастомных уведомлений --- */

/* Полностью изолированная кнопка для hero-секции */
.hero-cta-button {
    display: inline-block; /* Для корректного поведения */
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    transform: translateZ(0); /* Создаем новый контекст наложения */
}

.hero-cta-button::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;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.notification.single-show {
    opacity: 1;
    transform: translateX(0) scale(1);
    max-height: 200px;
    padding: 12px 20px;
    margin-bottom: 10px;
    overflow: visible;
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1),
                transform 0.45s cubic-bezier(.4,0,.2,1);
}

/* Новый компонент поиска и фильтрации */
.search-container {
    position: relative;
    width: 100%;
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 30px;
}

.search-wrapper {
    position: relative;
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-wrapper.active {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.search-input {
    width: 100%;
    padding: 16px;
    padding-left: 48px;
    padding-right: 40px;
    background: transparent;
    border: none;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.search-input:focus {
    outline: none;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 2;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 2;
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: #ff4444;
    transform: translateY(-50%) scale(1.1);
}

.search-clear.visible {
    display: flex;
}

.filter-button {
    padding: 14px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    white-space: nowrap;
    transform: translateY(0);
}

.filter-button:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.filter-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

.filter-button.active {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.filter-button.clicked {
    animation: buttonPress 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes buttonPress {
    0% {
        transform: translateY(0) scale(1);
    }
    20% {
        transform: translateY(4px) scale(0.96);
    }
    40% {
        transform: translateY(0) scale(1.01);
    }
    60% {
        transform: translateY(1px) scale(1.005);
    }
    80% {
        transform: translateY(0) scale(1.001);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.category-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    height: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-dropdown.active {
    height: 300px;
}

.category-list {
    padding: 8px;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.category-dropdown.active .category-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-dropdown.active .category-item:nth-child(1) { transition-delay: 0.05s; }
.category-dropdown.active .category-item:nth-child(2) { transition-delay: 0.1s; }
.category-dropdown.active .category-item:nth-child(3) { transition-delay: 0.15s; }
.category-dropdown.active .category-item:nth-child(4) { transition-delay: 0.2s; }
.category-dropdown.active .category-item:nth-child(5) { transition-delay: 0.25s; }

.category-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.category-item.active {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.category-item .material-icons {
    margin-right: 12px;
    font-size: 20px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .filter-button {
        width: 100%;
        justify-content: center;
    }
    
    .category-dropdown {
        width: 100%;
        right: auto;
    }
}

/* Стили для сообщения об отсутствии результатов */
.no-results-placeholder {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-content .material-icons {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #333;
}

.no-results-content p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.reset-category-btn {
    margin-top: 18px;
    padding: 0.7em 1.6em;
    border-radius: 100px;
    border: none;
    background: var(--primary-color, #4CAF50);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
    transition: background 0.2s, color 0.2s;
}
.reset-category-btn:hover {
    background: #388e3c;
    color: #fff;
}

/* --- Стили для страницы О компании (about.html) --- */
.about-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--background-color);
}

.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 7rem 2rem 3rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero .hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
}

.about-hero .hero-text p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.85;
}

.about-facts {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.fact-card {
    background: var(--card-bg, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.07);
    padding: 2.2rem 1.5rem 1.5rem;
    text-align: center;
    min-width: 180px;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fact-card:hover {
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.13);
    transform: translateY(-4px) scale(1.03);
}

.fact-card .material-icons {
    font-size: 2.7rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fact-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.fact-label {
    font-size: 1.05rem;
    color: var(--text-color);
    opacity: 0.8;
}

.about-block {
    background: var(--surface-color, #fff);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s;
}

.about-block:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

.about-list {
    margin: 1.2rem 0 0 0;
    padding-left: 1.2rem;
    color: var(--text-color);
    opacity: 0.92;
    font-size: 1.08rem;
    line-height: 1.7;
}

.about-list li {
    margin-bottom: 0.7rem;
    list-style: disc inside;
}

.about-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-features .feature-card {
    background: var(--card-bg, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.07);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-features .feature-card:hover {
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.13);
    transform: translateY(-4px) scale(1.03);
}

.about-features .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.1rem;
    background: rgba(76, 175, 80, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-block {
    margin-top: 2.5rem;
    background: var(--card-bg, #fff);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.05);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
}

.partners-block h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    font-weight: 600;
}

/* --- Адаптивность about.html --- */
@media (max-width: 900px) {
    .about-main, .about-story, .about-features, .about-production, .about-president {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .about-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .about-partners {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1rem 0 1rem;
        margin: 0 auto 3rem auto;
    }
    
    .about-production {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1rem 0 1rem;
        margin: 0 auto 3rem auto;
    }
    
    .partners-grid {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .partner-card {
        min-width: 200px;
        max-width: 100%;
        flex: 1 1 200px;
    }
    
    /* Исправление заголовков на планшетах */
    .section-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    /* Специально для длинных заголовков */
    .about-production .section-title,
    .about-partners .section-title {
        font-size: 1.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
}
@media (max-width: 600px) {
    .about-hero .hero-text h1 {
        font-size: 2rem;
    }
    .about-hero .hero-text p {
        font-size: 1rem;
    }
    .about-facts {
        padding: 2rem 0.5rem 1rem;
    }
    .facts-grid {
        gap: 1.2rem;
    }
    .fact-card {
        padding: 1.2rem 0.7rem 1rem;
        min-width: 120px;
    }
    .about-block {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .about-list {
        font-size: 0.98rem;
    }
    .about-features .features-grid {
        gap: 1.2rem;
    }
    .about-features .feature-card {
        padding: 1.2rem 0.7rem 1rem;
    }
    
    .about-partners {
        padding: 1.5rem 0.5rem 0 0.5rem;
        margin: 0 auto 2.5rem auto;
    }
    
    .about-production {
        padding: 1.5rem 0.5rem 0 0.5rem;
        margin: 0 auto 2.5rem auto;
    }
    
    .partners-grid {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .partner-card {
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .about-production .about-block {
        padding: 1.5rem 1rem 1rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Исправление заголовков на средних экранах */
    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    /* Специально для длинных заголовков */
    .about-production .section-title,
    .about-partners .section-title {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
}

/* --- Parallax баннер для about.html --- */
.parallax-banner {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    max-height: none;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--background-color);
}
.parallax-banner .parallax-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
    transition: filter 0.3s;
    filter: brightness(0.93) contrast(1.08);
}
.parallax-banner .parallax-blur {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 52%;
    min-width: 260px;
    max-width: 700px;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 60%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: none;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}
.parallax-banner .hero-content.left-align {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--primary-dark);
    width: 100%;
    max-width: 700px;
    margin-left: 1vw;
    margin-top: 5vh;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

/* --- Партнёры --- */
.about-partners {
    max-width: 900px;
    margin: 0 auto 3.5rem auto;
    padding: 2.5rem 2rem 0 2rem;
    box-sizing: border-box;
}
.partners-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2rem;
}
.partner-card {
    background: var(--card-bg, #fff);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: left;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
}
.partner-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    font-weight: 600;
    text-align: left;
}
.partner-card p {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.05rem;
    text-align: left;
}

/* --- ЧИСТЫЕ СТИЛИ ДЛЯ TIMELINE (about.html) --- */
.about-timeline.new-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    margin: 2.5rem auto 1.5rem auto;
    padding: 0;
    min-height: 400px;
}
.timeline-vertical-line {
    position: absolute;
    left: 6px; /* (18px-6px)/2: линия по центру точки */
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    z-index: 0;
    transition: height 0.4s, top 0.4s;
}
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 70px;
    margin-bottom: 2.5rem;
    z-index: 1;
    padding-left: 0;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(46,125,50,0.13);
    z-index: 2;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.5;
    transform: scale(0.8);
}
.timeline-dot.active {
    opacity: 1;
    transform: scale(1.1);
}
.timeline-content {
    margin-left: 36px; /* 18px (dot) + 18px запас */
    min-width: 0;
}
.timeline-content h3 {
    margin: 0 0 0.3em 0;
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 600;
}
.timeline-content p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .about-timeline.new-timeline {
        max-width: 98vw;
        padding: 0 2vw 0 -18px;
    }
    .timeline-content {
        margin-left: 30px;
    }
    .timeline-item {
        min-height: 55px;
    }
    .timeline-content h3 {
        font-size: 1.05rem;
    }
    .timeline-content p {
        font-size: 0.95rem;
    }
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to   { opacity: 1; transform: translateY(0);}
}
@keyframes sparkle {
    0% { filter: drop-shadow(0 2px 8px rgba(46,125,50,0.13)); }
    100% { filter: drop-shadow(0 0px 18px rgba(46,125,50,0.25)); }
}

/* Адаптивность */
@media (max-width: 600px) {
    .future-fade-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-left: 30px;
    }
    .future-fade-text p {
        font-size: 0.95rem;
        max-width: 98vw;
    }
}
/* --- КОНЕЦ ЧИСТЫХ СТИЛЕЙ ДЛЯ TIMELINE --- */

/* --- ДОБАВЛЕНО: Расширение текста на баннере и адаптивность --- */
.about-hero-content {
    max-width: 900px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 3.5rem 3.5rem 3.5rem 3.5rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-hero-text {
    width: 100%;
    max-width: 800px;
    font-size: 1.2em;
}
@media (max-width: 900px) {
    .about-hero-content {
        padding: 2rem 1rem;
        max-width: 100vw;
    }
    .about-hero-text {
        max-width: 100vw;
    }
}
@media (max-width: 600px) {
    .about-hero-content {
        align-items: center;
        text-align: center;
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
    .about-hero-text {
        font-size: 1.1em;
    }
}
/* --- Мобильный баннер: размытие, центрирование, увеличение текста, 100vh --- */
@media (max-width: 768px) {
    .parallax-banner {
        min-height: 100vh;
        height: 100vh;
        align-items: stretch;
        justify-content: center;
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
    }
    .parallax-banner .parallax-blur {
        width: 100vw;
        min-width: 0;
        max-width: none;
        border-radius: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.18) 60%, rgba(255,255,255,0.01) 100%);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .about-hero-content {
        align-items: center;
        text-align: center;
        justify-content: center;
        margin: 0 auto;
        padding: 2.5rem 0.5rem 2.5rem 0.5rem;
        max-width: 100vw;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .about-hero-text {
        max-width: 100vw;
        font-size: 1.25em;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .about-hero-text h1 {
        font-size: 2.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .about-hero-text p {
        font-size: 1.15rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
@media (max-width: 480px) {
    .about-hero-text h1 {
        font-size: 1.5rem;
    }
    .about-hero-text p {
        font-size: 1rem;
    }
    
    .about-partners {
        padding: 1rem 0.5rem 0 0.5rem;
        margin: 0 auto 2rem auto;
    }
    
    .about-production {
        padding: 1rem 0.5rem 0 0.5rem;
        margin: 0 auto 2rem auto;
    }
    
    .partner-card {
        padding: 1.2rem 0.8rem 0.8rem 0.8rem;
    }
    
    .about-production .about-block {
        padding: 1.2rem 0.8rem 0.8rem 0.8rem;
    }
    
    .partner-card h3 {
        font-size: 1.1rem;
    }
    
    .partner-card p {
        font-size: 0.95rem;
    }
    
    /* Исправление обрезания заголовков на мобильных */
    .section-title {
        font-size: 1.4rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    /* Специально для длинных заголовков */
    .about-production .section-title,
    .about-partners .section-title {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
    }
}
/* --- Разделение сетки фактов (about-facts-separated) --- */
.about-facts-separated {
    margin-top: 0;
    margin-bottom: 2.5rem;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding-top: 0;
}
.facts-grid {
    background: var(--surface-color, #fff);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-top: 0;
}
.fact-card {
    background: var(--card-bg, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(46, 125, 50, 0.07);
    padding: 2.2rem 1.5rem 1.5rem;
    text-align: center;
    min-width: 180px;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 600px) {
    .facts-grid {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        gap: 1.2rem;
    }
    .fact-card {
        padding: 1.2rem 0.7rem 1rem;
        min-width: 120px;
    }
}
/* --- Убираем GSAP-анимации у feature-card --- */
.about-features .feature-card {
    /* Убираем любые анимации, связанные с GSAP */
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* --- Исправление белых рамок и адаптивность баннера --- */
@media (max-width: 1200px) {
  .parallax-banner {
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 0;
    margin-left: -50vw;
    position: relative;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .parallax-banner .parallax-img,
  .parallax-banner .parallax-blur {
    width: 100vw !important;
    min-width: 100vw !important;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    max-width: none;
  }
  .about-hero-content {
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    padding: 2.5rem 1rem;
    box-sizing: border-box;
  }
}
@media (max-width: 900px) {
  .parallax-banner {
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    margin-left: -50vw;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .parallax-banner .parallax-img,
  .parallax-banner .parallax-blur {
    width: 100vw !important;
    min-width: 100vw !important;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    max-width: none;
  }
  .about-hero-content {
    max-width: 100vw;
    width: 100vw;
    margin: 0;
    padding: 2rem 0.5rem;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  .about-hero-content {
    padding: 1.2rem 0.2rem;
  }
}
/* --- Блюр адаптивный и шире на планшетах --- */
@media (max-width: 1200px) {
  .parallax-banner .parallax-blur {
    width: 80vw !important;
    min-width: 0;
    max-width: 100vw;
    border-radius: 0 40px 40px 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 70%, rgba(255,255,255,0.01) 100%);
  }
}
@media (max-width: 900px) {
  .parallax-banner .parallax-blur {
    width: 100vw !important;
    min-width: 0;
    max-width: 100vw;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 60%, rgba(255,255,255,0.01) 100%);
  }
}
/* --- Сетка статистики шире и независима --- */
.about-facts {
  max-width: 100vw;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 3rem 2rem 2rem 2rem;
  box-sizing: border-box;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1100px;
  background: var(--surface-color, #fff);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
  padding: 2rem 2rem 1.5rem 2rem;
}
@media (max-width: 900px) {
  .facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.2rem 0.5rem 0.2rem;
  }
}

/* --- Центрирование текста баннера по высоте --- */
.parallax-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.about-hero-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center;
}
@media (max-width: 1200px) {
  .about-hero-content {
    padding-top: 4vh;
    padding-bottom: 4vh;
    align-self: center;
  }
}
@media (max-width: 900px) {
  .about-hero-content {
    padding-top: 8vh;
    padding-bottom: 8vh;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .about-hero-content {
    padding-top: 10vh;
    padding-bottom: 10vh;
    align-self: center;
  }
}
/* --- Объединение статистики и ключевых особенностей --- */
.features-facts-section {
  max-width: 100vw;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 3rem 2rem 2rem 2rem;
  box-sizing: border-box;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.features-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1100px;
  background: var(--surface-color, #fff);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
  padding: 2rem 2rem 1.5rem 2rem;
}
.features-facts-card {
  background: var(--card-bg, #fff);
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.07);
  padding: 2.2rem 1.5rem 1.5rem;
  text-align: center;
  min-width: 180px;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features-facts-card .material-icons {
  font-size: 2.7rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: rgba(76, 175, 80, 0.08);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.features-facts-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}
.features-facts-label {
  font-size: 1.05rem;
  color: var(--text-color);
  opacity: 0.8;
}
.features-facts-desc {
  color: var(--text-color);
  opacity: 0.92;
  font-size: 1.05rem;
  margin-top: 0.7rem;
}
@media (max-width: 900px) {
  .features-facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .features-facts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.2rem 0.5rem 0.2rem;
  }
}
/* --- Новая секция "Наша история" с картинкой --- */
.about-story-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-story-image {
  flex: 1;
  position: relative;
}

.story-image-wrapper {
  width: 100%;
  height: 320px;
  background: #f0f9ff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
  text-align: center;
  min-width: 180px;
}

.story-badge h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.story-badge p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.about-story-content {
  flex: 1;
}

.story-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.story-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(72, 187, 120, 0.1);
  color: #2d3748;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 500;
}

.story-feature .material-icons {
  color: #48bb78;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .about-story-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .story-image-wrapper {
    height: 250px;
  }
  
  .story-badge {
    bottom: -15px;
    right: -15px;
    padding: 1rem;
    min-width: 150px;
  }
  
  .story-badge h3 {
    font-size: 1.1rem;
  }
  
  .story-badge p {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .about-story-container {
    padding: 0 1rem;
  }
  
  .story-image-wrapper {
    height: 200px;
  }
  
  .story-badge {
    bottom: -10px;
    right: -10px;
    padding: 0.75rem;
    min-width: 120px;
  }
  
  .story-features {
    flex-direction: column;
    gap: 0.75rem;
  }
}
@media (max-width: 900px) {
  .about-story .about-block {
    padding: 1.5rem 2vw 1rem 2vw;
  }
}
/* --- Убираем подчёркивание у заголовков карточек --- */
.features-facts-label {
  font-size: 1.05rem;
  color: var(--primary-dark);
  opacity: 1;
  font-weight: 600;
  position: static;
  display: block;
  margin-bottom: 0.5em;
}
.features-facts-label:after {
  display: none;
  content: none;
}

/* --- Единый стиль для заголовка/цифры в карточке --- */
.features-facts-label,
.features-facts-value {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5em;
  display: block;
}
.features-facts-desc {
  font-weight: 400;
  color: var(--text-color);
  font-size: 1.05rem;
  margin-top: 0.3em;
}

/* --- Отступы между секциями --- */
.about-story {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.about-timeline-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* --- Исправление блока производственного центра --- */
.about-production {
  max-width: 1200px;
  margin: 0 auto 3.5rem auto;
  padding: 2.5rem 2rem 0 2rem;
  box-sizing: border-box;
  width: 100%;
}
.about-production .about-block {
  background: var(--surface-color, #fff);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}
.about-production {
  margin-bottom: 3.5rem;
}

/* --- Информационная полоса с бегущей строкой --- */
.info-strip-section {
  padding: 60px 0;
  overflow: hidden;
}

.scroll-wrapper {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  margin-top: 30px;
  margin-bottom: 30px;
}

.scrolling-track {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

/* Скрываем дополнительные ряды на десктопе */
.track-row-2,
.track-row-3 {
  display: none;
}

.item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.5rem 3rem;
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.item .material-icons {
  font-size: 2.2rem;
  color: inherit;
}

/* Цветовые варианты для элементов */
.item.color-1 {
  color: #48bb78;
}

.item.color-2 {
  color: #3182ce;
}

.item.color-3 {
  color: #ed8936;
}

.item.color-4 {
  color: #e53e3e;
}

.item.color-5 {
  color: #9f7aea;
}

.item.color-6 {
  color: #38b2ac;
}

.item.color-7 {
  color: #f56565;
}

.item.color-8 {
  color: #4299e1;
}

/* Дополнительные цветовые варианты для разнообразия */
.item.color-9 {
  color: #f6ad55;
}

.item.color-10 {
  color: #68d391;
}

.item.color-11 {
  color: #63b3ed;
}

.item.color-12 {
  color: #b794f4;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .info-strip-section {
    padding: 40px 0;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    overflow: hidden;
  }
  
  .info-strip-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .scroll-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Показываем все 3 ряда на мобильных */
  .track-row-1,
  .track-row-2,
  .track-row-3 {
    display: flex;
    width: max-content;
  }
  
  /* Первый ряд - влево */
  .track-row-1 {
    animation: scroll-left 25s linear infinite;
    transform: translateX(0);
  }
  
  /* Второй ряд - вправо с начальным смещением */
  .track-row-2 {
    animation: scroll-right 30s linear infinite;
    transform: translateX(-30%);
  }
  
  /* Третий ряд - влево с начальным смещением */
  .track-row-3 {
    animation: scroll-left 35s linear infinite;
    transform: translateX(-15%);
  }
  
  .item {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
  }
  
  .item .material-icons {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .info-strip-section {
    padding: 30px 0;
  }
  
  .info-strip-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .scroll-wrapper {
    gap: 10px;
  }
  
  .item {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
  }
  
  .item .material-icons {
    font-size: 1.4rem;
  }
  
  /* Уменьшаем скорость анимации на маленьких экранах */
  .track-row-1 {
    animation: scroll-left 20s linear infinite;
  }
  
  .track-row-2 {
    animation: scroll-right 25s linear infinite;
  }
  
  .track-row-3 {
    animation: scroll-left 30s linear infinite;
  }
}