@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&family=Comfortaa:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #fbf7f4;        
    --bg-card: #ffffff;        
    --accent-brown: #503d42;   
    --accent-orange: #eb9173;  
    --text-dark: #1a1a1a;       /* Сделали чуть глубже для строгости */
    --text-muted: #7a726e;     
    
    /* РЕДИЗАЙН: Никаких овальных блоков. Полный минимализм */
    --radius-main: 0px;        
    --radius-card: 0px;        
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Comfortaa', 'Inter', sans-serif; 
    -webkit-font-smoothing: antialiased;
    
}

html,body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    
}

/* Добавляем отступ только для страниц, где контент лежит в main */
main.container {
    padding-top: 120px; /* Сдвинет заголовки и товары вниз из-под хедера */
}




.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.header_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    box-sizing: border-box; /* Исправлено burder -> border */
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    /* Увеличиваем отступы: 35px сверху и снизу вместо 20px */
    padding: 35px 0; 
    
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease; 
}

/* Когда прокручиваем страницу, хедер аккуратно уменьшается, но остается крупнее прежнего */
.main-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(62, 56, 53, 0.06);
    
    /* В прокрученном состоянии делаем 20px, чтобы он не перекрывал пол-экрана */
    padding: 20px 0; 
}

.main-header:hover {
    background-color: #ffffff; 
    box-shadow: 0 4px 20px rgba(62, 56, 53, 0.08); 
}

/* Делаем ссылки в меню чуть крупнее и добавляем им больше простора (gap) */
.main-header nav ul {
    gap: 30px; /* Увеличь это свойство в своем коде меню, если оно там есть */
}

.main-header nav a {
    font-size: 15px; /* Чуть увеличиваем размер букв для читаемости */
    letter-spacing: 0.5px; /* Добавляем благородный минималистичный разряд букв */
}
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    color: var(--text-dark);
    
}

.logo img {
    mix-blend-mode: multiply;
    display: block;
}


.logo-icon {
    background: linear-gradient(135deg, var(--accent-orange), #f2b396);
    width: 90px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    
  

}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-orange);
}

.header-controls {
    display: flex;
    gap: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* --- ГЛАВНЫЙ БАННЕР --- */
.hero-banner {
    background: #f5eae4;
    border-radius: var(--radius-main);
    margin-top: 30px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.btn-intro {
    display: inline-block;
    background-color: var(--accent-brown);
    color: white;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: 25px;
    font-size: 15px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-intro:hover {
    transform: scale(1.03);
    background-color: #3e3431;
}

.hero-image-wrapper {
    max-width: 45%;
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-main);
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- СЕКЦИЯ РЕКОМЕНДАЦИИ --- */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 25px;
}

.section-title {
    font-size: 26px;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f0e6e1;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.2s;
}

.arrow:hover {
    background-color: var(--accent-orange);
    color: white;
}

.product-name {
    flex: 1; 
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-dark);
}

.product-meta-actions {
    display: flex;
    align-items: center;
    gap: 16px; /* Расстояние между ценой и плюсом */
    flex-shrink: 0; /* Чтобы цена не сжималась */
}

.products-grid {
    display: grid;
   
    gap: 48px 24px; /* Больше воздуха между рядами */
    margin-bottom: 120px;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-dark);
}

.products-grid-centered {
    display: grid;
    /* Указываем минимальный и максимальный размер колонки, как у верхних карточек */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 48px 24px;
    margin-bottom: 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center; /* Теперь это сработает, так как сетка не растянута насильно */
}


.products-grid-centered .product-card {
    /* Если элементов меньше 4, flex-свойства не будут их раздувать */
    width: 100%; 
}

/* Декоративная вставка по центру между карточками в products-grid-centered.
   Не является товаром: без бейджей, цены и кнопки корзины — просто картинка
   в том же формате (3:4), что и товарные карточки, для визуального ритма. */
.products-grid-insert {
    display: flex;
    align-items: stretch;
}

.products-grid-insert-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f5f0ec;
}

.products-grid-insert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.products-grid-insert-img:hover img {
    transform: scale(1.03);
}

/* На всякий случай возвращаем стандартную сетку для верхнего блока, если ты её менял */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    margin-bottom: 120px;
}


.product-card img {
    width: 100%;
    height: 320px;       /* Это сделает картинку вытянутой по вертикали */
    object-fit: cover;   /* Растянет её на всю ширину блока, убирая белые края */
    object-position: center;
    display: block;
}



.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(62, 56, 53, 0.06);
}

.badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-badge {
    background-color: #f0ece9; /* Мягкий, нейтральный светло-серый оттенок */
    color: #555555;            /* Приглушенный темный текст */
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase; /* Текст в верхнем регистре выглядит аккуратнее */
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 0px;        /* Строгий прямой угол */
}

.favorite-icon {
    color: var(--accent-orange);
    cursor: pointer;
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Выравнивание по верхней линии текста */
    gap: 12px;
    margin-top: 12px;
}

.product-description {
    padding-left: 0 ;
    margin-left: 0 ;
}
.product-img-box {
    width: 100%;
    aspect-ratio: 3 / 4; /* Эстетичное вертикальное соотношение */
    overflow: hidden;
    position: relative;
    background-color: #f5f0ec;
    margin-bottom: 16px;
}
.product-img-box img {
    width: 100%;                /* ИЗМЕНИЛИ: вместо max-width ставим жесткие 100% */
    height: 100%;               /* ИЗМЕНИЛИ: вместо max-height ставим жесткие 100% */
    object-fit: cover;          /* ИЗМЕНИЛИ: cover заполнит весь блок без искажения пропорций */
}


.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 14px;
    font-weight: 400; /* Убираем лишнюю жирность, делаем элегантным */
    color: var(--text-muted);
    letter-spacing: -0.1px;
}
.product-card:hover .product-image {
    transform: scale(1.03);
}
.btn-add-to-cart-widget:hover {
    background-color: #d97d66 !important; /* Более темный, насыщенный тон */
    color: #5b3629 !important;            /* Кофейный цвет текста при наведении */
}
.btn-add-to-cart-widget {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.btn-add-cart {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.product-card:hover .btn-add-cart {
    border-color: var(--text-dark);
    border-radius: 50%; /* Сам плюсик можно вписать в тонкий круг при ховере */
}

.btn-add-cart:hover {
    opacity: 0.5;
}

.product-detail-box {
  display: flex;
  flex-direction: row;
  justify-content: flex-start; /* ИЗМЕНИЛИ: теперь блоки не разлетаются, а прижимаются влево */
  align-items: flex-start;
  gap: 35px;                  /* Зазор между фото, характеристиками и виджетом */
  width: 100%;
  max-width: 100%;
  padding: 20px 20px 20px 10px; /* ИЗМЕНИЛИ: уменьшили отступ слева (был 40px, стал 10px) */
  box-sizing: border-box;
  background-color: transparent;
}

.detail-gallery {
  display: flex;
  gap: 10px;       /* ИЗМЕНИЛИ: теперь это расстояние сработает идеально */
  width: auto;
  flex-shrink: 0;
   align-items: center; 
}



.gallery-thumbs {
  /* УДАЛИЛИ position: absolute и left: 20px */
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 85px;
  flex-shrink: 0;
  height: 450px;
  overflow-y: auto;
  padding-right: 8px;
  margin: 0;
  padding: 0;
}

/* Настройка полосы прокрутки */
.gallery-thumbs::-webkit-scrollbar {
    width: 5px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}


/* Настройка внешнего вида полосы прокрутки (как на Ozon) */
.gallery-thumbs::-webkit-scrollbar {
    width: 6px;                 /* Делаем полосу тонкой */
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;        /* Светло-серый фон самой дорожки */
    border-radius: 10px;
}


.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #f2725b;        /* ИЗМЕНИЛИ: Красный цвет ползунка (под стиль вашего сайта) */
    border-radius: 10px;        /* Округлые края ползунка */
}
.gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: #d65d48;        /* Более темный красный при наведении мыши */
}

/* Отдельная миниатюра */
.thumb-item {
    width: 75px;
    height: 75px;               /* Жесткая высота карточки */
    flex-shrink: 0;             /* ВАЖНО: запрещает картинкам сплющиваться по вертикали */
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent; 
    cursor: pointer;
    background-color: #ffffff;
}
/* Активная миниатюра (выбранная в данный момент) */
.thumb-item.active {
    border-color: #f2725b;      /* Цвет рамки активной картинки (под ваш цвет корзины) */
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}













.gallery-main-img {
    display: block;
    width: 100%;
    max-width: 500px; /* Поставь ширину, которая была изначально */
    height: 450px;    /* Твоя изначальная высота на ПК */
    margin: 0 auto;
    width: 480px;
  height: auto; 
  flex-shrink: 0;
  margin-left: 0;
  
  /* ИЗМЕНИЛИ: Убираем белую подложку и границы, чтобы фото слилось с фоном */
  background-color: transparent; 
  border-radius: 12px;
  box-shadow: none;
  overflow: visible;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Все картинки на ПК по умолчанию полностью СКРЫТЫ */
.gallery-main-img img {
    display: none !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Показываем ТОЛЬКО ту картинку, у которой есть класс active */
.gallery-main-img img.active {
    display: block !important;
}
              














.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-box h1,
.detail-title {
  /* Используем чистые геометрические шрифты */
  font-family: 'Comfortaa', Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  font-size: 26px;             /* Оптимальный размер, крупный, но не громоздкий */
  font-weight: 700;             /* Плотный, уверенный вес (Bold) */
  line-height: 32px;           /* Четкий фиксированный шаг строки */
  color: #001a34;              /* Фирменный озоновский глубокий черно-синий цвет вместо обычного #000 */
  
  letter-spacing: -0.01em;      /* Слегка стягиваем буквы для плотности */
  margin: 0 0 16px 0;          /* Аккуратный отступ только снизу */
  word-spacing: 0px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 25px;
}

.detail-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.btn-main-buy {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s;
}

.btn-main-buy:hover {
    background-color: #d17f5f;
}


/* --- СТИЛИ ДЛЯ ВСПЛЫВАЮЩЕГО ОКНА ПОИСКА --- */
.search-modal {
    display: none; /* По умолчанию скрыто */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 56, 53, 0.6); /* Полупрозрачный темный фон */
    backdrop-filter: blur(5px); /* Размытие заднего плана */
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Контентная плашка окна */
.search-modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-main);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Кнопка закрытия (крестик) */
.search-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.search-close:hover {
    color: var(--accent-orange);
}

.search-modal-content h3 {
    font-family: 'Comfortaa', sans-serif;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Поле ввода и кнопка */
.search-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e2dedb;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

#search-input:focus {
    border-color: var(--accent-orange);
}

#search-submit-btn {
    background-color: var(--accent-brown);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

#search-submit-btn:hover {
    background-color: var(--accent-orange);
}

/* Блок результатов поиска */
.search-results {
    max-height: 250px;
    overflow-y: auto;
}

.search-item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: var(--radius-card);
    text-decoration: none;
    margin-bottom: 8px;
    transition: background-color 0.2s;
}

.search-item-link:hover {
    background-color: var(--bg-main);
}

.search-item-link img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: white;
    border-radius: 6px;
}

.search-no-results {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

/* Главный бежевый контейнер баннера */
.hero-banner {
    background: #f5eae4;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

/* Левый текстовый блок */
.hero-text {
    max-width: 35%;
    flex-shrink: 0;
}

.android-placeholder {
    width: 120px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    display: block;
}

.hero-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Comfortaa', sans-serif;
    color: #3e3835;
}

.btn-intro {
    background-color: #504440;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-intro:hover {
    background-color: #3e3431;
}

/* Правый блок со слайдерами */
.banner-images-row {
    display: flex;
    gap: 20px;          /* Чуть увеличили отступ между слайдерами */
    flex: 1;
    justify-content: flex-end;
    max-height: 310px;  /* Увеличили общую высоту контейнера под новые размеры */
}

/* Окно каждого отдельного слайдера — ТЕПЕРЬ БОЛЬШЕ */
.banner-img-item {
    flex: 1;
    max-width: 240px;   /* Было 200px -> Стало 240px */
    height: 280px;      /* Было 220px -> Стало 280px */
    overflow: hidden;
    border-radius: 18px; /* Немного увеличили скругление углов для баланса */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    position: relative;
    background: white;
}

/* Вертикальная лента с картинками */
.slider-track {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-track img {
    
    height: 280px;      /* Высота картинки теперь строго 280px */
    object-fit: cover;
}
/* ==========================================
   БЕГУЩАЯ ЛЕНТА ПРЕИМУЩЕСТВ — переход к футеру
   Разметка добавляется через script.js прямо перед <footer>,
   поэтому появляется на всех страницах автоматически.
   ========================================== */
.perks-marquee {
    background-color: #f4ece1;
    overflow: hidden;
    padding: 16px 0;
    position: relative;
}

.perks-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: perks-marquee-scroll 32s linear infinite;
}

.perks-marquee:hover .perks-marquee-track {
    animation-play-state: paused;
}

.perks-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 0 28px;
}

.perks-marquee-item svg {
    flex-shrink: 0;
    color: var(--accent-orange);
}

.perks-marquee-sep {
    color: var(--accent-orange);
    opacity: 0.6;
}

@keyframes perks-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .perks-marquee-track {
        animation: none;
    }
}

/* ==========================================
   ФУТЕР — редизайн: мягкий светлый фон, плавный переход
   от бегущей ленты (.perks-marquee) того же тона
   ========================================== */
.main-footer {
    background-color: #f4ece1;
    color: var(--text-dark);
    font-family: 'Comfortaa', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 70px 20px 0;
}

.footer-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
    padding-bottom: 56px;
}

/* Брендовая колонка: вордмарк, слоган, соцсети */
.footer-brand {
    flex: 1.4;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-wordmark {
    font-family: 'Cormorant Garamond', 'Comfortaa', serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--accent-brown);
    letter-spacing: 0.5px;
}

.footer-tagline {
    margin: 0;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    opacity: 0.9;
}

.footer-brand-socials {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(80, 61, 66, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(80, 61, 66, 0.22);
}

.social-icon img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover !important;
}

/* Текстовые колонки меню */
.footer-column {
    flex: 1;
    min-width: 190px;
}

.footer-column h4,
.footer-contacts h4 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 22px;
    color: var(--accent-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 13px;
}

.footer-column ul li a {
    position: relative;
    color: var(--text-dark);
    opacity: 0.62;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease, padding-left 0.2s ease;
}

/* Эффект при наведении на ссылки */
.footer-column ul li a:hover {
    opacity: 1;
    padding-left: 4px;
}

/* Цвет для активной страницы (например, "Главная") */
.footer-column ul li a.active {
    color: var(--accent-orange);
    opacity: 1;
    font-weight: 600;
}

/* Колонка: Контакты */
.footer-contacts {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contacts a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
    width: fit-content;
}

.footer-contacts .footer-phone {
    font-weight: 600;
    font-size: 17px;
    opacity: 1;
}

.footer-contacts .footer-phone:hover,
.footer-contacts .footer-email:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.85;
}

.footer-payments svg {
    flex-shrink: 0;
}

/* Нижняя полоса футера: копирайт + ссылка на политику */
.footer-bottom-bar {
    border-top: 1px solid rgba(80, 61, 66, 0.12);
}

.footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    opacity: 0.85;
}

.footer-bottom-inner a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.85;
}

.footer-bottom-inner a:hover {
    opacity: 1;
    color: var(--accent-orange);
}



/* Контейнер для текста и кнопок */
.product-info-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    width:1200;
}

.product-sku {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 8px;
}


/* Блок с кнопками в одну строку */
.product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Кнопка В корзину */
.btn-add-to-cart {
    background-color: #f0c5b9;  /* Розовый цвет под ваш дизайн */
    color: #333;
    border: none;
    padding: 10px 35px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-to-cart:hover {
    background-color: #f0c5b9;
}

/* Кнопка Лайк (Сердечко) */
.btn-like {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-like:hover {
    border-color: #f2725b;
    color: #f2725b;
    background-color: #fff5f3;
}

/* Описание списком */
.product-description {
    border-top: 1px solid #dad6d6;
    padding-top: 15px;
}

.features-list {
    list-style: none; /* Убираем стандартные маркеры */
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 10px;
}

/* Добавляем стильный розовый дефис перед каждым пунктом */
.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    color: #f2725b;
    font-weight: bold;
}
/* Основной контейнер характеристик */
.product-specs-section {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    font-family: sans-serif;
}

/* Заголовок вкладки */
.specs-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

/* Разделение на две колонки на ПК */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px; /* 60px — расстояние между левой и правой колонками */
}

/* Стилизация строки характеристики */
.spec-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.4;
}

/* Название параметра (серый текст) */
.spec-label {
    color: #858585;
    white-space: nowrap; /* Запрещаем перенос названия */
    padding-right: 4px;
}

/* Эффект точек до значения */
.spec-dots {
    flex: 1;
    border-bottom: 1px dotted #e0e0e0;
    position: relative;
    top: -4px; /* Приподнимает точки ровно по центру текста */
    margin: 0 4px;
}

/* Значение параметра (темный текст) */
.spec-value {
    color: #222;
    font-weight: 400;
    padding-left: 4px;
    text-align: right;
}


/* Общий блок вкладки */
.accordion-item {
  flex: 1;                    /* Магия: забирает всё свободное место ровно по центру */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-header {
  max-width: 350px; /* ИЗМЕНИЛИ: ограничиваем ширину серой линии */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #333;
   cursor: default; 
  text-align: left;
}

.accordion-arrow {
  display: none ; /* Убираем стрелочку, так как блок теперь всегда открыт */
}


/* Изначально скрытый контейнер с контентом */
.accordion-content {
  /* ИЗМЕНИЛИ: убираем 0 и ставим none, чтобы контент не прятался */
  max-height: none ; 
  overflow: visible ;
  
  /* Оставляем плавность на случай, если свойства будут меняться */
  transition: max-height 0.3s ease-out; 
}


/* Сетка для таблицы внутри спойлера */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    padding-bottom: 20px; /* Отступ снизу в развернутом виде */
}

/* Класс, который JS будет добавлять при клике для поворота стрелки */
.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

/* Стили строк, точек и значений (оставляем прежние) */
.spec-row { display: flex; align-items: flex-end; margin-bottom: 14px; font-size: 14px; }
.spec-label { color: #858585; white-space: nowrap; padding-right: 4px; }
.spec-dots { flex: 1; border-bottom: 1px dotted #e0e0e0; position: relative; top: -4px; margin: 0 4px; }
.spec-value { color: #222; padding-left: 4px; text-align: right; }

@media (max-width: 768px) { .specs-grid { grid-template-columns: 1fr; gap: 0; } }

/* Ограничиваем ширину выпадающей таблицы характеристик */
.product-info-block .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* По-прежнему две колонки */
    gap: 0 30px;                    /* Компактный отступ между колонками */
    max-width: 550px;               /* Фиксирует ширину таблицы, сдвигая её ближе к фото */
    width: 100%;
    padding-bottom: 20px;
}

/* Дополнительное выравнивание строк, чтобы текст не наезжал друг на друга */
.product-info-block .spec-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
    font-size: 14px;
}

#breadcrumbHomeBtn:hover {
    color: #5d5fef !important;
    text-decoration: underline !important;
}
.back-home-link:hover, .header-menu a:hover {
    color: #5d5fef !important;
    text-decoration: underline !important;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ffcc00;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    padding: 1px 5px;
    display: none; /* Скрыт, пока товаров 0 */
    min-width: 10px;
    text-align: center;
    line-height: 12px;
}

/* Класс для отображения маркера через JavaScript */
.cart-badge.active {
    display: block;
}
.features-list {
    padding-left: 0 ;
    margin-left: 0 ;
    list-style-position: inside; /* Переносит оранжевые маркеры внутрь текстового контейнера */
}

.features-list li {
    margin-left: 0 ;    /* Сдвигает каждую строчку li в самый край */
    padding-left: 0 ;   /* Убирает любые скрытые отступы у строк */
}

/* ==========================================
   БОКОВОЕ МЕНЮ И КНОПКА ДЛЯ SMILETI
   ========================================== */

/* 1. Кнопка «Меню» в шапке сайта */
.open-btn {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    background: transparent;  /* Без черного фона */
    border: none;             /* Без обводки */
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;                 /* Расстояние между значком ☰ и текстом */
    padding: 10px 15px;
    transition: color 0.2s ease;
    z-index: 10; 
}

/* Эффект при наведении на кнопку меню */
.open-btn:hover {
    color: #c5a489;           /* Нежный бежевый цвет */
}

/* 2. Сама выезжающая панель меню */
.side-menu {
    height: 100%;
    width: 0;                 /* Скрыта по умолчанию */
    position: fixed;
    z-index: 9999;            /* Всегда поверх остальных элементов */
    top: 0;
    left: 0;
    background-color: #fcfbfa; /* Приятный светлый фон */
    overflow-x: hidden;
    transition: 0.4s ease;    /* Плавное выдвижение */
    padding-top: 60px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
}

/* Контейнер для контента внутри меню */
.menu-content {
    padding: 0 40px;
    min-width: 240px;         /* Защита от сжатия текста */
}

/* Заголовок меню (Smileti) */
.menu-content h2 {
    font-size: 26px;
    font-weight: 600;
     color: #4a2f23 !important;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Подзаголовки категорий (О компании, Покупателю...) */
.menu-content h3 {
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    margin-top: 35px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Списки ссылок */
.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li {
    margin-bottom: 14px;
}

/* Сами ссылки в меню */
.menu-content ul li a {
    text-decoration: none;
    color: #444444;
    font-size: 16px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

/* Ховер и активная ссылка */
.menu-content ul li a:hover, 
.menu-content ul li a.active {
    color: #4a2f23 !important;
    padding-left: 4px;        /* Легкий сдвиг вправо при наведении */
}

/* Блок с контактами */
.menu-contacts {
    margin-top: 20px;
}

.menu-contacts p {
    margin: 10px 0;
}

.menu-contacts a {
    text-decoration: none;
    color: #444444;
    font-size: 15px;
    transition: color 0.2s ease;
}

.menu-contacts a:hover {
  color: #4a2f23 !important;
    
}

/* 3. Кнопка-крестик (закрытие меню) */
.side-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #bbbbbb;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Эффекты для крестика */
.side-menu .close-btn:hover {
    color: #333333;
    transform: rotate(90deg); /* Крестик красиво прокрутится при наведении */
}

/* Отменяем сильный разброс элементов по краям шапки */
.header-row {
    justify-content: flex-start ; /* Прижимает всё влево к логотипу */
    gap: 60px; /* Расстояние между логотипом, ссылками и иконками (можно менять) */
}

/* Сбрасываем автоматический отступ у навигации, если он был добавлен ранее */
.main-nav {
    margin-left: 0 ;
}

/* Сдвигаем блок поиска и корзины тоже поближе */
.header-controls {
    margin-left: 20px; /* Небольшой отступ перед иконками, чтобы они не слипались с текстом */
}

/* Уменьшаем шрифты внутри бокового меню */

/* Главный заголовок (Smileti) */
.menu-content h2 {
    font-size: 20px ; 
    margin-bottom: 25px ;
}

/* Названия блоков (О компании, Покупателю...) */
.menu-content h3 {
    font-size: 11px ;
    margin-top: 20px ;
    margin-bottom: 10px ;
}

/* Ссылки на страницы */
.menu-content ul li a {
    font-size: 13px ;
    color: #5c4337 ;
}

/* Блок с контактами */
.menu-contacts a {
    font-size: 13px ;
    color: #5c4337 ;
}
 /* Делаем жирными только главные надписи разделов */
.menu-content h3 {
    font-weight: 700 ;   /* Задает максимальную жирность */
    color: #4a2f23 ;  /* Делает цвет букв темнее и насыщеннее */
    letter-spacing: 0.5px;         /* Немного увеличивает расстояние между буквами */
}

/* Возвращаем ссылкам обычную толщину, чтобы они не были жирными */
.menu-content ul li a, 
.menu-contacts a {
    color: #8c7a6e ; 
    font-weight: 400 ;
}
/* ==========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ МАРКЕТПЛЕЙСОВ
   ========================================== */

.marketplace-page {
    padding: 60px 0;
    background-color: #fcfbfa; /* Мягкий фон под стиль меню */
    min-height: 60vh;
}

.page-title {
    font-size: 28px;
    color: #4a2f23; /* Наш шоколадный цвет */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-subtitle {
    font-size: 15px;
    color: #5c4337; /* Наш кофейный цвет */
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* Сетка для карточек */
.marketplaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Базовая карточка */
.market-card {
    background: #ffffff;
    border: 1px solid #e3deda;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 47, 35, 0.05);
}

/* Логотипы площадок */
.market-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Фирменные цвета для текста логотипов */
.ozon .market-logo { color: #005bff; }
.wb .market-logo { color: #cb11ab; }

.market-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Кнопка внутри карточки */
.market-btn {
    font-size: 14px;
    font-weight: 600;
    color: #5c4337;
    transition: color 0.2s ease;
}

/* Подсветка кнопки при наведении на карточку */
.market-card:hover .market-btn {
    color: #4a2f23;
    text-decoration: underline;
}


/* ==========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ИЗБРАННОГО (FAVORITES)
   ========================================== */
.favorites-container {
    margin-top: 40px;
    min-height: 60vh;
}
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.fav-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(62, 56, 53, 0.05);
}
.fav-card img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
}
.fav-card h4 {
    font-size: 16px;
    margin: 15px 0 10px 0;
    color: var(--text-dark);
}
.fav-price {
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 15px;
}
.remove-fav {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
.empty-msg {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px 0;
}

/* ==========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ПРОФИЛЯ (PROFILE)
   ========================================== */
.profile-container {
    margin-top: 40px;
    min-height: 60vh;
}
.profile-box {
    display: flex;
    gap: 40px;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 15px rgba(62, 56, 53, 0.05);
    margin-top: 20px;
}
.profile-menu {
    flex: 1;
    border-right: 2px solid var(--bg-main);
}
.profile-menu ul {
    list-style: none;
}
.profile-menu li {
    margin-bottom: 20px;
}
.profile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}
.profile-menu a.active {
    color: var(--accent-orange);
    font-weight: 700;
}
.profile-content {
    flex: 3;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}
.form-group input {
    padding: 12px;
    border: 1px solid var(--text-muted);
    border-radius: var(--radius-card);
    background-color: var(--bg-main);
    color: var(--text-dark);
    width: 100%;
    max-width: 400px;
    font-size: 14px;
}
.form-group input:focus {
    outline: 2px solid var(--accent-orange);
}
.alert-success {
    color: green;
    font-weight: 700;
    display: none;
    margin-top: 15px;
}
/* Красивая бежевая кнопка для страницы избранного */
.custom-fav-btn {
    background-color: var(--bg-main) !important;      /* Фирменный нежно-бежевый фон сайта */
    color: var(--accent-brown) !important;            /* Темно-коричневый цвет текста */
    border: 1px solid var(--accent-brown) !important; /* Тонкая коричневая рамка */
    border-radius: var(--radius-card) !important;     /* Скругление углов как у ваших карточек */
    padding: 10px 20px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-fav-btn:hover {
    background-color: var(--accent-orange) !important; /* При наведении меняется на оранжевый акцент */
    color: white !important;
    border-color: var(--accent-orange) !important;
}

/* Полный сброс синего цвета для всех ссылок-иконок в шапке */
.header-controls a,
.user-menu a,
header a {
    color: currentColor !important;
    text-decoration: none !important;
}

.header-controls a svg,
.user-menu a svg,
header a svg {
    stroke: currentColor !important;
    fill: none;
}


.heart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.heart-btn svg {
    width: 20px;   /* Вернул аккуратный размер, чтобы не ломало верстку */
    height: 24px;
    fill: transparent;         
    stroke: #b3ad69;           
    stroke-width: 1.5;         
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.heart-btn:hover svg {
    stroke: var(--text-dark, #1a1a1a);
}

.heart-btn.is-active svg,
.heart-btn.liked svg {
    stroke: var(--text-dark, #1a1a1a);
    fill: var(--text-dark, #1a1a1a); 
}
.heart-btn:active {
    transform: scale(0.9);
}
.page-title {
  text-align: center;
}

.slider-container {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  /* Пропорции баннера 2.5:1 (реальный размер картинок ОЗОН 800×320) —
     благодаря этому баннер всегда вписывается целиком, без обрезки по бокам */
  aspect-ratio: 2.5 / 1;
  height: auto;
  max-width: 1200px;
  max-height: 320px;
  margin: 30px auto;
  border-radius: 30px;
}

.slider {
    display: flex;       /* Выстраивает картинки в один ряд */
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out; /* Отвечает за плавное скольжение */
}


.slider img {
    /* Каждый слайд ровно 100% ширины контейнера, без зазоров —
       это гарантирует, что translateX(-100% * индекс) из script.js
       всегда попадает точно на следующий слайд на любом экране */
    flex: 0 0 100%;
    width: 100%;
    flex-shrink: 0;

    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
}


/* Точное позиционирование левой стрелки */
.prev-button {
    left: 20px;
}
/* Точное позиционирование правой стрелки */
.next-button {
    right: 20px;
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;               /* Размер белого круга */
    height: 40px;              /* Размер белого круга */
    background-color: #ffffff; /* Белый фон */
    border: none;              /* Убираем рамку */
    border-radius: 50%;        /* Делаем круглыми */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
    color: #a0a0a0;            /* Серый цвет стрелочки внутри */
    font-size: 20px;           /* Размер стрелочки */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;               /* Поверх картинок */
    transition: color 0.3s ease, background-color 0.3s ease; /* Плавная смена цвета */
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

/* Эффект при наведении мышки на стрелку */
.prev-button:hover,
.next-button:hover {
    color: #005bff;            /* Стрелочка становится синей (цвет Озона) */
}


/* Стили для раскрывающегося блока */
.product-description {
    margin-top: 20px;
}

/* Красивая кнопка "Подробнее" в стиле ссылки */
.product-description summary {
    display: inline-block;
    color: #005bff; /* Синий цвет */
    cursor: pointer;
    font-weight: 500;
    border-bottom: 1px dashed #005bff; /* Пунктирная линия */
    outline: none;
    list-style: none; /* Убирает стрелочку в Chrome */
    margin-bottom: 15px;
}

/* Убираем стрелочку в Safari */
.product-description summary::-webkit-details-marker {
    display: none;
}

/* Анимация плавного появления списка при раскрытии */
.product-description[open] .features-list {
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Общий контейнер виджета */
/* Правый блок покупки */
.ozon-buy-widget {
  width: 380px;               /* Фиксируем ширину блока Ozon */
  flex-shrink: 0;             /* Не даем ему сжиматься */
}

/* Карточки-блоки */
.widget-card {
    background: #f2f5f9; /* Светлый серый фон как на скрине */
    border-radius: 24px;
    padding: 20px;
}

.main-action-card {
    background: #f2f5f9;
}

/* Цены в виджете */
.widget-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.main-price {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
}

.points-badge {
    background: #e1edf7;
    color: #005bff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.widget-old-price {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: line-through;
    margin-bottom: 20px;
}

.discount-badge {
    background: #f91155;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none !important;
    margin-left: 6px;
}

/* Синяя главная кнопка */
.btn-ozon-cart {
    width: 100%;
    background: #e07a5f;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}

/* Эффект при наведении — Четкий насыщенный синий */
.btn-ozon-click:hover {
    background-color: #0056b3 !important; /* Глубокий синий цвет заливки */
    border-color: #0056b3 !important;     /* Граница в тон заливке */
    color: #ffffff !important;            /* Четкий белый текст */
}

/* Кнопка Купить в 1 клик — Увеличенная */
.btn-ozon-click {
    width: 100%;
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    
    /* Увеличили размеры кнопки */
    padding: 14px 28px;        /* Больше отступы сверху/снизу и по бокам */
    font-size: 16px;           /* Крупнее текст */
    font-weight: 700;          /* Сделали текст более жирным */
    
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Инфо о наличии */
.stock-info {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.widget-link {
    color: #005bff;
    font-size: 13px;
    text-decoration: none;
}

/* Стили доставки */
.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.delivery-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.city-select {
    color: #e07a5f;
    font-weight: 600;
    font-size: 14px;
}

.delivery-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.delivery-date {
    font-size: 13px;
    margin-top: 2px;
}

.green-text {
    color: #00b956; /* Зеленый цвет Ozon для сроков */
    font-weight: 600;
}

/* Полоса бренда */
.ozon-brand-delivery {
    background: #e4eaf3;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}

.ozon-mini-logo {
    height: 14px;
}



/* Контейнер для заголовка и цены над фотографиями */
.product-header-top {
    width: 100%;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Новая большая цена */
.product-price-large {
    font-size: 30px;
    font-weight: 800;
    color: #f91155; /* Розовый цвет Ozon */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Старая зачеркнутая цена */
.product-price-large .old-price {
    font-size: 16px;
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 400;
}

/* Плашка со скидкой */
.product-price-large .discount {
    font-size: 12px;
    background-color: #f91155;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

/* Расширяем главный контейнер подложки сайта */
main.container, 
.container {
    width: 100%;
    max-width: 1400px; /* Было скорее всего 1200px или меньше. Увеличиваем до 1400px */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Настраиваем сетку внутри карточки, чтобы все три блока поместились */
.product-detail-box {
    display: flex;
    flex-wrap: wrap; /* Позволяет заголовку быть сверху на всю ширину */
    gap: 30px;
    width: 100%;
}






/* Главный крупный заголовок ДОСТАВКА */
.ozon-modal-banner h2 {
  /* Тот самый плавный геометрический шрифт */
  font-family: 'Comfortaa', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  font-size: 32px;            /* Оставляем его крупным и массивным */
  font-weight: 800;            /* Максимальная жирность (Extra Bold) для уверенности */
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;   /* Все буквы большие */
  letter-spacing: 0.5px;       /* Минимальный аккуратный зазор между буквами */
  margin: 0;
  
  /* Сглаживание краев для идеальной плавности букв */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Подзаголовок "в пункты выдачи Ozon" */
.banner-text h3 {
  font-family: 'Comfortaa', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 500;            /* Умеренная плотность, чтобы отличался от главного слова */
  line-height: 1.4;
  color: #ffffff;
  margin: 6px 0 0 0;           /* Небольшой отступ сверху от слова ДОСТАВКА */
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



.banner-text h3 {
  /* Подключаем плавные современные шрифты без засечек */
  font-family: 'Comfortaa', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  font-size: 20px;            /* Сохраняем аккуратный размер */
  font-weight: 500;            /* Делаем его умеренно плотным (Medium вместо жирного) */
  line-height: 1.4;            /* Комфортный межстрочный интервал */
  color: #ffffff;             /* Чистый белый цвет */
  
  /* Сглаживание краев шрифта в браузерах для максимальной плавности */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Слегка убираем сильное расстояние между буквами */
  letter-spacing: -0.01em; 
  margin: 4px 0 0 0;
}



/* 1. Задний фон-затемнение (теперь выравниваем контент по правому краю) */
.ozon-modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(4px);            
  z-index: 2000;                         
  
  /* ИЗМЕНИЛИ: теперь окно прижимается строго к правому краю экрана */
  display: none; /* Контролируется через JS (flex/none) */
  justify-content: flex-end; 
  align-items: flex-start;
}

/* 2. Контейнер окна (превращаем в боковую панель на всю высоту) */
.ozon-modal-container {
  background-color: #ffffff;
  
  /* ИЗМЕНИЛИ: Сделали шире (460px) и на ВСЮ высоту монитора (100vh) */
  width: 100%;
  max-width: 460px;
  height: 100vh;                          
  
  /* Убираем старые скругления со всех сторон и оставляем только левые углы */
  border-radius: 16px 0 0 16px;
  
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  
  /* ИЗМЕНИЛИ: Анимация выезда справа налево */
  animation: ozonSlideLeft 0.3s ease-out;
}

.ozon-modal-close {
  position: absolute;
  top: 20px;
  right: 475px; 
  left: auto;
  
  background-color: #ffffff !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  
  /* ИЗМЕНИЛИ: Простой шрифт без засечек делает крестик жирным и крупным */
  font-family: Arial, sans-serif;
  font-size: 30px;      /* Оптимальный размер, чтобы крестик был крупным */
  font-weight: 700;      /* Делаем его уверенным и жирным */
  
  /* ИЗМЕНИЛИ: Жесткое центрирование символа строго по центру круга */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Обнуляем внутренние отступы и высоту строки, которые могли сдвигать символ */
  padding: 0;
  line-height: 1; 
  
  color: #8c9aa8;       
  cursor: pointer;
  z-index: 2100;        
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, color 0.2s;
}

.ozon-modal-close:hover {
  color: #005bff;       
  transform: scale(1.05);
}

.ozon-modal-banner {
  background: linear-gradient(135deg, #005bff 0%, #003bbf 100%);
  
  /* ИЗМЕНИЛИ: Слева снова сделали 30px, так как внутри блока кнопки больше нет */
  padding: 45px 30px 35px 30px; 
  
  color: #ffffff;
  flex-shrink: 0;
  position: relative;
}


.ozon-modal-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ozon-modal-banner h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 5px 0 0 0;
}

/* Скроллящаяся область с контентом */
.ozon-modal-content {
  padding: 25px;
  overflow-y: auto; /* Если текст не влезает, внутри окна появится прокрутка */
  flex: 1;
}

/* Стилизация нумерованного списка */
.ozon-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ozon-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.step-num {
  background-color: #f0f3f7;
  color: #005bff;
  font-weight: 700;
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text strong {
  font-size: 15px;
  color: #1a1a1a;
  display: block;
  line-height: 1.4;
}
.step-text p {
  font-size: 13px;
  color: #666666;
  margin: 4px 0 0 0;
  line-height: 1.4;
}

/* Подвал окна */
.ozon-modal-footer {
  border-top: 1px solid #e8edf2;
  padding-top: 20px;
  text-align: center;
}
.ozon-modal-footer p {
  font-size: 12px;
  color: #7f8c99;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 20px;
}
.ozon-btn-understand {
  background-color: #005bff;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.ozon-btn-understand:hover {
  background-color: #0046cc;
}
.footer-subtext {
  text-align: center !important;
  margin-top: 15px;
}

/* Анимация плавного появления */
@keyframes ozonFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* 4. Новая плавная анимация выезда */
@keyframes ozonSlideLeft {
  from { transform: translateX(100%); } /* Выезжает из-за правого края экрана */
  to { transform: translateX(0); }
}



/* Стили для вашего счетчика */
#quantityCounter {
    /* display: flex; -> Этот параметр будет включать JavaScript, в CSS его не пишем */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #f2f5ff; /* Светлый фон */
    border: 1px solid #e07a5f; /* Оранжевая рамка под цвет кнопки */
    border-radius: 16px;       /* Скругление как у кнопки выше */
    height: 48px;              /* Фиксированная высота */
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 12px;       /* Отступ до кнопки "Купить в 1 клик" */
}

/* Кнопки плюс и минус внутри счетчика */
.counter-btn {
    width: 50px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #e07a5f;
    cursor: pointer;
    transition: background 0.2s;
}

.counter-btn:hover {
    background-color: rgba(224, 122, 95, 0.1);
}

/* Цифра количества */
.counter-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
/* Общий контейнер кнопки */
.thumb-video-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-top: 8px;
    width: 60px; /* Сделайте ширину как у остальных миниатюр */
}

/* Синий кружок */
.video-icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: #005bff; /* Брендовый синий цвет */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.thumb-video-btn:hover .video-icon-wrapper {
    transform: scale(1.05);
}

/* Текст "+1 видео" */
.thumb-video-btn span {
    font-size: 11px;
    color: #005bff;
    font-weight: 600;
    white-space: nowrap;
}













 /*ЛАЙКИ В КУХНЕ*/


.product-card {
    position: relative; /* Чтобы кнопка позиционировалась относительно карточки */
}

/* Кнопка-контейнер для лайка */
.fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent !important; /* Убираем любой фоновый квадрат */
    border: none !important;             /* Убираем рамки кнопки */
    outline: none !important;
    cursor: pointer;
    padding: 0 ;               /* Убираем внутренние отступы */
    z-index: 10;
    transition: transform 0.2s ease;
}

/* Эффект легкого увеличения сердечка при наведении */
.fav-btn:hover {
    transform: scale(1.15);
}
/* Красивый насыщенный бежево-золотой контур для самого сердечка */
.fav-btn svg {
    fill: transparent;          /* Изначально прозрачное внутри */
    stroke: #e07a5f;            /* Благородный, более темный и четкий бежевый контур */
    stroke-width: 2px;
    transition: fill 0.25s ease, stroke 0.25s ease;
}
/* Состояние, когда товар добавлен в избранное — плавная заливка цветом */
.fav-btn.active svg {
    fill: #8d4f3e;              /* Полная бежевая заливка внутри формы */
    stroke: #8d4f3e;            /* Контур сливается с заливкой */
}






/*КОНТАКТЫ*/

/* Общий контейнер для блока контактов */
.main-contacts-block {
    max-width: 500px; /* Ограничиваем ширину, чтобы текст не растягивался во весь экран */
    margin: 30px 20px; /* Отступы от краев экрана */
    
}

/* Главный заголовок */
.contacts-heading {
    font-size: 24px;
    color: #222;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Описание под заголовком */
.contacts-subtext {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Блок с телефоном и почтой */
.contacts-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

/* Ссылки телефона и почты */
.contact-link-item {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    transition: color 0.2s ease;
}

.contact-link-item:hover {
    color: #b86b5c; /* Цвет при наведении (под цвет твоих кнопок) */
}

/* Подпись к соцсетям */
.socials-title {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Контейнер для круглых кнопок */
.socials-buttons {
    display: flex;
    gap: 10px;
}

/* Твои круглые коричневые кнопочки, но чуть аккуратнее */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px; /* Скругление углов, можно сделать 50% для идеального круга */
    background-color: #b86b5c; /* Твой фирменный коричневый цвет */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Эффект при наведении на соцсеть */
.btn-social:hover {
    transform: translateY(-2px); /* Кнопочка слегка приподнимается */
    background-color: #9e5648; /* Становится чуть темнее */
}



/* Общий контейнер на всю ширину с легким фоном, как на твоем скрине */
.contacts-hero-section {
    background-color: #faf6f4; /* Нежный кремовый фон */
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 12px;
}

/* Флекс-сетка для разделения на лево и право */
.contacts-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Толкает колонки по краям */
    align-items: center; /* Центрирует по вертикали */
    gap: 50px; /* Расстояние между колонками */
}

/* Левая колонка с текстом */
.contacts-hero-left {
    flex: 1; /* Занимает больше пространства */
    max-width: 600px;
}

.hero-title {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Правая колонка с кнопками и контактами */
.contacts-hero-right {
    flex: 0 0 350px; /* Фиксированная ширина правой части */
    background: #ffffff; /* Белая подложка-карточка */
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Легкая тень */
}

.right-column-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #222;
    font-weight: 600;
}

/* Телефоны и почта */
.hero-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-link-item {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.hero-link-item:hover {
    color: #b86b5c;
}

/* Блок перемещенных соцсетей */
.hero-social-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.hero-social-buttons {
    display: flex;
    gap: 12px;
}

/* Переделанные аккуратные кнопки */
.hero-btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px; /* Фирменное скругление */
    background-color: #b86b5c; /* Твой коричневый цвет */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Эффект при наведении */
.hero-btn-social:hover {
    transform: scale(1.05); /* Кнопка слегка увеличивается */
    background-color: #a15648; /* Становится насыщеннее */
}





.hero-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif; /* Подключаем мягкий шрифт */
    font-size: 34px;          /* Делаем заголовок крупным и заметным */
    font-weight: 800;         /* Плотный, приятный объем */
    color: #2e2624;           /* Мягкий темно-коричневый оттенок вместо жесткого черного */
    letter-spacing: -0.5px;   /* Немного сближаем буквы для аккуратности */
    margin-bottom: 18px;
}



/* Мягкий шрифт для заголовка в правой карточке */
.right-column-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #2e2624; /* Такой же мягкий темно-коричневый цвет */
    margin-bottom: 20px;
}

/* Настройка подписи к соцсетям */
.hero-social-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif;
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Делаем ссылки телефона и почты тоже чуть мягче */
.hero-link-item {
    font-family: 'Comfortaa', 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}





/* Ссылка на прошлые страницы (например, Главная) */
.breadcrumb-item {
    color: #999999; /* Светло-серый цвет, как на твоем примере */
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Эффект при наведении на ссылку */
.breadcrumb-item:hover {
    color: #b86b5c; /* Твой фирменный цвет при наведении */
}

/* Разделитель (стрелочка или знак больше) */
.breadcrumb-separator {
    color: #cccccc;
    user-select: none; /* Чтобы стрелочку нельзя было случайно выделить текстом */
}

/* Текущая активная страница (Контакты) */
.breadcrumb-item.active {
    color: #555555; /* Чуть темнее, показывая, где мы сейчас находимся */
    pointer-events: none; /* Отключает кликабельность */
    font-weight: 600;
}





.recommended-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif; /* Наш фирменный мягкий шрифт */
    font-size: 28px;              /* Хороший, заметный размер для главной страницы */
    font-weight: 800;             /* Делаем его плотным и объемным */
    color: #2e2624;               /* Тот самый мягкий темно-коричневый оттенок */
    letter-spacing: -0.3px;       /* Легкое сближение букв для аккуратности */
    text-transform: none;         /* Отменяем капс, если он был задан жестко в CSS */
    margin-bottom: 25px;          /* Отступ снизу до карточек товаров */
    text-align: left;             /* Выравнивание по левому краю (или center, если нужно по центру) */
}






.page-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif; /* Наш фирменный мягкий шрифт */
    font-size: 30px;              /* Крупный размер для основного заголовка страницы */
    font-weight: 800;             /* Максимальный уютный объем */
    color: #2e2624;               /* Фирменный мягкий темно-коричневый цвет */
    letter-spacing: -0.4px;       /* Плотное, аккуратное расположение букв */
    margin-top: 10px;             /* Небольшой отступ от хлебных крошек сверху */
    margin-bottom: 30px;          /* Отступ снизу до каталога товаров */
    text-align: left;             /* Выравнивание по левому краю */
}



.product-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif; /* Наш фирменный мягкий шрифт */
    font-size: 26px;              /* Сбалансированный размер для названия товара */
    font-weight: 800;             /* Уютный плотный объем */
    color: #2e2624;               /* Фирменный мягкий темно-коричневый цвет */
    line-height: 1.4;             /* Комфортное расстояние между строками */
    letter-spacing: -0.3px;       /* Аккуратное сближение букв */
    margin-top: 15px;             /* Отступ от хлебных крошек сверху */
    margin-bottom: 25px;          /* Отступ снизу до контента */
    text-align: left;
}

/* Жесткий сброс старых стилей для заголовка товара */
.product-header-top h1,
.product-header-top h2,
h1.product-title,
.product-title {
    font-family: 'Comfortaa', 'Nunito', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #2e2624 !important;
    text-transform: none !important; /* Убирает капс, если он был */
    font-style: normal !important;   /* Убирает курсив, если он мешал */
}


#ozon-modal {
    display: none; /* Окно изначально скрыто */
}





/* Убираем лишние отступы у виджета, чтобы всё прижалось наверх */
.ozon-buy-widget {
    display: flex ;
    flex-direction: column ;
    gap: 8px ; /* Делает все элементы внутри плотнее друг к другу */
    margin-bottom: 15px ;
}
/* Исправляем цену, чтобы старая цена встала рядом с новой */
.widget-price-row {
    display: flex ;
    align-items: baseline ;
    gap: 15px ;
}
.main-price {
    font-size: 30px;
    font-weight: 700;
    color: #2c2c2c;
}

.points-badge {
    background: #ff4d4d;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}


/* Сбрасываем абсолютное позиционирование старой цены, если оно её уносило */
.widget-old-price {
    position: static ;
    margin-left: 0 ;
}
/* Ряд с кнопками */
.product-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
}


.btn-favorite-widget {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    cursor: pointer;
}

.ozon-delivery-badge {
    display: flex ;
    align-items: center ;
    gap: 8px ;
    font-size: 13px !important;
    color: #5e5855 !important;       /* Фирменный темный текст */
    background: #fcf8f6 !important;   /* Мягкий бежевый фон под цвет сайта */
    border: 1px solid #f2ebe8 !important;
    padding: 10px 14px ;
    border-radius: 8px !important;
    margin-top: 4px ;       /* Вплотную подтягиваем к кнопке корзины */
    margin-bottom: 20px ;
}

.ozon-mini-logo {
    height: 14px;
    width: auto;
}



/* 1. Выстраиваем контент под заголовком в две колонки */
.product-columns-row {
    display: flex ;
    gap: 40px ;
    align-items: flex-start ;
    width: 100% ;
    margin-top: 20px ;
}

/* 2. Чиним блок цены (чтобы старая цена не улетала вправо) */
.product-price-row-clean {
    display: flex ;
    align-items: baseline ;
    gap: 15px ;
    width: 100% ;
    justify-content: flex-start !important;
}

/* 3. Ограничиваем ширину правой колонки, чтобы текст не расплывался */
.product-sidebar-data {
    flex: 1 ;
    max-width: 520px ;
    display: flex ;
    flex-direction: column ;
    gap: 20px ;
}



/* Мягкий шрифт и цвет для заголовка Характеристики */
.product-specs-bottom-clean h3, 
.specs-title {
    font-family: 'Comfortaa', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important; /* Убирает агрессивный черный, делает цвет мягким угольным */
    letter-spacing: -0.3px ; /* Слегка сближает буквы для аккуратности */
    margin-bottom: 15px ;
}


/* Мягкий шрифт для блока описания */
.product-pure-description, 
.product-description-text-clean,
.features-list {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4a4a4a !important;
}

/* Мягкий шрифт для блока характеристик */
.product-specs-bottom-clean, 
.specs-column, 
.spec-row {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
}

/* Сделаем названия характеристик чуть мягче по цвету */
.spec-label, .spec-name {
    color: #8a8a8a !important;
    font-weight: 400 !important;
}

/* Значения характеристик */
.spec-value {
    color: #2c2c2c !important;
    font-weight: 500 !important;
}



/* --- СТИЛИЗАЦИЯ И СДВИГ ХЛЕБНЫХ КРОШЕК --- */
.breadcrumbs {
    font-family: 'Comfortaa', 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    /* Оставляем отступ только сверху (15px), снизу делаем 0, чтобы прижать к фото */
    padding: 15px 0 0 0 ; 
    margin-bottom: 5px ; /* Минимальный зазор до начала галереи */
    width: 100% ;
}

/* Ссылка на Главную */
.breadcrumbs a {
    color: #a0a0a0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.breadcrumbs a:hover {
    color: #e58a73 !important; /* При наведении окрашивается в цвет твоей кнопки */
}

/* Разделитель между страницами (знак >) */
.breadcrumbs span {
    margin: 0 8px ;
    color: #cbd5e1 !important;
}

/* Текущая страница (Товары) */
.breadcrumbs .current-page {
    color: #eca996 !important; /* Тот самый мягкий пыльно-коричневый цвет */
    font-weight: 500 !important;
}





/* --- СБЛИЖЕНИЕ СТАРОЙ И НОВОЙ ЦЕНЫ --- */
.widget-price-row {
    display: flex !important;
    align-items: baseline !important; /* Выровняет обе цены строго по одной нижней линии текста */
    gap: 15px ;            /* Задаст аккуратное расстояние в 15 пикселей между ними */
    position: relative !important;
}

.widget-old-price {
    position: static !important;      /* Отменяет absolute, который уносил цену вправо */
    margin: 0 !important;             /* Сбрасывает любые левые или правые отступы */
    font-size: 18px !important;
    text-decoration: line-through !important;
    color: #a0a0a0 !important;
    display: inline-block ;
}







/* --- СТИЛИЗАЦИЯ СТРАНИЦЫ ВХОДА --- */

.auth-container {
    max-width: 540px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #5b3629; /* Ваш фирменный глубокий кофейный цвет */
    margin: 0 0 30px 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #807068; /* Мягкий приглушенный коричневый цвет */
}

.form-group .required-star {
    color: #ff4d4d;
}

/* Скругленные поля ввода */
.form-group input {
    width: 100%;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 20px; /* Скругление как на примере */
    padding: 0 20px;
    font-size: 15px;
    color: #5b3629;
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: #e58a73; /* Подсветка поля при клике */
}

/* Строка с действиями */
.form-actions-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

/* Кнопка "Войти" */
.btn-auth-submit {
    background-color: #e58a73; /* Ваша фирменная палитра */
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-auth-submit:hover {
    background-color: #d97d66;
    transform: translateY(-1px);
}

/* Ссылки справа от кнопки */
.auth-links {
    display: flex;
    gap: 15px;
}

.auth-link-item {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link-item:hover {
    color: #e58a73; /* Окрашивание ссылок при наведении */
}

/* Адаптивность для мобильных телефонов */
@media screen and (max-width: 576px) {
    .form-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-auth-submit {
        width: 100%; /* На смартфонах кнопка растянется на всю ширину */
    }
}




/* Жирный, четкий и мягкий шрифт для названий товаров */
.product-card h3, 
.product-card p,
.product-card .product-title,
.product-card [class*="title"] {
  font-family: 'Comfortaa', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 16px !important; /* Оптимальный размер для десктопа */
  font-weight: 700 !important; /* Мощная, четкая жирность как на примере */
  letter-spacing: -0.02em !important; /* Убираем лишние просветы между буквами */
  line-height: 1.35 !important;
  color: #1a1a1a !important; /* Глубокий темный цвет */
}



/* Делаем кнопку «В корзину» аккуратной на ПК */
.products-grid .btn_add_cart,
.products.grid .btn_add_cart  {
    flex: none !important;             /* Отменяем растягивание по флексу на всю ширину */
    width: auto !important;            /* Кнопка сжимается под контент */
    min-width: 140px !important;       /* Задаем красивую фиксированную ширину */
    padding: 10px 24px !important;      /* Уменьшаем высоту (делаем компактнее) */
    font-size: 14px !important;        /* Оптимальный размер шрифта */
    border-radius: 20px !important;    /* Скругляем углы для аккуратного вида */
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

/* Выравниваем цену и кнопку внутри футера карточки */
.products-grid .product-footer,
.products.grid .product-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important; /* Цена слева, компактная кнопка справа */
    align-items: center !important;            /* Выравниваем их строго по центру по вертикали */
    width: 100% !important;
    padding: 0 10px !important;                /* Небольшие отступы по бокам внутри карточки */
}



/* Добавляем отступ снизу для всей сетки товаров, чтобы они не прилипали к футеру */
div.products.grid, 
div.products-grid {
    margin-bottom: 60px !important; /* Красивый отступ до подвала сайта */
}

/* На всякий случай даем карточкам одинаковую высоту, если в названии разное количество строк */
.products.grid .product-card,
.products-grid .product-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}








/* Увеличиваем точку перелома до 1050px, чтобы меню пряталось вовремя */
@media (min-width: 767px) and (max-width: 1050px) {
    
    /* Скрываем текстовые пункты навигации */
    header .main-nav, 
    .main-nav {
        display: none !important;
    }

    /* Силой заставляем логотип и иконки разойтись по краям хедера */
    .header_row, 
    header.main-header .row, 
    .main-header .container .row {
        display: flex !important;
        justify-content: space-between !important;
    }

    /* Возвращаем иконки на экран и фиксируем их справа */
     /* 4. Блок иконок справа */
  .header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important; /* Просвет между лупой, сердечком и корзиной */
    padding-right: 10px !important; /* Безопасный отступ для красного маркера */
  }


   /* Защищаем сами иконки внутри блока от сплющивания */
  .header-controls a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important; 
    text-decoration: none !important;
  }


   /* 2. Защищаем элементы хедера от сжатия при прокрутке */
  #open-btn, 
  .open-menu,
  .logo,
  .header-controls {
    flex: 0 0 auto !important; /* Жестко запрещаем браузеру уменьшать эти блоки */
    margin: 0 !important;
  }

  
  /* Логотип строго по центру */
  .logo {
    margin: 0 auto !important;
  }

  
  .logo img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
  }

}





  
  /* Увеличиваем точку перелома до 1050px, чтобы меню пряталось вовремя */
@media (min-width: 300px) and (max-width: 426px) {
    
    /* Скрываем текстовые пункты навигации */
    header .main-nav, 
    .main-nav {
        display: none !important;
    }

    /* Силой заставляем логотип и иконки разойтись по краям хедера */
    .header_row, 
    header.main-header .row, 
    .main-header .container .row {
        display: flex !important;
        justify-content: space-between !important;
    }

    /* Возвращаем иконки на экран и фиксируем их справа */
     /* 4. Блок иконок справа */
  .header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important; /* Просвет между лупой, сердечком и корзиной */
    padding-right: 10px !important; /* Безопасный отступ для красного маркера */
  }


   /* Защищаем сами иконки внутри блока от сплющивания */
  .header-controls a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important; 
    text-decoration: none !important;
  }


   /* 2. Защищаем элементы хедера от сжатия при прокрутке */
  #open-btn, 
  .open-menu,
  .logo,
  .header-controls {
    flex: 0 0 auto !important; /* Жестко запрещаем браузеру уменьшать эти блоки */
    margin: 0 !important;
  }

  
  /* Логотип строго по центру */
  .logo {
    margin: 0 auto !important;
  }

  
   /* 3. Фиксируем размеры логотипа */
  .logo img {
    height: 30px !important;
    width: auto !important;
    display: block !important;
  }

}




/* Адаптивность: на экранах смартфонов колонки встанут друг под друга */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}



/* Базовые сбросы для секции авторизации */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    font-family: 'Comfortaa', sans-serif;
}

.auth-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.auth-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.form-group input:focus {
    border-color: #e59373; /* Фирменный акцентный цвет */
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.15);
}

/* Стили для ошибок */
.error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.form-group input.invalid {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

/* Кнопки и ссылки */
.form-actions-row {
    margin-top: 24px;
}

.btn.auth-submit {
    width: 100%;
    padding: 14px;
    background-color: #e59373;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn.auth-submit:hover {
    background-color: #9c563a;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
}

.auth-links a {
    color: #555;
    font-size: 14px;
    text-decoration: underline;
}

.auth-links a:hover {
    color: #e59373;
}

/* ==========================================================================
   ЛИЧНЫЙ КАБИНЕТ — САЙДБАР + ВКЛАДКИ
   ========================================================================== */
.pc-box {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
}

/* Родительский .auth-container ограничен 540px — на странице личного кабинета
   расширяем его, чтобы широкий дашборд с сайдбаром помещался целиком */
.auth-container.profile-page-container {
    max-width: 960px;
}

.pc-layout {
    display: flex;
    align-items: stretch;
    min-height: 520px;
}

/* ---------- Сайдбар ---------- */
.pc-sidebar {
    width: 260px;
    flex-shrink: 0;
    background-color: var(--bg-main, #fbf7f4);
    border-right: 1px solid #ece7da;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pc-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: var(--accent-brown, #503d42);
    color: #fff;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-user-info {
    min-width: 0;
}

.pc-user-name {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-user-phone {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted, #7a726e);
    margin-top: 2px;
}

.pc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 12px;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark, #1a1a1a);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.pc-nav-item svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.18s ease;
}

.pc-nav-item:hover {
    background-color: #f0ece6;
}

.pc-nav-item.active {
    background-color: var(--accent-brown, #503d42);
    color: #fff;
}

.pc-nav-item.active svg {
    opacity: 1;
}

.pc-logout-btn {
    margin-top: auto;
    background: none;
    border: 1px solid #e0d9d0;
    color: var(--text-muted, #7a726e);
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.pc-logout-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
}

/* ---------- Контент вкладок ---------- */
.pc-content {
    flex: 1;
    padding: 36px 40px;
    min-width: 0;
}

.pc-tab-title {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin-bottom: 22px;
}

.pc-save-btn {
    width: auto;
    padding: 12px 28px;
    margin-top: 6px;
}

/* ---------- Пустые состояния ---------- */
.pc-empty {
    text-align: center;
    padding: 40px 20px;
}

.pc-empty-text {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 14.5px;
    color: var(--text-muted, #7a726e);
    margin-bottom: 12px;
}

.pc-empty-link {
    display: inline-block;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: var(--accent-brown, #503d42);
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pc-empty-link:hover {
    background-color: #3e3431;
}

/* ---------- Заказы ---------- */
.pc-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pc-order-card {
    border: 1px solid #ece7da;
    border-radius: 16px;
    padding: 18px 20px;
}

.pc-order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pc-order-date {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted, #7a726e);
}

.pc-order-id {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin-top: 2px;
}

.pc-order-status {
    flex-shrink: 0;
    background-color: #f0ece6;
    color: var(--accent-brown, #503d42);
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.pc-order-thumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.pc-order-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #f4f1ec;
    border: 1px solid #ece7da;
}

.pc-order-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13.5px;
    color: var(--text-muted, #7a726e);
    padding-top: 12px;
    border-top: 1px solid #f0ece6;
}

.pc-order-total {
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    font-size: 15px;
}

/* ---------- Просмотренные товары ---------- */
.pc-viewed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
}

.pc-viewed-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pc-viewed-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f4f1ec;
    border: 1px solid #ece7da;
    margin-bottom: 8px;
}

.pc-viewed-title {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-dark, #1a1a1a);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-viewed-price {
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-brown, #503d42);
}


/* Контейнер для инпута и кнопки */
.password-wrapper {
    position: relative;
    width: 100%;
}

/* Добавляем небольшой отступ справа внутри инпута, чтобы текст не залезал на глазок */
.password-wrapper input {
    padding-right: 45px !important; 
}

/* Базовый стиль для глазка */
.toggle-password-btn {
    font-size: 20px !important;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.toggle-password-btn:hover {
    opacity: 1;
}




/* Линия перечёркивания (уменьшенный размер) */
.toggle-password-btn .slash {
    position: absolute;
    width: 14px; /* Уменьшили длину с 22px до 16px */
    height: 1.5px; /* Сделали линию чуть тоньше для изящности */
    background-color: #777;
    transform: rotate(45deg);
    transition: opacity 0.15s ease;
    opacity: 1; /* По умолчанию линия видна (пароль скрыт) */
}


/* Когда пароль виден — скрываем линию перечёркивания */
.toggle-password-btn.visible .slash {
    opacity: 0;
}








/* Контейнер-обертка для плашки и подсказки */
.ozon-badge-wrapper {
    position: absolute;
    bottom: 12px; /* Отступ от нижнего края картинки товара */
    left: 12px;   /* Отступ от левого края картинки товара */
    z-index: 10;
    display: inline-block;
}

/* Стили самой плашки OZON — в мягких фирменных тонах сайта, не в розовом Ozon */
.ozon-badge {
    display: block;
    background-color: var(--accent-brown, #503d42);
    color: #ffffff;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(80, 61, 66, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.ozon-badge:hover,
.ozon-badge-wrapper.tooltip-open .ozon-badge {
    background-color: #3e3431;
}

.ozon-badge:active {
    transform: scale(0.96);
}

/* Стили всплывающего окна (Tooltip) */
.ozon-tooltip {
    position: absolute;
    bottom: calc(100% + 10px); /* Позиция строго НАД плашкой с небольшим зазором */
    left: 0;
    width: 220px; /* Фиксированная ширина текстового облака */
    background-color: #ffffff;
    color: var(--text-dark, #1a1a1a);
    font-family: 'Comfortaa', 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(80, 61, 66, 0.14);
    border: 1px solid #f0ece9;
    box-sizing: border-box;

    /* Состояние по умолчанию: полностью скрыто */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px); /* Небольшое смещение вниз для эффекта вылета */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none; /* Чтобы окно не мешало кликам, пока скрыто */
}

/* Треугольная стрелочка внизу подсказки */
.ozon-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px; /* Наполовину вылезает снизу */
    left: 24px;   /* Смещение стрелочки, чтобы она была над плашкой */
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-right: 1px solid #f0ece9;
    border-bottom: 1px solid #f0ece9;
    transform: rotate(45deg);
}

/* Показ подсказки при наведении (десктоп) и по тапу (мобильные — класс от JS) */
.ozon-badge-wrapper:hover .ozon-tooltip,
.ozon-badge-wrapper.tooltip-open .ozon-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Возвращаем в исходную точку */
    pointer-events: auto;
}

/* Адаптация под планшет */
@media (max-width: 768px) {
    .ozon-badge-wrapper {
        bottom: 10px;
        left: 10px;
    }
    .ozon-badge {
        font-size: 10px;
        padding: 5px 11px;
    }
    .ozon-tooltip {
        width: 200px;
        font-size: 11.5px;
        padding: 10px 14px;
    }
}

/* Адаптация под маленькие телефоны */
@media (max-width: 425px) {
    .ozon-badge-wrapper {
        bottom: 8px;
        left: 8px;
    }
    .ozon-badge {
        font-size: 9px;
        padding: 4px 9px;
        letter-spacing: 0.3px;
    }
    .ozon-tooltip {
        width: 170px;
        left: -4px;
        font-size: 11px;
        padding: 9px 12px;
    }
    .ozon-tooltip::after {
        left: 18px;
    }
}









.editorial-section {
    max-width: 1400px; /* Ограничиваем максимальную ширину как у каталога товаров */
    margin: 120px auto;
    padding: 0 24px;
}

/* Строим сетку ровно на 3 колонки */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки одинаковой ширины */
    gap: 32px; /* Воздух между фотографиями */
}

.editorial-item {
    display: flex;
    flex-direction: column;
}

.editorial-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; /* Элегантное вертикальное соотношение сторон */
    overflow: hidden;
    background-color: #f5f0ec;
}

.editorial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Фотографии идеально заполняют блоки без искажения */
    display: block;
    transition: transform 0.6s ease;
}

/* Эффект при наведении на фото */
.editorial-item:hover img {
    transform: scale(1.02);
}

/* Текстовые подписи под фото */
.editorial-caption {
    margin-top: 18px;
}

.editorial-caption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.editorial-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 2px;
    display: inline-block;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.editorial-link:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}







/* Основной контейнер секции */
.minimal-gallery-section {
    max-width: 1500px;
    margin: 80px auto; /* Большой отступ сверху и снизу для минимализма */
    padding: 0 20px;
}

/* Сетка для двух элементов */
.minimal-gallery-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Картинки выравниваются по верхнему краю */
    gap: 40px; /* Свободное пространство между ними */
}

/* Общие стили для карточек */
.gallery-item {
    display: flex;
    flex-direction: column;
}

/* Пропорции: Левая большая карточка */
.gallery-item.item-large {
    flex: 0 0 58%; /* Занимает 58% ширины */
}

/* Пропорции: Правая маленькая карточка со сдвигом вниз */
.gallery-item.item-small {
    flex: 0 0 38%; /* Занимает 38% ширины */
    margin-top: 100px; /* Эффект хаотичности: смещаем правую картинку ниже */
}

/* Обертка картинок и сами изображения */
.gallery-img-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #f7f7f7;
}

.gallery-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease; /* Мягкий зум при наведении */
}

.gallery-img-wrapper img:hover {
    transform: scale(1.02);
}

/* Подписи к фото */
.gallery-caption {
    margin-top: 20px;
}

.gallery-caption h3 {
    font-size: 18px;
    font-weight: 400; /* Легкий минималистичный шрифт */
    margin-bottom: 8px;
    color: var(--text-dark);
}

.gallery-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--text-muted); /* Тонкое подчеркивание */
    padding-bottom: 2px;
    display: inline-block;
}

.gallery-link:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}







/* Контейнер всей секции видео на весь экран */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh; /* 100vh заставит блок занять ровно 100% высоты видимого экрана */
    overflow: hidden;
    background-color: #000;
    margin-top: 0; /* Видео плотно прижмется к хедеру сверху */
    margin-bottom: 80px; 
}


/* Контейнер для самого видеофайла */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Растягиваем видео без потери пропорций */
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Видео заполнит весь блок, лишнее аккуратно обрежется */
}

/* Оверлей с текстом поверх видео */
.video-overlay-content {
    position: absolute;
    bottom: 10%; /* Размещаем текст снизу, как на сайте Northern */
    left: 5%;
    z-index: 2; /* Поднимаем текст над видео */
    color: #ffffff; /* Белый цвет текста */
    font-family: sans-serif;
}

/* Стилизация текста */
.video-subtitle {
    font-size: 18px;
    font-weight: 300;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
}

.video-title {
    font-size: clamp(32px, 5vw, 56px); /* Адаптивный размер шрифта */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.video-explore-btn {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 4px;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.video-explore-btn:hover {
    opacity: 0.7;
}








/* ==========================================================================
   МОДАЛЬНОЕ ОКНО "ТОВАР ДОБАВЛЕН В КОРЗИНУ"
   Показывается при любом добавлении товара в корзину на сайте
   ========================================================================== */
.cart-added-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 18, 0.55);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-added-overlay.active {
    display: flex;
}

.cart-added-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 28px 24px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: cartAddedPop 0.22s ease;
}

@keyframes cartAddedPop {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cart-added-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.cart-added-title svg {
    color: #4caf6a;
    flex-shrink: 0;
}

.cart-added-product {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cart-added-product img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    background: #f4f0ee;
    flex-shrink: 0;
}

.cart-added-info {
    flex: 1 1 140px;
    min-width: 0;
}

.cart-added-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-added-code {
    font-size: 12px;
    color: #a39a95;
}

.cart-added-qty {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f5f1ee;
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.cart-added-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    border-radius: 6px;
    line-height: 1;
}

.cart-added-qty button:hover {
    background: #e9e1db;
}

.cart-added-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.cart-added-price {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.cart-added-actions {
    display: flex;
    gap: 12px;
}

.cart-added-actions button {
    flex: 1;
    padding: 14px 10px;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.cart-added-continue {
    background: #f0ece9;
    color: var(--text-dark);
}

.cart-added-continue:hover {
    background: #e2dbd6;
}

.cart-added-checkout {
    background: var(--accent-orange);
    color: #ffffff;
    width: 100%;
}

.cart-added-checkout:hover {
    background: var(--accent-brown);
}

@media (max-width: 480px) {
    .cart-added-box {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }
    .cart-added-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   КОРЗИНА (SLIDE-OVER ЭКРАН) — ЕДИНАЯ СИСТЕМА СТИЛЕЙ
   Вся вёрстка построена на flex-колонке в 100vh:
   шапка (не скроллится) -> прокручиваемая область с товарами ->
   нижняя панель "Итого / Оформить заказ" (не скроллится, всегда видна).
   Благодаря этому кнопка оформления заказа никогда не "уезжает" за
   пределы экрана, независимо от количества товаров и ширины экрана.
   ========================================================================== */

.cart-slide-screen {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #f4f6fa;
    z-index: 999999;
    transition: right 0.35s ease-in-out;
    display: flex;
    flex-direction: column;
    font-family: 'Comfortaa', 'Montserrat', Arial, sans-serif;
    box-sizing: border-box;
}

/* --- Шапка --- */
.cart-panel-header {
    flex-shrink: 0;
    padding: 20px 40px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cart-panel-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-panel-title {
    margin: 0;
    font-size: 26px;
    color: #1a202c;
    font-weight: 800;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #a0aec0;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s ease;
}

.cart-close-btn:hover {
    color: #1a202c;
}

.cart-panel-header .breadcrumbs {
    max-width: 1200px;
    margin: 6px auto 0;
    padding: 0;
}

/* --- Прокручиваемая область (баннер + список товаров) --- */
.cart-panel-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-content-row {
    max-width: 1200px;
    width: 100%;
    margin: 24px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Пустая корзина */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a202c;
}

.cart-empty-link {
    font-size: 14px;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
}

.cart-empty-link:hover {
    text-decoration: underline;
}

/* --- Карточка товара в корзине --- */
.cart-item-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 220px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.cart-item-img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f4f0ee;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-unit-price {
    font-size: 13px;
    color: #8a94a6;
    font-weight: 500;
}

.cart-item-end {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-shrink: 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    background: #f7fafc;
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-qty button {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    color: #1a202c;
    border-radius: 6px;
    line-height: 1;
}

.cart-item-qty button:hover {
    background: #e9edf3;
}

.cart-item-qty span {
    min-width: 26px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
}

.cart-item-total {
    font-size: 16px;
    font-weight: 800;
    color: #1a202c;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.cart-item-remove:hover {
    color: #e53e3e;
}

/* --- Нижняя закреплённая панель "Итого / Оформить заказ" --- */
/* Не является частью прокручиваемой области, поэтому всегда видна. */
.cart-summary-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    padding: 16px 40px;
    box-sizing: border-box;
}

.cart-summary-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

.cart-summary-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.cart-summary-label {
    font-size: 13px;
    color: #7a7558;
    font-weight: 500;
}

.cart-summary-value {
    font-size: 22px;
    font-weight: 800;
    color: #1a202c;
    white-space: nowrap;
}

.cart-checkout-link {
    text-decoration: none;
    flex-shrink: 0;
}

.btn-red-checkout {
    background-color: var(--accent-orange);
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-red-checkout:hover {
    background-color: var(--accent-brown);
}

/* ==========================================================================
   АВАТАР ПОЛЬЗОВАТЕЛЯ В ШАПКЕ (первая буква имени, показывается вместо
   стандартной иконки профиля, когда покупатель авторизован)
   ========================================================================== */
.user-avatar-link {
    display: none; /* показывается через JS (auth.js) только вошедшим пользователям */
    align-items: center;
    text-decoration: none;
}

.user-avatar-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-brown);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Comfortaa', 'Montserrat', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

/* ИСПРАВЛЕНИЕ: на некоторых мобильных ширинах responsive.css принудительно
   показывает все <a> внутри .header-controls через !important, из-за чего
   одновременно были видны и аватар, и стандартная иконка профиля.
   ID-селектор + !important гарантированно перебивает это на ЛЮБОЙ ширине
   экрана, независимо от брейкпоинта. */
#user-avatar-link {
    display: none !important;
}
#default-profile-link {
    display: inline-flex !important;
}
body.smileti-logged-in #user-avatar-link {
    display: flex !important;
}
body.smileti-logged-in #default-profile-link {
    display: none !important;
}


/* ==========================================================================
   SMILETI ALERT — фирменное окно уведомлений вместо системного alert()
   ========================================================================== */
.smileti-alert-overlay{
  position:fixed; inset:0; background:rgba(26,20,18,0.45); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; z-index:3000;
  opacity:0; transition:opacity .2s ease; padding:20px; box-sizing:border-box;
}
.smileti-alert-overlay.is-open{ opacity:1; }
.smileti-alert-box{
  background:#fff; border-radius:20px; padding:36px 32px 30px; max-width:380px; width:100%;
  text-align:center; box-shadow:0 20px 50px rgba(0,0,0,0.18); font-family:inherit;
  transform:translateY(12px) scale(.97); transition:transform .2s ease;
}
.smileti-alert-overlay.is-open .smileti-alert-box{ transform:translateY(0) scale(1); }
.smileti-alert-icon{
  width:52px; height:52px; border-radius:50%; margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:700; line-height:1;
}
.smileti-alert-icon--error{ background:#fdf2ee; color:#e58a73; }
.smileti-alert-icon--success{ background:#e7f7ee; color:#2ecc71; }
.smileti-alert-title{ font-size:18px; font-weight:700; color:#1a1a1a; margin:0 0 8px; }
.smileti-alert-text{ font-size:14px; color:#8a8078; line-height:1.5; margin:0 0 24px; }
.smileti-alert-btn{
  background-color:#e58a73; color:#fff; border:none; padding:13px 32px; font-size:15px; font-weight:700;
  border-radius:25px; cursor:pointer; transition:background-color .2s ease; min-width:150px;
}
.smileti-alert-btn:hover{ background-color:#d97d66; }

/* ==========================================
   COOKIE-СОГЛАСИЕ — компактная карточка в правом нижнем углу
   Показывается один раз, выбор запоминается в localStorage.
   Логика — в script.js, разметка добавляется оттуда же.
   ========================================== */
.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: var(--bg-card);
    border: 1px solid rgba(80, 61, 66, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(80, 61, 66, 0.22);
    padding: 22px 22px 20px;
    font-family: 'Comfortaa', 'Inter', sans-serif;
    transform: translateY(24px) scale(0.94);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent.is-hiding {
    transform: translateY(16px) scale(0.96);
    opacity: 0;
}

.cookie-consent-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(235, 145, 115, 0.14);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cookie-consent-text {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--accent-brown);
    opacity: 0.85;
}

.cookie-consent-text a {
    color: var(--accent-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-accept {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    background: var(--accent-orange);
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.cookie-consent-accept:hover {
    background: var(--accent-brown);
    transform: translateY(-1px);
}

.cookie-consent-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: var(--accent-brown);
    opacity: 0.45;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s ease;
}

.cookie-consent-close:hover {
    opacity: 0.9;
}

/* ==========================================
   КНОПКА «НАВЕРХ» — появляется после прокрутки, внизу слева
   (справа уже занято cookie-плашкой и корзиной), разметка из script.js
   ========================================== */
.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--accent-brown);
    color: #f4ece6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(80, 61, 66, 0.28);
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--accent-orange);
}

/* ==========================================
   SCROLL-REVEAL — плавное появление блоков при прокрутке.
   Класс добавляется через script.js через IntersectionObserver,
   поэтому изначально скрытым элемент становится тоже только через JS —
   если скрипт по какой-то причине не выполнится, контент останется видимым.
   ========================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================
   БАННЕР СОГЛАСИЯ НА COOKIE
   ========================================== */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: #ffffff;
    border-top: 1px solid #ece7da;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
    transform: translateY(120%);
    transition: transform 0.4s ease;
    padding: 18px 20px;
}

.cookie-consent-banner.is-visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 780px;
}

.cookie-consent-text a {
    color: var(--accent-orange);
    text-decoration: none;
    border-bottom: 1px solid rgba(235,145,115,0.4);
}

.cookie-consent-text a:hover {
    border-bottom-color: var(--accent-orange);
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-accept {
    background: var(--accent-brown);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-accept:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .cookie-consent-banner {
        padding: 16px;
    }
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        text-align: left;
    }
    .cookie-consent-actions {
        justify-content: stretch;
    }
    .cookie-consent-accept {
        width: 100%;
        padding: 14px;
        text-align: center;
    }
}
