/* ==========================================================
   ГЛОБАЛЬНІ НАЛАШТУВАННЯ ГОЛОВНОЇ СТОРІНКИ
   ========================================================== */
html { scroll-behavior: smooth; }

.home-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.home-section {
    width: 100%;
    max-width: 1400px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* ==========================================================
   ЗАГОЛОВКИ ТА ТЕКСТИ (З фіксованим Z-index та відступами)
   ========================================================== */
.section-title-neon {
    font-family: var(--font-H1);
    font-size: clamp(40px, 6vw, 80px);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    color: white;
    position: relative; 
    z-index: 30; 
    margin-bottom: 25px; 
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 30; 
    margin-bottom: 80px; 
}

/* ==========================================================
   HERO BUTTONS (Абсолютне позиціонування під логотипом)
   ========================================================== */
.figma-hero-buttons {
    position: absolute !important;
    bottom: 40%;
    left: 55%;
    transform: translateX(0);
    display: flex;
    gap: 12px;
    z-index: 100 !important;
    pointer-events: auto;
}

.figma-btn-outline, 
.figma-btn-fill {
    font-family: var(--font-H4);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.figma-btn-outline {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #E6007E;
    color: white;
}

.figma-btn-outline:hover {
    background: rgba(230, 0, 126, 0.2);
    box-shadow: 0 0 20px rgba(230, 0, 126, 0.4);
}

.figma-btn-fill {
    background: #E6007E;
    border: 1px solid #E6007E;
    color: white;
}

.figma-btn-fill:hover {
    background: #ff1a8c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.5);
}

/* ==========================================================
   SMART VERTICAL NAV (FIXED VERSION)
   ========================================================== */

/* 1. Основна обгортка - завжди зліва по центру */
.smart-scroll-nav {
    position: fixed !important;
    left: 30px; /* Вирівнювання по твоїх острівцях */
    top: 50%;
    transform: translateY(-50%);
    z-index: 999999 !important;
    pointer-events: none; /* Пропускає кліки на фонові елементи */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. Фон вертикальної лінії */
.scroll-line-bg {
    width: 2px;
    height: 240px; 
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

/* 3. Лінія прогресу (Маджента) */
.scroll-line-progress {
    position: absolute;
    width: 100%;
    height: 0%; /* Заповнюється через JS (style.height) */
    background: #E6007E;
    box-shadow: 0 0 15px rgba(230, 0, 126, 0.7);
    top: 0;
    transition: height 0.15s linear;
}

/* 4. Контейнер для точок */
.scroll-dots-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 240px; 
    width: 20px;
    pointer-events: auto; /* Дозволяємо кліки на точки */
}

/* 5. Окрема точка-лінк */
.scroll-dot-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 20px;
    height: 20px;
    position: relative;
}

/* 6. Сама точка (візуал) */
.dot {
    width: 10px;
    height: 10px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Активний стан */
.scroll-dot-item.active .dot {
    background: #E6007E !important;
    border-color: #E6007E !important;
    transform: scale(1.4);
    box-shadow: 0 0 20px #E6007E;
}

/* ПРИБИРАЄМО ТЕКСТ (як ти і хотів, для чистоти) */
.dot-label {
    display: none !important;
}

/* Світла тема */
body.light-theme .dot { background: #fff; border-color: rgba(0,0,0,0.2); }
body.light-theme .scroll-line-bg { background: rgba(0,0,0,0.08); }

/* --- МОБІЛЬНИЙ ФІКС --- */
@media (max-width: 768px) {
    .smart-scroll-nav {
        left: 20px; /* Трохи ближче до краю */
    }
    .scroll-line-bg, .scroll-dots-container {
        height: 180px; /* Менша висота на смартфонах */
    }
}

/* ==========================================================
   АКОРДЕОН: ПРАВИЛЬНІ ШАРИ
   ========================================================== */
.accordion-container {
    display: flex;
    width: 90%;
    height: 45vh; 
    min-height: 500px;
    gap: 15px;
    margin-top: 20px;

}

.accordion-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: transparent !important;
    border: none !important; 
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active { flex: 3; }
.acc-glass-layer { position: absolute; inset: 0; z-index: 1; }

.acc-image-layer {
    position: absolute; inset: 0; 
    background-size: cover; 
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none; 
    transition: transform 0.4s ease;
}

.accordion-item.active .acc-image-layer { transform: scale(1.05); }
.accordion-item::before { content: ''; position: absolute; inset: 0; opacity: 0.8; z-index: 3 !important; transition: opacity 0.3s ease;}
.accordion-item.active::before { opacity: 0.4; }

.accordion-content {
    position: absolute; bottom: 30px; left: 30px; right: 30px;
    color: white; z-index: 4 !important; opacity: 0; transform: translateY(20px); transition: all 0.4s ease 0.2s;
}
.accordion-item.active .accordion-content { opacity: 1; transform: translateY(0); }
.accordion-label { font-size: 12px; letter-spacing: 3px; color: #E6007E; font-weight: 800; text-transform: uppercase; }
.accordion-title { font-size: 28px; margin: 10px 0; font-weight: 700; }
.scopri-btn { display: inline-block; padding: 10px 20px; background: rgba(230, 0, 126, 0.2); border: 1px solid #E6007E; color: white; border-radius: 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; transition: 0.3s;}
.scopri-btn:hover { background: #E6007E; }

/* ==========================================================
   СЕКЦІЯ 2: БЕСТСЕЛЕРИ
   ========================================================== */
.bestsellers-section {
    min-height: 100vh;
    justify-content: center;
}

/* ==========================================================
   СЕКЦІЯ VENDI (MARQUEE ФОН + СЛАЙДЕР + ФОРМА)
   ========================================================== */
.stores-section {
    background: transparent;
    width: 100vw; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
    padding: 100px 0;
}

/* --- MARQUEE BACKGROUND --- */
.marquee-bg {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 10px; 
    overflow: hidden; 
    z-index: 1; 
    pointer-events: none; 
}

.marquee-track { 
    display: flex; 
    width: max-content; 
    animation: marqueeScroll 50s linear infinite; 
}

.marquee-track-reverse {
    animation: marqueeScrollReverse 50s linear infinite; 
}

.marquee-track h1 { 
    font-family: var(--font-H1); 
    font-size: clamp(60px, 10vw, 120px); 
    color: rgba(255, 255, 255, 0.04); 
    margin: 0; 
    padding: 0 30px; 
    white-space: nowrap; 
    text-transform: uppercase; 
}

@keyframes marqueeScroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

@keyframes marqueeScrollReverse { 
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } 
}

/* --- КОНТЕНТ СЕКЦІЇ VENDI --- */
.vendor-content-wrapper {
    position: relative;
    z-index: 10; 
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vendor-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: center;
    margin-top: 50px;
}

/* Слайдер */
.slider-visual-content,
.vendor-slider-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 600px;
    width: 50%;
     margin-top: 150px;
}

.react-slider-container {
    transform: scale(1.6); 
    transform-origin: center center; 
}

/* Форма реєстрації */
.vendor-auth-box {
    padding: 50px 40px;
    border-radius: 30px !important; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.auth-box-title {
    font-size: 28px;
    font-family: var(--font-H2);
    font-weight: 800;
    color: white;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.home-auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-wrapper input {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-color: #E6007E;
    background: rgba(255, 255, 255, 0.1);
}

.auth-submit-btn {
    height: 50px;
    background: #E6007E;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 0, 126, 0.5);
    background: #ff1a8c;
}

.auth-box-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-box-footer a {
    color: #E6007E;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

/* --- ЧИСТА HERO СЕКЦІЯ БЕЗ КНОПОК --- */
#hero-main-pure {
    width: 100%;
    height: 120vh; /* Робимо секцію більшою за 1 екран */
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Дозволяємо "дихати" контенту */
    background: transparent;
}

.hero-3d-visual-container {
    width: 100vw;
    height: 80vh; /* Висота самої зони моделі */
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ФІКС МОДЕЛІ: щоб вона не обрізалася, а вписувалася */
#hero-3d-logo {
    width: 90% !important;
    height: 90% !important;
    --poster-color: transparent;
}

/* АДАПТАЦІЯ ДЛЯ МОБІЛЬНИХ (Телефон) */
@media (max-width: 480px) {
    #hero-main-pure {
        height: 110vh; /* Трохи менша висота на мобілках, але все одно більше екрану */
    }

    .hero-3d-visual-container {
        height: 60vh; /* Модель займає 60% висоти екрану */
        padding: 0 40px; /* Великі відступи по боках, щоб не "вилітало" */
    }
    
    /* Змушуємо model-viewer правильно масштабувати вміст */
    #hero-3d-logo {
        min-height: 350px;
    }
}
/* ==========================================================
   1. БАЗА СЕКЦІЇ ТА КОНТЕЙНЕРА
   ========================================================== */
.stores-full-width {
    padding-top: 100px;
    
    /* ВБИВАЄМО ВСІ БОКОВІ ВІДСТУПИ ТА ОБМЕЖЕННЯ */
    max-width: 100% !important; 
    width: 100vw !important;
    padding-left: 0 !important; 
    padding-right: 0 !important; 
    margin-left: 0 !important;
    margin-right: 0 !important;
    
    overflow: hidden;
}

.stores-subtitle {
    margin-bottom: 50px;
}

.emotions-slider {
    position: relative;
    width: 100%;
    padding-bottom: 50px; /* Місце для крапочок пагінації */
}

.emotions-slider__slider {
    width: 100%;
    /* overflow: visible дозволяє боковим карткам "виглядати" з-за країв екрану */
    overflow: visible !important; 
    padding: 80px 0 !important; /* Відступи зверху і знизу для збільшеної 3D-картки */
}

.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

/* ==========================================================
   2. РОЗМІРИ КАРТОК ТА ЕФЕКТИ 3D (МАСШТАБ)
   ========================================================== */
.emotions-slider__slide {
    width: 380px !important; /* Ідеальна ширина для десктопу (показує 3 картки) */
    height: auto;
    flex-shrink: 0;
}

/* ГОЛОВНИЙ КОНТЕЙНЕР КАРТКИ (БЕЗ ФОНУ!) */
.emotions-slider-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden; /* Обрізає кути */
    display: flex;
    flex-direction: column;
    
    /* Анімація збільшення і затемнення для бокових карток */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.85); /* Бокові картки менші */
}

/* ЦЕНТРАЛЬНА (АКТИВНА) КАРТКА */
.swiper-slide-active .emotions-slider-item {
    opacity: 1;
    transform: scale(1.15); /* Збільшена на ~30% */
    z-index: 10;
    /* Легке рожеве світіння навколо активної картки */
    box-shadow: 0 15px 40px rgba(230, 0, 126, 0.2); 
}

/* ==========================================================
   3. ІЗОЛЬОВАНИЙ ШАР МАДЖЕНТИ (ФІКС БАГІВ SAFARI)
   ========================================================== */
/* Цей шар лежить на самому дні картки і робить ефект скла, не чіпаючи текст і фото */
.slider-glass-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 24px;
    background: rgba(230, 0, 126, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(230, 0, 126, 0.3);
    pointer-events: none; /* Пропускає кліки крізь себе */
}

/* ==========================================================
   4. КОНТЕНТ (ФОТО, ЛОГО, ТЕКСТ) - ЛЕЖИТЬ НАД СКЛОМ
   ========================================================== */
.emotions-slider-item__image {
    position: relative;
    z-index: 1; /* Піднімаємо над склом */
    width: 100%;
    height: 250px;
    background: #000;
}

.emotions-slider-item__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Затемнюємо обкладинку для контрасту логотипу */
}

.store-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; /* Ширина логотипу 70% від картки */
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

/* Робимо логотип білим без інлайн-стилів */
.store-center-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.emotions-slider-item__content {
    position: relative;
    z-index: 1; /* Піднімаємо над склом */
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    flex-grow: 1; 
}

.emotions-slider-item__title {
    font-family: var(--font-H2);
    font-size: 26px;
    color: white;
    margin: 0 0 10px 0;
}

.emotions-slider-item__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================
   5. АНІМОВАНА КНОПКА ТА ПАГІНАЦІЯ
   ========================================================== */
.emotions-slider-item__footer { margin-top: auto; }
.emotions-slider-item__btn {
    display: flex; align-items: center; gap: 8px; color: #E6007E;
    text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 14px;
}

.emotions-slider-item__btn-icon {
    flex-shrink: 0; display: block; width: 24px; height: 24px; position: relative; overflow: hidden;
}

.emotions-slider-item__btn-icon::before,
.emotions-slider-item__btn-icon::after {
    content: ""; display: block; width: 100%; height: 100%;
    background: url("https://bato-web-agency.github.io/bato-shared/img/slider-1/icon-btn-arrow.svg") center center no-repeat;
    background-size: 100%;
}
.emotions-slider-item__btn-icon::after { position: absolute; top: 100%; right: 100%; }

.emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::before,
.emotions-slider-item__btn:hover .emotions-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
}

@keyframes btn-arrow-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100%, -100%); }
}

/* КРАПОЧКИ ПО ЦЕНТРУ ЗНИЗУ */
.slider-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex; 
    justify-content: center; 
    gap: 8px;
    z-index: 20;
}
.slider-pagination__item {
    width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.slider-pagination__item.active {
    width: 35px; border-radius: 10px; background: #E6007E;
}

/* ==========================================================
   6. АДАПТАЦІЯ (ПЛАНШЕТИ ТА ТЕЛЕФОНИ)
   ========================================================== */

/* ПЛАНШЕТ (екран до 1024px) - Покаже 2.5 або 3 менші картки */
@media (max-width: 1024px) {
    .emotions-slider__slide { 
        width: 320px !important; /* Картка стає меншою, щоб влізти */
    }
    .emotions-slider__slider { 
        padding: 60px 0 !important; /* Менший відступ, бо картки менші */
    }
    .emotions-slider-item__title { font-size: 22px; }
    .emotions-slider-item__image { height: 200px; } /* Зменшуємо фото */
}

/* ТЕЛЕФОН (екран до 768px) - Покаже 1 центральну картку і шматочки бокових */
@media (max-width: 768px) {
    .emotions-slider__slide { 
        width: 280px !important; /* Ширина під екран телефону */
    }
    .emotions-slider__slider { 
        padding: 40px 0 !important; /* Мінімальні відступи зверху/знизу */
    }
    .emotions-slider-item__image { height: 180px; }
    .emotions-slider-item__content { padding: 20px 15px; gap: 15px; }
    
    .store-center-logo { width: 60%; height: 60%; } /* Логотип трохи менший, щоб не злипався */
    
    .slider-pagination { bottom: -10px; }
}

/* Підключаємо шрифт, якщо він ще не підключений у base.html */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');
.magenta-crystal2 {
    box-sizing: border-box !important;
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-radius: 24px;
    
    /* 1-в-1 як велике скло під ним */
    background: linear-gradient(
        135deg, 
        rgba(230, 0, 126, 0.15) 0%,
        rgba(75, 0, 130, 0.2) 35%,
        rgba(10, 10, 10, 0.4) 70%,
        rgba(255, 51, 153, 0.05) 100%
    ) !important;
    
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                inset 0 0 20px rgba(230, 0, 126, 0.05) !important;
}

/* Обов'язково додай шум для логін-форми через псевдоелемент */
.magenta-crystal2::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
}
.vendi-scroll-section {
    position: relative;
    width: 100vw;
    height: 150vh; /* Збільшена висота для плавного скрол-ефекту */
    background: transparent;
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ФОНОВІ СЛОВА */
.vendi-bg-text {
    position: absolute;
    font-size: 300px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
}

.top-left { top: 5%; left: -100%; } /* Початкова позиція за екраном зліва */
.bottom-right { bottom: 5%; right: -100%; } /* Початкова позиція за екраном справа */

/* ЦЕНТРАЛЬНИЙ ТЕКСТ 500px */
.vendi-center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 500px;
    font-weight: 800;
    color: white;
    opacity: 0;
    z-index: 5;
    margin: 0;
}

/* МАДЖЕНТА КРІСТАЛ ПАНЕЛЬ */
.vendi-form-panel {
    position: relative;
    z-index: 10;
    width: 600px;
    padding: 40px;
    border-radius: 40px;
    opacity: 0;
    transform: translateY(100px);

}

/* СТИЛІ ФОРМИ (згідно з референсом) */
.login-header { text-align: center; color: white; margin-bottom: 30px; letter-spacing: 2px; }

.vendi-input-group {
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.vendi-input-group input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
}

.vendi-form-actions { display: flex; gap: 15px; margin-top: 25px; }

.vendi-btn-main {
    flex: 1;
    background: #E6007E;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    height: 50px;
}

.vendi-btn-secondary {
    flex: 1.2;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    cursor: pointer;
}

.arrow-circle {
    background: white;
    color: #E6007E;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.vendi-social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.social-btn {
    background: rgba(255,255,255,0.05);
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- СТРУКТУРА СЕКЦІЇ VENDI --- */
.vendi-scroll-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendi-bg-text {
    position: absolute;
    font-size: 20vw;
    font-weight: 800;
    color: white;
    line-height: 0.8;
    z-index: 1;
}

.vendi-giant-glass {
    position: relative;
    z-index: 2;
    width: 85vw;
    height: 75vh;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vendi-center-title {
    position: absolute;
    z-index: 3;
    font-size: 28vw;
    font-weight: 800;
    color: white;
    margin: 0;
}

.vendi-form-panel {
    position: absolute;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 35px;
    border-radius: 24px;
    backdrop-filter: blur(75px) !important; 
    -webkit-backdrop-filter: blur(25px) !important; /* Обов'язково для Safari/Chrome на iOS */
}

.vendi-form-panel .login-title-main {
    margin-bottom: 25px;
    font-family: var(--font-H2);
    text-align: center;
    /* ФІКСИ: */
    color: #ffffff !important; /* Робимо текст білим */
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Легке неонове світіння */
}

/* --- ІКОНКИ (Фікс видимості на білому фоні інпутів) --- */
.vendi-input-icon {
    width: 16px;
    opacity: 0.6;
    /* Фільтр робить іконки темними, щоб їх було видно на білому інпуті */
    filter: brightness(0); 
}

/* --- КНОПКИ ТА ЇХ ВИРІВНЮВАННЯ --- */
.vendi-btn-row {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: stretch;
    height: 45px;
}

.vendi-login-btn {
    flex: 1;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.vendi-reg-btn-wrap {
    flex: 1;
    padding: 2px;
    border-radius: 15px;
    text-decoration: none;
}

.vendi-reg-btn-int {
    height: 100%;
    width: 100%;
    padding: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.vendi-divider-spacing {
    margin: 25px 0;
}

.vendi-social-btn {
    flex: 1;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vendi-social-text {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}
/* --- СТРУКТУРА СЕКЦІЇ VENDI --- */
.vendi-scroll-section {
    height: 100vh;
    position: relative;
    overflow: hidden; /* Обрізає тільки те, що вилазить за межі цілого ЕКРАНУ */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ФОНОВІ СЛОВА (ШАР 1) */
.vendi-bg-text {
    position: absolute;
    font-size: 25vw;
    font-weight: 800;
    color: white;
    line-height: 0.8;
    z-index: 1;
    pointer-events: none;
}
.top-left { top: 1%; }
.bottom-right { bottom: 3%; }

/* ВЕЛИКЕ СКЛО З ІНІЦІА (ШАР 2) */
.vendi-giant-glass {
    position: absolute; /* Відв'язали від сітки */
    z-index: 2;
    width: 85vw;
    height: 75vh;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vendi-center-title {
    font-size: 28vw;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
}

/* ФОРМА ЛОГІНУ (ШАР 3) */
.vendi-form-panel {
    position: absolute;
    z-index: 10; /* Лежить найвище! */
    width: 100%;
    max-width: 360px;
    padding: 35px;

    /* Тут НЕМАЄ overflow: hidden, щоб тултіпи і тіні не обрізались */
}

.vendi-form-panel .login-title-main {
    margin-bottom: 25px;
    font-family: var(--font-H2);
    text-align: center;
    color: rgba(255, 255, 255, 0);
}

/* --- МАГІЯ МАДЖЕНТИ (БЛЮР) --- */


/* --- ІКОНКИ В ІНПУТАХ --- */
.vendi-input-icon {
    width: 16px;
    opacity: 0.7;
    filter: brightness(0); /* Робить іконку чорною на білому фоні */
}

/* --- КНОПКИ ФОРМИ --- */
.vendi-btn-row {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: stretch;
    height: 45px;
}

.vendi-login-btn {
    flex: 1;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    background: transparent;
    color: #E6007E;
    border: 2px solid #E6007E;
    cursor: pointer;
    font-weight: bold;
}

.vendi-reg-btn-wrap {
    flex: 1;
    padding: 2px;
    border-radius: 15px;
    text-decoration: none;
}

.vendi-reg-btn-int {
    height: 100%;
    width: 100%;
    padding: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.vendi-divider-spacing { margin: 25px 0; }

.vendi-social-btn {
    flex: 1;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.vendi-social-text {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

    #bestsellers {
        padding-left: 30px !important;
        padding-right: 30px !important;
        box-sizing: border-box;
    }

@media (max-width: 900px) {
    /* Синхронізуємо відступи з острівцями (30px як у навігації) */
    #bestsellers {
        padding-left: 30px !important;
        padding-right: 30px !important;
        box-sizing: border-box;
    }


@media (max-width: 900px) {
    .accordion-container {
        display: flex !important;
        flex-direction: column !important; /* Розвертаємо вертикально */
        width: calc(100% - 100px) !important; /* Ті самі відступи */
        margin: 0 auto !important;
        height: auto !important;
        gap: 12px !important;
    }

    .accordion-item {
        width: 100% !important;
        height: 100px !important; /* Твоя ідеальна висота - 100px */
        flex: none !important;
        /* М'яка анімація: cubic-bezier робить рух "дорогим" і плавним */
        transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .accordion-item.active {
        height: 400px !important; /* Розгорнутий стан */
    }

    /* Ховаємо контент, поки карта не активна, щоб не "плив" */
    .accordion-content {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .accordion-item.active .accordion-content {
        opacity: 1;
        transition-delay: 0.3s; /* Контент з'являється трохи пізніше */
    }
}
/* ==========================================================
   CLEAN FINAL OVERRIDE (NO CONFLICTS)
   ========================================================== */

/* 1. Корекція відступів для всіх тем (Title & Subtitle) */
.section-title-neon {
    margin-bottom: 10px !important;
}
.section-subtitle {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
}

/* 2. Єдиний блок для Світлої Теми */
body.light-theme {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

/* Перефарбовуємо всі заголовки одним махом */
body.light-theme .section-title-neon,
body.light-theme .section-subtitle,
body.light-theme .accordion-title,
body.light-theme .emotions-slider-item__title,
body.light-theme .card-title,
body.light-theme .vendi-center-title,
body.light-theme .login-title-main {
    color: #000000 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

/* Окремо підзаголовки (сірий колір для м'якості) */
body.light-theme .section-subtitle,
body.light-theme .card-desc,
body.light-theme .emotions-slider-item__text {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* 3. Прогрес-бар (Фіксована Маджента) */
body.light-theme .smart-scroll-nav .scroll-line-bg {
    background: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .smart-scroll-nav .scroll-line-progress {
    background: #E6007E !important;
    box-shadow: 0 0 15px rgba(230, 0, 126, 0.5) !important;
}

/* 4. Точки навігації */
body.light-theme .dot {
    background: #ffffff !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
}
body.light-theme .scroll-dot-item.active .dot {
    background: #E6007E !important;
    border-color: #E6007E !important;
}