

/* Start:/local/templates/eco_26/page_css/front-legacy.css?178005502727394*/
/**
 * =============================================================================
 * [LEGACY] FRONT PAGE STYLES
 * =============================================================================
 * WARNING: This file contains legacy styles for the homepage.
 * Most of these styles have been migrated to 'front.css'.
 * Keep this file for backward compatibility if needed, but prefer 'front.css'.
 * =============================================================================
 */

/* ========================================= */
/* FONTS & BASE (LEGACY)                     */
/* ========================================= */

@font-face {
    font-family: 'AvantgardeGothic';
    src: url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.eot');
    src: url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.woff2') format('woff2'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.woff') format('woff'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.ttf') format('truetype'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-bditalic-webfont.svg#avantgardegothiccbold_italic') format('svg');
    font-weight: bold; font-style: italic;
}

@font-face {
    font-family: 'AvantgardeGothic';
    src: url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.eot');
    src: url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.woff2') format('woff2'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.woff') format('woff'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.ttf') format('truetype'),
         url('/local/templates/eco_26/page_css/../fonts/avantgardegothicc-webfont.svg#avantgardegothiccregular') format('svg');
    font-weight: normal; font-style: normal;
}

@font-face {
    font-family: 'Garamond';
    src: url('/local/templates/eco_26/page_css/../fonts/Garamond/GaramondRegular.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.eot');
    src: url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'),
         url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.woff2') format('woff2'),
         url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.woff') format('woff'),
         url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.ttf') format('truetype'),
         url('/local/templates/eco_26/page_css/../fonts/pt-sans-v10-latin_cyrillic-regular.svg#PTSans') format('svg');
    font-weight: normal; font-style: normal;
}

:root {
    --color-green-dark: #142D23;
    --color-green: #23392F;
    --color-gold: #aa8c58;
    --color-orange: #D08C55;
    --color-bg-light: #f3f0eb;
    --color-bg-beige: #E4D6C9;
}

.front_legacy  {
    font-family: "AvantgardeGothic", sans-serif;
    color: var(--color-green-dark);
}

.front_legacy h1, .front_legacy h2, .front_legacy h3, .front_legacy h4, .front_legacy h5, .front_legacy h6 {
    font-family: "Garamond", serif;
    font-weight: bold;
    color: var(--color-green-dark);
}

.front_legacy .home-catalog-section h2 {
    font-weight: 100;
    color: var(--color-primary) !important;
    text-transform: uppercase;
}

.front_legacy .advantages-section div.advant-title {
    font-family: "Garamond", serif;
    font-weight: 100;
    color: var(--color-secondary) !important;
    line-height: 1.0;
}

.front_legacy a {
    color: var(--color-green-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.front_legacy a:hover { color: var(--color-green); }

.front_legacy .btn { font-weight: 100 !important; }
.front_legacy .btn-secondary { opacity: 0.8; }

/* Buttons */
.front_legacy .btn-eco {
    background: var(--color-green);
    font-family: 'AvantgardeGothic', sans-serif;
    border-radius: 5px; height: 50px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; text-transform: uppercase;
    color: #fff; padding: 0 40px; transition: 300ms; border: none;
}
.front_legacy .btn-eco:hover { color: #fff; opacity: 0.9; }

.front_legacy .btn-eco-outline {
    background: transparent;
    border: 1px solid var(--color-green-dark);
    color: var(--color-green-dark);
}
.front_legacy .btn-eco-outline:hover {
    background: var(--color-green); color: #fff;
}


/* ========================================= */
/* TOP HERO BLOCK (LEGACY)                   */
/* ========================================= */

.front_legacy .top-hero {
    background-color: #C1B6A9;
    padding-top: 20px; padding-bottom: 3px;
}

.front_legacy .top-hero-slider {
    position: relative; border-radius: 5px;
    overflow: hidden; min-height: 400px;
}
@media (min-width: 1400px) {
    .front_legacy .top-hero-slider { min-height: 600px; }
}

.front_legacy .hero-slide {
    background-size: cover; background-position: center;
    position: relative; height: 100%; width: 100%;
    display: flex; align-items: flex-end; justify-content: flex-end;
}

.front_legacy .hero-slide-gradient {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(262.44deg, rgba(158, 106, 60, 0.75) 2.92%, rgba(179, 138, 101, 0.64) 43.92%, rgba(228, 214, 201, 0.375) 77.87%);
    mix-blend-mode: multiply; z-index: 1;
}

.front_legacy .hero-slide-content {
    position: relative; z-index: 2; color: #fff;
    text-align: right; padding: 40px; max-width: 90%;
}
@media (min-width: 768px) {
    .front_legacy .hero-slide-content { max-width: 70%; }
}

.front_legacy .hero-slide-content div.slider-title {
    font-family: Garamond; font-weight: 600; font-size: 28pt;
    line-height: 90%; letter-spacing: 2px; color: white; margin-bottom: 15px;
}
@media (min-width: 1400px) {
    .front_legacy .hero-slide-content div.slider-title { font-size: 62px; margin-bottom: 25px; }
}

.front_legacy .hero-slide-content p {
    font-family: 'AvantgardeGothic'; font-weight: 100;
    font-size: 24px; line-height: 120%; margin-bottom: 20px;
}
@media (min-width: 1400px) {
    .front_legacy .hero-slide-content p { font-size: 38px; margin-bottom: 25px; }
}

/* Form */
.front_legacy .top-hero-form {
    background-color: white;
    background-image: url('/local/images/front_form_back.jpg');
    background-position: left bottom; background-repeat: no-repeat;
    border-radius: 5px; overflow: hidden; height: 100%;
}

.front_legacy .hero-form {
    padding: 30px; height: 100%; font-family: Garamond;
    background: #E4D6C940;
    display: flex; flex-direction: column; justify-content: center;
}

.front_legacy .hero-form h3 {
    margin-bottom: 15px; color: #9E6A3C; font-size: 24px;
}

.front_legacy .hero-form p {
    margin-bottom: 20px; font-size: 18px; line-height: 1.2;
}

.front_legacy .hero-form input {
    width: 100%; padding: 12px;
    border: 1px solid transparent; border-radius: 5px;
    background-color: white; font-family: 'AvantgardeGothic';
    margin-bottom: 15px;
}
.front_legacy .hero-form input:focus {
    outline: none; border-color: var(--color-gold);
}

.front_legacy .hero-form .checkbox {
    display: flex; align-items: flex-start;
    font-size: 14px; margin: 15px 0 20px 0;
    font-family: 'AvantgardeGothic';
}
.front_legacy .hero-form .checkbox input { margin-top: 4px; margin-right: 8px; }


/* ========================================= */
/* ADVANTAGES SWIPER (LEGACY)                */
/* ========================================= */

.front_legacy .advantages { background: #d9d9d9; padding: 20px 0; }

.front_legacy .swiper-button-next, .front_legacy .swiper-button-prev {
    color: var(--color-secondary);
}

.front_legacy .advantages-swiper { padding-top: 20px; padding-bottom: 20px; }

.front_legacy .swiper-slide.adv-item {
    background: linear-gradient(135deg, rgba(35, 57, 47, 1) 0%, rgba(20, 45, 35, 1) 50%, rgba(96, 138, 123, 1) 100%);
    background-size: 200% 200%;
    border-radius: 5px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: white; width: 200px; height: auto;
    transition: all 0.5s ease;
    display: flex; flex-direction: column;
}
@media (min-width: 1400px) {
    .front_legacy .swiper-slide.adv-item { width: 300px; }
}

.front_legacy .swiper-slide.adv-item:hover {
    animation: gradientShift 3s ease infinite alternate;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.front_legacy .adv-item-link {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; padding: 15px; color: white;
    text-decoration: none; height: 100%; padding-top: 50px;
}
.front_legacy .adv-item-link:hover { color: white; }

.front_legacy .adv-icon {
    position: relative; width: 80px; height: 80px;
    background-color: var(--color-green-dark);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-bottom: 15px;
}
@media (min-width: 1400px) {
    .front_legacy .adv-icon { width: 110px; height: 110px; }
}

.front_legacy .adv-icon::before {
    content: ""; position: absolute; inset: -4px;
    border-radius: 50%; background: rgba(255, 255, 255, 1);
    filter: blur(8px); z-index: -1; opacity: 0.35;
    transition: opacity .3s ease, transform .3s ease;
}
.front_legacy .adv-item-link:hover .front_legacy .adv-icon::before {
    opacity: 0.8; transform: scale(1.1);
}

.front_legacy .adv-icon img {
    width: 40px; height: 40px; object-fit: contain;
    transition: transform .3s ease;
}
@media (min-width: 1400px) {
    .front_legacy .adv-icon img { width: 60px; height: 60px; }
}
.front_legacy .adv-item-link:hover .front_legacy .adv-icon img { transform: scale(1.1); }

.front_legacy .adv-title {
    font-size: 14px; font-weight: 200;
    line-height: 1.4; text-align: center;
}


/* ========================================= */
/* ADVANTAGES FULL (CONTENT BLOCKS)          */
/* ========================================= */

.front_legacy .advantages-full-wrapper { padding: 60px 0; }
@media (max-width: 768px) {
    .front_legacy .advantages-full-wrapper { padding: 40px 0; }
}

.front_legacy .advantages-full-two { background-color: var(--color-bg-beige); }
.front_legacy .advantages-full-three { background-color: #fff; }

.front_legacy .advantages-full-text h3 {
    text-transform: uppercase; font-weight: 100;
    color: #9E6A3C; margin-bottom: 20px; font-size: 28px;
}

.front_legacy .advantages-full-text p {
    line-height: 1.6; font-size: 16px; margin-bottom: 25px;
}

.front_legacy .advantages-full-image img {
    border-radius: 5px; width: 100%; height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Animations */
.front_legacy .animate-from-bottom {
    opacity: 0; transform: translateY(50px);
    transition: all 0.7s ease-out;
}
.front_legacy .animate-from-bottom.active {
    opacity: 1; transform: translateY(0);
}


/* ========================================= */
/* TEXT SECTIONS                             */
/* ========================================= */

.front_legacy .text-section {
    background: #fff; border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex; flex-direction: column; height: 100%;
}
@media (min-width: 768px) {
    .front_legacy .text-section { flex-direction: row; }
}

.front_legacy .text-img {
    min-height: 200px; background-size: cover;
    background-position: center; border-radius: 5px 5px 0 0;
    width: 100%;
}
@media (min-width: 768px) {
    .front_legacy .text-img {
        width: 30%; border-radius: 5px 0 0 5px; min-height: auto;
    }
}

.front_legacy .text-content { padding: 30px; flex: 1; }
.front_legacy .text-content h2, .front_legacy .text-content h3 { margin-bottom: 20px; }
.front_legacy .text-content ul { padding-left: 20px; margin-bottom: 20px; }
.front_legacy .text-content li { margin-bottom: 10px; }


/* ========================================= */
/* MISC & HELPERS                            */
/* ========================================= */

@media (min-width: 992px) {
    .advantages-section .col-lg-5:not(.order-lg-2) img,
    .advantages-section .col-lg-6:not(.order-lg-2) img {
        border-radius: 0 0px 0px 0;
    }
    .advantages-section .col-lg-5.order-lg-2 img,
    .advantages-section .col-lg-6.order-lg-2 img {
        border-radius: 0px 0 0 0px;
    }
}

.front_legacy .section-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.front_legacy .home-catalog-section {
    background-color: var(--page-content-bg);
    width: 100%; position: relative; overflow: hidden;
}

.front_legacy .home-catalog-title {
    font-family: var(--font-family-base); color: var(--color-primary);
    text-align: center; margin-bottom: 40px;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.front_legacy .carousel-section-title {
    font-family: var(--font-family-base); font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 40px; position: relative; display: inline-block;
}

.front_legacy .eco-articles-section {
    background-color: var(--color-primary); color: #fff;
    padding-top: 80px; padding-bottom: 80px; position: relative;
}

.front_legacy .eco-articles-section .carousel-section-title {
    color: #fff; font-weight: normal !important;
}
.front_legacy .eco-articles-section .carousel-section-title::after {
    background-color: var(--color-secondary);
}

.front_legacy .eco-articles-section .swiper-button-prev,
.front_legacy .eco-articles-section .swiper-button-next {
    color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.1);
    width: 50px; height: 50px; border-radius: 50%;
    backdrop-filter: blur(5px); transition: all 0.3s ease;
}

.front_legacy .eco-articles-section .swiper-button-prev:hover,
.front_legacy .eco-articles-section .swiper-button-next:hover {
    background: var(--color-secondary); color: #fff;
}

.front_legacy .eco-albums-section {
    background-color: var(--page-content-bg);
    padding-top: 80px; padding-bottom: 80px;
}

.front_legacy .eco-albums-section .carousel-section-title {
    color: var(--color-primary); font-weight: normal !important;
}

.front_legacy .eco-albums-section .swiper-button-prev,
.front_legacy .eco-albums-section .swiper-button-next {
    color: var(--color-primary); border: 1px solid var(--color-primary);
    width: 50px; height: 50px; border-radius: 50%; transition: all 0.3s ease;
}

.front_legacy .eco-albums-section .swiper-button-prev:hover,
.front_legacy .eco-albums-section .swiper-button-next:hover {
    background: var(--color-primary); color: #fff;
}

.front_legacy .lead-form-title { color: #fff !important; }
.front_legacy .advantages-section .row.g-0 { min-height: auto !important; position: relative; }

/* Scroll Reveal */
.adv-col-reveal {
    opacity: 0; transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: transform, opacity;
}

@media (min-width: 992px) {
    .reveal-from-left { transform: translateX(-80px); }
    .reveal-from-right { transform: translateX(80px); }
}

@media (max-width: 991.98px) {
    .adv-col-reveal { transform: translateY(50px); }
    .reveal-from-left, .reveal-from-right { transform: translateY(50px) !important; }
}

.adv-col-reveal.is-visible { opacity: 1; transform: translate(0, 0) !important; }

.adv-img-zoom { overflow: hidden; display: block; height: 100%; }
.adv-img-zoom img { transition: transform 1.2s ease-out; transform: scale(1.15); }
.adv-col-reveal.is-visible .adv-img-zoom img { transform: scale(1); }

/* ==========================================================================
   Moved from /local/templates/eco_26/css/catalog.css
   Page scope: homepage SEO block.
   The homepage renders .seo-section-wrapper outside a Bitrix component, so this stays in page CSS.
   ========================================================================== */

/* ========================================= */
/* 6. SEO TEXT BLOCK                         */
/* ========================================= */

/* --- Стили для текстового блока в каталоге --- */

/* --- Стили для текстового блока в каталоге (Masha VIP Edition) --- */

.catalog-middle-text {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 3.5rem; /* Хорошо отбиваем текст от идущих ниже карточек товаров */
}

.catalog-middle-text .text-content-wrapper {
    /* 1. Классический шрифт */
    font-family: var(--font-family-base);

    /* 2. Делаем размер чуть крупнее и плавнее (clamp спасет на разных экранах) */
    font-size: clamp(1.1rem, 1.2vw, 1.25rem);

    /* 3. Цвет приглушаем, чтобы не бил по глазам жестким контрастом */
    color: var(--color-text-main);
    opacity: 0.85;

    /* 4. Даем тексту дышать! line-height 1.4 — это мало для премиума */
    line-height: 1.75;

    /* 5. Идеальная длина строки для чтения */
    /* max-width: 900px; */

    /* 6. Добавляем изящную акцентную линию слева */
    padding-left: 1.8rem;
    border-left: 2px solid var(--color-secondary);
}

/* 7. Премиальная фишка: Классическая Буквица для первого символа текста */
.catalog-middle-text .text-content-wrapper::first-letter {
    float: left;
    font-size: 3.6em;
    color: var(--color-primary); /* Берем цвет главного заголовка */
    line-height: 0.8;
    padding-right: 0.15em;
    padding-top: 0.05em;
    font-weight: 600;
}
/* Оформляем заголовки внутри текста, чтобы они выделялись */
.catalog-middle-text .text-content-wrapper h2,
.catalog-middle-text .text-content-wrapper h3 {
    font-family: var(--font-family-base);
    color: var(--color-primary); /* Твой фирменный зеленый */
    font-weight: var(--font-weight-medium);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center; /* Заголовки по центру смотрятся премиально */
}

.catalog-middle-text .text-content-wrapper h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Адаптивный размер */
}

/* Буквица (первая буква большая) - если хочешь совсем "дорого-богато" */
/* Раскомментируй, если нравится эффект */
/*
.text-content-wrapper > p:first-child::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 5px;
    color: var(--color-secondary);
    font-family: var(--font-family-base);
}
*/

/* Списки внутри текста */
.catalog-middle-text .text-content-wrapper ul {
    list-style: none; /* Убираем стандартные точки */
    padding-left: 1.5rem;
}

.catalog-middle-text .text-content-wrapper ul li {
    position: relative;
    margin-bottom: 0.5rem;
}

.catalog-middle-text .text-content-wrapper ul li::before {
    /* Делаем красивые золотые буллеты вместо точек */
    content: "—";
    color: var(--color-secondary); /* Твой золотой */
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

/* Ссылки внутри текста */
.catalog-middle-text .text-content-wrapper a {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-secondary-accent-light);
    transition: all 0.3s ease;
}

.catalog-middle-text .text-content-wrapper a:hover {
    color: var(--color-secondary);
    border-color: transparent;
}


/* --- Стили для блока SEO текста с "читать дальше" --- */
.seo-section-wrapper {
    margin-top: 60px; margin-bottom: 40px; padding-top: 40px;
    border-top: 1px solid rgba(185, 153, 97, 0.2);
}

.seo-text-container {
    position: relative; overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.seo-text-container.collapsed { max-height: 120px; }

.seo-content, .seo-content p {
    font-family: var(--font-family-secondary);
    color: var(--color-text-muted); text-align: justify;
}

.seo-content a { color: var(--color-text-muted); text-decoration: underline; }

@media (min-width: 992px) {
    .seo-content { column-count: 2; column-gap: 60px; }
}

.seo-content h1, .seo-content h2, .seo-content h3 {
    font-family: var(--font-family-base); color: var(--color-primary);
    margin-top: 0; font-size: 1.5rem; margin-bottom: 1rem;
    break-inside: avoid-column;
}

.seo-fade-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
    pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: linear-gradient(to bottom, rgba(243, 240, 235, 0), #f3f0eb);
}

.seo-text-container.collapsed .seo-fade-overlay { opacity: 1; }

/* Read More Button */
.btn-seo-premium {
    display: inline-flex; align-items: center; gap: 10px;
    background-color: transparent; border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    font-family: var(--font-family-secondary);
    font-size: 0.8rem; font-weight: 100; text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 30px; border-radius: 4px;
    transition: all 0.3s ease; cursor: pointer; margin-top: 20px;
}

.btn-seo-premium i {
    font-size: 0.9rem; transition: transform 0.3s; color: var(--color-secondary);
}

.btn-seo-premium:hover {
    background-color: var(--color-secondary); color: #fff;
    border-color: var(--color-header-text);
    box-shadow: 0 5px 15px rgba(185, 153, 97, 0.2);
    transform: translateY(-2px);
}

.btn-seo-premium:hover i { color: #fff; transform: translateY(2px); }
.btn-seo-premium.expanded i { transform: rotate(180deg); }

/* ========================================= */
/* 1. БАЗА ДЛЯ УНИВЕРСАЛЬНОГО БЛОКА SEO      */
/* ========================================= */

.seo-text-container {
    position: relative;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Сворачивается всегда (стандартный блок в подвале) */
.seo-text-container.collapse-always.collapsed {
    max-height: 120px;
}

/* Сворачивается ТОЛЬКО НА МОБИЛЬНЫХ (на десктопе развернут всегда) */
.seo-text-container.collapse-mobile.collapsed {
    max-height: none;
}

/* Прячем кнопку на десктопе для блока "только мобильные" */
@media (min-width: 769px) {
    .seo-section-wrapper.mobile-only-wrapper .btn-seo-premium {
        display: none !important;
    }
}

/* ========================================= */
/* 2. АДАПТАЦИЯ ДЛЯ ТЕМНОЙ ШАПКИ (PREMIUM)   */
/* ========================================= */

.premium-description .seo-section-wrapper {
    margin: 0;
    padding: 0;
    border-top: none;
}

.premium-description .seo-content,
.premium-description .seo-content p {
    color: inherit;
    font-family: var(--font-family-base);
    text-align: left;
    font-size: var(--text-size-fluid);
    line-height: 1.2;
}

/* МАГИЯ АЛЬФА-МАСКИ: градиентное растворение на обрезающем контейнере */
.premium-description .seo-text-container.collapsed {
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.premium-description .seo-text-container:not(.collapsed) {
    -webkit-mask-image: none;
    mask-image: none;
}

.premium-description .btn-seo-premium {
    margin-top: 5px;
    padding: 5px 0px;
    border: none;
    background: transparent;
    color: var(--color-secondary); /* Золотой цвет */
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.9rem;
    font-weight: 400;
    box-shadow: none;
}

/* МАША: Жестко глушим Bootstrap-овский фокус, чтобы не залипала белым */
.premium-description .btn-seo-premium:focus,
.premium-description .btn-seo-premium:active,
.premium-description .btn-seo-premium:focus-visible {
    color: var(--color-secondary) !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Белеет ТОЛЬКО когда мышка реально наведена */
.premium-description .btn-seo-premium:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.premium-description .btn-seo-premium:hover i {
    transform: translateY(2px);
    color: #ffffff !important;
}

/* ========================================= */
/* 3. КОМПАКТНОСТЬ ШАПКИ НА МОБИЛКАХ (<768px)*/
/* ========================================= */

@media (max-width: 768px) {

    /* Текст в свернутом виде занимает 0 пикселей (полностью скрыт) */
    .premium-description .seo-text-container.collapsed {
        max-height: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Уменьшаем отступы самой шапки */
    .premium-category-header {
        padding: 20px 15px 25px !important;
    }

    /* Уплотняем заголовки */
    .premium-title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }

    .premium-subtitle {
        font-size: 0.85rem !important;
        margin-top: 5px !important;
    }

    /* Уменьшаем отступы SEO-блока */
    .premium-description {
        margin-top: 10px !important;
    }

    .premium-description .btn-seo-premium {
        margin-top: 5px !important;
        padding: 0 !important;
        font-size: 0.85rem !important;
    }

    /* Ужимаем иконки преимуществ */
    .premium-category-header .premium-features {
        margin-top: 15px !important;
        gap: 12px !important;
    }

    .premium-category-header .feature-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .premium-category-header .feature-item span {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .premium-category-header .feature-item small {
        font-size: 0.75rem;
    }
}

/* ========================================= */
/* МАША: ОДНА СТРОКА В ШАПКЕ НА ДЕСКТОПЕ     */
/* ========================================= */

@media (min-width: 769px) {
    .premium-description .seo-text-container.collapsed {
        /* Ровно одна строка (учитывая наш line-height: 1.6) */
        max-height: 0.1rem !important;

        /* Сдвигаем маску прозрачности, чтобы она съедала только самый-самый низ букв,
           иначе строка будет нечитаемой */
        -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    }
}

/* End */


/* Start:/local/templates/eco_26/components/bitrix/catalog.section.list/eco_sections_block/style.css?17800550272466*/


/* ==========================================================================
   Moved from /local/templates/eco_26/css/catalog.css
   Component scope: catalog.section.list section-card templates.
   Category tile/card rules live with the section-list components that render .section-card markup.
   ========================================================================== */

/* ========================================= */
/* 5. CATEGORY CARDS (MAGAZINE STYLE)        */
/* ========================================= */

.section-card {
    display: flex; flex-direction: column; height: 100%;
    background-color: #fff; border-radius: 8px; overflow: hidden;
    text-decoration: none; position: relative;
    border: 1px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(185, 153, 97, 0.3);
}

.section-card__img-container {
    position: relative; width: 100%; height: auto;
    background-color: #fff; padding: 0 !important; margin: 0 !important;
    overflow: hidden; display: block;
}

.section-card__img-container img {
    width: 100%; height: auto; display: block; object-fit: cover;
    transition: transform 0.6s ease;
}

.section-card:hover .section-card__img-container img { transform: scale(1.05); }

.section-card__img-container::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.2) 100%);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}

.section-card:hover .section-card__img-container::after { opacity: 1; }

.section-card__title {
    padding: 18px 20px; background-color: #fff; text-align: center;
    border-top: 1px solid #f0f0f0; flex-grow: 1;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-family-base);
    font-size: 1.25rem; font-weight: 500; color: var(--color-text-main);
    line-height: 1.2; transition: color 0.3s ease;
}

.section-card:hover .section-card__title { color: var(--color-secondary); }

@media (max-width: 768px) {
    .section-card__img-container { height: auto; }
    .section-card__title { font-size: 1.2rem; padding: 10px; }
}

@media (min-width: 1500px) {
    .section-card__title { font-size: 1.5rem; padding: 24px 20px; }
}

/* End */


/* Start:/local/templates/eco_26/components/bitrix/news.list/articles_carousel/style.css?17800550275081*/
/* --- СТИЛИ КАРУСЕЛИ СТАТЕЙ --- */

/* Фикс для Flexbox контейнеров */
.content-column { min-width: 0 !important; }

.eco-articles-wrapper {
    margin-bottom: 70px;
    position: relative;
}

/* Заголовок */
.art-carousel-title {
    font-family: var(--font-family-base, "Times New Roman", serif);
    color: var(--color-primary, #23392F);
    font-weight: 500;
}

/* Кнопки навигации */
.art-nav-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-secondary, #b99961);
    background: transparent;
    color: var(--color-secondary, #b99961);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.art-nav-btn:hover {
    background: var(--color-secondary, #b99961);
    color: #fff;
}

/* --- КАРТОЧКА СТАТЬИ (Журнальный стиль) --- */
.article-slide {
    height: auto;
    display: flex;
}

.article-card {
    background: #fff;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Картинка (Горизонтальная 3:2) */
.art-img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 66%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.art-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .art-img-wrap img {
    transform: scale(1.05);
}

/* Тело карточки */
.art-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border: 1px solid rgba(0,0,0,0.03);
    border-top: none;
}

/* Дата */
.art-date {
    font-size: 0.8rem;
    color: var(--color-secondary, #b99961);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-family-secondary, sans-serif);
}

/* Заголовок статьи */
.art-title {
    font-family: var(--font-family-base, serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.3;
    color: var(--color-primary, #23392F);
    margin-bottom: 12px;
    font-weight: 500;
    transition: color 0.3s;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .art-title {
    color: var(--color-secondary, #b99961);
}

/* Анонс */
.art-preview {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка "Читать" */
.art-link-more {
    font-family: var(--font-family-secondary, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary, #b99961);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.art-link-more i {
    transition: transform 0.3s ease;
}

.article-card:hover .art-link-more i {
    transform: translateX(5px);
}

/* Swiper фиксы */
.swiper-container { width: 100%; overflow: hidden; }
.swiper-wrapper { display: flex; }

@media (max-width: 576px) {
    .art-nav-container {
        display: none !important;
    }
    .art-body {
        padding: 15px;
    }
    .art-title {
        font-size: 1.2rem;
    }
    .eco-articles-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }
}

/* ==========================================================================
   Moved mobile carousel sizing from /local/templates/eco_26/css/mobile.css
   Component scope: carousel templates.
   Mobile slide widths and carousel title alignment belong to the carousel components.
   ========================================================================== */

/* --- Carousels (Albums/Articles) --- */
@media (max-width: 991.98px) {
    .eco-albums-carousel-wrapper, .eco-articles-wrapper {
        margin-left: -15px; margin-right: -15px;
    }

    .art-carousel-title, .carousel-title, .faq-section h3 {
        display: block; width: 100%; text-align: center;
    }

    .eco-albums-carousel-wrapper .slide-title { font-size: 1.25rem; }

    /* Resized slides for mobile */
    .eco-albums-carousel-wrapper .swiper-slide,
    .eco-articles-wrapper .swiper-slide {
        width: 70vw !important; /* Smaller, cleaner look */
        max-width: 280px !important;
        height: auto !important;
        display: flex; flex-direction: column;
    }
}

/* End */


/* Start:/local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17800550278284*/
.eco-albums-carousel-wrapper {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Заголовок блока */
.carousel-title {
    font-family: var(--font-family-base, "EB Garamond", serif);
    color: var(--color-primary, #23392F);
    font-weight: 500;
}

/* Кнопки навигации */
.carousel-nav-container {
    display: flex;
    gap: 10px;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-secondary, #b99961);
    background: transparent;
    color: var(--color-secondary, #b99961);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.carousel-btn:hover {
    background: var(--color-secondary, #b99961);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 153, 97, 0.3);
}

/* ========================================= */
/* ПРЕМИАЛЬНАЯ КАРТОЧКА АЛЬБОМА              */
/* ========================================= */

.album-slide-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-slide-card:hover {
    border-color: rgba(185, 153, 97, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Контейнер картинки (Фикс пропорций 3:4) */
.slide-img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 133%; 
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 8px;
}

.slide-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Оверлей: градиент снизу вверх для читаемости текста */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 45, 35, 0.95) 0%, rgba(20, 45, 35, 0.3) 50%, transparent 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease, background 0.4s ease;
}

/* Контент слайда (Заголовок и кнопка) */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px; /* Добавили воздуха */
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Заголовок альбома */
.slide-title {
    color: #ffffff !important;
    font-family: var(--font-family-base, "EB Garamond", serif) !important;
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    text-shadow: none !important; /* Убили дешевую тень */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease !important;
    transform: translateY(20px); /* Спрятали чуть ниже, пока нет наведения */
}

/* Ссылка с анимацией */
.slide-link-text {
    font-family: var(--font-family-secondary, "Avantgarde", sans-serif) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important; /* Разрядка для дорогого вида */
    color: var(--color-secondary, #b99961) !important;
    text-transform: uppercase !important;
    margin-top: 12px !important;
    opacity: 0 !important;
    transform: translateY(15px) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Изящная стрелочка */
.slide-link-text::after {
    content: '→';
    font-size: 1.4em;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Счетчик количества фото (идеальный круг) */
.slide-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary, #142D23);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-secondary, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* ========================================= */
/* HOVER-ЭФФЕКТЫ                             */
/* ========================================= */

.album-slide-card:hover .slide-img-wrap img { 
    transform: scale(1.08) !important; 
}

.album-slide-card:hover .slide-overlay { 
    opacity: 1 !important; 
    background: linear-gradient(to top, rgba(20, 45, 35, 0.95) 0%, rgba(20, 45, 35, 0.5) 50%, rgba(20, 45, 35, 0.1) 100%);
}

.album-slide-card:hover .slide-title { 
    transform: translateY(0); 
}

.album-slide-card:hover .slide-link-text { 
    opacity: 1 !important; 
    transform: translateY(0) !important; 
}

.album-slide-card:hover .slide-link-text::after { 
    transform: translateX(5px); 
}

.album-slide-card:hover .slide-count {
    transform: scale(1.1);
    color: var(--color-secondary, #b99961);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Swiper фиксы */
.swiper-wrapper { display: flex; }
.swiper-slide { height: auto; }

@media (max-width: 576px) {
    .carousel-nav-container { display: none; }
    .slide-content { padding: 20px 15px; }
    .slide-title { font-size: 1.2rem !important; transform: translateY(0); } /* На мобилках показываем сразу */
    .slide-link-text { opacity: 1 !important; transform: translateY(0) !important; }
    .eco-albums-carousel-wrapper {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }
}

/* ========================================= */
/* ФИКС ОБРУБЛЕННЫХ ТЕНЕЙ ДЛЯ СЛАЙДЕРА       */
/* ========================================= */

/* 1. Убираем жесткий overflow у самой обертки компонента, если он там есть */
.eco-albums-carousel-wrapper {
    overflow: visible !important;
}

/* 2. Расширяем границы самого Swiper-контейнера */
.eco-albums-carousel-wrapper .swiper-container {
    padding-top: 15px;
    padding-bottom: 40px; /* Основное место для нашей падающей тени */
    padding-left: 15px;
    padding-right: 15px;
    
    /* Компенсируем паддинги, чтобы карточки остались на своих местах */
    margin-top: -15px;
    margin-bottom: -40px;
    margin-left: -15px;
    margin-right: -15px;
}

/* Опционально: немного утихомирим саму тень, чтобы она была более бархатной */
.album-slide-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   Moved mobile carousel sizing from /local/templates/eco_26/css/mobile.css
   Component scope: carousel templates.
   Mobile slide widths and carousel title alignment belong to the carousel components.
   ========================================================================== */

/* --- Carousels (Albums/Articles) --- */
@media (max-width: 991.98px) {
    .eco-albums-carousel-wrapper, .eco-articles-wrapper {
        margin-left: -15px; margin-right: -15px;
    }

    .art-carousel-title, .carousel-title, .faq-section h3 {
        display: block; width: 100%; text-align: center;
    }

    .eco-albums-carousel-wrapper .slide-title { font-size: 1.25rem; }

    /* Resized slides for mobile */
    .eco-albums-carousel-wrapper .swiper-slide,
    .eco-articles-wrapper .swiper-slide {
        width: 70vw !important; /* Smaller, cleaner look */
        max-width: 280px !important;
        height: auto !important;
        display: flex; flex-direction: column;
    }
}

/* End */
/* /local/templates/eco_26/page_css/front-legacy.css?178005502727394 */
/* /local/templates/eco_26/components/bitrix/catalog.section.list/eco_sections_block/style.css?17800550272466 */
/* /local/templates/eco_26/components/bitrix/news.list/articles_carousel/style.css?17800550275081 */
/* /local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17800550278284 */
