

/* Start:/local/templates/eco_26/components/bitrix/catalog.element/eco_element/style.css?17768554896131*/
/* === VISUAL DOCKING STYLES === */
.product-visual-wrapper {
    position: relative;
}

.visual-clip-layer {
    position: relative;
    border-radius: 0.25rem;
    line-height: 0;
    overflow: hidden; /* МАША: Обрезаем слои, чтобы не вылезали за пределы картинки */
}

.visual-clip-layer a.lightgallery-item {
    display: block;
    line-height: 0;
}

.molding-phantom-visual-layer {
    position: absolute;
    pointer-events: none;
    opacity: 0.15; /* МАША: Прозрачность 15% в изначальном виде */
    transition: opacity 0.3s ease;
    z-index: 5;
    transform-origin: center center;
}

.molding-phantom-visual {
    width: 100%;
    transform-origin: center center;
}

.molding-phantom-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.molding-interaction-layer {
    position: absolute;
    z-index: 10;
    cursor: crosshair;
    transform-origin: center center;
}

.molding-hover-zone {
    width: 100%;
    transform-origin: center center;
}

.molding-hover-zone img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0; /* Only needed for dimensions and hit area */
}

.molding-phantom-visual-layer.active-visual {
    opacity: 1;
}

/* Info Box */
.molding-info-box {
    position: absolute;
    background: var(--color-primary, #23392F);
    border: none;
    border-radius: 6px;
    padding: 15px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.m-info-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}

.m-info-close:hover {
    color: var(--color-white, #fff);
}

.molding-info-box.active-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.m-info-title {
    color: var(--color-white, #fff);
    font-family: var(--font-family-base, "EB Garamond", serif);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.2;
    padding-right: 15px;
}

.m-info-price {
    color: var(--color-white, #fff);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.m-info-btns {
    display: flex;
    gap: 10px;
}

.m-btn-v, .m-btn-b {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 500;
}

.m-btn-v {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white, #fff);
    position: relative;
}

.m-btn-v:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white, #fff);
}

/* Убираем лупу на кнопке Смотреть */
.m-info-btns .m-btn-v::before,
.m-info-btns .m-btn-v::after {
    display: none !important;
    content: none !important;
}

.m-btn-b {
    background: transparent;
    border: 1px solid var(--color-secondary, #b99961);
    color: var(--color-secondary, #b99961);
}

.m-btn-b:hover {
    background: var(--color-secondary, #b99961);
    color: var(--color-primary, #23392F);
}

/* Toggle Switch */
.visual-docking-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    padding: 8px 15px;
    border-radius: 30px;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.toggle-label {
    color: #fff;
    font-size: 13px;
    user-select: none;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin: 0;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
    border-radius: 20px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-switch input:checked + .switch-slider {
    background-color: #D08C55;
}

.custom-switch input:checked + .switch-slider:before {
    transform: translateX(16px);
}

.product-visual-wrapper.show-all-docking .molding-phantom-visual-layer {
    opacity: 1 !important;
}

/* Hint Animation */
.masha-onboarding-hint {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 30;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 12px 6px 8px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeOutHint 1s ease 5s forwards; /* Исчезает через 5 секунд */
    transition: opacity 0.3s;
}

/* При наведении прячем подсказку сразу */
.molding-interaction-layer:hover .masha-onboarding-hint {
    opacity: 0 !important;
}

@keyframes fadeOutHint {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

.hint-pulse {
    width: 10px;
    height: 10px;
    background: #D08C55;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(208, 140, 85, 0.7);
    animation: pulseHint 2s infinite;
}

.hint-text {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

@keyframes pulseHint {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(208, 140, 85, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(208, 140, 85, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(208, 140, 85, 0); }
}

/* End */


/* Start:/local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17771876007226*/
.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;
}
/* End */


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

/* Фикс для 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);
    }
}

/* End */
/* /local/templates/eco_26/components/bitrix/catalog.element/eco_element/style.css?17768554896131 */
/* /local/templates/eco_26/components/bitrix/catalog.section.list/albums_carousel/style.css?17771876007226 */
/* /local/templates/eco_26/components/bitrix/news.list/articles_carousel/style.css?17768554894024 */
