body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
}

/* ============================================
   СБРОС БИТРИКС-ОТСТУПОВ (глобально для страницы)
   Битрикс добавляет padding/margin к #content,
   .content-page, .page-content и т.п.
   Обнуляем их так, чтобы не сломать остальное.
   ============================================ */
#content > .container:first-child,
.content-page > *:first-child,
.page-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  /* Обнуляем любой padding/margin, который Битрикс
     добавляет над первым блоком контента на мобиле */
  #content,
  #wrap,
  #wrapper,
  #page,
  #main,
  #pagetitle,
  .content-page,
  .page-content,
  .landing-page,
  .content-inner,
  .bx-content,
  main {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Убираем отступ у первого элемента внутри любого Битрикс-контейнера */
  #content > *:first-child,
  #wrap > *:first-child,
  #wrapper > *:first-child,
  main > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Расширили контейнер под макет Фигмы */
.plisse-container {
  max-width: 1440px; 
  margin: 0 auto;
  padding: 0 40px;
}

.product-hero {
  padding: 60px 0;
  color: #333;
}

/* --- ПЕРВЫЙ ЭКРАН (ГЕРОЙ) --- */
.hero-wrapper {
  display: flex;
  gap: 40px; 
  align-items: stretch; /* ВЕРНУЛИ stretch: теперь колонки строго одной высоты */
}

.gallery-block {
  display: flex;
  gap: 24px;
  width: 47%; /* Идеальная ширина для прямоугольника */
}

.thumbnails-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative; 
}

.thumb-item {
  width: 68px;  
  height: 68px; 
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0; 
}

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

.active-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px; 
  height: 68px; 
  border: 3px solid #8cc63f; 
  border-radius: 12px;
  box-sizing: border-box;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

.main-image-container {
  flex-grow: 1;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 559 / 478; /* Та самая пропорция из Фигмы! */
  height: auto; /* Позволяет высоте подстраиваться */
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease; 
}

.info-block {
  width: 53%;
  display: flex;
  flex-direction: column;
  /* Убрали justify-content: space-between, теперь рулим отступами сами */
}

.info-block h1 {
  font-size: 80px; 
  font-weight: 700; 
  line-height: 1.05; 
  margin-top: -6px; 
  margin-bottom: 12px; /* Чуть уменьшили отступ, чтобы текст не раздувал блок */
  color: #323232;
}

.subtitle {
  font-size: 24px; 
  font-weight: 500;
  line-height: 1.5; 
  letter-spacing: 0.03em;
  color: #6A6A69;
  margin-bottom: 0; /* Обнулили жесткий отступ, чтобы центрирование было честным */
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px; 
  column-gap: 20px;
  margin-top: auto;    /* Магия: блок сам отталкивается от текста сверху... */
  margin-bottom: auto; /* ...и на такое же расстояние отталкивается от кнопки снизу! */
  padding: 24px 0; /* Страховочный зазор на случай, если экран сильно сожмется */
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature img {
  width: 56px;  
  height: 56px; 
  object-fit: contain; 
  flex-shrink: 0;
  min-width: 56px; 
}

.feature span {
  font-size: 16px; 
  font-weight: 500;
  color: #2b2b2b;
  line-height: 1.3;
}

.btn-primary {
  width: max-content;
  min-width: 229px; 
  height: 52px; 
  padding: 0 32px; 
  white-space: nowrap; 
  background-color: #8cc63f;
  color: #000;
  font-weight: 700; 
  font-size: 18px; 
  letter-spacing: 0.02em; 
  border: none;
  border-radius: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer;
  align-self: flex-start;
  margin-top: 0; /* Убрали жесткий отступ сверху, space-between и так вдавит кнопку в пол */
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #7cb342;
}

/* --- БЛОК ОСОБЕННОСТЕЙ --- */
.features-section {
  padding: 80px 0; 
}

.features-wrapper {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  gap: 40px; 
}

.features-text-block {
  width: 100%;
  max-width: 629px; 
  position: relative; 
  z-index: 1; 
}

.bg-swirl {
  position: absolute;
  top: -30px; 
  left: -30px; 
  width: 140px; 
  height: 140px;
  z-index: -1; 
}

.features-text-block h2 {
  font-size: 40px; 
  font-weight: 700; 
  color: #555455; 
  line-height: 1.2; 
  margin-top: 0;
  margin-bottom: 30px;
}

.features-text-block p {
  font-size: 18px; 
  font-weight: 500; 
  color: #8A8A89; 
  line-height: 1.66; 
  letter-spacing: 0.03em; 
  margin-bottom: 24px;
}

.features-text-block p:last-child {
  margin-bottom: 0;
}

.features-image-block {
  width: 100%;
  max-width: 611px; 
  flex-shrink: 0; 
}

.features-image-block img {
  width: 100%;
  height: 533px; 
  object-fit: cover; 
  border-radius: 48px; 
  display: block;
}

/* --- КАТАЛОГ --- */
.catalog-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 48px;
  color: #323232;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog-card {
  background-color: #f4f5f7;
  border-radius: 32px; 
  padding: 15px; 
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  height: 314px; 
  object-fit: cover;
  border-radius: 20px; 
  margin-bottom: 24px;
}

.card-info {
  padding: 0 10px 15px 10px; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-info h3 {
  font-size: 32px; 
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  color: #323232;
}

.spec-line {
  font-size: 18px; 
  margin-bottom: 8px;
  color: #323232;
  font-weight: 500;
}

.spec-label {
  color: #8A8A89; 
  font-weight: 400;
}

.card-price {
  margin-top: auto; 
  padding-top: 24px; 
  font-size: 32px; 
  font-weight: 800; 
  color: #323232;
}

/* --- ХАРАКТЕРИСТИКИ --- */
.specs-section {
  padding: 80px 0;
}

.specs-main-title {
  font-size: 48px; /* Точные 48px из Фигмы */
  font-weight: 800; /* Экстраболд */
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 8px; /* Жестко прижали к подзаголовку "РАЗМЕРЫ" */
  color: #111; 
}

.specs-subtitle {
  font-size: 32px; /* Точные 32px из Фигмы */
  font-weight: 500; /* Медиум */
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 24px; 
  color: #111;
}

.sizes-block {
  margin-bottom: 80px; /* Та самая огромная дыра до "Видов открытия" */
}

.sizes-row {
  display: flex;
  gap: 60px; 
  align-items: baseline; 
}

.size-item {
  font-size: 20px; /* Точные 20px из Фигмы */
  font-weight: 500; /* Медиум */
  color: #111;
  text-transform: uppercase; /* Чтобы "мм" стало заглавными "ММ", как в макете */
}

.size-label {
  font-size: 20px; 
  font-weight: 500;
  color: #111;
  text-transform: uppercase;
  margin-right: 8px;
}

.size-item strong {
  font-weight: 700; /* Болд для цифр */
  font-size: 28px; /* Сделал цифры чуть крупнее, чтобы был тот самый визуал из макета */
  color: #111;
  margin: 0 4px; 
}

/* Отступ от "Виды открытия" до сетки с карточками */
.opening-block .specs-subtitle {
  margin-bottom: 32px; 
}

.opening-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
}

.opening-card {
  background-color: #f4f5f7;
  border-radius: 24px; 
  padding: 40px 24px 32px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px; /* Вытянули карточки в высокие прямоугольники */
  transition: transform 0.2s; 
}

.opening-card:hover {
  transform: translateY(-5px); 
}

.opening-card img {
  width: 100%;
  height: 150px; /* Увеличили иконки, чтобы они заполнили ширину */
  object-fit: contain; 
  margin-top: auto;
  margin-bottom: auto; /* Иконка всегда будет строго по центру свободного места */
}

.opening-card span {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-top: 32px; /* Воздух между иконкой и подписью */
}

/* --- ГДЕ ПРИМЕНИТЬ --- */
.usage-section {
  padding: 80px 0;
}

.usage-header {
  text-align: center;
  margin-bottom: 64px; /* Увеличили дыру до контента */
}

.usage-subtitle {
  font-size: 32px; /* Точные 32px из Фигмы */
  font-weight: 500; /* Медиум */
  color: #8A8A89; /* Оставляем серый цвет */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.2;
}

.usage-title {
  font-size: 48px; /* Точные 48px из Фигмы */
  font-weight: 800; /* Экстраболд */
  color: #323232;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.usage-content {
  display: flex;
  gap: 60px; /* Большой отступ между фоткой и списком */
  align-items: stretch; /* Колонки тянутся по одной высоте */
}

.usage-gallery {
  width: 47%; /* Делаем ширину точь-в-точь как у главного экрана (героя) */
}

.usage-info {
  width: 53%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Растягиваем контент от края до края фотки */
  padding: 0; /* УБРАЛИ ОТСТУПЫ: теперь текст прилипнет к верхнему и нижнему уровню картинки */
}

.usage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usage-list li {
  display: flex;
  align-items: center;
  gap: 16px; /* Чуть прижали текст к галочке */
  font-size: 32px; 
  font-weight: 400; 
  margin-bottom: 8px; /* УБРАЛИ ДЫРУ: теперь строки будут плотно друг к другу */
  color: #323232;
  line-height: 1.2;
}

.usage-list li:last-child {
  margin-bottom: 0;
}

.usage-list li img {
  width: 28px; /* Чуть уменьшили саму галочку, чтобы она не раздувала высоту строки */
  height: 28px;
  object-fit: contain;
  flex-shrink: 0; 
}

.usage-swirl-text {
  position: relative;
  padding-left: 60px; /* Отступаем текст, чтобы спираль красиво вылезала слева */
}

.bg-swirl-small {
  position: absolute;
  left: -20px;
  top: -30px; /* Поднимаем спираль, чтобы она "обнимала" текст как в макете */
  width: 130px; /* Сделали спираль крупнее */
  z-index: -1;
  opacity: 0.8; 
}

.usage-swirl-text p {
  font-size: 24px; /* Точные 24px из Фигмы */
  font-weight: 700; /* Болд */
  line-height: 1.4;
  color: #323232;
  margin: 0;
}

/* --- ЦВЕТА ПРОФИЛЯ --- */
.colors-section {
  padding: 40px 0 80px;
}

.colors-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 50px;
  color: #111;
}

.colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.color-card {
  background-color: #f4f5f7;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.color-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 25px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1); 
}

.color-name {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}



/* ========================================== */
/* ТЕМЫ: светлая (дефолт) и тёмная            */
/* Тёмная включается классом .theme-dark      */
/* который вешает кнопка луны в шапке сайта   */
/* ========================================== */

/* --- Светлая тема: явные цвета по умолчанию --- */
.info-block h1,
.card-info h3,
.card-price,
.spec-line,
.section-title,
.specs-main-title,
.specs-subtitle,
.size-item,
.size-item strong,
.opening-card span,
.usage-title,
.colors-title,
.color-name,
.usage-list li,
.usage-swirl-text p { color: #323232; }

/* --- Тёмная тема: класс .theme-dark на body --- */
body.theme-dark {
  background-color: #141414;
  color: #e0e0e0;
}

body.theme-dark .info-block h1,
body.theme-dark .card-info h3,
body.theme-dark .card-price,
body.theme-dark .spec-line,
body.theme-dark .section-title,
body.theme-dark .specs-main-title,
body.theme-dark .specs-subtitle,
body.theme-dark .size-item,
body.theme-dark .size-label,
body.theme-dark .size-item strong,
body.theme-dark .opening-card span,
body.theme-dark .usage-title,
body.theme-dark .colors-title,
body.theme-dark .color-name,
body.theme-dark .usage-list li,
body.theme-dark .usage-swirl-text p { color: #f0f0f0 !important; }

body.theme-dark .subtitle { color: #a0a0a0; }
body.theme-dark .feature span { color: #d4d4d4; }
body.theme-dark .spec-label { color: #888; }
body.theme-dark .usage-subtitle { color: #666; }
body.theme-dark .features-text-block h2 { color: #c8c8c8; }
body.theme-dark .features-text-block p { color: #888; }

body.theme-dark .catalog-card,
body.theme-dark .opening-card,
body.theme-dark .color-card { background-color: #1e1e1e; }
body.theme-dark .opening-card img {
  filter: invert(1) brightness(100);
}

/* Убираем белый фон/рамку у иконок в тёмной теме */
body.theme-dark .feature img { background: transparent; }

/* Иконки в тёмной теме (dark-версии SVG)
   3.svg=муха  → 3-dark.svg=муха
   1.svg=замок → 4-dark.svg=замок
   2.svg=кот   → 2-dark.svg=кот
   4.svg=палитра → 1-dark.svg=палитра */
body.theme-dark .feature img[src*="/plisse/img/3.svg"] { content: url('/plisse/img/3-dark.svg'); }
body.theme-dark .feature img[src*="/plisse/img/1.svg"] { content: url('/plisse/img/4-dark.svg'); }
body.theme-dark .feature img[src*="/plisse/img/2.svg"] { content: url('/plisse/img/2-dark.svg'); }
body.theme-dark .feature img[src*="/plisse/img/4.svg"] { content: url('/plisse/img/1-dark.svg'); }

@media (prefers-color-scheme: dark) {
  body:not([class*="theme-"]) .feature img[src*="/plisse/img/3.svg"] { content: url('/plisse/img/3-dark.svg'); }
  body:not([class*="theme-"]) .feature img[src*="/plisse/img/1.svg"] { content: url('/plisse/img/4-dark.svg'); }
  body:not([class*="theme-"]) .feature img[src*="/plisse/img/2.svg"] { content: url('/plisse/img/2-dark.svg'); }
  body:not([class*="theme-"]) .feature img[src*="/plisse/img/4.svg"] { content: url('/plisse/img/1-dark.svg'); }
}

@media (prefers-color-scheme: dark) {
  body:not([class*="theme-"]) .opening-card img { filter: invert(1); }
}

body.theme-dark .breadcrumbs__item-name,
body.theme-dark .breadcrumbs__link { color: #888 !important; }
body.theme-dark .breadcrumbs__separator { color: #555; }

/* Системная тёмная тема (резерв если js не сработал) */
@media (prefers-color-scheme: dark) {
  body:not([class*="theme-"]) {
    background-color: #141414;
    color: #e0e0e0;
  }
  body:not([class*="theme-"]) .info-block h1,
  body:not([class*="theme-"]) .card-info h3,
  body:not([class*="theme-"]) .card-price,
  body:not([class*="theme-"]) .spec-line,
  body:not([class*="theme-"]) .section-title,
  body:not([class*="theme-"]) .specs-main-title,
  body:not([class*="theme-"]) .specs-subtitle,
  body:not([class*="theme-"]) .size-item,
  body:not([class*="theme-"]) .size-item strong,
  body:not([class*="theme-"]) .opening-card span,
  body:not([class*="theme-"]) .usage-title,
  body:not([class*="theme-"]) .colors-title,
  body:not([class*="theme-"]) .color-name,
  body:not([class*="theme-"]) .usage-list li,
  body:not([class*="theme-"]) .usage-swirl-text p { color: #f0f0f0; }

  body:not([class*="theme-"]) .catalog-card,
  body:not([class*="theme-"]) .opening-card,
  body:not([class*="theme-"]) .color-card { background-color: #1e1e1e; }

  body:not([class*="theme-"]) .subtitle { color: #a0a0a0; }
  body:not([class*="theme-"]) .feature span { color: #d4d4d4; }
  body:not([class*="theme-"]) .spec-label { color: #888; }
  body:not([class*="theme-"]) .usage-subtitle { color: #666; }
  body:not([class*="theme-"]) .active-indicator { border-color: #8cc63f; }
}


/* ========================================== */
/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ И ПЛАНШЕТОВ         */
/* ========================================== */

/* --- Планшет: ≤ 1100px --- */
@media (max-width: 1100px) {
  .plisse-container {
    padding: 0 24px;
  }

  .info-block h1 {
    font-size: 56px;
  }

  .subtitle {
    font-size: 18px;
  }

  .opening-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .usage-list li {
    font-size: 24px;
  }

  .colors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-image-block img {
    height: 400px;
  }
}

/* --- Мобильный: ≤ 768px --- */
@media (max-width: 768px) {

  /* Хлебные крошки: убираем большой padding из inline-стиля */
  #navigation {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Скрываем весь блок page-top-info (пустой h1 Битрикса + крошки)
     на странице плиссе — у нас свой заголовок внутри .product-hero */
  .page-top-info {
    display: none !important;
  }

  .plisse-container {
    padding: 0 16px;
  }

  /* Хлебные крошки — скрываем на мобиле вместе с занимаемым местом */
  .breadcrumbs-container,
  .breadcrumbs__list,
  [class*="breadcrumb"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Убираем отступ у родителя хлебных крошек */
  .breadcrumbs-container + *,
  .breadcrumbs-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* ==========================================
     ГЕРОЙ
     Порядок: h1 → главное фото + миниатюры → subtitle + иконки + кнопка

     Так как h1/subtitle/features/btn — внутри .info-block,
     а .gallery-block — отдельный элемент .hero-wrapper,
     используем display:contents на .info-block, чтобы
     его дети стали прямыми детьми .hero-wrapper и
     получили свой order.
     ========================================== */
  .product-hero {
    padding: 8px 0 28px;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  /* info-block «растворяется» — его дети управляются напрямую */
  .info-block {
    display: contents;
  }

  /* 1: заголовок */
  .info-block h1 {
    order: 1;
    font-size: 30px;
    line-height: 1.15;
    margin: 0;
  }

  /* 2: галерея (главное фото + миниатюры снизу) */
  .gallery-block:not(.usage-gallery) {
    order: 2;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  /* Главное фото — сверху, миниатюры — снизу */
  .main-image-container {
    order: 1;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .thumbnails-container {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .thumbnails-container::-webkit-scrollbar { display: none; }

  .thumb-item {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .active-indicator {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
  }

  /* 3: описание */
  .subtitle {
    order: 3;
    font-size: 15px;
    margin: 0;
  }

  /* 4: иконки */
  .features-grid {
    order: 4;
    grid-template-columns: 1fr 1fr;
    margin: 12px 0;
    padding: 0;
  }

  .feature img {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .feature span {
    font-size: 13px;
  }

  /* 5: кнопка */
  .info-block .btn,
  .info-block [class*="btn"] {
    order: 5;
  }

  /* ==========================================
     БЛОК «ОСОБЕННОСТИ» — скрыт на мобиле (SEO остаётся)
     ========================================== */
  .features-section {
    display: none;
  }

  /* ==========================================
     КАТАЛОГ — горизонтальные карточки
     ========================================== */
  .catalog-section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-card {
    flex-direction: row;
    border-radius: 20px;
    padding: 12px;
    gap: 14px;
    align-items: stretch;
  }

  .card-img {
    width: 130px;
    min-width: 130px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    margin-bottom: 0;
    object-fit: cover;
  }

  .card-info {
    padding: 4px 4px 4px 0;
    flex: 1;
  }

  .card-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .spec-line {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .card-price {
    font-size: 18px;
    padding-top: 8px;
  }

  /* ==========================================
     ХАРАКТЕРИСТИКИ
     ========================================== */
  .specs-section {
    padding: 36px 0;
  }

  .specs-main-title {
    font-size: 26px;
    margin-bottom: 4px;
  }

  .specs-subtitle {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .sizes-block {
    margin-bottom: 28px;
  }

  .sizes-row {
    flex-direction: column;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .size-item {
    font-size: 15px;
    line-height: 1.2;
  }

  .size-item strong {
    font-size: 18px;
  }

  /* Виды открытия — горизонтальный скролл */
  .opening-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .opening-grid::-webkit-scrollbar { display: none; }

  .opening-card {
    min-width: 130px;
    max-width: 130px;
    flex-shrink: 0;
    min-height: 170px;
    padding: 16px 12px 14px;
    border-radius: 16px;
  }

  .opening-card img {
    height: 80px;
  }

  .opening-card span {
    font-size: 12px;
    margin-top: 14px;
  }

  /* ==========================================
     «ГДЕ ПРИМЕНИТЬ»
     Порядок: заголовок → галерея (фото снизу, миниатюры сверху нет!) → список
     Галерея: main-image сверху, thumbnails снизу
     ========================================== */
  .usage-section {
    padding: 36px 0;
  }

  .usage-header {
    margin-bottom: 16px;
  }

  .usage-subtitle {
    font-size: 16px;
  }

  .usage-title {
    font-size: 24px;
  }

  .usage-content {
    flex-direction: column;
    gap: 20px;
  }

  /* галерея первой */
  .usage-gallery {
    order: 1;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  /* внутри usage-gallery: главное фото сверху, миниатюры снизу */
  .usage-gallery .main-image-container {
    order: 1;
  }

  .usage-gallery .thumbnails-container {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
  }
  .usage-gallery .thumbnails-container::-webkit-scrollbar { display: none; }

  .usage-gallery .active-indicator {
    width: 60px;
    height: 60px;
  }

  /* список и текст после галереи */
  .usage-info {
    order: 2;
    width: 100%;
    gap: 20px;
  }

  .usage-list li {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .usage-swirl-text p {
    font-size: 16px;
  }

  .bg-swirl-small {
    width: 80px;
  }

  /* ==========================================
     ЦВЕТА ПРОФИЛЯ
     ========================================== */
  .colors-section {
    padding: 24px 0 48px;
  }

  .colors-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .colors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .color-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
  }

  .color-name {
    font-size: 14px;
  }

  .color-card {
    padding: 20px 12px;
    border-radius: 14px;
  }
}

/* --- Очень маленький экран: ≤ 400px --- */
@media (max-width: 400px) {
  .info-block h1 {
    font-size: 26px;
  }

  .usage-title {
    font-size: 20px;
  }

  .usage-list li {
    font-size: 15px;
  }

  .card-img {
    width: 110px;
    min-width: 110px;
  }
}

/* SEO-текст: виден поисковику, скрыт визуально */
.plisse-seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
