@import url('https://googleapis.com');

: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: '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 {
    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: 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;
}
/* Общие настройки футера */
.main-footer {
    background-color: #E6E1DF; /* Фон точно по вашему изображению */
    color: #3A3533; /* Благородный темно-серый цвет текста */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 50px 20px;
    border-top: 1px solid #D6CECA; /* Аккуратная разделительная линия чуть темнее фона */
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;             /* Центрирует сам контейнер на экране */
    display: flex;
    justify-content: center;    /* Центрирует колонки внутри контейнера */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 120px;                 /* ИЗМЕНИЛИ: увеличили отступ, чтобы колонки красиво разошлись от центра */
}

/* Левая колонка с логотипом-птичкой */
.footer-brand {
    flex: 1;
    min-width: 150px;
}
.footer-logo-img {
    max-width: 130px;
    height: auto;
    display: block;
}

/* Текстовые колонки меню */
.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: #262221; /* Более темный оттенок для заголовков */
    text-transform: none;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #59524F; /* Спокойный цвет для ссылок */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

/* Эффект при наведении на ссылки */
.footer-column ul li a:hover {
    color: #262221;
    text-decoration: underline;
}

/* Цвет для активной страницы (например, "Главная") */
.footer-column ul li a.active {
    color: #B8735C; /* Приглушенный терракотово-розовый акцент вместо яркого */
    font-weight: 600;
}

/* Правая колонка: Контакты */
.footer-contacts {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contacts .company-title {
    font-weight: 700;
    font-size: 18px;
    color: #262221;
    margin-bottom: 5px;
    text-transform: lowercase; /* Как на оригинальном сайте "всё на местах" */
}

.footer-contacts a {
    color: #3A3533;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-contacts .footer-phone {
    font-weight: 600;
}

.footer-contacts .footer-email {
    text-decoration: underline;
    color: #59524F;
}

.footer-contacts .footer-email:hover {
    color: #262221;
}

/* Блок социальных сетей */
.social-block {
    margin-top: 20px;
}

.social-block p {
    font-size: 13px;
    font-weight: 700;
    color: #262221;
    margin: 0 0 12px 0;
}


/* Контейнер для текста и кнопок */
.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;
}

/* Класс, который будет плавно выдвигать корзину */
.cart-slide-screen.active {
    right: 0 ;
}

/* Стили для адаптивности картинок внутри корзины */
.cart-item-row img {
    width: 70px ;
    height: 70px ;
    object-fit: cover;
    border-radius: 8px;
}

#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 {
    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%;   
  height: 250px;    
  max-width: 1200px; 
  margin: 30px auto;
 border-radius: 30px;
 
}

.slider {
    display: flex;       /* Выстраивает картинки в один ряд */
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out; /* Отвечает за плавное скольжение */
    gap: 20px;
}


.slider img {
    /* ИСПРАВЛЕНИЕ ТУТ: Используем flex-basis вместо жесткого width, чтобы учесть gap */
    flex-basis: calc(100% - 20px); 
    flex-shrink: 0;                /* Не даем картинкам сжиматься внутри flex-строки */
    width: calc(100% - 20px);       /* Дублируем для надежности */
    
    /* Твои исходные стили, возвращаем их на место: */
    height: 100%;
    object-fit: cover;
    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: '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: '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: '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;
}







/* Выравниваем элементы нового хедера внутри корзины */
#cartModel header, 
.cart-slide-screen header {
    width: 100% ;
    max-width: 1200px; /* Ограничиваем максимальную ширину как на основном сайте */
    margin: 0 auto; /* Центрируем сам хедер */
    padding: 20px 40px ;
    background: #ffffff !important;
    
    display: flex ;
    flex-direction: row ;
    justify-content: space-between ; /* Разносит лого, меню и иконки по краям */
    align-items: center ; /* Выравнивает все элементы строго по вертикали */
    box-sizing: border-box ;
}

/* На случай, если у вас ссылки меню обернуты в тег nav, возвращаем их в строку */
#cartModel header nav,
.cart-slide-screen header nav {
    display: flex ;
    gap: 20px; /* Расстояние между ссылками "Главная", "Для кухни" и т.д. */
}

/* Выстраиваем иконки в ряд с правой стороны */
#cartModel header .header-icons,
.cart-slide-screen header div:last-child {
    display: flex ;
    flex-direction: row !important;
    align-items: center ;
    gap: 15px; /* Расстояние между иконками поиска, профиля и корзины */
}
  





 /*ЛАЙКИ В КУХНЕ*/


.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; /* Отступы от краев экрана */
    font-family: Arial, sans-serif; /* Твой основной шрифт сайта */
}

/* Главный заголовок */
.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: 'Nunito', 'Comfortaa', sans-serif; /* Подключаем мягкий шрифт */
    font-size: 34px;          /* Делаем заголовок крупным и заметным */
    font-weight: 800;         /* Плотный, приятный объем */
    color: #2e2624;           /* Мягкий темно-коричневый оттенок вместо жесткого черного */
    letter-spacing: -0.5px;   /* Немного сближаем буквы для аккуратности */
    margin-bottom: 18px;
}



/* Мягкий шрифт для заголовка в правой карточке */
.right-column-title {
    font-family: 'Nunito', 'Comfortaa', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #2e2624; /* Такой же мягкий темно-коричневый цвет */
    margin-bottom: 20px;
}

/* Настройка подписи к соцсетям */
.hero-social-title {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Делаем ссылки телефона и почты тоже чуть мягче */
.hero-link-item {
    font-family: '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: 'Nunito', 'Comfortaa', 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: 'Nunito', 'Comfortaa', 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: 'Nunito', 'Comfortaa', 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: 'Nunito', 'Comfortaa', 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: '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: '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: '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: '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: sans-serif;
    background-color: #f9f9f9;
     border-radius: 24px;
}

.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;
}


/* Контейнер для инпута и кнопки */
.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-badge {
    display: block;
    background-color: #f40062; /* Ярко-розовый цвет Ozon */
    color: #ffffff;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(244, 0, 98, 0.3);
    transition: background-color 0.2s ease;
}

.ozon-badge:hover {
    background-color: #d60052;
}

/* Стили всплывающего окна (Tooltip) */
.ozon-tooltip {
    position: absolute;
    bottom: calc(100% + 10px); /* Позиция строго НАД плашкой с небольшим зазором */
    left: 0;
    width: 240px; /* Фиксированная ширина текстового облака */
    background-color: #ffffff;
    color: #333333;
    font-family: sans-serif;
    font-size: 12px;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    
    /* Состояние по умолчанию: полностью скрыто */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Небольшое смещение вниз для эффекта вылета */
    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 #eaeaea;
    border-bottom: 1px solid #eaeaea;
    transform: rotate(45deg);
}

/* ЛОГИКА АНИМАЦИИ: Показ подсказки при наведении на контейнер */
.ozon-badge-wrapper:hover .ozon-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Возвращаем в исходную точку */
}









.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;
}







