
   /* ЗАЩИТА ОТ BOOTSTRAP (СБРОС ЕГО СТИЛЕЙ) */

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #ebf0ec !important; 
    color: #1B241E !important; 
    line-height: 1.6 !important;
    font-size: 16px !important;
}
p {
    margin-bottom: 2rem !important;
    margin-top: 0 !important;
    font-size: 1.1rem !important;
    color: inherit !important;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #1A2E24 !important; 
}
a { text-decoration: none !important; color: inherit !important; }
.container { 
    max-width: 1200px !important; 
    padding: 0 5% !important; 
    margin: 0 auto !important; 
    width: 100% !important; 
}
.btn { border: 1px solid transparent !important; }

   /* СТИЛЬ САЙТА */
:root {
    --forest-dark: #1a2e24; 
    --forest-mid: #2C4C3B;      
    --moss-light: #EBF0EC;      
    --earth-light: #F4F3F0;    
    --amber-gold: #C5A880;     
    --text-dark: #1B241E;      
    --white: #FFFFFF;
    
    --glass-bg: rgba(244, 246, 243, 0.85); 
    --border: rgba(26, 46, 36, 0.08);
    
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 16px;
    --radius-lg: 32px;
}

html, body {
    margin: 0; padding: 0; width: 100%; overflow-x: clip;
    /* cursor: none;  */
}

/* a, button, input { cursor: none; } */
* { box-sizing: border-box; }

.container { position: relative; z-index: 5; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }

/* ИНТЕРАКТИВНЫЙ КУРСОР */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; 
    transform: translate(-50%, -50%);
    z-index: 999999; pointer-events: none;
    opacity: 0;
    border-radius: 50%;
}

.cursor-dot { 
    width: 6px; height: 6px; 
    background-color: var(--amber-gold); 
    transition: transform 0.2s ease, opacity 0.2s ease; 
}

.cursor-outline {
    width: 30px; height: 30px; 
    border: 1px solid rgba(197, 168, 128, 0.6);
    background-color: transparent;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                background-color 0.3s ease;
}

.cursor-outline.hover {
    width: 55px; height: 55px; 
    border: 1px solid rgba(197, 168, 128, 0.2);
    background-color: rgba(197, 168, 128, 0.08);
}

.cursor-outline.hover ~ .cursor-dot,
.cursor-dot.hover { 
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* @media (max-width: 768px) {
    html, body, a, button, input { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
} */
/* ТИПОГРАФИКА */
.logo { font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: -0.02em; }
h1 em, h2 em { font-family: 'Playfair Display', serif !important; font-style: italic; color: var(--amber-gold); font-weight: 400; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem) !important; line-height: 1.1 !important; color: var(--forest-dark); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem) !important; color: var(--forest-dark); }
p { font-size: 1.1rem !important; opacity: 0.85; }
.section-title { text-align: center; margin-bottom: 4rem !important; }

/* КНОПКИ */
.btn {
    display: inline-block; padding: 1rem 2.5rem !important; border-radius: 50px !important;
    font-size: 0.95rem; font-weight: 500; transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--forest-dark); color: var(--white) !important; }
.btn-primary:hover { background: var(--amber-gold); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(197, 168, 128, 0.3); color: var(--white) !important;}
.btn-secondary { background: transparent; border: 1px solid var(--forest-dark) !important; color: var(--forest-dark) !important; }
.btn-secondary:hover { background: var(--forest-dark); color: var(--white) !important; }

/* ЭФФЕКТ ПУЗЫРЬКОВ (НА ФОНЕ) */
.ambient-mist {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1; pointer-events: none; overflow: hidden;
}

.particle {
    position: absolute; 
    top: 0; left: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 50%);
    backdrop-filter: blur(3px) brightness(1.05); 
    -webkit-backdrop-filter: blur(3px) brightness(1.05);
    opacity: 0.4;
}

/* ШАПКА */
/* header { position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; padding: 1.5rem 5%; transition: var(--transition); display: flex; justify-content: center; }
.header-container { display: flex; justify-content: space-between; align-items: center; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 0.8rem 2rem; border-radius: 50px; border: 1px solid var(--border); width: 100%; max-width: 1200px; transition: box-shadow 0.3s ease; }
.logo { font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--forest-dark); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; transition: color 0.3s; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark) !important; opacity: 0.7; }
.nav-links a:hover { color: var(--forest-dark) !important; opacity: 1; }
.btn-nav { display: inline-block; padding: 0.6rem 1.5rem; font-size: 0.85rem; background: var(--forest-dark); color: var(--white) !important; font-weight: 500; border-radius: 50px; transition: 0.3s; }
.btn-nav:hover { background: var(--amber-gold); } */
/* ==========================================================================
   ОБНОВЛЕННАЯ ШАПКА В СТИЛЕ SEED.COM (GLASSMORPHISM + MEGA MENU)
   ========================================================================== */

header {
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    padding: 1.5rem 5%; transition: var(--transition);
    display: flex; justify-content: center;
}

.header-container {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--white); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 0.7rem 2rem; border-radius: 50px; border: 1px solid var(--border);
    width: 100%; max-width: 1300px;
    transition: box-shadow 0.3s ease, border-radius 0.4s ease, background 0.4s ease;
    flex-direction: row; /* Жестко фиксируем в строку для десктопа */
}

/* ДЕСКТОПНЫЕ НАСТРОЙКИ (Всё, что до 991px) */
.mobile-header-top {
    display: flex;
    align-items: center;
    width: auto; /* ВАЖНО: не 100% на десктопе, чтобы не ломать строку! */
    flex-shrink: 0;
}

.mobile-controls {
    display: none !important; /* Прячем бургер и мобильный логин на ПК */
}

.header-nav-wrapper {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    margin-left: 2vw; /* Отступ от логотипа */
}

.header-left, .header-right {
    display: flex; align-items: center; gap: 2rem;
}

.logo {
    font-size: 1.2rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--forest-dark);
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; margin: 0; padding: 0; }

.nav-links a.nav-text-link {
    font-size: 0.8rem; font-weight: 600; transition: color 0.3s;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--text-dark) !important; opacity: 0.7;
    display: flex; align-items: center; gap: 4px; text-decoration: none !important;
}
.nav-links a.nav-text-link:hover { opacity: 1; color: var(--forest-dark) !important; }

.nav-chevron { width: 12px; height: 12px; transition: transform 0.3s ease; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* ЛОГИКА ВЫПАДАЮЩИХ СПИСКОВ (ДЕСКТОП) */
.nav-item { position: relative; }

.nav-dropdown {
    position: absolute; top: 100%; margin-top: 20px; 
    background: var(--white); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(26, 46, 36, 0.08); border-radius: 20px;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.06); */
    opacity: 0; visibility: hidden; transform: translateY(10px);
    pointer-events: none; z-index: 1000;
    
    /* ИСЧЕЗНОВЕНИЕ: Ждем 0.3с перед тем как плавно раствориться */
    transition: opacity 0.1s ease 0.1s, 
                transform 0.1s ease 0.1s, 
                visibility 0s linear 0.6s; /* visibility отключаем в самом конце */
}

/* НЕВИДИМЫЙ МОСТИК: Расширен вверх, влево и вправо для защиты от срывов мышки */
.nav-dropdown::before { 
    content: ''; 
    position: absolute; 
    top: -30px; left: -20px; right: -20px; 
    height: 30px; 
}

.nav-item:hover .nav-dropdown { 
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; 
    
    /* ПОЯВЛЕНИЕ: Мгновенно, без задержек */
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0s, 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0s, 
                visibility 0s linear 0s; 
}

/* Простой список */
.simple-dropdown {
    left: 50%; transform: translateX(-50%) translateY(10px);
    min-width: 180px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.2rem;
}
.nav-item:hover .simple-dropdown { transform: translateX(-50%) translateY(0); }
.simple-dropdown a { font-size: 0.85rem; font-weight: 500; color: var(--forest-dark) !important; padding: 0.6rem 1rem; border-radius: 12px; opacity: 0.8; transition: 0.2s; text-decoration: none; }
.simple-dropdown a:hover { background: rgba(26, 46, 36, 0.05); opacity: 1; }

/* Мега меню */
.mega-dropdown { left: -20px; width: 360px; padding: 0.5rem 0.5rem 1rem 0.5rem; display: flex; flex-direction: column; }
.news-dropdown { width: 425px; } 

.mega-list-scroll {
    display: flex; flex-direction: column; gap: 0.5rem;
    max-height: 400px; overflow-y: auto; padding-right: 1rem;
}
.mega-list-scroll::-webkit-scrollbar { width: 4px; }
.mega-list-scroll::-webkit-scrollbar-track { background: rgba(26, 46, 36, 0.04); border-radius: 10px; }
.mega-list-scroll::-webkit-scrollbar-thumb { background: rgba(197, 168, 128, 0.5); border-radius: 10px; }
.mega-list-scroll::-webkit-scrollbar-thumb:hover { background: var(--amber-gold); }

.dd-item { display: flex; flex-direction: row; align-items: center; gap: 1rem; text-decoration: none !important; color: inherit !important; transition: all 0.3s ease; padding: 0.8rem; border-radius: 14px; }
.dd-item:hover { background: rgba(26, 46, 36, 0.03); }
.dd-item:hover .dd-img img { transform: scale(1.05); }

.dd-img { flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #f4f6f4; }
.product-img-ratio { width: 55px; height: 55px; }
.news-img-ratio { width: 75px; aspect-ratio: 16 / 10; height: auto; }
.dd-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); mix-blend-mode: multiply; }

.dd-info { text-align: left; flex: 1; }
.dd-info span { display: block; font-size: 0.65rem; color: var(--amber-gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 0.2rem; }
.dd-info h4 { font-size: 0.85rem !important; font-weight: 600 !important; color: var(--forest-dark) !important; line-height: 1.3 !important; margin: 0 !important; }
.dd-info p { font-size: 0.75rem !important; color: rgba(26, 46, 36, 0.6) !important; line-height: 1.4 !important; margin: 0.3rem 0 0 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.dd-footer-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 1rem; margin-right: 1rem; padding-top: 1rem;
    border-top: 1px solid rgba(26, 46, 36, 0.1); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: var(--forest-dark) !important;
    text-decoration: none !important; transition: all 0.3s ease;
}
.dd-footer-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.dd-footer-link:hover { color: var(--amber-gold) !important; }
.dd-footer-link:hover svg { transform: translateX(4px); }

/* КНОПКА ВОЙТИ */
.btn-login {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--forest-dark); color: var(--white) !important; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 0.3rem 1.2rem;
    border-radius: 50px; text-decoration: none !important; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1 !important;
}
.btn-login svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn-login:hover { background: var(--amber-gold); color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(197, 168, 128, 0.3); }
.btn-login:hover svg { transform: translateX(2px); }


/* ==========================================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ ШАПКИ (BURGER + ACCORDION)
   ========================================================================== */

@media (max-width: 1155px) {
    header { padding: 1rem 5%; }
    
    .header-container {
        flex-direction: column; /* В столбик */
        align-items: stretch;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
    }
    
    .header-container.menu-open {
        border-radius: 20px;
        background: rgba(244, 246, 243, 0.98); 
    }

    /* Верхушка (Лого и элементы управления) */
    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-controls {
        display: flex !important; /* Показываем бургер и вход */
        align-items: center;
        gap: 15px;
    }
    
    .btn-mobile-login {
        padding: 0.4rem 1.2rem !important;
        font-size: 0.75rem !important;
    }

    /* Иконка Бургера (Анимация в крестик) */
    .burger-btn {
        background: transparent; border: none;
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 30px; height: 30px; padding: 0; cursor: pointer; z-index: 1001;
    }
    .burger-btn span {
        width: 24px; height: 2px; background: var(--forest-dark);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 2px; transform-origin: left center;
    }
    .header-container.menu-open .burger-btn span:nth-child(1) { transform: rotate(45deg); width: 26px; }
    .header-container.menu-open .burger-btn span:nth-child(2) { opacity: 0; width: 0; }
    .header-container.menu-open .burger-btn span:nth-child(3) { transform: rotate(-45deg); width: 26px; }

    /* Оболочка навигации - прячем через max-height, а не через скрытие контейнера */
    .header-nav-wrapper {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        max-height: 0; /* Изначально скрыто */
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.4s ease;
    }
    
    .header-container.menu-open .header-nav-wrapper { 
        max-height: 80vh; /* Раскрываем */
        opacity: 1; 
        overflow-y: auto; /* Скролл ВНУТРИ оболочки, а не снаружи */
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .header-container.menu-open .header-nav-wrapper::-webkit-scrollbar { display: none; }

    .desktop-login-item { display: none !important; }

    .header-left, .header-right { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
    
    /* Возвращаем отображение ссылок */
    .nav-links { 
        display: flex !important; 
        flex-direction: column; 
        width: 100%; gap: 0; align-items: stretch; 
    }

    .nav-item { width: 100%; border-bottom: 1px solid rgba(26,46,36,0.08); }
    .header-right .nav-item:last-child { border-bottom: none; }
    
    .nav-text-link {
        width: 100%; padding: 1.2rem 0; font-size: 1.1rem !important;
        justify-content: space-between; color: var(--forest-dark) !important; opacity: 1 !important;
    }

    /* ПРЕВРАЩАЕМ ВЫПАДАЮЩИЕ СПИСКИ В АККОРДЕОН */
    .nav-dropdown {
        position: static; width: 100%; transform: none; box-shadow: none; border: none;
        background: transparent; padding: 0; margin-top: 0;
        max-height: 0; overflow: hidden; visibility: visible; opacity: 1; pointer-events: auto;
        transition: max-height 0.4s ease;
    }
    .nav-item:hover .nav-dropdown { max-height: 0; } /* Убираем десктопный hover */
    .nav-item.active .nav-dropdown { max-height: 1200px; padding-bottom: 1.5rem; }
    .nav-item.active .nav-chevron { transform: rotate(180deg); }

    /* Внутренности мобильного аккордеона */
    .mega-list-scroll { max-height: none; padding-right: 0; gap: 0.8rem; overflow: visible; }
    .dd-item { background: rgba(26, 46, 36, 0.03); padding: 0.8rem 1rem; border-radius: 12px; align-items: center; }
    .dd-info h4 { font-size: 0.95rem !important; }
    .dd-info p { display: none; } /* Скрываем длинные описания новостей */
    
    .dd-footer-link { margin: 1.5rem 0 0 0; width: 100%; border-top: 1px dashed rgba(26, 46, 36, 0.15); padding-top: 1rem; justify-content: flex-start; }
    
    /* Простой список (Главная) - ИСПРАВЛЕНО ДЛЯ МОБИЛЬНЫХ */
    .simple-dropdown { 
        padding: 0 !important; 
        left: 0 !important; /* Убираем сдвиг за экран */
        transform: none !important; /* Отключаем центрирование */
        min-width: 100%;
    }
    
    .nav-item.active .simple-dropdown { 
        padding-bottom: 1rem !important; /* Показываем отступ только когда открыто */
    }
    
    .simple-dropdown a { 
        padding: 0.8rem 1rem; 
        font-size: 1rem; 
        background: transparent; 
        border-radius: 8px; 
        border-bottom: 1px solid rgba(26,46,36,0.05);
    }
    
    .simple-dropdown a:last-child { 
        border-bottom: none; 
    }
}

/* --- МАЛЕНЬКИЕ ТЕЛЕФОНЫ (iPhone и т.д.) --- */
@media (max-width: 576px) {
    .header-container { padding: 0.6rem 1.2rem; }
    .logo { font-size: 1.1rem; }
    .btn-mobile-login { padding: 0.3rem 0.8rem !important; font-size: 0.7rem !important; }
    
    .nav-text-link { padding: 1rem 0; font-size: 1rem !important; }
    .dd-item { padding: 0.6rem; gap: 0.8rem; }
    .dd-img { width: 45px; height: 45px; }
    .news-img-ratio { width: 60px; }
    .dd-info h4 { font-size: 0.85rem !important; }
    .dd-info span { font-size: 0.6rem; margin-bottom: 0.1rem; }
}

/* ПЛАВАЮЩИЙ БЛОК СОЦСЕТЕЙ ПОД ШАПКОЙ СЛЕВА */
.floating-socials { position: fixed; top: 90px; left: 5%; background: var(--amber-gold); padding: 10px 24px; border-radius: 50px; display: flex; flex-direction: row;  gap: 20px;  z-index: 990; box-shadow: 0 10px 30px rgba(197, 168, 128, 0.4); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
.floating-socials:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(197, 168, 128, 0.6); }
.f-side-soc { display: flex; align-items: center; justify-content: center; color: var(--forest-dark); transition: all 0.3s ease; }
.f-side-soc svg { width: 18px; height: 18px; }
.f-side-soc:hover { color: var(--white); transform: scale(1.15); }

/* ПЛАВАЮЩИЙ БЛОК: ИЗБРАННОЕ И КОРЗИНА (СПРАВА) */
.floating-actions { 
    position: fixed; 
    top: 90px; 
    right: 5%; 
    background: var(--white); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 10px 24px; 
    border-radius: 50px; 
    display: flex; 
    flex-direction: row;  
    gap: 24px;  
    z-index: 990; 
    box-shadow: 0 10px 30px rgba(26, 46, 36, 0.05); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; 
}

.floating-actions:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px rgba(26, 46, 36, 0.1); 
}

.f-action-btn { 
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--forest-dark); 
    transition: all 0.3s ease; 
}

.f-action-btn svg { 
    width: 20px; 
    height: 20px; 
}

.f-action-btn:hover { 
    color: var(--amber-gold); 
    transform: scale(1.15); 
}

/* Счетчик на иконке корзины */
.action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--amber-gold);
    color: var(--forest-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    line-height: 1;
}

/* Адаптивность для этого блока */
@media (max-width: 830px) {
    .floating-actions { top: 80px; }
}

@media (max-width: 768px) {
    /* На мобильных переносим корзину вниз в угол, чтобы не мешала читать */
    .floating-actions {
        top: auto;
        bottom: 20px;
        right: 5%;
        padding: 12px 24px;
        background: var(--white);
    }
}

/* ==========================================================================
   БОКОВЫЕ ПАНЕЛИ (FLOATING OFFCANVAS: КОРЗИНА И ИЗБРАННОЕ)
   ========================================================================== */

/* Темный фон (Overlay) - Оставляем без изменений */
.side-panel-overlay {
    position: fixed; inset: 0;
    background: rgba(26, 46, 36, 0.4); 
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 99990;
    opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.side-panel-overlay.active { opacity: 1; visibility: visible; }

/* Сама выезжающая "парящая" панель */
.side-panel {
    position: fixed; 
    top: 20px; /* Отступ сверху */
    right: -500px; /* Прячем глубоко за экран */
    width: 420px; 
    height: calc(100vh - 40px); /* Высота с учетом отступов (100% минус 20px сверху и 20px снизу) */
    background: var(--white);
    z-index: 99995;
    display: flex; flex-direction: column;
    border-radius: 32px; /* Закругляем все 4 угла */
    box-shadow: -10px 15px 60px rgba(0, 0, 0, 0.15); /* Мягкая тень со всех сторон */
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Активное состояние (отступ от правого края) */
.side-panel.active { 
    right: 20px; 
}

/* Шапка панели - Оставляем без изменений */
.panel-header {
    padding: 2.5rem 2.5rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(26, 46, 36, 0.08);
}
.panel-header h2 {
    margin: 0 !important; font-size: 1.6rem !important;
    font-weight: 600 !important; color: var(--forest-dark) !important;
}
.close-panel-btn {
    background: #f4f6f4; border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--forest-dark); cursor: pointer; transition: 0.3s;
}
.close-panel-btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.close-panel-btn:hover { background: var(--amber-gold); color: var(--white); }
.close-panel-btn:hover svg { transform: rotate(90deg); }

/* Тело панели со скроллом - Оставляем без изменений */
.panel-body {
    flex: 1; padding: 1.5rem 2.5rem;
    overflow-y: auto;
    -ms-overflow-style: none; scrollbar-width: none; 
}
.panel-body::-webkit-scrollbar { display: none; }

/* Карточка товара в панели - Оставляем без изменений */
.panel-item {
    display: flex; gap: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(26, 46, 36, 0.05);
    position: relative;
}
.p-item-img {
    width: 80px; height: 80px; flex-shrink: 0;
    border-radius: 12px; background: #e0e4e1; overflow: hidden;
}
.p-item-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.p-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.p-item-sku { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--amber-gold); font-weight: 700; margin-bottom: 0.2rem; }
.p-item-info h3 { font-size: 0.95rem !important; margin: 0 0 0.5rem 0 !important; color: var(--forest-dark) !important; font-weight: 600 !important; padding-right: 20px;}
.p-item-price { font-size: 0.95rem; font-weight: 600; color: var(--forest-dark); }

.p-item-remove {
    position: absolute; top: 1.5rem; right: 0;
    background: transparent; border: none;
    color: rgba(26, 46, 36, 0.4); cursor: pointer; padding: 0;
    transition: 0.3s;
}
.p-item-remove svg { width: 18px; height: 18px; }
.p-item-remove:hover { color: #d9534f; }

.qty-selector {
    display: inline-flex; align-items: center;
    background: #f4f6f4; border-radius: 50px;
    margin-top: 0.8rem; width: max-content; padding: 2px;
}
.qty-btn {
    background: transparent; border: none;
    width: 24px; height: 24px; display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; cursor: pointer; color: var(--forest-dark);
}
.qty-btn:hover { color: var(--amber-gold); }
.qty-input {
    width: 30px; text-align: center; border: none; background: transparent;
    font-size: 0.85rem; font-weight: 600; font-family: inherit; color: var(--forest-dark);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Подвал корзины (Итог и кнопка) */
.panel-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    border-top: 1px solid rgba(26, 46, 36, 0.08);
    background: var(--white);
    border-radius: 0 0 32px 32px; /* Закругляем оба нижних угла */
}
.panel-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; font-size: 1.2rem; color: var(--forest-dark);
}
.panel-total strong { font-size: 1.4rem; color: var(--amber-gold); }
.panel-checkout-btn { padding: 1.1rem !important; border-radius: 50px !important; font-size: 1rem !important; }

/* Адаптивность для телефонов */
@media (max-width: 576px) {
    .side-panel {
        width: 100%; right: -100%;
        top: 0; height: 100vh; /* На телефонах делаем на весь экран без отступов */
        border-radius: 0; 
    }
    .side-panel.active { right: 0; }
    .panel-header { padding: 1.5rem; }
    .panel-body { padding: 1rem 1.5rem; }
    .panel-footer { padding: 1.5rem; border-radius: 0; }
}

/* ==========================================================================
   СИСТЕМА АВТОРИЗАЦИИ (МОДАЛЬНЫЕ ОКНА)
   ========================================================================== */

.custom-auth-size {
    max-width: 460px !important; /* Узкое окно, идеально для форм входа */
}

.auth-content {
    padding: 3.5rem 3rem 2.5rem; /* Внутренние отступы карточки */
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.auth-header h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.5px;
}
.auth-header p {
    font-size: 0.95rem !important;
    color: rgba(26, 46, 36, 0.6) !important;
    margin: 0 !important;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest-dark);
    margin-bottom: 0.5rem;
}

.auth-input-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(26, 46, 36, 0.15);
    background: #fdfdfd;
    font-family: inherit;
    font-size: 1rem;
    color: var(--forest-dark);
    outline: none;
    transition: all 0.3s ease;
}

.auth-input-group input:focus {
    border-color: var(--amber-gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.1);
}

.auth-input-group input::placeholder {
    color: rgba(26, 46, 36, 0.3);
}

/* Специальное поле для ввода 4-значного кода */
.auth-code-input {
    text-align: center;
    font-size: 2rem !important;
    letter-spacing: 0.8em;
    font-weight: 600;
    padding: 1rem !important;
    border-radius: 16px !important;
}
.auth-code-input::placeholder { letter-spacing: 0.5em; }

.auth-actions-row {
    display: flex;
    justify-content: flex-end; /* Ссылка "Забыли пароль?" справа */
    margin-top: -0.5rem;
}

.auth-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--amber-gold) !important;
    text-decoration: none !important;
    transition: 0.3s;
}
.auth-link:hover { color: var(--forest-dark) !important; text-decoration: underline !important; }

.auth-submit-btn {
    padding: 1.1rem !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 46, 36, 0.08);
    font-size: 0.9rem;
    color: rgba(26, 46, 36, 0.7);
}

.auth-footer a {
    font-weight: 600;
    color: var(--forest-dark) !important;
    text-decoration: none !important;
    margin-left: 5px;
    transition: color 0.3s;
}
.auth-footer a:hover { color: var(--amber-gold) !important; }

/* Адаптивность для телефонов */
@media (max-width: 576px) {
    .auth-content { padding: 3rem 1.5rem 2rem; }
    .auth-header h2 { font-size: 1.8rem !important; }
}

/* БЛОКИ (ФОНЫ) */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; /* background-image: url('../img/altay2.jpg'); background-size: cover; background-repeat: no-repeat; */}
.hero-content { max-width: 800px; margin: 0 auto; }
.badge-forest { display: inline-block; padding: 6px 16px; background: rgba(44, 76, 59, 0.08); /* color: var(--forest-mid); */ color: var(--white); border-radius: 50px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; /* border: 1px solid var(--border); */ border: 1px solid var(--white); }
.hero-content p {color: var(--white) !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); font-weight: 400 !important;}
.hero-content h1 {color: var(--white) !important; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);}
/* .hero-content h1 em {color: var(--amber-gold) !important; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);} */

.about { padding: 4rem 0; /* background: var(--earth-light); */ /* background: transparent; *//*  background-color: rgba(235, 240, 236, 0.35); */ /* height: 700px; */ background: rgba(87, 94, 85, 0.35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; height: 600px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { color: var(--white) !important;}
/* .about-text p>span { color: var(--amber-gold) !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);} */
.about-text p { color: var(--white) !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);}

/* .ingredients { padding: 8rem 0; background: var(--moss-light) !important; color: var(--white) !important;}
.ingredients h2 { color: var(--forest-dark) !important; }
.ingredients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.ingredient-card {  background: var(--earth-light); padding: 3rem 2rem; border-radius: var(--radius-lg); transition: var(--transition); text-align: center;  border: 1px solid var(--border);}
.ingredient-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(44, 76, 59, 0.08); border-color: var(--forest-mid); }
.ingredient-card h3 { color: var(--forest-dark) !important; font-size: 1.3rem; margin-bottom: 1rem !important; }
.ingredient-card p { font-size: 0.95rem !important; opacity: 0.8; margin: 0 !important; color: var(--forest-dark) !important; } */

.ingredients { padding: 8rem 0; background: var(--moss-light) !important; color: var(--white) !important;}
.ingredients h2 { color: var(--forest-dark) !important; }
.ingredients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

.ingredient-card.image-only {
    padding: 0; 
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: box-shadow 0.6s ease, transform 0.6s ease;
    cursor: pointer;
}

.ingredient-card.image-only .ingredient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingredient-card.image-only:hover {
    box-shadow: 0 20px 50px rgba(26, 46, 36, 0.12);
    transform: translateY(-5px); 
}


.science { padding: 8rem 0; background: var(--moss-light); }
.science p { max-width: 600px; margin: 0 auto !important; }
.science-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-card { border-top: 1px solid var(--border); padding-top: 2rem; }
.stat-card h3 { font-family: 'Playfair Display', serif !important; font-size: 4rem !important; font-weight: 400 !important; color: var(--forest-dark) !important; margin-bottom: 1rem !important; }
.stat-card p { font-size: 1rem !important; color: var(--forest-mid) !important; margin: 0 !important; }

.compact-capsule { padding: 4rem 0; /* margin-bottom: 100px; */ background: transparent; background-image: url('../img/photoshop2.jpg'); background-repeat: no-repeat; background-size: cover; background-position: center; }
.capsule-glass-board { background: rgba(87, 94, 85, 0.35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 3rem 2rem; box-shadow: 0 15px 35px rgba(26, 46, 36, 0.1); }
.capsule-top-text { text-align: center; margin-bottom: 1.5rem; }
.capsule-top-text h2 { color: var(--moss-light) !important; margin-top: 1rem !important; margin-bottom: 0 !important; font-size: clamp(2rem, 4vw, 2.5rem) !important; }
.capsule-showcase { display: flex; align-items: center; justify-content: center; gap: 2rem; width: 100%;}
.capsule-center { flex-shrink: 0; width: 200px; display: flex; justify-content: center; align-items: center;}
.capsule-point {flex: 1 1 0%; max-width: 280px;}
/* --- ТАБЫ (ФИЛЬТР ТОВАРОВ) - Компактные и Липкие --- */
.product-tabs {
    position: sticky;
    top: 110px;
    z-index: 50;
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin: 0 auto 3rem;
    padding: 0.35rem;
    background: rgba(244, 243, 240, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    width: max-content;
    border: 1px solid rgba(26, 46, 36, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(26, 46, 36, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: var(--forest-dark);
}

.tab-btn.active {
    background: var(--forest-dark);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(26, 46, 36, 0.15);
}

.product-card.hide { display: none; }
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-card.show {
    animation: fadeInCard 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

   /* АНИМАЦИЯ ТРАНСПОРТНОЙ СИСТЕМЫ */

.transport-system {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell-core {
    position: relative;
    z-index: 5;
    width: 32px;
    height: 32px;
    background: var(--amber-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.8);
    animation: cell-pulse 3s ease-in-out infinite;
}

.detox-wave {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.5);
    box-sizing: border-box;
    animation: detox-ripple 4.5s linear infinite;
    opacity: 0;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 1.5s; }
.wave-3 { animation-delay: 3s; }

.nutrient {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--white);
    z-index: 6;
    opacity: 0;
}

.nut-1 { animation: absorb-top 3s ease-in infinite 0.5s; }
.nut-2 { animation: absorb-left 3s ease-in infinite 1.5s; }
.nut-3 { animation: absorb-right 3s ease-in infinite 2.5s; }

@keyframes cell-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 35px rgba(197, 168, 128, 0.9), inset 0 0 15px rgba(255, 255, 255, 1); }
}

@keyframes detox-ripple {
    0% { width: 32px; height: 32px; opacity: 0.8; border-width: 2px; }
    100% { width: 180px; height: 180px; opacity: 0; border-width: 1px; border-color: rgba(255, 255, 255, 0.1); }
}

@keyframes absorb-top {
    0% { top: 0%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { top: 40%; left: 50%; opacity: 1; }
    100% { top: 50%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

@keyframes absorb-left {
    0% { top: 85%; left: 15%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { top: 60%; left: 40%; opacity: 1; }
    100% { top: 50%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

@keyframes absorb-right {
    0% { top: 85%; left: 85%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { top: 60%; left: 60%; opacity: 1; }
    100% { top: 50%; left: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0); }
}
.point-left { text-align: right; border-right: 2px solid var(--amber-gold); padding-right: 1.5rem; height: 200px; }
.point-right { text-align: left; border-left: 2px solid var(--amber-gold); padding-left: 1.5rem; height: 200px; }
.capsule-point h3 { color: var(--amber-gold) !important; font-size: 0.80rem !important; margin-bottom: 0.5rem !important; text-transform: uppercase; letter-spacing: 1px; }
.capsule-point p { color: rgba(255,255,255,0.7) !important; font-size: 0.9rem !important; margin: 0 !important; line-height: 1.5 !important; }


.technologies { padding: 0 0 8rem 0; background: var(--moss-light); }
.technologies > div{top: 100px; position: relative;}
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.bento-item { background: var(--earth-light); border-radius: var(--radius-lg); padding: 3rem; border: 1px solid var(--border); transition: var(--transition); }
.bento-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(44, 76, 59, 0.08); border-color: var(--forest-mid); }
.item-large { grid-column: span 2; background: linear-gradient(135deg, var(--earth-light) 0%, #E3E7E1 100%); }
.bento-content h3 { font-size: 1.5rem !important; color: var(--forest-dark) !important; margin-bottom: 1rem !important; }
.bento-content p { margin: 0 !important; font-size: 1rem !important; }

.offer { padding: 4rem 0 8rem; background: var(--moss-light); }
.offer-banner { background: var(--forest-mid); border-radius: var(--radius-lg); padding: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 4rem; color: var(--white); overflow: hidden; position: relative;}
.offer-text { flex: 1; z-index: 2;}
.offer-text h2 { color: var(--white) !important; margin-bottom: 1rem !important; }
.offer-text p { color: rgba(255,255,255,0.8) !important; margin-bottom: 2rem !important; }
.badge-gold { display: inline-block; background: var(--amber-gold); color: var(--forest-dark); padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.offer-img { flex: 1; height: 350px; border-radius: var(--radius); overflow: hidden; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.3);}
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-banner::before { content:''; position:absolute; top:-50%; right:-10%; width: 400px; height: 400px; background: rgba(197, 168, 128, 0.2); border-radius: 50%; filter: blur(50px); z-index: 1;}

/* Блок цен в оффере */
.offer-price-block { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.price-row { display: flex; align-items: center; gap: 0.8rem; }
.price-new { font-size: 1.8rem; font-weight: 700; color: var(--amber-gold); line-height: 1; }
.price-old { font-size: 1.1rem; color: rgba(255, 255, 255, 0.6); text-decoration: line-through; font-weight: 400; }
.shipping-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); font-weight: 400; }

   /* СТИЛИ ДЛЯ ТОЧЕК КАРУСЕЛИ ОФФЕРОВ */

#offerCarousel .custom-indicators {
    position: absolute;
    bottom: -3rem;
    margin: 0;
    justify-content: center;
    gap: 8px;
}

#offerCarousel .custom-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--forest-mid);
    opacity: 0.3;
    border: none;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

#offerCarousel .custom-indicators button.active {
    opacity: 1;
    background-color: var(--amber-gold);
    width: 28px; 
    border-radius: 5px;
}

#offerCarousel .custom-indicators button:hover:not(.active) {
    opacity: 0.6;
    background-color: var(--forest-dark);
}

#offerCarousel .carousel-item {
    padding: 0 1rem; 
}

   /* КАРТОЧКИ ТОВАРОВ С БЫСТРЫМ ПРОСМОТРОМ */

.showcase { padding: 4rem 0; background: var(--earth-light); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem 2rem; align-items: stretch; }

.halal-ico{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 55px;
    height: 55px;
    z-index: 5;
    background: var(--amber-gold);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--forest-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.halal-ico svg {
    width: 90%;
    height: 90%;
}

@media (max-width: 576px) {
    .halal-ico {
        width: 38px;
        height: 38px;
        top: 7px;
        right: 7px;
    }
    .halal-ico svg text {
        font-size: 14px;
    }
}

.product-card { 
    background: var(--white); border-radius: var(--radius); overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: all 0.4s ease; 
    display: flex; flex-direction: column; border: 1px solid var(--border); height: 100%; 
    cursor: pointer; 
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(26, 46, 36, 0.08); border-color: var(--amber-gold); }

.img-wrapper { width: 100%; padding-top: 110%; position: relative; overflow: hidden; background: #E8ECE9; }
.product-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; mix-blend-mode: multiply; }
.product-card:hover .product-img { transform: scale(1.05); }

.btn-quick-view {
    position: absolute;
    bottom: 1.5rem; 
    left: 50%;
    transform: translateX(-50%) translateY(20px); 
    
    background: var(--white);
    color: var(--forest-dark);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 2.5rem; 
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    white-space: nowrap;
    opacity: 0; 
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .btn-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.btn-quick-view:hover {
    background: var(--amber-gold);
    color: var(--white);
}

.product-tag { position: absolute; top: 1rem; left: 1rem; background: var(--forest-dark); color: var(--white) !important; padding: 6px 14px; border-radius: 50px; font-size: 0.7rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; z-index: 2; }
.product-tag.new { background: var(--amber-gold); color: var(--text-dark) !important; }

.card-info { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.product-meta { font-size: 0.75rem; color: var(--amber-gold); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; margin-bottom: 0.5rem; }
.card-info h3 { margin: 0 0 0.75rem 0 !important; font-size: 1.3rem !important; font-weight: 600 !important; color: var(--forest-dark) !important; }
.card-info p { font-size: 0.95rem !important; margin: 0 !important; color: rgba(0,0,0,0.6); }
.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--amber-gold);
    margin-top: auto;
    padding-top: 1rem;
}

.btn-product-more {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 10px !important;
    font-size: 0.9rem;
    color: #1A2E24;
    border: 1px solid #1A2E24;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

   /* БЛОК FAQ */

.faq { background: var(--forest-dark) !important; color: var(--moss-light) !important; padding: 8rem 0; }
.faq h2 { color: var(--moss-light) !important; text-align: center; margin-bottom: 4rem !important; }
.faq-container { max-width: 800px; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-header { width: 100%; text-align: left; background: none; border: none; padding: 2rem 0; font-size: 1.2rem; font-weight: 500; color: var(--white); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.plus-icon { font-size: 1.5rem; transition: transform 0.3s; color: var(--amber-gold); }
.faq-item.is-open .plus-icon { transform: rotate(45deg); }

.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-panel p { color: rgba(255,255,255,0.7) !important; padding-bottom: 2rem !important; margin: 0 !important; }


   /* МОДАЛЬНЫЕ ОКНА BOOTSTRAP */

/* Плавный фон без черного мерцания (родной Bootstrap) */
.modal-backdrop { --bs-backdrop-bg: #1A2E24 !important; --bs-backdrop-opacity: 0.7 !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

html { overflow-y: scroll !important; }
body.modal-open { padding-right: 0 !important; }
.custom-modal-size { max-width: 900px !important; }

.modal-content { background-color: transparent !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }

.premium-modal-content { position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); }
.premium-modal-close { position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10; background: var(--earth-light); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--forest-dark); cursor: pointer; transition: 0.3s; }
.premium-modal-close:hover { background: var(--forest-dark); color: var(--amber-gold); transform: rotate(90deg); }

.premium-modal-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.premium-modal-img { background: #E8ECE9; position: relative; }
.premium-modal-img img { position: absolute; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.premium-modal-info { padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.premium-modal-info h2 { font-size: 2.2rem !important; margin-bottom: 1rem !important; font-family: 'Playfair Display', serif !important; }
/* Цена в модальном окне */
.modal-price {
    font-size: 1.3rem; 
    font-weight: 600; 
    color: var(--amber-gold);
    display: inline-block;
    margin-top: -20px;
}

.modal-price .old-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.modal-offer-price {display: inline-block; margin-top: -20px;}
.m-price-row { display: flex; align-items: baseline; gap: 0.8rem; }
.m-price-new { font-size: 1.5rem; font-weight: 700; color: var(--amber-gold); }
.m-price-old { font-size: 1rem; color: rgba(0,0,0,0.4); text-decoration: line-through; font-weight: 400; }

.modal-lead { font-size: 1.15rem !important; font-weight: 500 !important; color: var(--forest-dark) !important; margin-bottom: 2rem !important; line-height: 1.4 !important; }
.modal-divider { width: 40px; height: 2px; background: var(--amber-gold); margin-bottom: 2rem; }
.modal-description { font-size: 0.95rem; color: rgba(27, 36, 30, 0.8); }
.modal-description ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.modal-description li { margin-bottom: 0.5rem; }

/* Блок преимуществ в модальном окне */
.modal-benefits h4 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; color: var(--forest-dark); letter-spacing: 1px; margin-bottom: 1rem; }
.modal-benefits ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.modal-benefits li { position: relative; padding-left: 1.2rem; font-size: 0.9rem; color: rgba(0,0,0,0.7); margin-bottom: 0.6rem; line-height: 1.4; }
.modal-benefits li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; background-color: var(--amber-gold); border-radius: 50%; }


   /* ОСТАЛЬНЫЕ СЕКЦИИ */

.ugc { padding: 4rem 0; background: var(--moss-light); }
.ugc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.ugc-item { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; display: block; }
.ugc-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ugc-overlay { position: absolute; inset: 0; background: rgba(26, 46, 36, 0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.ugc-overlay span { color: var(--white); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--white); padding: 8px 16px; border-radius: 50px; transform: translateY(20px); transition: transform 0.3s ease; }
.ugc-item:hover img { transform: scale(1.1); }
.ugc-item:hover .ugc-overlay { opacity: 1; }
.ugc-item:hover .ugc-overlay span { transform: translateY(0); }

.reviews { padding: 4rem 0; background: var(--earth-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.review-card { background: var(--glass-bg); border: 1px solid var(--border); padding: 2.5rem; border-radius: var(--radius); transition: var(--transition); }
.review-card:hover { background: var(--white); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.stars { color: var(--amber-gold); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { font-style: italic; font-size: 1.05rem !important; margin-bottom: 2rem !important; }
.author { font-weight: 600; font-size: 0.9rem; color: var(--forest-dark); margin: 0 !important; }

.newsletter { padding: 4rem 0; background: var(--earth-light); text-align: center; }
.news-content { max-width: 600px; margin: 0 auto; }
.news-form { display: flex; gap: 1rem; margin-top: 2rem; }
.news-form input { flex: 1; padding: 1rem 1.5rem; border-radius: 50px; border: 1px solid var(--border); background: var(--white); font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; }
.news-form input:focus { border-color: var(--forest-mid); box-shadow: 0 0 0 3px rgba(44, 76, 59, 0.1); }

/* footer { background: var(--forest-dark); color: rgba(255,255,255,0.7); padding: 5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
.footer-col .logo { color: var(--white) !important; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-col.links { display: flex; flex-direction: column; gap: 1rem; }
.footer-col.links a { transition: 0.3s; }
.footer-col.links a:hover { color: var(--amber-gold) !important; }
.contact-info a { color: var(--white) !important; font-weight: 500; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.8rem; } */

/* ФУТЕР */

.exact-footer { 
    background: var(--forest-dark); 
    color: var(--white); 
    padding: 5rem 0 4rem; 
}

/* --- ВЕРХНИЙ ЭТАЖ: Контакты и Карта --- */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-contacts h2 {
    font-size: 2.0rem !important;
    color: var(--white) !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1;
}

.contact-block { margin-bottom: 1.5rem; }
.contact-block strong {
    display: block;
    font-size: 1.0rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.contact-block p {
    font-size: 0.90rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
}
.phone-link, .email-link {
    display: block;
    color: var(--white) !important;
    font-size: 1.0rem;
    text-decoration: none;
    margin-bottom: 0.3rem;
    transition: 0.3s;
}
.phone-link:hover, .email-link:hover { color: var(--amber-gold) !important; }

.footer-map {
    width: 100%;
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 4rem 0 3rem; 
}

/* --- НИЖНИЙ ЭТАЖ: 4 Колонки --- */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.2fr;
    gap: 2.5rem;
    align-items: start; 
}

/* Колонка 1: Лого и соцсети */
.f-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: -6px !important; 
    margin-bottom: 1.5rem;
    line-height: 1;
}
.f-socials {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.f-soc {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: var(--white);
    color: var(--forest-dark) !important;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    transition: 0.3s;
}
.f-soc:hover { background: var(--amber-gold); }

.f-copyright p {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}
.f-reqs { text-transform: none !important; }

/* Колонка 2: Документы */
.f-col-docs h4 {
    color: var(--white) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
}
.f-col-docs a {
    display: block;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    text-decoration: underline; 
    text-decoration-color: rgba(255,255,255,0.3);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: 0.3s;
}
.f-col-docs a:hover {
    color: var(--white) !important;
    text-decoration-color: var(--white);
}

/* Колонки 3 и 4: Тексты */
.f-col-text p {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}
.f-col-text p:first-child {
    margin-top: 0 !important; 
}
.f-col-text strong {
    color: var(--white);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

/* АНИМАЦИИ ПОЯВЛЕНИЯ (BOOTSTRAP) */
.reveal, .reveal-up, .reveal-right { opacity: 0; transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal { transform: translateY(30px); }
.reveal-up { transform: translateY(50px); }
.reveal-right { transform: translateX(50px); }
.reveal.is-revealed, .reveal-up.is-revealed, .reveal-right.is-revealed { opacity: 1 !important; transform: translate(0) !important; }

/* ПАРАЛЛАКС ЭФФЕКТ */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../img/photoshop1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(1px) brightness(0.7) saturate(0.8);
    transform: scale(1.05);
}

/* .parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(235, 240, 236, 0.85), rgba(235, 240, 236, 0.85)), url('../img/poster.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
} */

/* ==========================================================================
   ИЗОЛИРОВАННЫЙ ДИЗАЙН СТРАНИЦЫ ТОВАРА (PRODUCT DETAIL)
   ========================================================================== */

.showcase-product-body {
    background-color: #ebf0ec !important;
    font-family: 'Inter', sans-serif;
    color: #1B241E;
}

.prod-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 5% 4rem;
}

/* Кнопка "Назад" - ПЛАВАЮЩАЯ СЛЕВА */
.showcase-back-btn {
    position: fixed;
    top: 150px;
    left: 5%;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1A2E24 !important;
    text-decoration: none !important;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 46, 36, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.showcase-back-btn:hover { 
    background: #ffffff; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
}

/* ВЕРХНЯЯ СЕКЦИЯ: ГАЛЕРЕЯ + ИНФО */
.prod-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

/* ЛЕВАЯ КОЛОНКА: ЛИПКАЯ ГАЛЕРЕЯ */
.prod-gallery-col {
    position: sticky;
    top: 160px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prod-main-img-wrap {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    aspect-ratio: 4 / 5;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.prod-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease, transform 0.5s ease;
}
.prod-main-img-wrap:hover img { transform: scale(1.03); }

.prod-thumbs-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.prod-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
    background: var(--white);
}

.prod-thumb.active {
    opacity: 1;
    border-color: var(--forest-dark);
}
.prod-thumb:hover { opacity: 1; transform: translateY(-2px); }

/* ПРАВАЯ КОЛОНКА: ИНФОРМАЦИЯ */
.prod-info-col {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}

.prod-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(26,46,36,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.prod-category { color: var(--amber-gold); }

.prod-title {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
    color: var(--forest-dark) !important;
    letter-spacing: -1px;
}
.prod-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
}

.prod-volume {
    font-size: 1.1rem;
    color: var(--amber-gold);
    margin-bottom: 1.0rem;
}

.prod-lead {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: rgba(27,36,30,0.7) !important;
    margin-bottom: 0px !important;
}

.prod-price-wrap {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.prod-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--amber-gold);
    line-height: 1;
}

.prod-price-crossed {
    text-decoration: line-through;
    font-size: 1rem;
    color: rgba(26,36,30,0.7);
}

.prod-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.prod-btn-cart {
    flex: 1;
    padding: 0.9rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}
.prod-btn-fav {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--forest-dark);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--forest-dark);
    flex-shrink: 0;
}
.prod-btn-fav svg { width: 20px; height: 20px; }
.prod-btn-fav:hover { background: var(--forest-dark); color: var(--white); transform: translateY(-3px); }

/* Описание */
.prod-description h3 {
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem !important;
    color: var(--forest-dark) !important;
}
.prod-description p {
    font-size: 0.95rem !important;
    color: rgba(27,36,30,0.7) !important;
    line-height: 1.6 !important;
}

/* СЕКЦИЯ ВНИЗУ: ТАБЫ (ВКЛАДКИ) */
.prod-tabs-section {
    margin-top: 2rem;
}

.prod-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.prod-tabs-nav::-webkit-scrollbar {
    display: none;
}

.prod-tab-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26,46,36,0.1);
    padding: 0.7rem 1.9rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: rgba(26,46,36,0.6);
}
.prod-tab-btn.active, .prod-tab-btn:hover {
    background: var(--forest-dark);
    color: var(--white);
    border-color: var(--forest-dark);
    box-shadow: 0 5px 15px rgba(26,46,36,0.15);
}

/* Белый блок с контентом */
.prod-tabs-content {
    background: var(--white);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    min-height: 300px;
}

.prod-tab-pane {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}
.prod-tab-pane.active { display: block; }
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.prod-pane-title {
    font-size: 2.4rem !important;
    margin-bottom: 2rem !important;
    color: var(--forest-dark) !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
}

/* Внутрянка табов (Списки и шаги) */
.prod-ingredients-list, .prod-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prod-ingredients-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26,46,36,0.05);
    font-size: 0.95rem;
}
.prod-ingredients-list li strong { color: var(--amber-gold); }

.prod-benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(27,36,30,0.8);
}
.prod-benefits-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    background-color: var(--amber-gold);
    border-radius: 50%;
}

.prod-usage-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.prod-step { display: flex; gap: 1.5rem; }
.prod-step-num { 
    width: 45px; height: 45px; 
    border-radius: 50%; 
    background: var(--forest-dark); 
    color: white; 
    display: flex; justify-content: center; align-items: center; 
    font-weight: 600; flex-shrink: 0; 
}
.prod-step strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--forest-dark); }
.prod-step p { font-size: 0.95rem !important; color: rgba(27,36,30,0.7) !important; margin: 0 !important;}

/* --- СТИЛИ FAQ ВНУТРИ ТАБОВ (ТЕМНЫЙ АККОРДЕОН) --- */
.prod-tabs-content .faq-list { margin-top: 1.5rem; }
.prod-tabs-content .faq-item {
    background-color: var(--forest-dark);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: none;
    overflow: hidden;
}
.prod-tabs-content .faq-header {
    color: var(--white);
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.prod-tabs-content .faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.prod-tabs-content .faq-panel p {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 1.5rem 1.5rem 1.5rem !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
}
.prod-tabs-content .faq-item.is-open .plus-icon {
    transform: rotate(45deg);
    color: var(--amber-gold);
}

.prod-badge-halal {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 65px;
    height: 65px;
    z-index: 5;
    background: var(--amber-gold);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--forest-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.prod-badge-halal svg {
    width: 90%;
    height: 90%;
}

.prod-related-section {
    padding-top: 4rem;
}

.prod-related-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.prod-related-nav {
    display: flex;
    gap: 10px;
}

.related-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(26,46,36,0.2);
    background: transparent;
    color: var(--forest-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-nav-btn:hover {
    background: var(--forest-dark);
    color: var(--white);
    border-color: var(--forest-dark);
    transform: translateY(-2px);
}

.prod-related-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
}

.prod-related-carousel::-webkit-scrollbar { 
    display: none; 
}

.prod-related-carousel .product-card {
    flex: 0 0 calc((100% - 4rem) / 3); 
    scroll-snap-align: start;
}

/* --- СЕКЦИЯ СЕРТИФИКАТОВ --- */
.prod-certificates-section {
    padding-top: 4rem;
}

.prod-cert-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.prod-cert-header .prod-lead {
    max-width: 600px;
    margin: 0 auto !important;
}

.prod-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 46, 36, 0.08);
    border-color: var(--amber-gold);
}

.cert-img-wrap {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1.4;
    background: #f4f6f4;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(26,46,36,0.05);
}

.cert-fallback {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

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

.cert-info h4 {
    font-size: 1.15rem !important;
    color: var(--forest-dark) !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

.cert-info p {
    font-size: 0.9rem !important;
    color: rgba(26,46,36,0.6) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.prod-cert-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.cert-link-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-dark) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(26, 46, 36, 0.2);
    transition: all 0.3s ease;
}

.cert-link-all svg {
    transition: transform 0.3s ease;
}

.cert-link-all:hover {
    color: var(--amber-gold) !important;
    border-bottom-color: var(--amber-gold);
}

.cert-link-all:hover svg {
    transform: translateX(5px); /* Стрелочка уезжает вправо при наведении */
}


/* АДАПТИВНОСТЬ СТРАНИЦЫ ТОВАРА */
@media (max-width: 1024px) {
    .prod-related-carousel .product-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .prod-related-carousel {
        gap: 1rem;
    }
    .prod-related-carousel .product-card {
        flex: 0 0 85%;
    }

    /* Сертификаты на мобильных - свайп вбок */
    .prod-cert-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1.5rem;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    .prod-cert-grid::-webkit-scrollbar { display: none; }
    
    .cert-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

@media (max-width: 991px) {
    .prod-hero-section { grid-template-columns: 1fr; gap: 3rem; }
    .prod-gallery-col { position: relative; top: 0; }
    .prod-tabs-content { padding: 2.5rem; }
}

@media (max-width: 576px) {
    .prod-title { font-size: 2.2rem !important; }
    .prod-price { font-size: 2rem; }
    .prod-actions { flex-direction: column; }
    .prod-btn-cart { width: 100%; }
    .prod-btn-fav { width: 100%; height: 55px; }
    .prod-tabs-nav { 
        padding-bottom: 15px; 
        justify-content: flex-start; 
    } 
    .prod-tab-btn { padding: 0.8rem 1.2rem; font-size: 0.85rem; }
    .prod-tabs-content { padding: 1.5rem; }
    .prod-step { flex-direction: column; gap: 1rem; }
    
    .showcase-back-btn {
        top: 80px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    .prod-badge-halal {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
    .prod-badge-halal svg text {
        font-size: 14px;
    }
}



/* ==========================================================================
   ИЗОЛИРОВАННЫЙ ДИЗАЙН СТРАНИЦЫ ВСЕХ СЕРТИФИКАТОВ (CERTIFICATES PAGE)
   ========================================================================== */

.certs-page-area {
    width: 100%;
    min-height: 100vh;
}

.certs-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 5% 6rem; /* Отступ сверху под фиксированную шапку */
}

/* Шапка страницы */
.certs-page-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certs-page-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.certs-page-title {
    font-size: 3rem !important;
    font-weight: 500 !important;
    letter-spacing: -1px;
    color: var(--forest-dark) !important;
    margin-bottom: 1.5rem !important;
}

.certs-page-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
}

.certs-page-line {
    width: 50px;
    height: 1px;
    background: var(--forest-dark);
    opacity: 0.2;
    margin-bottom: 2rem;
}

.certs-page-lead {
    max-width: 700px;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: rgba(27, 36, 30, 0.8);
    margin: 0 !important;
}

/* Сетка карточек */
.certs-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
}

.cert-page-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 46, 36, 0.08);
    border-color: var(--amber-gold);
}

/* Контейнер картинки */
.cert-page-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.41; /* Стандарт листа А4 */
    background: #f4f6f4;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(26, 46, 36, 0.05);
    margin-bottom: 2rem;
}

.cert-page-fallback {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
    transition: transform 0.4s ease;
}

.cert-page-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Темная шторка при наведении */
.cert-page-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 46, 36, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-page-overlay span {
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 1px solid var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-page-card:hover .cert-page-overlay { opacity: 1; }
.cert-page-card:hover .cert-page-overlay span { transform: translateY(0); }
.cert-page-card:hover .cert-page-img { transform: scale(1.03); }
.cert-page-card:hover .cert-page-fallback { transform: scale(1.1); }

/* Текстовая часть карточки */
.cert-page-info h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
}

.cert-page-info p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: rgba(27, 36, 30, 0.6) !important;
    margin: 0 !important;
}

/* --- АДАПТИВНОСТЬ СТРАНИЦЫ --- */
@media (max-width: 991px) {
    .certs-page-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 2.5rem 2rem;
    }
    .certs-page-title { font-size: 2.4rem !important; }
}

@media (max-width: 576px) {
    .certs-page-container { padding-top: 100px; }
    .certs-page-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 2rem;
    }
    .certs-page-title { font-size: 2rem !important; }
    .certs-page-lead { font-size: 0.95rem !important; }
    .cert-page-card { padding: 1rem; }
    .cert-page-img-wrap { margin-bottom: 1.2rem; }
}



/* ==========================================================================
   ПРЕМИАЛЬНАЯ ПЛИТОЧНАЯ СТРУКТУРА (PREMIUM BENTO GRID)
   ========================================================================== */

.bento-page-body {
    background-color: #ebf0ec !important;
    font-family: 'Inter', sans-serif;
    color: #1B241E;
}

.pb-area {
    width: 100%;
    position: relative;
    z-index: 2;
}

.pb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 130px 5% 6rem;
}

/* Заголовок страницы */
.info-header-block {
    margin-bottom: 2.5rem;
}
.info-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
}
.info-main-title {
    font-size: 3rem !important;
    font-weight: 500 !important;
    color: var(--forest-dark) !important;
    letter-spacing: -1px;
}
.info-main-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
}
.info-line {
    width: 40px;
    height: 1px;
    background: var(--forest-dark);
    opacity: 0.15;
    margin: 1.5rem auto 0;
}

/* Разделители секций */
.pb-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

/* СЕТКА (BENTO GRID) */
.pb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Карточка Bento */
.pb-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(26, 46, 36, 0.06);
    box-shadow: 0 10px 35px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(26, 46, 36, 0.08);
    border-color: rgba(197, 168, 128, 0.4);
}

.pb-card.pb-wide {
    grid-column: 1 / -1;
}

.pb-form-card {
    max-width: 650px; /* Делаем форму намного меньше и аккуратнее */
}

/* Иконки в карточках */
.pb-icon {
    width: 54px;
    height: 54px;
    background: #f4f6f4;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--forest-dark);
    transition: background 0.3s ease, color 0.3s ease;
}
.pb-icon svg {
    width: 26px;
    height: 26px;
}
.pb-card:hover .pb-icon {
    background: var(--forest-dark);
    color: var(--amber-gold);
}

/* Тексты внутри карточек */
.pb-card h3 {
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    margin-bottom: 1.5rem !important;
}
.pb-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(27, 36, 30, 0.5);
    margin-left: 0.5rem;
}

.pb-text {
    font-size: 1rem !important;
    color: rgba(27, 36, 30, 0.8) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

/* Списки и цены */
.pb-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.pb-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(26, 46, 36, 0.1);
    font-size: 0.95rem;
}
.pb-list li:last-child { border-bottom: none; }
.pb-list li span:first-child { color: rgba(27, 36, 30, 0.75); }
.pb-list li strong { color: var(--forest-dark); font-weight: 600; }

.pb-highlight {
    background: rgba(197, 168, 128, 0.15);
    color: var(--forest-dark);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pb-note {
    font-size: 0.85rem !important;
    color: rgba(27, 36, 30, 0.55) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 46, 36, 0.06);
}
.pb-note.italic { font-style: italic; border-top: none; padding-top: 0.5rem; }

.pb-phone {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--forest-dark);
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 46, 36, 0.06);
}

/* Обычный список буллитами */
.pb-bullet-list {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.pb-bullet-list li {
    font-size: 0.95rem;
    color: rgba(27, 36, 30, 0.8);
    margin-bottom: 0.5rem;
}

/* Колонки в широкой карточке */
.pb-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.pb-columns p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.8rem !important;
    color: rgba(27, 36, 30, 0.8);
}

/* Адрес шоурума */
.pb-address-block {
    background: #f4f6f4;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}
.pb-address-block strong {
    display: block;
    font-size: 1.1rem;
    color: var(--forest-dark);
    margin-bottom: 0.3rem;
}
.pb-address-block span {
    font-size: 0.9rem;
    color: rgba(27, 36, 30, 0.6);
}

/* FAQ (ТЕМНЫЙ АККОРДЕОН ВНУТРИ БЕЛОЙ КАРТОЧКИ) */
.pb-faq .faq-item {
    background-color: var(--forest-dark) !important;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    border: none !important;
    overflow: hidden;
}
.pb-faq .faq-header {
    color: var(--white) !important;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}
.pb-faq .faq-panel p {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 1.5rem 1.5rem 1.5rem !important;
    background: transparent !important;
    margin: 0 !important;
}
.pb-faq .faq-item.is-open .plus-icon {
    transform: rotate(45deg);
    color: var(--amber-gold);
}

/* ФОРМА СВЯЗИ */
.pb-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.pb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.pb-input-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 0.5rem;
    display: block;
}
.pb-input-group input, .pb-input-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(26, 46, 36, 0.15);
    background: #fdfdfd;
    font-family: inherit;
    font-size: 1rem;
    color: var(--forest-dark);
    outline: none;
    transition: all 0.3s ease;
}
.pb-input-group input:focus, .pb-input-group textarea:focus {
    border-color: var(--amber-gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.1);
}
.pb-submit-btn {
    background: var(--forest-dark);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pb-submit-btn:hover {
    background: var(--amber-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.3);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 991px) {
    .pb-grid { grid-template-columns: 1fr; }
    .pb-card.pb-wide { grid-column: span 1; }
    .pb-columns { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 576px) {
    .pb-container { padding-top: 100px; }
    .info-main-title { font-size: 2.2rem !important; }
    .pb-card { padding: 1.5rem; }
    .pb-form-row { grid-template-columns: 1fr; }
    .pb-submit-btn { width: 100%; }
    .pb-list li { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 0.8rem 0; }
}


/* ==========================================================================
   ИЗОЛИРОВАННЫЙ ДИЗАЙН СТРАНИЦЫ СОТРУДНИЧЕСТВА (БЕНТО-СТИЛЬ)
   ========================================================================== */

.b2b-page-body {
    background-color: #ebf0ec !important;
    font-family: 'Inter', sans-serif;
    color: #1B241E;
    overflow-x: hidden;
}

.b2b-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.b2b-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 130px 5% 6rem;
    position: relative;
}

/* --- HERO СЕКЦИЯ --- */
.b2b-hero {
    margin-bottom: 5rem;
    padding-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.b2b-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
}

.b2b-title {
    /* font-size: clamp(3.2rem, 5vw, 4.5rem) !important; */
    font-size: 3rem !important;
    font-weight: 500 !important;
    color: var(--forest-dark) !important;
    line-height: 1.1 !important;
    letter-spacing: -1px;
    margin-bottom: 1rem !important;
}
.b2b-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
}

.b2b-lead {
    font-size: 1.2rem !important;
    color: rgba(27, 36, 30, 0.7) !important;
    line-height: 1.6 !important;
    position: relative;
    z-index: 20; 
}

/* --- КОНТЕЙНЕР ДЛЯ ХОЛСТА (БЕЗ ОБРЕЗАНИЯ КРАЕВ) --- */
.b2b-synergy-core {
    position: relative;
    width: 100%;
    height: 140px; 
    margin: 1.5rem auto 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#synergy-rings-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none; 
}

#synergy-rings-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    outline: none;
}

/* --- КАРТОЧКИ И БЕНТО СЕТКА --- */
.b2b-story-block {
    position: relative;
    margin-bottom: 4rem;
}

.b2b-glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: orbFloat 8s infinite alternate ease-in-out;
}
.orb-1 { background: rgba(197, 168, 128, 0.5); top: -50px; left: -100px; }
.orb-2 { background: rgba(26, 46, 36, 0.4); bottom: -50px; right: -100px; animation-delay: -3s; }
.orb-3 { background: rgba(197, 168, 128, 0.4); top: 20%; right: -50px; animation-delay: -5s; }

@keyframes orbFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.1); }
}

.b2b-glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.b2b-glass-card.dark-mode {
    background: var(--forest-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.layout-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.layout-grid.reverse {
    flex-direction: row-reverse;
}

.b2b-text-content { flex: 1 1 50%; }
.b2b-ill-wrap {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}
.dark-wrap {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255,255,255,0.05);
}

.b2b-text-content h3 {
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    color: var(--forest-dark) !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px;
}
.dark-mode .b2b-text-content h3 { color: var(--white) !important; }

.b2b-text-content p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: rgba(27, 36, 30, 0.8);
    margin-bottom: 1rem !important;
}
.dark-mode .b2b-text-content p { color: rgba(255, 255, 255, 0.7) !important; }

.b2b-alert-box {
    background: rgba(197, 168, 128, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.b2b-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.b2b-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--forest-dark);
}
.dark-mode .b2b-list li { color: var(--white); }
.b2b-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--amber-gold);
    font-weight: bold;
}
.light-list li { color: rgba(255,255,255,0.8) !important; }

.cert-mini-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cert-badge {
    padding: 4px 12px;
    background: var(--forest-dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

/* --- ВЕКТОРНАЯ ИЛЛЮСТРАТИВНАЯ ГРАФИКА В КАРТОЧКАХ --- */
/* .ill-molecule { width: 200px; height: 200px; position: relative; display: flex; justify-content: center; align-items: center; }
.mol-core { width: 60px; height: 60px; background: radial-gradient(circle, var(--amber-gold) 0%, transparent 80%); border-radius: 50%; box-shadow: 0 0 40px var(--amber-gold); animation: pulse 3s infinite alternate; }
.mol-orbit { position: absolute; width: 140px; height: 140px; border: 1px dashed rgba(26, 46, 36, 0.3); border-radius: 50%; animation: spin 10s linear infinite; }
.orb-b { width: 190px; height: 190px; border: 1px solid rgba(197, 168, 128, 0.4); animation: spinReverse 15s linear infinite; }
.mol-particle { position: absolute; width: 12px; height: 12px; background: var(--forest-dark); border-radius: 50%; }
.p1 { top: 10%; left: 20%; animation: floatP 4s infinite alternate ease-in-out; }
.p2 { bottom: 20%; right: 10%; background: var(--amber-gold); animation: floatP 5s infinite alternate-reverse ease-in-out; }
.p3 { top: 50%; right: 5%; width: 8px; height: 8px; animation: floatP 3s infinite alternate ease-in-out; }

.ill-synergy { position: relative; width: 180px; height: 180px; }
.syn-ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 8px solid rgba(197, 168, 128, 0.8); backdrop-filter: blur(4px); }
.ring-1 { top: 10%; left: 10%; border-color: rgba(197, 168, 128, 0.9); z-index: 2; animation: floatP 4s infinite alternate ease-in-out;}
.ring-2 { bottom: 10%; right: 10%; border-color: rgba(255, 255, 255, 0.3); z-index: 1; animation: floatP 4s infinite alternate-reverse ease-in-out;}
.syn-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: var(--white); border-radius: 50%; box-shadow: 0 0 20px var(--white); z-index: 3; }

.ill-growth { display: flex; align-items: flex-end; gap: 15px; height: 150px; position: relative; }
.gr-bar { width: 30px; background: linear-gradient(to top, rgba(26, 46, 36, 0.1), var(--forest-dark)); border-radius: 6px 6px 0 0; animation: grow 2s ease-out forwards; }
.b1 { height: 60px; }
.b2 { height: 100px; animation-delay: 0.2s;}
.b3 { height: 140px; background: linear-gradient(to top, rgba(197, 168, 128, 0.2), var(--amber-gold)); animation-delay: 0.4s;}
.gr-line { position: absolute; bottom: -10px; left: -20px; right: -20px; height: 2px; background: rgba(26, 46, 36, 0.2); }

.ill-quality { position: relative; width: 160px; height: 160px; display: flex; justify-content: center; align-items: center; }
.q-diamond { width: 100px; height: 100px; background: var(--forest-dark); transform: rotate(45deg); border: 2px solid var(--amber-gold); z-index: 2; }
.q-ring { position: absolute; width: 150px; height: 150px; border: 1px solid rgba(26, 46, 36, 0.2); border-radius: 50%; animation: spin 8s linear infinite; }
.q-center { position: absolute; width: 30px; height: 30px; background: var(--amber-gold); border-radius: 50%; z-index: 3; }

@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes floatP { 0% { transform: translateY(-10px); } 100% { transform: translateY(10px); } }
@keyframes grow { 0% { height: 0; opacity: 0; } 100% { opacity: 1; } } */

/* --- ФОРМА ОБРАТНОЙ СВЯЗИ --- */
.b2b-form-wrapper {
    margin-top: 6rem;
    background: var(--white);
    border-radius: 32px;
    padding: 3rem 4rem;
    box-shadow: 0 30px 60px rgba(26, 46, 36, 0.05);
    border: 1px solid rgba(26, 46, 36, 0.1);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.b2b-form-header { margin-bottom: 4rem; }
.b2b-form-header h2 { font-size: 2.2rem !important; font-weight: 600 !important; color: var(--forest-dark) !important; margin-bottom: 0.5rem !important; }
.b2b-form-header p { font-size: 1.05rem !important; color: rgba(27, 36, 30, 0.6) !important; }

.b2b-modern-form { display: flex; flex-direction: column; gap: 2.5rem; }
.b2b-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.b2b-input-group { position: relative; }
.b2b-input-group input {
    width: 100%; padding: 1rem 0; font-size: 1.1rem; color: var(--forest-dark);
    background: transparent; border: none; border-bottom: 2px solid rgba(26, 46, 36, 0.15);
    outline: none; transition: all 0.3s ease;
}
.b2b-input-group input::placeholder { color: transparent; }
.b2b-input-group label {
    position: absolute; top: 1rem; left: 0; font-size: 1rem; color: rgba(27, 36, 30, 0.5);
    transition: all 0.3s ease; pointer-events: none;
}
.b2b-input-group input:focus, .b2b-input-group input:not(:placeholder-shown) { border-bottom-color: var(--amber-gold); }
.b2b-input-group input:focus + label, .b2b-input-group input:not(:placeholder-shown) + label {
    top: -12px; font-size: 0.75rem; color: var(--amber-gold); font-weight: 600; text-transform: uppercase;
}

.b2b-submit-btn {
    background: var(--forest-dark); color: var(--white); border: none; padding: 1.2rem 3rem;
    border-radius: 100px; font-size: 1rem; font-weight: 500; display: inline-flex;
    align-items: center; justify-content: center; gap: 1rem; transition: all 0.4s ease;
}
.b2b-submit-btn:hover { background: var(--amber-gold); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(197, 168, 128, 0.3); }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 991px) {
    .layout-grid { flex-direction: column !important; gap: 2rem; }
    .b2b-ill-wrap { width: 100%; min-height: 250px; }
    .b2b-form-wrapper { padding: 4rem 2rem; }
}

@media (max-width: 576px) {
    .b2b-container { padding-top: 110px; }
    .b2b-title { font-size: 2.6rem !important; }
    .b2b-synergy-core { height: 120px; }
    .b2b-glass-card { padding: 2.5rem 1.5rem; border-radius: 24px; }
    .b2b-form-wrapper { padding: 3rem 1.5rem; border-radius: 24px; margin-top: 5rem; }
    .b2b-form-row { grid-template-columns: 1fr; gap: 2.5rem; }
    .b2b-submit-btn { width: 100%; justify-content: center; }
}


/* ==========================================================================
   DVI JOURNAL (ОБШИРНАЯ СТРАНИЦА НОВОСТЕЙ)
   ========================================================================== */

.dvi-journal-page {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* 1. ИММЕРСИВНАЯ ОБЛОЖКА (HERO) */
.dj-hero {
    position: relative;
    width: 100%;
    min-height: 85vh; /* Безопасная высота */
    display: flex;
    align-items: flex-end;
    padding-bottom: 8vh;
    overflow: hidden;
    background: var(--forest-dark);
}

.dj-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.dj-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dj-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoomOut 20s infinite alternate linear;
}

@keyframes slowZoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.dj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 25, 20, 0.95) 0%, rgba(15, 25, 20, 0.4) 50%, rgba(15, 25, 20, 0.1) 100%);
}

.dj-hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding-top: 100px; /* Отступ от шапки */
}

.dj-gold-line {
    width: 60px;
    height: 4px;
    background: var(--amber-gold);
    margin-bottom: 1.5rem;
}

.dj-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.dj-tag { color: var(--amber-gold); }
.dj-date { color: rgba(255, 255, 255, 0.7); }

.dj-hero-title {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -1px;
}
.dj-hero-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
    font-weight: 400;
}

.dj-hero-lead {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 750px;
    margin-bottom: 2rem !important;
}

.dj-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.dj-btn-read svg { width: 22px; height: 22px; transition: transform 0.3s; }
.dj-hero-link:hover .dj-btn-read { color: var(--amber-gold); }
.dj-hero-link:hover .dj-btn-read svg { transform: translateX(8px); }

/* ПАНЕЛЬ КАТЕГОРИЙ (ПРИЛИПАЕТ) */
.dj-nav-ticker {
    background: var(--white);
    border-bottom: 1px solid rgba(26, 46, 36, 0.1);
    position: sticky;
    top: 75px; 
    z-index: 900;
}
.dj-ticker-links {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.dj-ticker-links::-webkit-scrollbar { display: none; }
.dj-ticker-links a {
    padding: 1.2rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(26, 46, 36, 0.6) !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}
.dj-ticker-links a:hover, .dj-ticker-links a.active {
    color: var(--forest-dark) !important;
    border-bottom-color: var(--amber-gold);
}

/* ЗАГОЛОВКИ СЕКЦИЙ */
.dj-section-header {
    border-bottom: 2px solid var(--forest-dark);
    padding-bottom: 0.8rem;
    margin-bottom: 2.5rem;
}
.dj-section-header h2 {
    font-size: 2.2rem !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    color: var(--forest-dark) !important;
    margin: 0 !important;
}

/* ОБЩИЕ СТИЛИ КАРТОЧЕК */
.dj-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.dj-card a { text-decoration: none !important; color: inherit; display: flex; flex-direction: column; height: 100%; }

.dj-img-wrap {
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    background: #e0e4e1;
}
.dj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.dj-card:hover .dj-img-wrap img, .dj-feed-item:hover .dj-img-wrap img {
    transform: scale(1.05);
}

/* Строгие пропорции фотографий (Защита от кривизны) */
.dj-card-large .dj-img-wrap { aspect-ratio: 16 / 10; }
.dj-card-small .dj-img-wrap { aspect-ratio: 16 / 10; }
.dj-feed-img { aspect-ratio: 1 / 1; margin-bottom: 0 !important; }

/* Тексты в карточках */
.dj-meta-dark {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}
.dj-tag-dark { color: var(--forest-dark); border-bottom: 1px solid var(--forest-dark); padding-bottom: 2px;}
.dj-date-dark { color: rgba(27, 36, 30, 0.6); }

.dj-card-body h3, .dj-feed-link h3 {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8rem !important;
    transition: color 0.3s;
}
.dj-card:hover .dj-card-body h3, .dj-feed-item:hover .dj-feed-link h3 { color: var(--amber-gold) !important; }

.dj-card-large h3 { font-size: 2.2rem !important; margin-bottom: 1.2rem !important; }
.dj-card-large p { font-size: 1.05rem !important; line-height: 1.6 !important; color: rgba(27, 36, 30, 0.8) !important; margin: 0 !important; }

.dj-feed-content p {
    font-size: 0.95rem !important;
    color: rgba(27, 36, 30, 0.7) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
.dj-feed-link { text-decoration: none !important; display: block; }

/* ЖУРНАЛЬНЫЙ БАННЕР (EDITORIAL) */
.dj-editorial-banner {
    position: relative;
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dj-banner-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-attachment: fixed; /* Эффект параллакса без скриптов */
    z-index: 1;
}
.dj-banner-overlay {
    position: absolute; inset: 0;
    background: rgba(26, 46, 36, 0.85);
    z-index: 2;
}
.dj-banner-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}
.dj-quote-icon {
    width: 40px; height: 40px;
    color: var(--amber-gold);
    margin-bottom: 2rem;
}
.dj-editorial-banner blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.4;
    color: var(--white);
    margin: 0 0 2rem 0;
}
.dj-editorial-banner cite {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber-gold);
    font-style: normal;
}

/* КНОПКА ЗАГРУЗКИ */
.dj-btn-outline {
    background: transparent;
    border: 1px solid var(--forest-dark);
    color: var(--forest-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.dj-btn-outline:hover { background: var(--forest-dark); color: var(--white); }

/* САЙДБАР И ВИДЖЕТЫ */
.dj-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(26, 46, 36, 0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
.dj-widget h3 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest-dark) !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid var(--forest-dark);
    padding-bottom: 0.8rem;
}
.dj-input {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: #f4f6f4;
    border: 1px solid transparent;
}
.dj-input:focus { border-color: var(--amber-gold); box-shadow: none; background: var(--white); }

.dj-popular-list { list-style: none; padding: 0; margin: 0; }
.dj-popular-list li {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.5rem;
}
.dj-pop-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: var(--amber-gold);
    line-height: 1;
}
.dj-popular-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--forest-dark) !important;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s;
}
.dj-popular-list a:hover { color: var(--amber-gold) !important; }

/* АДАПТИВНОСТЬ */
@media (max-width: 991px) {
    .dj-card-large h3 { font-size: 1.8rem !important; }
}

@media (max-width: 768px) {
    .dj-feed-img { aspect-ratio: 16 / 9; margin-bottom: 1.5rem !important; }
}

@media (max-width: 576px) {
    .dj-hero { padding-bottom: 15vh; }
    .dj-hero-title { font-size: 2.2rem !important; }
    .dj-card-large h3 { font-size: 1.5rem !important; }
    .dj-editorial-banner { padding: 5rem 5%; }
    .dj-editorial-banner blockquote { font-size: 1.4rem; }
    .dj-feed-content h3 { font-size: 1.2rem !important; }
}



/* ==========================================================================
   ИДЕАЛЬНО РОВНАЯ СТРАНИЦА СТАТЬИ (NEWS DETAIL) — СТРОГИЙ МИНИМАЛИЗМ
   ========================================================================== */

.dj-detail-page {
    font-family: 'Inter', sans-serif;
    color: #1B241E;
}

/* ЛИНЕЙНЫЙ ПРОГРЕСС-БАР ЧТЕНИЯ */
.dj-reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: transparent;
    z-index: 99999;
}
.dj-progress-bar-fill {
    height: 100%;
    background: var(--amber-gold);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ВЕРХНЯЯ СЕКЦИЯ (ШАПКА СТАТЬИ) */
.dj-article-header-section {
    padding-top: 140px; /* Безопасный отступ под фиксированную шапку сайта */
    padding-bottom: 3.5rem;
}

.dj-back-to-journal {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(27, 36, 30, 0.6) !important;
    text-decoration: none !important;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease;
}
.dj-back-to-journal svg {
    width: 16px; height: 16px;
    transition: transform 0.3s ease;
}
.dj-back-to-journal:hover {
    color: var(--amber-gold) !important;
}
.dj-back-to-journal:hover svg {
    transform: translateX(-4px);
}

.dj-article-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
}
.dj-meta-cat { color: var(--amber-gold); }
.dj-meta-divider { color: rgba(26, 46, 36, 0.2); }
.dj-meta-date { color: rgba(26, 46, 36, 0.5); }

.dj-article-main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem) !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    color: var(--forest-dark) !important;
    letter-spacing: -1px;
    margin-bottom: 2.5rem !important;
}
.dj-article-main-title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--amber-gold);
}

/* КАРТОЧКА АВТОРА */
.dj-article-author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(26, 46, 36, 0.1);
    padding-top: 1.5rem;
    max-width: max-content;
}
.dj-author-badge {
    width: 44px; height: 44px;
    background-color: var(--forest-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 1px;
}
.dj-author-text { text-align: left; }
.dj-author-text strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--forest-dark); margin-bottom: 0.1rem; }
.dj-author-text span { display: block; font-size: 0.8rem; color: rgba(26, 46, 36, 0.5); text-transform: uppercase; letter-spacing: 0.5px; }

/* КОНТЕЙНЕР ГЛАВНОГО ИЗОБРАЖЕНИЯ */
.dj-article-featured-image {
    padding-bottom: 4rem;
}
.dj-featured-image-container {
    width: 100%;
    aspect-ratio: 21 / 9; /* Кинематографичный ровный формат */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(26, 46, 36, 0.05);
    border: 1px solid rgba(26, 46, 36, 0.05);
}
.dj-featured-image-container img {
    width: 100%; height: 100%; object-fit: cover;
}

/* СЕКЦИЯ КОНТЕНТА И ТИПОГРАФИКА */
.dj-article-content-section {
    padding-bottom: 6rem;
}
.dj-article-typography {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #2c3530;
}
.dj-article-typography p {
    font-size: 1.125rem !important;
    line-height: 1.85 !important;
    margin-bottom: 2rem !important;
    color: inherit !important;
}

/* Буквица (Drop Cap) */
.dj-drop-cap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.75;
    padding: 0.2rem 0.8rem 0 0;
    color: var(--amber-gold);
    font-weight: 500;
}
.dj-article-lead {
    font-size: 1.25rem !important;
    line-height: 1.75 !important;
    color: var(--forest-dark) !important;
    font-weight: 500;
}

.dj-article-typography h2 {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    margin-top: 3.5rem !important;
    margin-bottom: 1.2rem !important;
    letter-spacing: -0.5px;
}

/* ИДЕАЛЬНО РОЯВНАЯ ЦИТАТА С ЛЕВОЙ ЛИНИЕЙ */
.dj-article-blockquote {
    margin: 3.5rem 0;
    padding: 0.5rem 0 0.5rem 2rem;
    border-left: 3px solid var(--amber-gold);
    background: transparent;
}
.dj-article-blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.55rem !important;
    line-height: 1.45 !important;
    color: var(--forest-dark) !important;
    margin-bottom: 1rem !important;
}
.dj-article-blockquote cite {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(26, 46, 36, 0.5);
    font-style: normal;
    display: block;
}

/* ВСТРОЕННАЯ ФИГУРА С КАРТИНКОЙ */
.dj-article-inline-figure {
    margin: 3.5rem 0;
    width: 100%;
}
.dj-article-inline-figure img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.dj-article-inline-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(26, 46, 36, 0.5);
    line-height: 1.5;
    border-bottom: 1px solid rgba(26, 46, 36, 0.08);
    padding-bottom: 1.2rem;
}

/* ТЕГИ В ФУТЕРЕ */
.dj-article-footer-tags {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 46, 36, 0.1);
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.dj-article-footer-tags a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-dark) !important;
    background: rgba(26, 46, 36, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.dj-article-footer-tags a:hover {
    background: var(--forest-dark);
    color: var(--white) !important;
}

/* НИЖНИЙ БЛОК: СЛЕДУЮЩАЯ СТАТЬЯ */
.dj-next-article-footer {
    padding-bottom: 6rem;
}
.dj-next-card-wrap {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(26, 46, 36, 0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dj-next-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(26, 46, 36, 0.06);
}
.dj-next-card-link {
    display: grid;
    grid-template-columns: 1fr 300px; /* Текст слева, аккуратное фото справа */
    text-decoration: none !important;
    color: inherit;
}
.dj-next-text-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.dj-next-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amber-gold);
    margin-bottom: 0.8rem;
    display: block;
}
.dj-next-text-side h2 {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: var(--forest-dark) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
}
.dj-next-text-side p {
    font-size: 0.95rem !important;
    color: rgba(27, 36, 30, 0.6) !important;
    margin: 0 !important;
}
.dj-next-img-side {
    width: 100%; height: 100%;
    overflow: hidden;
}
.dj-next-img-side img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Оптимизация адаптивности */
@media (max-width: 991px) {
    .dj-next-card-link { grid-template-columns: 1fr; }
    .dj-next-img-side { display: none; } /* Прячем фото на планшетах для сохранения ровности */
    .dj-next-text-side { padding: 2.5rem 1.5rem; }
}

@media (max-width: 576px) {
    .dj-article-header-section { padding-top: 110px; }
    .dj-article-featured-image { padding-bottom: 2.5rem; }
    .dj-featured-image-container { border-radius: 12px; aspect-ratio: 16 / 9; }
    .dj-article-inline-figure img { border-radius: 12px; }
    .dj-article-content-section { padding-bottom: 4rem; }
    .dj-article-typography { font-size: 1.05rem; }
    .dj-article-typography p { font-size: 1.05rem !important; }
    .dj-drop-cap { font-size: 3.8rem; }
    .dj-article-blockquote p { font-size: 1.35rem !important; }
}


   /* АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ */

/* ПЛАНШЕТЫ (max-width: 1024px) */
@media (max-width: 1024px) {
    .ingredients, .science, .faq, .offer, .exact-footer { padding: 5rem 0; }
    .about, .showcase, .ugc, .reviews, .newsletter, .compact-capsule { padding: 4rem 0; }
    .about-grid, .bento-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .about-image { height: 400px; }
    .item-large { grid-column: span 1; }

    /* Оффер-баннер */
    .offer-banner { padding: 2.5rem; flex-direction: row; text-align: left; gap: 2rem; }
    .offer-text { flex: 1; }
    .offer-text h2 { font-size: 1.2rem !important; margin-bottom: 0.4rem !important; }
    .offer-text p { font-size: 0.85rem !important; margin-bottom: 1rem !important; line-height: 1.4 !important; }
    .badge-gold { font-size: 0.55rem; padding: 4px 10px; margin-bottom: 0.6rem; }
    .offer-text .btn { padding: 0.6rem 1.5rem !important; font-size: 0.8rem; width: auto; }
    .offer-img { flex: 1; height: 250px; border-radius: var(--radius); }
    .offer-img img { width: 100%; height: 100%; object-fit: cover !important; }
    #offerCarousel .custom-indicators { gap: 10px; bottom: -2.5rem; }

    /* Футер */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
}

@media (max-width: 830px) {
    .logo { font-size: 0.9rem; }
    .nav-links a { font-size: 0.8rem; }
    .floating-socials { top: 80px; }
}

/* МОБИЛЬНЫЕ ТЕЛЕФОНЫ (max-width: 768px) */
@media (max-width: 768px) {
    /* Шапка и типографика */
    .nav-links, .btn-nav { display: none; }
    .header-container { justify-content: center; padding: 1rem 2rem; }
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.3rem !important; }
    p { font-size: 0.95rem !important; margin-bottom: 1rem !important; }
    .section-title { margin-bottom: 2.5rem !important; }
    .floating-socials { display: none; }

    /* Базовые элементы и секции */
    .ingredients, .science, .faq, .offer, .exact-footer, .about, .showcase, .ugc, .reviews, .newsletter, .compact-capsule { padding: 3rem 0; }
    /* Табы на мобильных - Уменьшенные и Липкие */
    .product-tabs { 
        top: 90px;
        padding: 0.25rem;
        margin-bottom: 2rem; 
        width: 100%; 
        max-width: 250px;
    }
    .tab-btn { 
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        flex: 1; 
        text-align: center; 
    }

    .btn { padding: 0.8rem 1.5rem !important; font-size: 0.9rem; width: 100%; max-width: 320px; }
    .hero { padding-top: 155px; min-height: auto; padding-bottom: 6rem; }
    .badge-forest { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 1rem; }
    .ingredient-card, .bento-item, .review-card { padding: 1.5rem 1.2rem; border-radius: var(--radius); }
    /* Блок цен - Мобильные */
.offer-price-block { align-items: center; margin: 1rem 0 1.5rem !important; }
.price-row { justify-content: center; }
.price-new { font-size: 1.5rem !important; }
.price-old { font-size: 1rem !important; }
.shipping-note { font-size: 0.75rem !important; }

    /* Каталог товаров */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .img-wrapper { padding-top: 110%; }
    .product-img { object-fit: cover !important; width: 100%; height: 100%; top: 0; left: 0; mix-blend-mode: multiply; }
    .btn-quick-view { opacity: 1 !important; visibility: visible !important; transform: translateX(-50%) translateY(0) !important; bottom: 0.6rem; font-size: 0.5rem; padding: 0.3rem 0.6rem; width: auto; max-width: 90%; text-align: center; white-space: nowrap; border-radius: 50px; }
    .card-info { padding: 1rem 0.5rem; text-align: center; }
    .product-meta { font-size: 0.55rem; margin-bottom: 0.3rem; }
    .card-info h3 { font-size: 0.85rem !important; line-height: 1.2 !important; margin-bottom: 0.4rem !important; }
    .card-info p { font-size: 0.75rem !important; margin-bottom: 0 !important; display: block !important; line-height: 1.3 !important; }
    .product-tag { font-size: 0.55rem; padding: 4px 8px; top: 0.5rem; left: 0.5rem; }
    .product-price { font-size: 0.9rem !important; padding-top: 0.5rem; }
    .btn-product-more { padding: 4px 6px !important; font-size: 0.7rem; }

    /* Модальное окно (Быстрый просмотр) */
    .modal-dialog.custom-modal-size { margin: 1rem; }
    .premium-modal-content { max-height: 90vh; display: flex; flex-direction: column; border-radius: var(--radius); }
    .premium-modal-grid { grid-template-columns: 1fr; min-height: auto; display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .premium-modal-img { width: 100%; padding-top: 100%; height: auto; position: relative; flex-shrink: 0; background: #E8ECE9; }
    .premium-modal-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover !important; padding: 0; mix-blend-mode: multiply; }
    .premium-modal-info { padding: 1.5rem; }
    .premium-modal-info h2 { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
    .modal-lead { font-size: 0.95rem !important; margin-bottom: 1rem !important; line-height: 1.3 !important; }
    .modal-divider { margin-bottom: 1rem; width: 40px; }
    .modal-description { font-size: 0.85rem; line-height: 1.5; }
    .premium-modal-close { top: 0.8rem; right: 0.8rem; width: 36px; height: 36px; background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 20; }
    .premium-modal-close svg { width: 18px; height: 18px; }
    .modal-price { font-size: 1.1rem !important; margin-top: -5px;}
    /* Преимущества в модальном окне (Мобильные) */
    /* .modal-benefits { margin-top: 1.2rem; } */
    .modal-benefits h4 { font-size: 0.85rem !important; margin-bottom: 0.8rem !important; }
    .modal-benefits li { font-size: 0.85rem !important; margin-bottom: 0.5rem !important; line-height: 1.3 !important; }
    
    .modal-offer-price { margin-top: -5px;}
.m-price-new { font-size: 1.25rem !important; }
.m-price-old { font-size: 0.9rem !important; }

    /* Капсула (Технологии) */
    .capsule-glass-board { padding: 1.5rem 1rem; border-radius: var(--radius); }
    .capsule-showcase { flex-direction: column; gap: 1.5rem; }
    .capsule-center { order: -1; transform: scale(0.7); height: 130px; margin-bottom: -1rem; }
    .capsule-point { max-width: 100%; text-align: center; height: auto; }
    .point-left, .point-right { border: none; padding: 0; }
    .point-left { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.5rem; }

    /* Оффер-баннер */
    .offer-banner { padding: 2rem 1.2rem; gap: 1.5rem; flex-direction: column-reverse !important; align-items: center !important; text-align: center !important; }
    .offer-text { width: 100%; }
    .offer-text h2 { font-size: 1.3rem !important; margin-bottom: 0.5rem !important; line-height: 1.2 !important; }
    .offer-text p { font-size: 0.85rem !important; margin-bottom: 1.2rem !important; line-height: 1.4 !important; }
    .badge-gold { font-size: 0.6rem; padding: 4px 10px; margin-bottom: 0.8rem; }
    .offer-text .btn { padding: 0.8rem 1.5rem !important; font-size: 0.85rem; width: 100%; max-width: 280px; }
    .offer-img { width: 100% !important; max-width: 240px !important; aspect-ratio: 1 / 1; height: auto !important; margin: 0 auto; border-radius: 16px; }
    .offer-img img { width: 100%; height: 100%; object-fit: cover !important;}
    #offerCarousel .custom-indicators { gap: 12px; bottom: -2.5rem; }

    /* UGC и FAQ */
    .ugc-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 2rem; }
    .ugc-item { height: auto; aspect-ratio: 1 / 1; }
    .ugc-item img { object-fit: cover; }
    .ugc-overlay span { font-size: 0.7rem; padding: 6px 12px; }
    .faq h2 { margin-bottom: 2rem !important; }
    .faq-header { padding: 1rem 0; font-size: 1.2rem; }
    .faq-panel p { padding-bottom: 1.5rem !important; }

    /* Подписка */
    .newsletter { padding: 3rem 0; }
    .news-content { padding: 0 1rem; }
    .news-content h2 { font-size: 1.8rem !important; margin-bottom: 1rem !important; }
    .news-content p { font-size: 0.95rem !important; margin-bottom: 1.5rem !important; }
    .news-form { flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
    .news-form input { width: 100%; padding: 0.8rem 1.5rem; text-align: center; font-size: 0.95rem; }
    .news-form .btn { width: 100%; max-width: 100%; padding: 0.8rem 0 !important; }

    /* Футер */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
    .footer-contacts h2 { font-size: 1.8rem !important; text-align: left; }
    .contact-block strong { font-size: 0.9rem; }
    .contact-block p, .phone-link, .email-link { font-size: 0.85rem !important; }
    .footer-map iframe { height: 220px !important; }
    .footer-bottom { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
    .footer-bottom .f-col-text { grid-column: span 2; }
    .f-logo { font-size: 1.2rem; }

    /* Системные фиксы */
    html, body, a, button, input { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* МАЛЕНЬКИЕ ЭКРАНЫ (max-width: 400px) */
@media (max-width: 400px) {
    .ugc-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; } 
    h1 { font-size: 1.9rem !important; }
    .capsule-top-text h2 { font-size: 1.4rem !important; }
}
