/*
Theme Name: Cvetut
Theme URI: https://cvetut64.ru
Description: Тема для цветочного магазина Cvetut
Version: 2.1.0
Author: John Doe
*/

:root {
  --color-pink: #b461a1;
  --color-pink-btn: #e84d87;
  --color-ticker: #d8b267;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray: #f5f5f5;
  --font-main: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Доступный, визуально скрытый элемент (для SEO-заголовков и т.п.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Карта сайта */
.sitemap-page .sitemap-block { margin-bottom: 40px; }
.sitemap-page h2 {
  font-size: 22px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-pink-btn); margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.sitemap-page h3 {
  font-size: 16px; font-weight: 600; margin: 20px 0 10px; color: #555;
}
.sitemap-page h3 a { color: #555; text-decoration: none; }
.sitemap-page h3 a:hover { color: var(--color-pink-btn); }
.sitemap-cols {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 32px;
}
.sitemap-cols li { break-inside: avoid; margin-bottom: 6px; }
.sitemap-page a { color: #777; text-decoration: none; }
.sitemap-page a:hover { color: var(--color-pink-btn); text-decoration: underline; }
@media (max-width: 900px) { .sitemap-cols { columns: 2; } }
@media (max-width: 560px) { .sitemap-cols { columns: 1; } }

/* Заголовок H1 на типовых страницах (page.php: privacy-policy и т.п.) */
.page-title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #939393;
  margin-bottom: 24px;
}

/* Плавная прокрутка по якорным ссылкам на всех страницах.
   Отступ под залипающей шапкой задаётся точечно через scroll-margin-top у целей
   (#delivery-fields-block, .post-content h2), поэтому scroll-padding-top тут не ставим,
   чтобы отступы не задваивались. */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-white);
}
/* ===== БЕГУЩАЯ СТРОКА ===== */
.ticker-wrap {
  background-color: var(--color-ticker);
  overflow: hidden;
  padding: 8px 0;
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker-scroll 17s linear infinite;
}

.ticker-track span {
  font-family: 'Arsenal', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ===== ШАПКА ===== */
.site-header {
  background: var(--color-white);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-container { padding-top: 40px; padding-bottom: 40px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}

/* Контакты */
.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-pink);
  text-decoration: none;
}

.header-phone:hover {
  color: var(--color-pink-btn);
}

.header-hours,
.header-address {
  font-size: 12px;
  color: #888;
}

/* Логотип */
.header-logo a {
  text-decoration: none;
}
.logo-svg { margin-left: 70px; } /* отступ только на ПК */
@media (max-width: 900px) {
  .logo-svg { margin-left: 0 !important; }
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-pink);
  letter-spacing: 0.1em;
}

/* Навигация */
.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-family: 'Arsenal', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: var(--color-pink-btn);
}

/* ===== DROPDOWN НАВИГАЦИЯ ===== */
.nav-list .menu-item-has-children { position: relative; }

/* Стрелка у пунктов с подменю */
.nav-list > .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 13px;
  opacity: 0.65;
  vertical-align: middle;
  line-height: 1;
}
.nav-list .sub-menu > .menu-item-has-children > a::after {
  content: ' ›';
  float: right;
  font-size: 15px;
  opacity: 0.8;
  margin-left: 10px;
}

/* Подменю скрыто по умолчанию */
.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  background: #b461a1;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(180,97,161,0.30);
  z-index: 500;
}

/* Показать по наведению */
.nav-list .menu-item-has-children:hover > .sub-menu { display: block; }

/* Ссылки в подменю */
.nav-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: background 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-list .sub-menu a:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* 3й уровень: выпадает вправо */
.nav-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-radius: 0;
}

/* Иконки */
.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.icon-btn:hover {
  color: var(--color-pink-btn);
  background: #fdf0f7;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-pink-btn);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
/* ===== ФУТЕР ===== */
.site-footer {
  background-color: #2a1a2a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ccc;
  margin-top: 80px;
  position: relative;
}

/* Верхняя сетка */
.footer-top {
  padding: 60px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
}

/* Колонка с брендом */
.footer-logo {
  display: block;
  font-size: 25px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 36px;
}

.footer-requisites__title {
  font-size: 25px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.footer-requisites p:not(.footer-requisites__title) {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  line-height: 1.7;
}

/* Заголовки колонок */
.footer-col__title {
  font-size: 25px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

/* Ссылки */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-pink);
}

/* Контакты */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #ffffff;
}

.footer-contact-list a {
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: var(--color-pink);
}

/* Соцсети */
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.footer-socials .social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  flex-shrink: 0;
}

.footer-socials .social-btn img {
  width: 40px;
  height: 40px;
}

.social-btn:hover {
  transform: scale(1.12);
}

/* Нижняя полоса */
.footer-bottom {
  padding: 16px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

/* ===== АДАПТИВ ФУТЕРА ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== СТРАНИЦА БЛОГА ===== */
.blog-page {
  padding: 32px 0 80px;
}

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--color-pink);
}

.breadcrumbs span {
  color: #ccc;
}

/* Двухколоночная раскладка */
.blog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== САЙДБАР ===== */
.blog-sidebar {
  position: sticky;
  top: 90px;
}

.blog-sidebar__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sidebar-divider {
  width: 48px;
  height: 3px;
  background: var(--color-pink-btn);
  border-radius: 2px;
  margin-bottom: 16px;
}

.sidebar-text {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 28px;
}

.sidebar-socials__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sidebar-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.sidebar-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.sidebar-social-btn img {
  width: 100%;
  height: 36px;
  display: block;
  object-fit: contain;
}

.sidebar-social-btn:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.home-smm-images {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: stretch;
}

.home-smm-img {
  flex: none;
  height: 100%;
  min-height: 359px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.home-smm-images .home-smm-img:first-child {
  width: 259px;
}
.home-smm-images .home-smm-img:last-child {
  width: 201px;
}

.sidebar-vk-preview {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid #f0f0f0;
}

/* ===== СПИСОК ПОСТОВ ===== */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Хаб категории: 2 карточки в ряд */
.blog-posts--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
/* Превью соцсетей в сайдбаре хаба */
.hub-smm-preview {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .blog-posts--grid { grid-template-columns: 1fr; }
}

/* Карточка поста */
.blog-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.blog-card:hover {
  box-shadow: none;
}

/* Обёртка изображения: скругление только сверху (30px), снизу прямое */
.blog-card__img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
  border-radius: 30px 30px 0 0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.03);
}

/* Полупрозрачный стикер с заголовком над фото (#582C4E, 66%) */
.blog-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(88, 44, 78, 0.66);
  padding: 16px 22px;
}

.blog-card__overlay-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.blog-card__overlay-excerpt {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* Мета под фото: слева дата + просмотры, справа автор */
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 0;
}

.blog-card__meta-left {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.blog-card__meta time,
.blog-card__views,
.blog-card__author {
  font-size: 13px;
  color: #9a9a9a;
}

.blog-card__views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card__author {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: right;
}

/* Кнопка "Смотреть ещё" */
.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.load-more-wrap a,
.blog-load-more a {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 2px solid var(--color-pink-btn);
  color: var(--color-pink-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s;
}

.load-more-wrap a:hover,
.blog-load-more a:hover {
  background: var(--color-pink-btn);
  color: var(--color-white);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  /* На мобилке в хабе оставляем только заголовок, остальное в сайдбаре скрываем */
  .blog-sidebar .sidebar-text,
  .blog-sidebar .home-socials-block,
  .blog-sidebar .sidebar-socials-block,
  .blog-sidebar .hub-smm-preview { display: none; }
  .blog-sidebar__title { margin-bottom: 6px; }
  .sidebar-divider { margin-bottom: 18px; }
}

@media (max-width: 560px) {
  .blog-card__overlay-title {
    font-size: 13px;
  }
}

/* ===== ОБЩИЕ СТИЛИ ДЛЯ ПОСТОВ ===== */
.single-page,
.article-page {
  padding: 32px 0 80px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.post-meta__sep { color: #ddd; }

.post-meta__views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 700px;
}

.post-hero {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.post-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Контент статьи */
.post-content {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: #555;
  max-width: 700px;
  margin-bottom: 48px;
}

/* Текст записи — по спецификации */
.post-content p,
.post-content li {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.post-content p { margin: 0 0 14px; line-height: 1.6; }

/* Ссылки в тексте статьи — розовым в стиле сайта, а не дефолтным синим */
.post-content a {
  color: var(--color-pink-btn);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content a:hover { opacity: 0.8; }

/* H2 — золотой, Open Sans 400, uppercase */
.post-content h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 18.75px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #E9C276;
  margin: 32px 0 14px;
}

/* H3 — розовый, Open Sans 700, uppercase */
.post-content h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 11.25px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #B561A1;
  margin: 24px 0 10px;
}

.post-content ul {
  padding-left: 20px;
  margin: 12px 0;
}

.post-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ===== Таблицы в тексте статьи (форматирование по умолчанию для контента блога) =====
   Таблицы приходят из редактора «сырыми» (голый <table><tr><td>, без thead/th) — стилизуем
   по структуре: первая строка = шапка. display:block + overflow-x:auto на самой таблице —
   на мобилке узкая таблица не ломает вёрстку страницы, а скроллится по горизонтали. */
.post-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.post-content table tbody { display: table; width: 100%; min-width: 480px; }
.post-content table td,
.post-content table th {
  width: auto;
  padding: 12px 16px;
  border: 1px solid var(--color-pink);
  text-align: left;
  vertical-align: top;
}
.post-content table tr:first-child td,
.post-content table tr:first-child th {
  background: var(--color-pink);
  color: #fff;
  font-weight: 700;
  border-color: var(--color-pink);
}
.post-content table tr:not(:first-child):nth-child(even) td { background: #fdf0f6; }
.post-content table tr:not(:first-child) td { color: #333; }
@media (max-width: 600px) {
  .post-content table { font-size: 13px; }
  .post-content table td, .post-content table th { padding: 10px 12px; }
}

/* Акцентные подзаголовки (розовые) */
.post-content .post-accent {
  color: var(--color-pink-btn);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 20px;
  display: block;
}

/* ===== КАРТОЧКИ ТОВАРОВ ===== */
.post-products {
  margin: 0 0 56px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.product-card {
  position: relative;
  background: white;
  border-radius: 41px 41px 0 0;
  box-shadow: 0px 3px 3px 0px #00000040;
  overflow: hidden;
  display: block;
}

.product-card__img-wrap {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 132%;
  overflow: hidden;
  position: relative;
}

.product-card__img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s;
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: none;
  border: none;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.product-card__wishlist img {
  width: 32px;
  height: 32px;
  display: block;
}

.product-card__wishlist:hover {
  opacity: 0.75;
}

/* Активное состояние — иконка подменяется на izbrannoe-like.svg (через JS/PHP), фильтр не нужен */
.product-card__wishlist.wishlist-active img,
.product-card__wishlist.exists img {
  filter: none;
  opacity: 1;
}

/* single product page — иконка подменяется на izbrannoe-like.svg */
.product-wishlist-btn.wishlist-active img,
.product-wishlist-btn.exists img {
  filter: none;
  opacity: 1;
}

.product-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 4px 6px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  z-index: 2;
}

.product-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: nowrap;
}

.product-card__desc {
  font-size: 11px;
  color: #b0a8a8;
  line-height: 1.45;
  overflow: hidden;
  max-height: 0;
  margin: 0;
  transition: max-height 0.3s ease, margin 0.3s ease;
}
.product-card:hover .product-card__desc {
  max-height: 64px;
  margin: 2px 0 4px;
}

.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
}

.product-card__name {
  font-size: 11px;
  color: #939393;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: white-space 0s 0.18s;
}

.product-card:hover .product-card__name {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  transition: none;
}

.product-card__name::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.product-card__price {
  font-size: 14px;
  font-weight: 400;
  color: #939393;
  text-align: right;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  flex-shrink: 0;
}

.product-card__price del {
  font-size: 10px;
  font-weight: 400;
  color: #bbb;
  text-decoration: line-through;
}

.product-card__price ins {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #E94E87; /* акционная цена — розовая */
}

.product-card__price del .woocommerce-Price-amount,
.product-card__price ins .woocommerce-Price-amount {
  color: inherit;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-add-cart {
  position: relative;
  z-index: 2;
  flex: 0 0 66%;
  display: block;
  text-align: center;
  padding: 5px 0;
  background: var(--color-pink-btn);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
  border: none;
  border-radius: 40px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  box-sizing: border-box;
  cursor: pointer;
}

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

.btn-add-cart.added {
  background: #b8b8b8;
  cursor: default;
}

/* «Нет в наличии» вместо кнопки в карточке */
.btn-add-cart--oos {
  background: #c9c9c9;
  cursor: default;
}
.btn-add-cart--oos:hover { opacity: 1; }
/* «Нет в наличии» на странице товара */
.btn-cart-big--oos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c9c9c9 !important;
  color: var(--color-white);
  cursor: default;
}
.btn-cart-big--oos:hover { background: #c9c9c9 !important; }

/* Кнопка «Узнать о наличии» — рядом с «Нет в наличии», те же размеры, радиус крупнее */
.btn-subscribe-oos {
  flex: 1 1 100%;               /* переносится под кнопку «нет в наличии» на всю ширину */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 0;             /* как у .btn-cart-big / --oos */
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  border-radius: 999px;        /* радиус больше — полная пилюля */
  background: var(--color-pink-btn);
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.btn-subscribe-oos:hover { background: var(--color-pink); }
.btn-subscribe-oos img { display: block; filter: brightness(0) invert(1); }

.btn-one-click {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-align: center;
  padding: 6px 8px;
  background: rgba(233,194,118,1);
  color: rgba(255,255,255,1);
  font-size: 10px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  border: none;
}

.btn-one-click:hover {
  opacity: 0.85;
}

.products-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-outline {
  display: inline-block;
  padding: 13px 40px;
  border: 2px solid var(--color-pink-btn);
  color: var(--color-pink-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--color-pink-btn);
  color: var(--color-white);
}

/* ===== FAQ ===== */
.post-faq__title {
  font-size: 25px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  line-height: 1.4;
}

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

/* Каждый вопрос — в розовой скруглённой рамке (без серой черты) */
.faq-item {
  border: 1px solid #B561A1;
  border-radius: 30px;
  padding: 0 24px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-size: 15px;
  font-weight: 400;
  color: #939393;
  text-transform: uppercase;
}

.faq-question:hover {
  color: var(--color-pink-btn);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition: transform 0.25s;
  color: #B561A1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}

.faq-answer.open {
  max-height: 200px;
  padding-bottom: 16px;
}

.faq-answer p {
  font-size: 15px;
  color: #939393;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ===== НИЖНЯЯ СЕТКА (FAQ + читайте также) ===== */
.post-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.related-card {
  display: block;
  text-decoration: none;
  margin-bottom: 20px;
}

.related-card__img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/7;
}

.related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-pink-btn);
  padding: 12px 16px;
}

.related-card__overlay p {
  font-size: 13px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
}

.related-card__meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

/* ===== СТРАНИЦА СТАТЬИ ===== */
.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 90px;
  background: #fafafa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #eee;
}

.article-toc__title {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.toc-nav a {
  display: block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  padding: 5px 0;
  border-left: 2px solid #eee;
  padding-left: 10px;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.toc-nav a:hover,
.toc-nav a.active {
  color: var(--color-pink-btn);
  border-left-color: var(--color-pink-btn);
}

/* Нумерованные секции в статье */
.post-content--article h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  counter-increment: section;
  margin: 40px 0 14px;
  max-width: 100%;
}

.post-content--article h2::before {
  content: counter(section);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-pink);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.post-content--article {
  counter-reset: section;
  max-width: 100%;
}

/* Нижняя часть статьи */
.article-bottom-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--color-pink);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
}

/* Форма комментария */
.article-comment-form__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.article-bottom-top .post-faq__title {
  color: var(--color-white);
}

.article-bottom-top .faq-question {
  color: var(--color-white);
}

.article-bottom-top .faq-item {
  border-color: rgba(255,255,255,0.35);
}
.article-bottom-top .faq-icon {
  color: rgba(255,255,255,0.7);
}

.comment-field {
  margin-bottom: 12px;
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--color-white);
  outline: none;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.comment-field input::placeholder,
.comment-field textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: rgba(255,255,255,0.7);
}

.btn-pink {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-pink-btn);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s;
}

.btn-pink:hover {
  background: var(--color-pink);
}

/* Читайте также (статья) */
.article-related__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.related-card-v2 {
  display: block;
  text-decoration: none;
}

.related-card-v2__img-wrap {
  position: relative;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.related-card-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-v2__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 22px;
  background: rgba(88, 44, 78, 0.66);
}

.related-card-v2__overlay p {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.related-card-v2__meta {
  font-size: 13px;
  color: #9a9a9a;
  margin-top: 0;
  padding: 12px 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.related-card-v2__meta-left { display: inline-flex; align-items: center; gap: 16px; }
.related-card-v2__sep { display: none; }
.related-card-v2__views { display: inline-flex; align-items: center; gap: 5px; }
.related-card-v2__author { color: #9a9a9a; text-transform: uppercase; letter-spacing: 0.02em; text-align: right; }

/* ===== Рейтинг статьи (мини-блок) ===== */
.article-rating-box {
  margin: 18px 0 22px;
}
/* Обёртка на обычных страницах (перед футером) */
.cvetut-page-rating { margin: 8px auto 56px; }
.cvetut-page-rating .article-rating-box { margin: 0; }

.article-rating-box__label {
  display: block;
  font-family: 'Open Sans', var(--font-main);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #939393;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.article-rating-box__body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-rating-box__score {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #2b2b2b;
}

.article-rating-box__right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-rating-box__count {
  font-size: 12px;
  color: #939393;
}

/* Звёзды с частичной заливкой */
.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.rating-stars__bg {
  color: #e0e0e0;
}

.rating-stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--pct, 100%);
  overflow: hidden;
  color: #E9C276;
  white-space: nowrap;
  transition: width 0.12s;
}
/* Кликабельные зоны звёзд (5 сегментов по 20%) */
.rating-stars__hit {
  position: absolute;
  top: 0; bottom: 0;
  width: 20%;
  padding: 0; margin: 0; border: none; background: none;
  cursor: pointer;
  z-index: 3;
}
.rating-stars__hit[data-val="1"] { left: 0; }
.rating-stars__hit[data-val="2"] { left: 20%; }
.rating-stars__hit[data-val="3"] { left: 40%; }
.rating-stars__hit[data-val="4"] { left: 60%; }
.rating-stars__hit[data-val="5"] { left: 80%; }
.rating-stars:not(.rating-stars--voted) { cursor: pointer; }
.rating-stars--voted .rating-stars__hit { cursor: default; pointer-events: none; }

/* ===== FAQ на всю ширину ===== */
.post-faq--full {
  margin-top: 56px;
}

/* ===== Читайте также (на всю ширину) ===== */
.post-related-full {
  margin-top: 56px;
}

.post-related-full__title {
  font-size: 25px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  line-height: 1.4;
  text-transform: uppercase;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.related-card-v2__sep {
  color: #ccc;
}
.related-card-v2__views { display: inline-flex; align-items: center; gap: 4px; }

.related-card-v2__views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== ХАБ БЛОГА ===== */
.blog-hub-page {
  padding: 32px 0 80px;
}

.blog-hub__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.blog-hub__divider {
  width: 48px;
  height: 3px;
  background: var(--color-pink-btn);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* Фильтр категорий */
.blog-categories {
  display: flex;
  gap: 0;
  flex-direction: column;
  margin-bottom: 36px;
  max-width: 220px;
}

.blog-cat {
  display: block;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #eee;
  transition: color 0.2s;
}

.blog-cat:hover,
.blog-cat.active {
  color: var(--color-pink-btn);
}

/* Хаб: общая раскладка (сайдбар + сетка) */
.blog-hub-page .container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.blog-hub-page .breadcrumbs,
.blog-hub-page .blog-hub__title,
.blog-hub-page .blog-hub__divider,
.blog-hub-page .blog-categories {
  grid-column: 1;
}

.blog-hub-page .blog-hub-grid,
.blog-hub-page .blog-load-more {
  grid-column: 2;
  grid-row: span 1;
}

/* Сетка карточек 2 колонки */
.blog-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hub-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}

.hub-card:hover {
  box-shadow: 0 6px 20px rgba(180,97,161,0.15);
}

.hub-card__img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  text-decoration: none;
}

.hub-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.hub-card:hover .hub-card__img {
  transform: scale(1.03);
}

.hub-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-pink-btn);
  padding: 14px 18px;
}

.hub-card__overlay-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
}

.hub-card__meta {
  padding: 12px 16px;
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
}

.hub-card__views {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .article-layout,
  .blog-hub-page .container {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .blog-hub-page .breadcrumbs,
  .blog-hub-page .blog-hub__title,
  .blog-hub-page .blog-hub__divider,
  .blog-hub-page .blog-categories,
  .blog-hub-page .blog-hub-grid,
  .blog-hub-page .blog-load-more {
    grid-column: 1;
  }

  .blog-categories {
    flex-direction: row;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    border: none;
  }

  .blog-cat {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 6px 14px;
    border-bottom: 1px solid #eee;
  }

  .post-bottom-grid,
  .article-related-grid,
  .article-bottom-top {
    grid-template-columns: 1fr;
  }

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('assets/img/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.55);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 48px;
  padding-top: 80px;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__title {
  font-size: 72px;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.12em;
  line-height: 1;
}

.hero__sub {
  font-size: 25px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  margin-top: 16px;
}

.hero__badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
  text-align: center;
}

.hero-badge__num {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.hero-badge__label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Фильтр-строка */
.home-filter-row {
  background: var(--color-white);
  border-bottom: none;
  padding: 48px 0;
  position: relative;
}

.home-filter-inner {
  display: flex;
  align-items: center;
}

.home-review {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-review__stars { display: flex; gap: 2px; }

.home-review__score {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-dark);
}

.home-review__count {
  font-size: 12px;
  color: #aaa;
}

.home-review__cite {
  font-size: 12px;
  color: #888;
  max-width: 200px;
}

.home-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.home-tabs__arrow--prev {
  position: absolute;
  left: max(0px, calc(49% - 640px));
  top: 50%;
  transform: translateY(-50%);
}

.home-tabs__arrow--next {
  position: absolute;
  right: max(0px, calc(49% - 640px));
  top: 50%;
  transform: translateY(-50%);
}

.home-tabs__arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 10;
}

.home-tabs__arrow:hover { opacity: 1; }

.home-tabs {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}
.home-tabs::-webkit-scrollbar { display: none; }

.home-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 18px 26px;
  border-radius: 20px;
  background: #DB7FA1;
  color: white;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  border: none;
  /* Обычные плитки — фикс 200px ширина и 112px высота; первая — шире */
  flex: 0 0 200px;
  height: 112px;
  box-sizing: border-box;
  min-width: 0;
  scroll-snap-align: start;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.home-tabs .home-tab:first-child {
  flex: 0 0 calc((100% - 184px) / 3);
  margin-right: 20px;
}

.home-tab:hover { opacity: 0.85; color: white; text-decoration: none; }

.home-tab__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

/* Секции главной */
.home-section {
  padding: 90px 0 28px; /* нижний отступ — чтобы тени карточек не перекрывались следующим блоком */
}

.home-section--sale {
  padding-top: 16px;
  padding-bottom: 0;
}

.home-section--sale + .home-single-image {
  margin-top: 56px;
}







.home-section__link:hover { text-decoration: none; }

/* Сетка товаров на главной */


/* Ценовые табы */
.price-tab.active {
  opacity: 1;
}

/* Бейджи карточек */
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.product-card__badge--new  { background: none; border-radius: 0; padding: 0; width: 58px; height: auto; }
.product-card__badge--hit  { background: var(--color-pink); color: white; border-radius: 6px; padding: 3px 8px; width: auto; height: auto; }

/* ===== ОТЗЫВЫ ===== */
.home-reviews {
  padding: 64px 0;
}

.home-reviews__inner {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.home-reviews__cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-reviews__summary {
  flex: 0 0 360px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 41px;
  box-shadow: 0px 3px 3px 0px #00000040;
  padding: 36px 40px;
}

.home-reviews__brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.home-reviews__score {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-reviews__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.home-reviews__stars {
  display: flex;
  gap: 3px;
}

.home-reviews__stars svg {
  width: 22px;
  height: 22px;
}

.home-reviews__meta {
  font-size: 13px;
  color: #888;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 41px;
  box-shadow: 0px 3px 3px 0px #00000040;
  padding: 32px 36px;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DB7FA1;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.review-card__date {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-card__text {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}

/* ===== ИЗОБРАЖЕНИЕ НАД ЭТАПАМИ ===== */
.home-single-image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  /* 2/3 от исходной высоты (1440x552 → видимая высота 368) */
  aspect-ratio: 1440 / 368;
}

.home-single-image__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===== ЭТАПЫ ===== */
.home-steps {
  background: #ffffff;
  padding: 79px 0 64px;
  margin-top: 0;
}

.home-steps__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  text-align: left;
  color: #939393;
  text-transform: uppercase;
}

.steps-grid {
  display: flex;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  flex: 1;
  padding: 8px 40px 0px 0px;
  position: relative;
}

.step-card__num {
  font-family: 'Arsenal', sans-serif;
  font-size: 160px;
  font-weight: 400;
  color: #DB7FA1;
  line-height: 1;
  flex-shrink: 0;
  margin-left: -24px;
  margin-right: 8px;
  margin-top: -0.16em; /* компенсируем верхний leading шрифта — видимый верх цифры к верху заголовка */
}

.step-card__body {
  flex: 1;
  padding-top: 0; /* заголовок выравниваем по верхней границе цифры */
}

.step-card h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: #939393;
  text-transform: uppercase;
}

.step-card p {
  font-size: 15px;
  color: #939393;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ===== О КОМПАНИИ ===== */
.home-about {
  display: flex;
  min-height: 380px;
  overflow: hidden;
  margin-top: 56px;
}

.home-about__text {
  background: var(--color-ticker);
  padding: 56px 48px 56px max(24px, calc((100vw - 1280px) / 2 + 24px));
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* контент к верхней границе блока */
  gap: 28px;
}

.home-about__text h2,
.home-about__text h1 {
  font-size: 20px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.06em;
}

.home-about__text p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.9;
}

.home-about__photo {
  flex: 0 0 62%;
  overflow: hidden;
}

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

/* ===== ГАРАНТИИ ===== */
.home-guarantees {
  padding: 64px 0;
}

.home-guarantees__title {
  font-size: 25px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: 24% 1fr 1fr;
  gap: 16px;
}

.guarantee-photo {
  border-radius: 41px;
  overflow: hidden;
  min-height: 220px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.guarantee-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196, 196, 196, 0.27);
}

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

.guarantee-photo--wide {
  grid-column: 3;
}

.guarantee-card {
  padding: 56px 48px 56px 56px;
  border: 1px solid rgba(0, 0, 0, 0.20);
  border-radius: 48px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.guarantee-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.guarantee-card--span {
  grid-column: 1 / 3;
}

.guarantee-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.guarantee-card__img {
  flex: 1;
  min-width: 0;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

.guarantee-card h3 {
  flex: 2;
  font-size: 25px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guarantee-card p {
  font-size: 15px;
  color: #939393;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ===== КАК ВЫБРАТЬ ===== */
.home-howto {
  display: flex;
  min-height: 480px;
  overflow: hidden;
}

.home-howto__left {
  background: #C5698B;
  padding: 56px 48px 56px max(24px, calc((100vw - 1280px) / 2 + 24px));
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* «Как выбрать букет?» к верхней границе блока */
  gap: 24px;
}

.home-howto__right {
  background: #DB7FA1;
  padding: 56px max(24px, calc((100vw - 1280px) / 2 + 24px)) 56px 48px;
  flex: 0 0 62%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* аккордеон к верхней границе, в уровень с заголовком слева */
  gap: 24px;
}

.home-howto__title {
  font-size: 20px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Аккордеон "Как выбрать букет" */
.howto-item {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.howto-item:last-child { border-bottom: none; }

.howto-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 0;
  color: white;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.howto-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: white;
}
.howto-question[aria-expanded="true"] .howto-icon {
  transform: rotate(180deg);
}

.howto-answer {
  display: none;
  padding-bottom: 18px;
}
.howto-answer.open { display: block; }

.howto-answer p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin: 0;
}

/* FAQ + соцсети */
.home-faq-row { padding: 64px 0; }

.home-faq-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 165px;
  align-items: start;
}

.home-socials__title {
  font-size: 25px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.home-vk-widget {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
}

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

.catalog-page__title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #939393;
}

.catalog-page__divider {
  margin-bottom: 28px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-sidebar__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.catalog-cats {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.catalog-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 400;
  color: #939393;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #ebebeb;
  transition: color 0.2s;
}

.catalog-cat:hover,
.catalog-cat.active { color: var(--color-pink-btn); }

.catalog-cat.active {
  font-weight: 600;
  border-bottom: 2px solid var(--color-pink-btn);
}

.catalog-subcat.active {
  border-bottom: 2px solid var(--color-pink-btn);
}

.catalog-cat__icon { font-size: 18px; flex-shrink: 0; }

.catalog-cat__arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #E94E87;
  transition: transform 0.25s;
}

.catalog-cat-item.open .catalog-cat__arrow { transform: rotate(180deg); }

.catalog-subcats {
  list-style: none;
  padding-left: 32px;
  display: none;
}

.catalog-cat-item.open .catalog-subcats { display: block; }

.catalog-subcat {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.2s;
}

.catalog-subcat:hover,
.catalog-subcat.active { color: var(--color-pink-btn); }

/* Фильтр-теги каталога */
.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}

.filter-tag:hover { border-color: var(--color-pink-btn); color: var(--color-pink-btn); }
.filter-tag--sale  { color: var(--color-pink-btn); border-color: var(--color-pink-btn); }
.filter-tag--hit   { color: var(--color-ticker);   border-color: var(--color-ticker); }

/* Dropdown-фильтры (archive-product) */
.filter-pill { position: relative; }

.filter-pill__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: white;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #939393;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  outline: none;
}
.filter-pill__btn:focus,
.filter-pill__btn:focus-visible { outline: none; box-shadow: none; }

.filter-pill__btn:hover,
.filter-pill.open .filter-pill__btn { border-color: #939393; color: #939393; }

.filter-pill__btn--active { border-color: #e0e0e0; color: #939393; background: white; }

.filter-pill__value { color: #b461a1; font-weight: 400; text-transform: uppercase; }
.filter-pill__value.is-hidden { display: none; }

.filter-pill__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  z-index: 100;
  overflow: hidden;
}
.filter-pill__dropdown.opens-left { left: auto; right: 0; }

.filter-pill.open .filter-pill__dropdown { display: block; }

.filter-pill__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.filter-pill__dropdown a:hover,
.filter-pill__dropdown a.active { background: #fdf0f6; color: var(--color-pink-btn); }

.filter-pill__dropdown--wide { min-width: 240px; }

.price-filter-form { padding: 16px; }

.price-filter-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.price-filter-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #888;
}

.price-filter-inputs input {
  width: 80px;
  padding: 6px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
}

.filter-apply-btn {
  width: 100%;
  padding: 8px;
  background: var(--color-pink-btn);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.filter-apply-btn:hover { opacity: 0.85; }

.filter-reset-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
}

.filter-reset-link:hover { color: var(--color-pink-btn); }
.filter-reset-link.is-hidden { display: none; }

/* Filter form wrapper */
.filter-form { padding: 16px 16px 12px; }

/* ── RANGE SLIDER (dual-thumb) ── */
.range-slider {
  position: relative;
  padding-bottom: 40px;
  margin: 8px 0 6px;
}
.range-slider__track {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
  pointer-events: none;
}
.range-slider__fill {
  position: absolute;
  height: 100%;
  background: var(--color-pink);
  border-radius: 2px;
}
.range-thumb {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 3;
  margin: 0;
  padding: 0;
}
.range-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-pink);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.range-thumb::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-pink);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
  padding-top: 4px;
  margin-bottom: 14px;
  font-weight: 500;
}

/* ── FILTER CHIPS ── */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 12px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.filter-chip input[type="checkbox"] { display: none; }
.filter-chip:hover { border-color: var(--color-pink); color: var(--color-pink); }
.filter-chip--active {
  background: #fdf0f6;
  border-color: var(--color-pink);
  color: var(--color-pink);
  font-weight: 600;
}

/* ── COLOR SWATCHES ── */
.filter-colors {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
}
.filter-color-swatch {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 6px;
  transition: background 0.15s;
}
.filter-color-swatch:hover { background: #f5f0f8; }
.filter-color-swatch input[type="checkbox"] { display: none; }
.filter-color-swatch__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  transition: border-color 0.15s;
}
.filter-color-swatch:hover .filter-color-swatch__box,
.filter-color-swatch--active .filter-color-swatch__box {
  border-color: var(--color-pink);
}
.filter-color-swatch__name {
  font-size: 12px;
  color: #555;
  white-space: nowrap;
  line-height: 1.3;
}
.filter-color-swatch--active .filter-color-swatch__name { color: var(--color-pink); font-weight: 600; }

/* Reset-all pill */
.filter-pill__btn--reset { border-color: var(--color-pink); color: var(--color-pink-btn); background: #fdf0f6; }
.filter-pill__btn--reset:hover { background: var(--color-pink-btn); color: #fff; border-color: var(--color-pink-btn); }
.filter-pill__btn--reset.is-hidden { display: none; }

/* ── MOBILE FILTER BAR ── */
.filter-mobile-bar {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-mobile-trigger {
  flex: 0 0 calc(50% - 6px);   /* ширина = одна карточка каталога (2 кол. + gap 12px) */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-pink-btn);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 9px 18px;   /* высота как у пилюль «ЦЕНА»/сортировки; ширина/цвет/размер не трогаем */
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s;
}
.filter-mobile-trigger:active { opacity: 0.85; }

.filter-trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #fff;
  color: var(--color-pink-btn);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* pill buttons on mobile bar */
.filter-pill--mb { flex-shrink: 0; }
.filter-pill--mb .filter-pill__btn { padding: 9px 12px; font-size: 12px; }
/* Иконка сортировки вместо текста (моб. бар) — высота/стиль как у «ЦЕНА» */
.filter-pill--sort-ico .filter-pill__btn { gap: 0; }
.filter-pill--sort-ico .filter-pill__btn svg { display: block; }
.filter-pill--mb .filter-pill__dropdown {
  min-width: 160px;
  max-width: 260px;
}

/* ── MOBILE SLIDE-IN PANEL ── */
.filter-mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}
.filter-mobile-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.filter-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.filter-mobile-panel.open .filter-panel-overlay { opacity: 1; }

.filter-panel-drawer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.14);
}
.filter-mobile-panel.open .filter-panel-drawer { transform: translateX(0); }

/* Panel header */
.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.filter-panel-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #333;
}
.filter-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.filter-panel-close:hover { color: #333; }

/* Panel body (scrollable) */
.filter-panel-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Section */
.filter-panel-section {
  border-bottom: 1px solid #f4f4f4;
}
.filter-panel-section--inline {
  padding: 14px 18px;
}
.filter-panel-section__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-align: left;
}
.filter-panel-section__head .fp-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: #aaa;
}
.filter-panel-section.open .filter-panel-section__head .fp-chevron {
  transform: rotate(180deg);
}
.filter-panel-section__body {
  display: none;
  padding: 4px 18px 14px;
}
.filter-panel-section.open .filter-panel-section__body { display: block; }

/* Panel chips */
.filter-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-panel-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  user-select: none;
  -webkit-user-select: none;
}
.filter-panel-chip:active { opacity: 0.8; }
.filter-panel-chip.active {
  background: #fdf0f6;
  border-color: var(--color-pink-btn);
  color: var(--color-pink-btn);
  font-weight: 600;
}
.filter-panel-chip--sale { border-color: var(--color-pink-btn); color: var(--color-pink-btn); }
.filter-panel-chip--sale.active { background: var(--color-pink-btn); color: #fff; }

/* Panel swatches */
.filter-panel-swatches {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-panel-swatch {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.filter-panel-swatch:hover { background: #f5f0f8; }
.filter-panel-swatch__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  transition: border-color 0.15s;
}
.filter-panel-swatch.active .filter-panel-swatch__box,
.filter-panel-swatch:active .filter-panel-swatch__box {
  border-color: var(--color-pink-btn);
}
.filter-panel-swatch__name {
  font-size: 13px;
  color: #444;
  white-space: nowrap;
}
.filter-panel-swatch.active .filter-panel-swatch__name { color: var(--color-pink-btn); font-weight: 600; }

/* Panel footer */
.filter-panel-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  background: #fff;
}
.filter-panel-count {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  text-align: center;
}
.filter-panel-actions {
  display: flex;
  gap: 8px;
}
.filter-panel-reset {
  flex: 0 0 auto;
  padding: 10px 16px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.filter-panel-reset:hover { border-color: #c0392b; color: #c0392b; }
.filter-panel-apply {
  flex: 1;
  padding: 10px;
  background: var(--color-pink-btn);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.filter-panel-apply:active { opacity: 0.85; }

/* Loading state on grid */
.catalog-products-loading { opacity: 0.45; pointer-events: none; transition: opacity 0.2s; }

/* Body scroll lock */
body.filter-panel-open { overflow: hidden; }

/* ── SHOW / HIDE on breakpoints ── */
@media (max-width: 767px) {
  .filter-mobile-bar    { display: flex; }
  .catalog-filters--desktop { display: none !important; }
}

@media (min-width: 768px) {
  .filter-mobile-panel  { display: none !important; }
  .filter-mobile-bar    { display: none !important; }
}

/* Sidebar divider */
.sidebar-divider {
  width: 250px;
  height: 3px;
  background: #E94E87;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* Category icon: WC thumbnail */
.catalog-cat__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

/* Load more button (catalog) */
.load-more-btn {
  padding: 14px 48px;
  background: #DB7FA1;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  transition: opacity 0.2s;
}

.load-more-btn:hover { opacity: 0.85; }
.load-more-btn:disabled { opacity: 0.6; cursor: wait; }

.load-more-wrap--catalog {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}


/* ===== КАРТОЧКА ТОВАРА ===== */
.product-page { padding: 32px 0 80px; }

.product-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

/* Инфо-область: шапка (заголовок+цена) на всю ширину + две колонки */
.product-info__header { margin-bottom: 8px; }

.product-info__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.product-info__col { min-width: 0; }

/* Кнопки в столбик (колонка узкая) */
.product-info__col--main .product-info__actions {
  flex-direction: column;
  gap: 10px;
}

/* ===== Адаптив страницы товара ===== */
@media (max-width: 1100px) {
  .product-layout { gap: 32px; }
  .product-info__cols { gap: 24px; }
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { max-width: 480px; }
}
@media (max-width: 768px) {
  .product-info__cols { grid-template-columns: 1fr; gap: 26px; }
}

/* Галерея */
.product-gallery__main {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.product-gallery__main-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.15s ease, opacity 0.3s;
}

.product-gallery__main { cursor: zoom-in; overflow: hidden; }
.product-gallery__main:hover .product-gallery__main-img {
  transform: scale(2.2);
}

/* Лайтбокс */
.product-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.product-lightbox.open { display: flex; }
.product-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}
.product-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.product-lightbox__close:hover { opacity: 1; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.35);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.gallery-arrow:hover { background: rgba(255,255,255,0.65); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

/* Стикер «Акция» — левый верхний угол (симметрично избранному) */
.product-gallery__sale {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  z-index: 3;
  object-fit: contain;
}

.product-wishlist-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  text-decoration: none;
  transition: opacity 0.2s;
}
.product-wishlist-btn img { width: 44px; height: 44px; display: block; }
.product-wishlist-btn:hover { opacity: 0.75; }

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.thumb-btn {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.45;
  transition: opacity 0.2s;
  background: none;
}

.thumb-btn.active,
.thumb-btn:hover { opacity: 1; }

/* Розовая точка под активной миниатюрой */
.thumb-btn.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-pink-btn);
}

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

.gallery-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.2s;
}

.gallery-dot.active { background: var(--color-pink-btn); }

/* Инфо о товаре */
.product-info__title {
  font-size: 28px;
  font-weight: 400;
  color: #939393;
  margin-bottom: 34px; /* отступ до цены ~ одна строка */
  line-height: 1.2;
  text-transform: uppercase;
}

.product-info__price {
  font-size: 32px;
  font-weight: 700;
  color: #939393;
  margin-bottom: 24px;
}

.product-info__price .woocommerce-Price-amount { color: #939393; }
.product-info__price del { color: #bbb; font-size: 20px; margin-right: 8px; }
.product-info__price ins,
.product-info__price ins .woocommerce-Price-amount { text-decoration: none; color: #E94E87; } /* акционная цена — розовая */

.product-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-cart-big {
  flex: 1;
  display: block;
  text-align: center;
  padding: 11px 0;
  background: var(--color-pink-btn);
  color: white;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.btn-cart-big:hover { background: var(--color-pink); }

/* Кнопка товара после добавления: [−] ПРОСМОТР КОРЗИНЫ [+] */
.btn-cart-big--qty {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.btn-cart-big--qty:hover { background: var(--color-pink-btn); }
.btn-cart-qty__view {
  flex: 1;
  text-align: center;
  align-self: center;
  padding: 11px 4px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.btn-cart-qty__view:hover { color: #fff; }
.btn-cart-qty__btn {
  flex: 0 0 46px;
  background: rgba(0, 0, 0, 0.13);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-cart-qty__btn:hover { background: rgba(0, 0, 0, 0.22); }

/* Сноска о бесплатной доставке */
.cart-totals__free-note {
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-pink);
  margin: -2px 0 6px;
}

.btn-oneclick-big {
  flex: 1;
  display: block;
  text-align: center;
  padding: 11px 0;
  background: var(--color-ticker);
  color: white;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-main);
  transition: background 0.2s;
}

.btn-oneclick-big:hover { opacity: 0.9; }
.btn-oneclick-big:focus { outline: none; }

/* Состав */
.product-composition {
  margin-bottom: 24px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.product-composition__title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: #939393;
  text-transform: uppercase;
}

.product-composition__text {
  font-size: 13px;
  color: #939393;
  line-height: 1.8;
  text-transform: uppercase;
}

/* Слоты доставки */
.delivery-slots {
  margin-bottom: 24px;
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 16px 20px;
}

.delivery-slots__title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #939393;
  text-transform: uppercase;
}

.delivery-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}

.delivery-slot:last-child { border-bottom: none; }

.delivery-slot__time { color: #939393; text-transform: uppercase; }

.delivery-slot__price {
  font-weight: 400;
  color: #939393;
}

.delivery-slots__zone { font-size: 11px; color: #b0a8a8; text-transform: none; }
.delivery-slots__note {
  font-size: 11px;
  color: #b0a8a8;
  margin: 10px 0 0;
  line-height: 1.4;
}
.delivery-slots__note a { color: var(--color-pink-btn); }

/* Аккордеон на странице товара — без обрамления (в макете рамок нет; пилюли остаются только в FAQ) */
.product-accordion { margin-top: 8px; }
.product-accordion .faq-list { gap: 0; }
.product-accordion .faq-item {
  border: none;
  border-radius: 0;
  padding: 0;
}
.product-accordion .faq-question { padding: 14px 0; }
.product-accordion .faq-answer.open { padding-bottom: 14px; }

/* Рекомендуем */
.product-full-desc {
  margin: 40px 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
.product-full-desc p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 10px;
}
.product-full-desc p:last-child { margin-bottom: 0; }
/* Стилизация списков и форматирования в полном описании (HTML из импорта) */
.product-full-desc ul,
.product-full-desc ol {
  margin: 10px 0;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}
.product-full-desc ul { list-style: disc; }
.product-full-desc ol { list-style: decimal; }
.product-full-desc li { margin: 4px 0; padding-left: 2px; }
.product-full-desc li::marker { color: var(--color-pink); }
.product-full-desc strong, .product-full-desc b { font-weight: 600; color: #444; }
.product-full-desc a { color: var(--color-pink-btn); text-decoration: underline; }
.product-full-desc h3, .product-full-desc h4 { color: #444; margin: 16px 0 8px; font-weight: 600; }
.product-full-desc br { line-height: 1.7; }
/* То же для блока СОСТАВ (если описание выводится там) */
.product-composition__text ul,
.product-composition__text ol { margin: 8px 0; padding-left: 22px; }
.product-composition__text ul { list-style: disc; }
.product-composition__text ol { list-style: decimal; }
.product-composition__text li { margin: 3px 0; }
.product-composition__text li::marker { color: var(--color-pink); }

.product-related {
  position: relative;
  margin-bottom: 40px;
}

.product-related__title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: #939393;
  text-transform: uppercase;
}

.product-related__slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* overflow-x:auto обрезает вертикальную тень карточек — даём ей место снизу */
  padding-bottom: 16px;
}
.product-related__slider::-webkit-scrollbar { display: none; }
.product-related__slider .product-card {
  flex: 0 0 calc(20% - 13px);
  min-width: 140px;
}

.product-card--slim .product-card__img-wrap {
  padding-bottom: 100%;
  border-radius: 10px;
}

.related-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #E94E87;
  transition: opacity 0.2s;
}
.related-arrow:hover { opacity: 0.7; }
.related-arrow--prev { left: -52px; }
.related-arrow--next { right: -52px; }

/* ===== МОБИЛЬНАЯ ШАПКА ===== */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-dark);
}

/* ===== Мобильное меню — выезжающий drawer ===== */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 20, 35, 0.45);
  z-index: 998;
}

.mobile-menu__drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
  animation: mmSlideIn 0.22s ease;
}
@keyframes mmSlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* Шапка — градиент в фирменных тонах */
.mobile-menu__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 20px;
  background: linear-gradient(120deg, #a14d8f 0%, #c46bab 60%, #d27ab6 100%);
}
.mobile-menu__brand { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__logo {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1;
}
.mobile-menu__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 2px;
  line-height: 0;
  flex-shrink: 0;
}

.mobile-menu__nav { padding: 6px 20px; flex: 1; }

.mm-nav { list-style: none; margin: 0; padding: 0; }
.mm-item { border-bottom: 1px solid #f1e7ee; }
.mm-item:last-child { border-bottom: none; }

/* Пункт верхнего уровня */
.mm-link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 2px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3a3a3a;
  text-decoration: none;
}
.mm-ico { flex-shrink: 0; color: var(--color-pink); display: inline-flex; }
.mm-label { flex: 1; min-width: 0; }
.mm-arrow { flex-shrink: 0; color: #c98fbc; display: inline-flex; transition: transform 0.2s; }
.mm-item--has.mm-open > .mm-toggle .mm-arrow { transform: rotate(90deg); color: var(--color-pink); }
.mm-item--has.mm-open > .mm-toggle .mm-label { color: var(--color-pink); }

/* Раскрывающийся список категорий */
.mm-sub { display: none; padding: 2px 0 12px 38px; }
.mm-item--has.mm-open > .mm-sub { display: block; }

.mm-cat {
  display: block;
  padding: 11px 2px;
  font-size: 15px;
  color: #3a3a3a;
  text-decoration: none;
}
.mm-cat:hover { color: var(--color-pink-btn); }

/* Категория с подкатегориями (аккордеон 2-го уровня) */
.mm-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  color: #3a3a3a;
  text-align: left;
}
.mm-cat__head .mm-chev { color: #c98fbc; transition: transform 0.2s; }
.mm-cat--has.mm-open > .mm-cat__head { color: var(--color-pink); font-weight: 600; }
.mm-cat--has.mm-open > .mm-cat__head .mm-chev { transform: rotate(-90deg); color: var(--color-pink); }

/* Список подкатегорий — таймлайн в розовой плашке */
.mm-subcats {
  display: none;
  list-style: none;
  margin: 4px 0 8px;
  padding: 10px 14px 10px 4px;
  background: #fbf1f7;
  border-radius: 14px;
}
.mm-cat--has.mm-open > .mm-subcats { display: block; }
.mm-subcats li {
  position: relative;
  padding: 9px 0 9px 24px;
}
.mm-subcats li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--color-pink);
  z-index: 1;
}
.mm-subcats li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 50%;
  bottom: -9px;
  width: 1px;
  background: #e7b9d6;
}
.mm-subcats a {
  font-size: 14px;
  color: #5a5a5a;
  text-decoration: none;
}
.mm-subcats a:hover { color: var(--color-pink-btn); }

/* Подвал */
.mobile-menu__foot {
  padding: 22px;
  background: #fdeef6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.mobile-menu__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 700;
  color: var(--color-pink);
  text-decoration: none;
}
.mobile-menu__hours { font-size: 13px; color: #9a8a93; }

/* Нижняя мобильная панель */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  z-index: 100;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}

.mobile-bottom-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 4px 8px;
}

.mobile-bar-btn:hover,
.mobile-bar-btn.active { color: var(--color-pink-btn); }

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
  .products-grid--home,
  
  .product-related__slider { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .hero__title { font-size: 48px; }
  .hero__inner { flex-direction: column; align-items: flex-start; }

  .catalog-layout,
  .home-faq-inner { grid-template-columns: 1fr; }

  .catalog-sidebar { display: none; } /* показывать по кнопке */
}


  /* ===== ВЕРХНЯЯ СТРОКА КОНТАКТОВ ===== */
.header-topbar {
  background: url('svg/header-main.svg') center / cover no-repeat;
  position: relative;
  padding: 10px 0;
}

.header-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-topbar__phone {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-white);
  text-decoration: underline;
  letter-spacing: 0.02em;
}

.header-topbar__phone:hover { color: var(--color-pink-btn); }

.topbar-socials {
  display: flex;
  gap: 8px;
}

.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.topbar-social img {
  width: 22px;
  height: 22px;
  display: block;
}

.topbar-social:hover { transform: scale(1.18); }

.header-topbar__right {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.header-topbar__right a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.header-topbar__right a:hover { color: white; }

/* ===== ОСНОВНАЯ ШАПКА (розовая) ===== */
.site-header {
  background: var(--color-pink); /* #b461a1 */
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(180,97,161,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  height: 86px;
}

/* Логотип белый */
.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.12em;
}

.header-logo a:hover .logo-text {
  opacity: 0.85;
}

/* Навигация белая */
.nav-list a {
  color: var(--color-white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.nav-list a:hover {
  color: rgba(255,255,255,0.75);
}

/* Иконки белые */
.icon-btn {
  color: var(--color-white);
}

.icon-btn:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.15);
}

.cart-count {
  background: #6F7651;
}

/* Телефон в шапке (скрыт на десктопе, только иконка) */
.header-contacts {
  display: none; /* контакты перенесли в топбар */
}

/* ===== HERO — текст по центру ===== */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
  gap: 12px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title-svg {
  max-width: 586px;
  width: 100%;
  height: auto;
}

.hero__title {
  font-size: 96px;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__sub {
  font-size: 21px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.1em;
  margin-top: 24px;
  font-weight: 400;
}

.hero__badges {
  display: none; /* на главной убираем, они ниже отдельной строкой */
}

/* ===== СТРОКА ПРЕИМУЩЕСТВ ПОД HERO ===== */
.hero-benefits {
  background: white;
  padding: 48px 0;
}

.hero-benefits__inner {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex: 1;
  padding: 8px 40px 0px 0px;
}

.hero-benefit__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  line-height: 2.24;
  flex: 5;
}

.hero-benefit__svg {
  height: 64px;
  width: auto;
  flex: 1;
  object-fit: contain;
}

/* ===== HOME SECTION LAYOUT ===== */
.home-section .container {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.home-section__head {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 8px;
}

.home-section__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #939393;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.home-section__link {
  display: inline-block;
  padding: 9px 22px;
  border: none;
  border-radius: 40px;
  background: #DB7FA1;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.home-section__link:hover {
  opacity: 0.85;
  color: #fff;
}

/* Правая часть блока: товары + кнопка «СМОТРЕТЬ ЕЩЁ» под ними по центру */
.home-section__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* ПК: «СМОТРЕТЬ ЕЩЁ» в колонке заголовка (head); нижняя кнопка скрыта */
.home-section__more {
  display: none;
  justify-content: center;
}
.home-section__link--desk { display: inline-block; }
/* Моб (≤900): кнопка — под товарами по центру, из head скрыта */
@media (max-width: 900px) {
  .home-section__link--desk { display: none; }
  .home-section__more { display: flex; margin-top: 4px; }
}

.products-grid--home {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .home-section .container { flex-direction: column; gap: 16px; }
  .home-section__head {
    flex: auto; width: 100%;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding-top: 0;
  }
  .products-grid--home {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 480px) {
  .products-grid--home {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    border-radius: 30px 30px 0 0;
  }
}

/* catalog page: same grid rules as products-grid--home */
.products-grid--catalog {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .products-grid--catalog {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .products-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ===== CARD BODY ON MOBILE ===== */

/* ≤900px — переход на 2 колонки, уже нужна более крупная типографика */
@media (max-width: 900px) {
  .product-card__body {
    padding: 6px 8px 10px;
    gap: 6px;
  }
  /* Свёрнутый вид как на ПК: название в одну строку, состав скрыт */
  .product-card__name {
    font-size: 12px;
  }
  .product-card__price,
  .product-card__price ins {
    font-size: 13px;
  }
  .btn-add-cart {
    padding: 8px 6px;
    font-size: 11px;
  }
  .btn-one-click {
    font-size: 10px;
    padding: 4px 7px;
  }
}

/* ≤600px — небольшой телефон */
@media (max-width: 600px) {
  .post-related-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    border-radius: 30px 30px 0 0;
  }
  .product-card__body {
    padding: 5px 7px 9px;
    gap: 5px;
  }
  .product-card__title-row {
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
  }
  .product-card__name {
    font-size: 11px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
    display: block;
  }
  .product-card--expanded .product-card__name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Раскрытая по тапу карточка показывает состав — как ховер на ПК */
  .product-card--expanded .product-card__desc {
    max-height: 60px;
    margin: 2px 0 4px;
  }
  .btn-one-click {
    font-size: 9px;
    padding: 3px 6px;
    flex-shrink: 0;
  }
  .product-card__bottom {
    gap: 5px;
  }
  /* «В корзину» — фиксированный размер (не тянется по цене), корзина под заголовком */
  .btn-add-cart {
    flex: 0 0 62%;
    width: 62%;
    padding: 6px 4px;   /* высота меньше, шрифт не трогаем */
    font-size: 10px;
    line-height: 1.2;
  }
  /* цена занимает правую колонку, в уровень с «В 1 клик» сверху */
  .product-card__bottom .product-card__price { flex: 1; }
  .product-card__price,
  .product-card__price ins {
    font-size: 12px;
  }
  .product-card__price del {
    font-size: 10px;
  }
}

/* ≤400px — самые узкие экраны */
@media (max-width: 400px) {
  .product-card__body {
    padding: 4px 6px 8px;
  }
  .product-card__name {
    font-size: 10px;
  }
  .btn-add-cart {
    font-size: 9px;
    letter-spacing: 0;
  }
  .product-card__price,
  .product-card__price ins {
    font-size: 11px;
  }
}

/* ==========================================================
   АДАПТИВ ГЛАВНАЯ — КОМПЛЕКСНЫЙ
   ========================================================== */


/* ── 900px: планшет ── */
@media (max-width: 900px) {

  /* Контейнер */
  .container { padding: 0 16px; }

  /* Топбар: скрываем полностью */
  .header-topbar { display: none; }

  /* Шапка: прячем nav, показываем бургер */
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .header-inner { height: 84px; gap: 0; justify-content: flex-start; }
  .burger-btn { margin-right: 6px; flex-shrink: 0; }
  .burger-btn svg { width: 48px; height: 48px; }
  .header-logo { flex: 1; display: flex; justify-content: center; }
  .header-icons { flex-shrink: 0; }

  /* Бегущая строка */
  .ticker-track span { font-size: 19px; font-family: 'Arsenal';}
  .ticker-wrap { padding: 3px 0; }

  /* Hero */
  .hero__title-svg { max-width: 286px; }
  .hero__sub { font-size: 18px; }

  /* Блок преимуществ */
  .hero-benefit { padding: 8px 20px; gap: 14px; }
  .hero-benefit__svg { height: 48px; }
  .hero-benefit__label { font-size: 13px; max-width: 130px; }

  /* Табы категорий */
  .home-tabs__arrow img { width: 10px; height: 24px; }
  .home-tabs { overflow-x: auto; scrollbar-width: none; }
  .home-tabs::-webkit-scrollbar { display: none; }
  .home-tab { padding: 10px 12px; min-width: 88px; font-size: 12px; flex: 0 0 auto; }
  .home-tabs .home-tab:first-child { flex: 0 0 auto; min-width: 160px; }
  .home-tab__img { width: 40px; height: 40px; }

  /* Этапы: вертикально */
  .steps-grid { flex-direction: column; gap: 24px; }
  .home-steps { padding: 40px 0; margin-top: 0; }
  .step-card { flex: none; width: 100%; padding: 0; }

  /* О компании: стек */
  .home-about { flex-direction: column; }
  .home-about__text { flex: auto; padding: 40px 32px; }
  .home-about__photo { height: 300px; }
  .home-about__photo img { object-position: center 30%; }

  /* Гарантии: 1 колонка */
  .guarantees-grid { grid-template-columns: 1fr; gap: 12px; }
  .guarantee-photo--wide { grid-column: auto; }
  .guarantee-card--span { grid-column: auto; }

  /* Как выбрать: вертикально */
  .home-howto { flex-direction: column; }
  .home-howto__left,
  .home-howto__right { flex: none; width: 100%; padding: 40px 24px; }

  /* FAQ */
  .home-faq-inner { gap: 32px; }
}

/* ── 768px: планшет портрет / большой телефон ── */
@media (max-width: 768px) {

  /* Контейнер */
  .container { padding: 0 14px; }

  /* Топбар: прячем соцсети */
  .topbar-socials { display: none; }

  /* Бегущая строка */
  .ticker-track span { font-size: 14px; }

  /* Преимущества: строки (текст слева, иконка справа) */
  .hero-benefits__inner { flex-direction: column; gap: 0; }
  .hero-benefit {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    justify-content: space-between;
    gap: 16px;
    flex: none;
  }
  .hero-benefit:last-child { border-bottom: none; }
  /* текстовая зона = ширина двух первых табов, иконка = ширина третьего таба (по центру) */
  .hero-benefit__label { font-size: 13px; max-width: 66%; flex: 1 1 auto; line-height: 1.5; }
  .hero-benefit__svg { height: 48px; flex: 0 0 30%; max-width: 30%; width: 30%; object-fit: contain; object-position: center; margin: 0; }

  /* Табы */
  .home-tab { padding: 8px 10px; min-width: 76px; font-size: 12px; }
  .home-tab__img { width: 34px; height: 34px; }
  .home-tabs__arrow img { width: 20px; height: 20px; }

  /* Этапы */
  .step-card__num { font-size: 72px; }
  .home-steps__title { font-size: 20px; margin-bottom: 32px; }

  /* О компании */
  .home-about__text { padding: 32px 24px; }
  .home-about__text h2 { font-size: 18px; }
  .home-about__photo { height: 240px; }

  .home-guarantees { padding: 40px 0; }

  /* FAQ + соцсети */
  .home-faq-row { padding: 40px 0; }
  .home-faq-inner { flex-direction: column; }

  /* Футер */
  .footer-socials { flex-wrap: wrap; gap: 8px; }
}

/* ── 480px: смартфон ── */
@media (max-width: 480px) {

  /* Контейнер */
  .container { padding: 0 12px; }

  /* Топбар */
  .header-topbar { padding: 6px 0; }

  /* Шапка */
  .header-inner { height: 84px; }
  .logo-svg { width: 130px; height: auto; }

  /* Иконки */
  .header-icons { gap: 6px; }
  .icon-btn { padding: 4px; }

  /* Бегущая строка */
  .ticker-track span { font-size: 13px; }
  .ticker-wrap { padding: 5px 0; }

  /* Преимущества */
  .hero-benefit { padding: 14px 0; }
  .hero-benefit__svg { height: 40px; flex: 0 0 30%; max-width: 30%; width: 30%; object-fit: contain; object-position: center; margin: 0; }
  .hero-benefit__label { font-size: 12px; flex: 1 1 auto; max-width: 66%; }

  /* Фильтр */
  .home-filter-row { padding: 24px 0; }
  .home-tab { padding: 7px 9px; min-width: 68px; font-size: 12px; }
  .home-tab__img { width: 28px; height: 28px; }
  .home-tabs__arrow { display: none; }

  /* Секции товаров */
  .home-section { padding: 32px 0 0; }
  .home-section__title { font-size: 18px; }

  /* Этапы */
  .step-card__num { font-size: 60px; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 13px; }

  /* О компании */
  .home-about__text { padding: 28px 20px; gap: 16px; }
  .home-about__text h2 { font-size: 16px; }
  .home-about__text p { font-size: 12px; }
  .home-about__photo { height: 200px; }

  /* Гарантии */
  .home-guarantees { padding: 32px 0; }
  .home-guarantees__title { font-size: 17px; }
  .guarantee-card { padding: 20px 16px; }


  /* FAQ */
  .home-faq-row { padding: 32px 0; }
  .post-faq__title { font-size: 18px; }
  .faq-question { font-size: 13px; }

  /* Футер */
  .footer-top { padding: 32px 0 24px; }
  .footer-logo { font-size: 22px; }
}

/* ── Отзывы: планшет ── */
@media (max-width: 900px) {
  .home-reviews { padding: 40px 0; }
  .home-reviews__inner { flex-direction: column; gap: 16px; }
  .home-reviews__summary { flex: none; width: 100%; padding: 28px 24px; }
  .home-reviews__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .review-card { padding: 24px 20px; }
  .home-reviews__number { font-size: 40px; }
}

/* ── Отзывы + гарантии + FAQ/соцсети: смартфон ── */
@media (max-width: 640px) {
  /* Отзывы: в стопку */
  .home-reviews__cards { grid-template-columns: 1fr; }

  /* Гарантии: уменьшаем padding карточек */
  .guarantee-card { padding: 28px 20px; border-radius: 24px; }
  .guarantee-card h3 { font-size: 18px; }
  .guarantee-card p { font-size: 13px; }
  .guarantee-card__img { max-height: 56px; }
  .home-guarantees__title { font-size: 18px; }

  /* Этапы */
  .home-steps { padding: 32px 0; }
  .step-card__num { font-size: 52px; }
  .step-card h3 { font-size: 15px; }

  /* FAQ + соцсети */
  .home-faq-row { padding: 32px 0; }
  .home-faq-inner { grid-template-columns: 1fr; }
  .post-faq__title { font-size: 18px; }
  .sidebar-social-btn img { width: 110px; height: 28px; }

  /* Превью соцсетей: убираем фиксированные размеры */
  .home-smm-images { flex-wrap: wrap; gap: 8px; }
  .home-smm-images .home-smm-img:first-child,
  .home-smm-images .home-smm-img:last-child { width: 100%; height: 180px; }
}

/* ── 480px: маленький телефон ── */
@media (max-width: 480px) {
  /* Отзывы */
  .home-reviews { padding: 24px 0; }
  .home-reviews__summary { padding: 20px 16px; border-radius: 24px; }
  .home-reviews__number { font-size: 36px; }
  .home-reviews__brand { font-size: 16px; }
  .review-card { padding: 18px 16px; border-radius: 24px; }
  .review-card__text { font-size: 12px; }

  /* Акции: ценовые табы скроллятся */
  .home-section--sale .home-tabs-wrapper { overflow: hidden; }

  /* Гарантии */
  .guarantee-card { padding: 20px 16px; border-radius: 20px; }

  /* FAQ */
  .faq-question { font-size: 12px; padding: 12px 0; }
  .faq-answer p { font-size: 12px; }
  .home-socials__title { font-size: 18px; }
}

/* ================================================================
   МОБИЛЬНЫЙ АДАПТИВ — ДЕТАЛЬНЫЙ (≤900px)
   ================================================================ */
@media (max-width: 900px) {

  /* === КОНТЕЙНЕР — отступы от краёв экрана === */
  .container { padding: 0 24px; }

  /* === БУРГЕР === */
  .header-inner { height: 72px; }
  .burger-btn { color: white; margin-right: 0; flex-shrink: 0; padding: 2px; }
  .burger-btn svg { width: 24px; height: 24px; }
  .logo-svg { width: 78px; height: auto; }
  .header-logo { flex: 1; display: flex; justify-content: flex-start; margin-left: 8px; }
  .header-icons { flex-shrink: 0; }

  /* === HERO — высота на мобильном === */
  .hero { min-height: 286px !important; }
  .hero__inner { min-height: 286px !important; }
  .hero__sub { font-size: 14px; margin-top: 12px; }

  /* === ОТСТУП: тикер → преимущества === */
  .hero-benefits { padding-top: 8px; padding-bottom: 8px; }

  /* === ПРЕИМУЩЕСТВА — без бордеров === */
  .hero-benefit { border-bottom: none !important; }
  .hero-benefit:last-child { border-bottom: none; }

  /* === ТАБЫ «ВСЕ БУКЕТЫ» — 3 в ряд, без SVG, со стрелками === */
  .home-tabs {
    overflow-x: scroll;
    scrollbar-width: none;
    gap: 8px;
  }
  .home-tabs::-webkit-scrollbar { display: none; }
  .home-tab,
  .home-tabs .home-tab:first-child {
    flex: 0 0 calc(33.33% - 6px);
    min-width: 0;
    margin-right: 0;
    white-space: normal;
    text-align: center;
    padding: 12px 6px;
    font-size: 12px;
  }
  .home-tab__img { display: none; }
  .home-tab { justify-content: center; text-align: center; }
  .home-tabs__arrow { display: flex !important; }
  .home-tabs__arrow--prev { left: 0px; }
  .home-tabs__arrow--next { right: 0px; }
  .home-filter-row { padding: 12px 0; position: relative; }
  .home-filter-inner {   }

  /* === СЕКЦИИ ТОВАРОВ — отступы === */
  .home-section { padding: 32px 0 32px; }
  .home-section .container { flex-direction: column; align-items: stretch; gap: 24px; }
  .products-grid--home { gap: 16px; width: 100%; }

  /* === ОТСТУПЫ МЕЖДУ СЕКЦИЯМИ — увеличены === */
  .home-reviews { padding: 48px 0; }
  .home-steps { padding: 64px 0; }
  .home-guarantees { padding: 64px 0; }
  .home-faq-row { padding: 64px 0; }

  /* === КАРТОЧКИ — шрифты мин. 12px === */
  .product-card__name { font-size: 12px; }
  .product-card__price del { font-size: 12px; }
  .btn-add-cart { font-weight: 400; }
  .btn-one-click { font-weight: 400; }

  /* === SINGLE IMAGE перед этапами — 231px === */
  .home-single-image { height: 154px; aspect-ratio: auto; overflow: hidden; }
  .home-single-image__img { height: 154px; width: 100%; object-fit: cover; }

  /* === ЭТАПЫ — цифра 110px, выравнивание по верху заголовка === */
  .step-card { padding: 0; align-items: flex-start; }
  .step-card__num {
    flex: 0 0 20%;
    font-size: 110px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    line-height: 1;
  }
  .step-card__body { flex: 0 0 80%; padding-top: 0; }
  .step-card__body h3 { margin-top: 0; margin-bottom: 8px; }

  /* === ДОСТАВКА — 28% текст / 72% фото === */
  .home-about { flex-direction: row !important; min-height: auto; }
  .home-about__text { flex: 0 0 70% !important; padding: 24px 24px; }
  .home-about__text p { text-transform: uppercase; }
  .home-about__photo { flex: 0 0 30% !important; height: auto; min-height: 140px; }

  /* === МЫ ГАРАНТИРУЕМ — flex-wrap по строкам === */
  .guarantees-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-template-columns: none;
  }
  .guarantee-photo { border-radius: 20px; }
  .guarantees-grid .guarantee-photo:first-child {
    order: 1; flex: 0 0 calc(24% - 4px); min-height: 100px;
  }
  .guarantees-grid .guarantee-card:nth-child(2) {
    order: 2; flex: 0 0 calc(76% - 4px); padding: 16px 14px;
  }
  .guarantees-grid .guarantee-card:nth-child(3) {
    order: 3; flex: 0 0 calc(66.66% - 4px); padding: 16px 14px;
  }
  .guarantees-grid .guarantee-photo--wide {
    order: 4; flex: 0 0 calc(33.33% - 4px); grid-column: auto; min-height: 100px;
  }
  .guarantees-grid .guarantee-card--span {
    order: 5; flex: 0 0 100%; grid-column: auto; padding: 16px 14px;
  }
  .guarantee-card h3 { font-size: 16px; }
  .guarantee-card p { font-size: 12px; }
  .guarantee-card__img { max-height: 48px; }

  /* === КАК ВЫБРАТЬ БУКЕТ — заголовки 2/6, контент 4/6 === */
  .home-howto { flex-direction: row !important; }
  .home-howto__left {
    flex: 0 0 33.33% !important;
    width: auto !important;
    padding: 24px 12px !important;
    gap: 16px;
  }
  .home-howto__right {
    flex: 0 0 66.66% !important;
    width: auto !important;
    padding: 24px 16px !important;
    gap: 16px;
  }
  .home-howto__title { font-size: 14px; }
  .howto-item { border-bottom: none; }
  .howto-question { font-size: 12px; padding: 14px 0; }
  .howto-answer p { font-size: 12px; }

  /* === FAQ — карточки с бордером === */
  .faq-item {
    border: 1px solid #b461a1;
    border-radius: 20px;
    padding: 0 16px;
    margin-bottom: 8px;
  }

  /* === СОЦСЕТИ — картинки 60% / 40% === */
  .home-smm-images { flex-wrap: nowrap; }
  .home-smm-img { border-radius: 20px; }
  .home-smm-images .home-smm-img:first-child {
    flex: 0 0 60%; width: 60% !important; height: 180px;
  }
  .home-smm-images .home-smm-img:last-child {
    flex: 0 0 40%; width: 40% !important; height: 180px;
  }
}

/* ===== ПОИСК-ОВЕРЛЕЙ ===== */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10100;
}
.search-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 10, 0.55);
}
.search-overlay__panel {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.search-overlay__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.search-overlay__input::placeholder { color: #bbb; font-weight: 400; }
.search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #939393;
  padding: 0;
  line-height: 1;
}
.search-overlay__results {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
}
.search-group {
  padding: 0 0 8px;
}
.search-group__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px 4px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.search-result:hover { background: #faf5f8; }
.search-result__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.search-result__img--empty {
  background: #f3eff2;
  display: block;
}
.search-result__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-result__name {
  font-size: 13px;
  color: #939393;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result__price {
  font-size: 12px;
  color: #939393;
}
.search-result__price .woocommerce-Price-amount { color: #939393; }
.search-no-results {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #bbb;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .search-overlay__panel {
    margin-top: 0;
    border-radius: 0 0 20px 20px;
    max-width: 100%;
  }
}

/* ===== 404 ===== */
.page-404 {
  padding: 32px 0 100px;
}
.page-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-404__code {
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-pink-btn);
  letter-spacing: -4px;
  margin-bottom: 16px;
}
.page-404__title {
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}
.page-404__text {
  font-size: 15px;
  color: #888;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 36px;
}
.page-404__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-404__btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.page-404__btn:hover { opacity: 0.82; }
.page-404__btn--primary {
  background: var(--color-pink-btn);
  color: #fff;
}
.page-404__btn--outline {
  border: 2px solid var(--color-pink-btn);
  color: var(--color-pink-btn);
  background: transparent;
}
@media (max-width: 480px) {
  .page-404__code { font-size: 100px; }
  .page-404__title { font-size: 20px; }
  .page-404__actions { flex-direction: column; align-items: center; }
}

/* =====================================================================
   СТРАНИЦА КОРЗИНЫ
   ===================================================================== */

.cart-layout { display: block; }
.cart-outer {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}
.cart-outer-left { min-width: 0; }
.cart-outer-right {
  position: sticky;
  top: 104px; /* 86px header + 18px gap */
  align-self: start;
}

/* === Таблица товаров === */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  background: none;
}
/* Сброс ВСЕХ рамок таблицы (перебиваем стили ядра WooCommerce) */
.cart-table,
.cart-table thead, .cart-table tbody, .cart-table tfoot,
.cart-table tr, .cart-table th, .cart-table td {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
.cart-table thead th {
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  color: #222;
}
.cart-col--product { text-align: left; }
.cart-col--total   { text-align: right; white-space: nowrap; }

/* Линия ТОЛЬКО между товарами (между соседними строками-товарами) */
.cart-table tbody tr.cart_item + tr.cart_item { border-top: 1px solid #f0f0f0 !important; }

.cart-actions-row td { padding: 0; }
.cart-actions-row .input-text,
.cart-actions-row button,
.cart-actions-row .coupon { display: none; }

/* === Строка статуса доставки === */
.cart-delivery-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-delivery-row__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cdr-icon--truck {
  display: flex;
  align-items: center;
}
.cdr-icon--truck svg {
  width: 62px;
  height: auto;
  opacity: 0.55;
}
.cdr-arrow {
  font-size: 18px;
  color: #ccc;
  line-height: 1;
  flex-shrink: 0;
}
.cdr-icon--check svg {
  display: block;
  width: 36px;
  height: 36px;
}
.cart-delivery-row__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.cart-delivery-row__label {
  font-family: var(--font-arsenal);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}
.cart-delivery-row__hint {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-pink-btn);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-delivery-row__hint:hover { opacity: 0.8; }
.cart-delivery-row__price {
  font-family: var(--font-arsenal);
  font-size: 15px;
  font-weight: 400;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}

/* === Строка товара === */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.cart-item__thumb { flex: 0 0 100px; }
.cart-item__thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.cart-item__info { flex: 1; min-width: 0; padding-right: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cart-item__details { flex: 1; min-width: 0; }
.cart-item__name {
  font-family: var(--font-arsenal);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #222;
  margin-bottom: 5px;
}
.cart-item__name a { color: inherit; text-decoration: none; }
.cart-item__name a:hover { color: var(--color-pink-btn); }
.cart-item__price-qty {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 2px;
}
.cart-item__unit-price { color: #888; }
.cart-item__qty-sep { color: #888; margin: 0 2px; }
.cart-item__qty-unit { color: #888; }

/* Метаданные (состав букета) */
.cart-item .variation,
.cart-item .wc-item-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cart-item .variation dt,
.cart-item .wc-item-meta dt {
  display: inline;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-pink-btn);
  letter-spacing: 0.04em;
}
.cart-item .variation dt::after,
.cart-item .wc-item-meta dt::after { content: ' \2013 '; }
.cart-item .variation dd,
.cart-item .wc-item-meta dd {
  display: inline;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-pink-btn);
  margin: 0;
  padding: 0;
}
.cart-item .variation dd::after,
.cart-item .wc-item-meta dd::after { content: '\A'; white-space: pre; }
.cart-item .variation dd p,
.cart-item .wc-item-meta dd p { display: inline; margin: 0; }

.cart-item__remove {
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 18px;
  font-weight: 300 !important;
  line-height: 1;
  color: #ccc !important;
  text-decoration: none;
  transition: color 0.2s;
}
.cart-item__remove:hover { color: var(--color-pink-btn) !important; }

.cart-col--total {
  vertical-align: middle;
  font-family: var(--font-arsenal);
  font-size: 16px;
  font-weight: 700;
  color: #888;
  padding-left: 16px;
}

/* === Сайдбар итогов === */
.cart-collaterals { width: 100%; }

.cart-totals {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 8px;
}
.cart-totals__heading {
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 10px;
}
.cart-totals__divider { margin: 10px 0 12px; }

.cart-totals__lines { margin-bottom: 18px; }
.cart-totals__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  margin-bottom: 8px;
}
.cart-totals__line-val { color: #aaa; font-weight: 400; }
.cart-totals__line-val .woocommerce-Price-amount { font-size: inherit; color: inherit; }

.cart-totals__total-label {
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-pink-btn);
  margin-bottom: 8px;
}
.cart-totals__total-amount {
  font-family: var(--font-arsenal);
  font-size: 28px;
  font-weight: 700;
  color: #888;
  margin-bottom: 20px;
}
.cart-totals__total-amount .woocommerce-Price-amount { font-size: inherit; color: inherit; font-weight: inherit; }

/* Кнопка "Оформить заказ" — убрана из шаблона */
.wc-proceed-to-checkout { display: none; }
.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 15px 10px;
  background: var(--color-pink-btn);
  color: #fff;
  font-family: var(--font-arsenal);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
  margin-bottom: 22px;
}
.wc-proceed-to-checkout .checkout-button:hover { opacity: 0.88; }

/* === Тарифы доставки === */
.delivery-schedule { margin-top: 20px; }
.delivery-schedule__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #bbb;
  margin-bottom: 8px;
}
.delivery-schedule__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 11px;
}
.delivery-schedule__row:last-child { border-bottom: none; }
.delivery-schedule__period {
  font-family: var(--font-arsenal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  width: 68px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 4px;
  font-size: 11px;
}
.delivery-schedule__time {
  flex: 1;
  white-space: nowrap;
  color: #aaa;
  font-size: 11px;
}
.delivery-schedule__sep { display: none; }
.delivery-schedule__price {
  white-space: nowrap;
  font-weight: 700;
  color: #555;
  font-family: var(--font-arsenal);
  margin-left: auto;
}

/* === Адаптив === */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: 28px; }
  /* New cart-outer: single column, payment block above left */
  .cart-outer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-outer-right {
    position: static;   /* no sticky on mobile */
    top: auto;
    order: 2;           /* итоги + оплата — в самом конце */
  }
  .cart-outer-left { order: 1; }
  .checkout-payment-sidebar { margin-top: 0; }
  /* Строка доставки на мобилке — 2 строки: сверху иконка+цена, снизу адрес/время/получатель */
  .cart-delivery-row { flex-wrap: wrap; gap: 6px 12px; }
  .cart-delivery-row__icons { flex-shrink: 0; order: 1; }
  .cart-delivery-row__price { margin-left: auto; order: 2; }
  .cart-delivery-row__info { order: 3; flex-basis: 100%; }
}
@media (max-width: 600px) {
  .cart-outer { gap: 16px; }
  .cart-outer-right { order: 2; }
  .cart-outer-left { order: 1; }
  /* DTP address row: 1-я строка адрес+кв, 2-я строка дата+время */
  .dtp-address-row { flex-wrap: wrap; gap: 8px; }
  .dtp-address-row__street { flex: 1 1 calc(100% - 80px); min-width: 0; }
  .dtp-address-row__apt    { flex: 0 0 72px; }
  .dtp-address-row .dtp-btn-wrap { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .dtp-address-row .dtp-btn { width: 100%; }
  /* Поля «дата/время» самовывоза и «имя/телефон» — в столбик по 100% */
  .checkout-fields-row { flex-direction: column; gap: 12px; }
  .checkout-fields-row .checkout-field,
  .checkout-fields-row .checkout-field--half { flex: 1 1 100%; width: 100%; }
  /* Delivery row compact */
  .cart-delivery-row__hint { font-size: 11px; }
  /* Checkout heading */
  .checkout-form-heading { font-size: 22px; }
  /* Checkout radios: stack */
  .checkout-radios { flex-direction: column; gap: 10px; }
}
@media (max-width: 600px) {
  /* Таблица корзины */
  .cart-table thead { display: none; }
  .cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 0;
  }
  .cart-col--product { display: block; flex: 1; border: none; padding: 0; }
  .cart-col--total {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 0 0 130px;
    font-size: 14px;
    margin-top: 4px;
  }
  .cart-item { padding: 0; gap: 14px; }
  .cart-item__thumb { flex: 0 0 116px; }
  .cart-item__thumb img { width: 116px; height: 116px; border-radius: 14px; }
  .cart-item__info {
    padding-right: 20px;
    flex-direction: column;
    gap: 4px;
  }
  .cart-item__details { flex: 1; }
  /* Цена × кол-во: на мобилке в колонку */
  .cart-item__price-qty {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
  }
  .cart-item-qty-ctrl { gap: 2px; }
  /* Состав мельче */
  .cart-item__comp-line { font-size: 9px; }
  /* Итоги */
  .cart-totals { padding: 0; }
  .cart-totals__total-amount { font-size: 22px; }
  /* Строка доставки */
  .cart-delivery-row__label { font-size: 12px; }
  .cart-delivery-row__price { font-size: 13px; }
  .cdr-icon--truck svg { width: 44px; }
  .cdr-icon--check svg { width: 28px; height: 28px; }
  /* Payment logos */
  .pay-logo svg { height: 18px; }
}

/* ===== ТАБЫ ДОСТАВКА / САМОВЫВОЗ ===== */
.delivery-tabs {
  display: flex;
  gap: 40px;
  margin-top: 22px;
  margin-bottom: 0;
  padding: 18px 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid #f0f0f0;
}
.delivery-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: #888;
  font-family: var(--font-arsenal);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.delivery-tab::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
  box-sizing: border-box;
}
.delivery-tab.active {
  background: transparent;
  color: var(--color-pink-btn);
}
.delivery-tab.active::before {
  background: var(--color-pink-btn);
  border-color: var(--color-pink-btn);
}
.delivery-tab:first-child { border-right: none; }

/* ===== ОДНОСТРАНИЧНЫЙ ЧЕКАУТ ===== */
.checkout-section {
  margin-top: 48px;
  padding-bottom: 80px;
}
.checkout-grid { display: block; }
.checkout-aside { display: none; }
.checkout-payment-sidebar { margin-top: 0; }

/* Блок */
.checkout-form-heading {
  font-family: var(--font-arsenal);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #222;
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-pink-btn);
  display: inline-block;
  margin-bottom: 28px;
}
.checkout-block { margin-bottom: 28px; }
.checkout-block__title {
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #888;
  margin: 0 0 2px;
}
.checkout-block__divider { margin: 8px 0 16px; }

/* Поля ввода */
.checkout-field { margin-bottom: 14px; }
.checkout-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  margin-bottom: 5px;
}
.checkout-input,
.checkout-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0d8e4;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.checkout-input:focus,
.checkout-select:focus { outline: none; border-color: var(--color-pink-btn); }
.checkout-select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
}
.checkout-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0d8e4;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 80px;
}
.checkout-textarea:focus { outline: none; border-color: var(--color-pink-btn); }

/* Поля в ряд */
.checkout-fields-row { display: flex; gap: 12px; }
.checkout-fields-row .checkout-field { flex: 1; margin-bottom: 14px; }
.checkout-field--apt   { flex: 0 0 70px !important; }

/* Чекбоксы */
.checkout-check { margin-bottom: 10px; }
.checkout-check__label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.checkout-check__input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-pink-btn);
  cursor: pointer;
}

/* Радиокнопки */
.checkout-radios { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.checkout-radio__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.checkout-radio__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-radio__label::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
  box-sizing: border-box;
}
.checkout-radio__input:checked ~ span::before,
.checkout-radio__label:has(.checkout-radio__input:checked)::before {
  background: var(--color-pink-btn);
  border-color: var(--color-pink-btn);
}

/* Карта */
.checkout-map {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
}
.checkout-map iframe { display: block; width: 100%; }

/* Самовывоз */
.checkout-pickup-address {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px;
}
.checkout-pickup-hours {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  margin: 0 0 0;
}

/* Кросс-продажи */
.checkout-cross-sells .cross-sells-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Минимальные карточки «Добавьте к заказу» — простое превью без интерактива */
.product-card--minimal .product-card__name {
  color: #939393;
  cursor: default;
}
.product-card--minimal .product-card__img-wrap {
  cursor: default;
}
.product-card--minimal .product-card__name::after {
  display: none;
}

/* Сводка заказа */
.checkout-summary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}
.checkout-summary__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #333;
}
.checkout-summary__name {
  flex: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.checkout-summary__qty { flex-shrink: 0; color: #888; font-size: 12px; }
.checkout-summary__price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-pink-btn);
  font-family: var(--font-arsenal);
}
.checkout-summary__price .woocommerce-Price-amount { color: inherit; font-size: inherit; }
.checkout-summary__delivery {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.checkout-summary__total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.checkout-summary__koplata {
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-pink-btn);
}
.checkout-summary__koplata-price {
  font-family: var(--font-arsenal);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-pink-btn);
}
.checkout-summary__koplata-price .woocommerce-Price-amount { color: inherit; font-size: inherit; font-weight: inherit; }
.checkout-summary__total .woocommerce-Price-amount { color: inherit; font-size: inherit; font-weight: inherit; }

/* Способ оплаты */
.checkout-payment { margin-bottom: 24px; }
.checkout-payment__heading {
  font-family: var(--font-arsenal);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-pink-btn);
  margin: 0 0 4px;
}
.checkout-payment__subtitle {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.payment-options { display: flex; flex-direction: column; gap: 14px; }
.payment-option { cursor: pointer; display: block; position: relative; }
/* «При получении» недоступно при доставке (100% предоплата) */
.payment-option--disabled { cursor: not-allowed; opacity: 0.55; }
.payment-option--disabled .payment-option__label { pointer-events: none; }
.payment-option--disabled .payment-option__title { color: #aaa; }
.payment-option__note { display: none; font-size: 11px; color: #aaa; line-height: 1.3; margin-top: 3px; }
.payment-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.payment-option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.18s, border-color 0.18s;
  box-sizing: border-box;
}
.payment-option__input:checked + .payment-option__label .payment-option__radio {
  background: var(--color-pink-btn);
  border-color: var(--color-pink-btn);
}
.payment-option__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.payment-option__title {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  line-height: 1.3;
}
.payment-option__logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.pay-logo svg { display: block; height: 22px; width: auto; }
.pay-logo--mir  svg { height: 22px; }
.pay-logo--tpay svg { height: 22px; }
.pay-logo--sbp  svg { height: 22px; }

/* Кнопка ОПЛАТИТЬ */
.checkout-submit {
  display: block;
  width: 100%;
  padding: 11px 10px;
  background: var(--color-pink-btn);
  color: #fff;
  font-family: var(--font-arsenal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
}
.checkout-submit:hover    { opacity: 0.88; }
.checkout-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Ошибка */
.checkout-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff0f0;
  border: 1px solid #f5a0a0;
  border-radius: 10px;
  font-size: 13px;
  color: #c0392b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* === Адаптив чекаута === */
@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr 300px; gap: 28px; }
  .checkout-cross-sells .cross-sells-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .checkout-section { margin-top: 32px; padding-bottom: 48px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout-aside { order: -1; }
  .checkout-cross-sells .cross-sells-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .checkout-section { margin-top: 20px; padding-bottom: 36px; }
  .checkout-block { margin-bottom: 24px; }
  .checkout-map iframe { height: 200px; }
  .checkout-fields-row { flex-wrap: wrap; }
  .checkout-field--apt   { flex: 0 0 80px !important; }
  .checkout-input,
  .checkout-select,
  .checkout-textarea { font-size: 16px; padding: 13px 14px; }
  .checkout-summary { padding: 0; }
  .checkout-payment { margin-bottom: 16px; }
  .checkout-cross-sells .cross-sells-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .delivery-tab { font-size: 13px; }
}

/* ================================================================
   THANK YOU PAGE  (woocommerce/checkout/thankyou.php)
   ================================================================ */
.ty-wrap { max-width: 760px; padding-bottom: 60px; }

/* Success / error banner */
.ty-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
}
.ty-card--success {
    border-color: #f0d6ec;
    background: linear-gradient(135deg, #fff 60%, #fdf2fb 100%);
    text-align: center;
    padding: 36px 28px 32px;
}
.ty-card--error {
    border-color: #f8d7da;
    background: #fff8f8;
    text-align: center;
    padding: 36px 28px 32px;
}
.ty-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    font-size: 24px; font-weight: 700; color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.ty-card--success .ty-icon { background: var(--color-pink-btn); }
.ty-card--error   .ty-icon { background: #e04444; }
.ty-title {
    font-size: 20px; font-weight: 700; color: var(--color-dark);
    margin: 0 0 8px;
}
.ty-subtitle { font-size: 14px; color: #777; margin: 0; }

/* Overview pills row */
.ty-overview {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.ty-overview__item {
    flex: 1; min-width: 140px;
    background: #fff; border: 1px solid #eee; border-radius: 10px;
    padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.ty-overview__label { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .05em; }
.ty-overview__val   { font-size: 15px; font-weight: 700; color: var(--color-dark); }
.ty-overview__val--pink { color: var(--color-pink-btn); }

/* Card section title */
.ty-card__title {
    font-size: 13px; font-weight: 700; color: #777;
    text-transform: uppercase; letter-spacing: .05em;
    margin: 0 0 16px;
}

/* Items table */
.ty-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
}
.ty-table thead th {
    text-align: left; font-size: 11px; color: #aaa;
    text-transform: uppercase; letter-spacing: .05em;
    padding: 0 12px 10px; border-bottom: 1px solid #f0f0f0;
}
.ty-table thead th:first-child,
.ty-table tbody td:first-child,
.ty-table tfoot th:first-child,
.ty-table tfoot td:first-child { padding-left: 0; }
.ty-table thead th:last-child,
.ty-table tbody td:last-child,
.ty-table tfoot th:last-child,
.ty-table tfoot td:last-child { padding-right: 0; }
.ty-table tbody td {
    padding: 12px; border-bottom: 1px solid #f8f8f8; color: var(--color-dark);
    vertical-align: top;
}
.ty-table tfoot th,
.ty-table tfoot td {
    padding: 8px 12px; font-size: 13px; color: #555;
    border-top: 1px solid #f0f0f0;
}
.ty-table tfoot tr:first-child th,
.ty-table tfoot tr:first-child td { border-top: 2px solid #eee; }
.ty-tfoot--total th,
.ty-tfoot--total td { font-weight: 700; font-size: 15px; color: var(--color-dark) !important; }
.ty-table__num { text-align: right; white-space: nowrap; }
.ty-product-link { color: var(--color-dark); text-decoration: none; }
.ty-product-link:hover { color: var(--color-pink-btn); }

/* Action buttons below table */
.ty-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Addresses */
.ty-addresses {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ty-address {
    font-style: normal; font-size: 14px; line-height: 1.6; color: #444; margin: 0;
}
.ty-address-phone,
.ty-address-email {
    font-size: 13px; color: #777; margin: 6px 0 0;
}

@media (max-width: 700px) {
    .ty-addresses { grid-template-columns: 1fr; }
    .ty-overview__item { min-width: 120px; }
}

/* =====================================================================
   PAY PAGE (form-pay.php) — страница оплаты
===================================================================== */
.pay-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Overview pills */
.pay-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.pay-overview__item   { display: flex; flex-direction: column; gap: 2px; }
.pay-overview__label  { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #aaa; }
.pay-overview__val    { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.pay-overview__val--pink { color: var(--color-pink); }

/* Layout */
.pay-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

/* Cards */
.pay-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.pay-card__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #939393;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.pay-card--action { position: sticky; top: 110px; }

/* Items */
.pay-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.pay-item:last-of-type { border-bottom: none; }
.pay-item__img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
.pay-item__info   { flex: 1; min-width: 0; }
.pay-item__name   { font-size: 14px; font-weight: 500; color: #1a1a1a; line-height: 1.3; }
.pay-item__qty    { font-size: 12px; color: #aaa; margin-top: 2px; }
.pay-item__price  { font-size: 14px; font-weight: 600; white-space: nowrap; }
.pay-item__price .woocommerce-Price-amount { font-weight: 600; }

/* Totals */
.pay-totals {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pay-totals__row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
}
.pay-totals__row--bold {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.pay-totals__row--bold .woocommerce-Price-amount { font-weight: 700; }

/* Action card */
.pay-card__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Pay button */
.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-pink-btn);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .1s;
    line-height: 1.2;
    gap: 4px;
}
.pay-btn:hover    { background: #d43e7a; }
.pay-btn:active   { transform: scale(.98); }
.pay-btn__total   { font-size: 18px; font-weight: 700; }
.pay-btn__total .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

/* Security note */
.pay-card__secure {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #aaa;
    margin-top: 14px;
    text-align: center;
    justify-content: center;
}

/* YooKassa receipt page (after redirect) */
#yookassa-widget-ui { min-height: 200px; }

/* ── Pay page responsive ── */
@media (max-width: 760px) {
    .pay-layout {
        grid-template-columns: 1fr;
    }
    .pay-card--action { position: static; }
    .pay-overview { padding: 12px 16px; }
    .pay-wrap { padding: 0 16px 40px; }
}

/* =====================================================
   СТРАНИЦА ДОСТАВКИ (page-dostavka.php)
===================================================== */
.dostavka-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px 60px; }
.dostavka-section { margin-bottom: 56px; }
.dostavka-section__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #939393;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

/* Tariff cards */
.dostavka-tariffs { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.dostavka-tariff-card {
    flex: 1 1 160px;
    max-width: 200px;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-align: center;
}
.dostavka-tariff-card__name {
    background: var(--color-pink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
}
.dostavka-tariff-card__price {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 16px 8px 4px;
    line-height: 1;
}
.dostavka-tariff-card__price span { font-size: 16px; font-weight: 400; color: #939393; }
.dostavka-tariff-card__time {
    font-size: 13px;
    color: #777;
    padding: 4px 8px 16px;
}
.dostavka-free-note {
    font-size: 14px;
    color: #777;
    background: #fdf0f6;
    padding: 14px 22px;
    border-radius: 30px;
    display: inline-block;
}
.dostavka-free-note strong { color: var(--color-pink-btn); }

/* Зоны: подсказка + контейнер виджета плагина */
.dostavka-zones-hint {
    font-size: 14px;
    color: #939393;
    margin: 0 0 18px;
}
.dostavka-delivery-widget .cvdl-widget { max-width: 100%; }
.dostavka-delivery-widget .cvdl-map { height: 460px; }

/* Zones layout */
.dostavka-zones-layout { display: flex; gap: 32px; align-items: flex-start; }
.dostavka-zones-legend { flex: 0 0 280px; display: flex; flex-direction: column; gap: 12px; }
.dostavka-zone-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}
.dostavka-zone-card strong { display: block; font-size: 14px; color: #1a1a1a; }
.dostavka-zone-card small  { font-size: 12px; color: #888; }
.dostavka-zone-dot {
    flex-shrink: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    margin-top: 2px;
}
.dostavka-zone-card--1 .dostavka-zone-dot { background: rgba(180,97,161,0.75); }
.dostavka-zone-card--2 .dostavka-zone-dot { background: rgba(180,97,161,0.35); }
.dostavka-zone-card--3 .dostavka-zone-dot { background: rgba(74,144,217,0.65); }
.dostavka-zone-card--4 .dostavka-zone-dot { background: #ccc; }

.dostavka-map-wrap { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
#dostavka-map { width: 100%; height: 420px; }

/* Conditions */
.dostavka-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dostavka-condition {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    background: #fff;
}
.dostavka-condition__icon { flex-shrink: 0; }
.dostavka-condition strong { display: block; font-size: 15px; color: #1a1a1a; margin-bottom: 6px; }
.dostavka-condition p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
    .dostavka-zones-layout { flex-direction: column; }
    .dostavka-zones-legend { flex: none; width: 100%; }
    .dostavka-conditions { grid-template-columns: 1fr; }
    .dostavka-tariff-card { flex: 1 1 130px; }
}
@media (max-width: 600px) {
    .dostavka-tariffs { gap: 10px; }
    .dostavka-tariff-card { flex: 1 1 calc(50% - 5px); max-width: none; }
    #dostavka-map { height: 280px; }
}

/* =====================================================
   REVIEWS — brand link + leave-review button
===================================================== */
.home-reviews__brand-link {
    text-decoration: none;
    display: inline-block;
}
.home-reviews__brand-link:hover .home-reviews__brand {
    text-decoration: underline;
}
.home-reviews__leave-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    background: var(--color-pink-btn);
    color: #fff;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.18s;
}
.home-reviews__leave-btn:hover { opacity: 0.85; }

/* =====================================================
   DOSTAVKA — address check form
===================================================== */
.dostavka-address-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.dostavka-addr-input {
    flex: 1;
    min-width: 220px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 40px;
    font-size: 14px;
    outline: none;
}
.dostavka-addr-input:focus { border-color: #b461a1; }
.dostavka-addr-btn {
    padding: 10px 22px;
    background: #b461a1;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.18s;
    white-space: nowrap;
}
.dostavka-addr-btn:hover { opacity: 0.85; }
.dostavka-addr-result {
    width: 100%;
    font-size: 14px;
    padding: 0;
    min-height: 0;
    transition: all 0.2s;
}
.dostavka-addr-result--loading { color: #888; }
.dostavka-addr-result--ok      { color: #2e9e5b; }
.dostavka-addr-result--warn    { color: #c07000; }
.dostavka-addr-result--error   { color: #c0392b; }

/* ===== ONE-CLICK MODAL ===== */
.oneclick-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oneclick-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}
.oneclick-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
.oneclick-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
  z-index: 2;
}
.oneclick-modal__close:hover { color: #333; }
.oneclick-modal__inner {
  display: flex;
  gap: 0;
}
.oneclick-modal__photo {
  flex: 0 0 240px;
  max-width: 240px;
  background: #f5f5f5;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}
.oneclick-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oneclick-modal__form-side {
  flex: 1 1 0;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oneclick-modal__heading {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
  margin: 0;
}
.oneclick-modal__product-name {
  font-size: 15px;
  font-weight: 600;
  color: #b461a1;
  margin: 0;
}
.oneclick-modal__desc-row {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.oneclick-modal__desc-label {
  font-weight: 600;
  margin-right: 4px;
}
.oneclick-modal__hint {
  font-size: 12px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}
.oneclick-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.oneclick-form__input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid #ddd;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.oneclick-form__input:focus { border-color: #b461a1; }
.oneclick-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #777;
  cursor: pointer;
  line-height: 1.5;
}
.oneclick-form__consent input { margin-top: 2px; flex-shrink: 0; }
.oneclick-form__consent a { color: #b461a1; }
.oneclick-form__error {
  font-size: 13px;
  color: #c0392b;
  padding: 6px 12px;
  background: #fdf0f0;
  border-radius: 6px;
}
.oneclick-form__submit {
  align-self: flex-start;
  padding: 10px 28px;
  border: 2px solid #e84d87;
  background: transparent;
  color: #e84d87;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.oneclick-form__submit:hover {
  background: #e84d87;
  color: #fff;
}
.oneclick-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
@media (max-width: 600px) {
  .oneclick-modal__inner { flex-direction: column; }
  .oneclick-modal__photo { flex: 0 0 180px; max-width: 100%; border-radius: 12px 12px 0 0; }
  .oneclick-modal__form-side { padding: 18px 18px 20px; }
  .oneclick-form__submit { align-self: stretch; text-align: center; }
}
/* ===== /ONE-CLICK MODAL ===== */

/* one-click toast */
.oneclick-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #2e9e5b;
  color: #fff;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2000;
  pointer-events: none;
  white-space: nowrap;
}
.oneclick-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RANGE INPUTS (от / до поля над ползунком) ===== */
.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.range-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  background: #f7f7f7;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 5px 8px;
  transition: border-color 0.2s;
}
.range-input-wrap:focus-within {
  border-color: #b461a1;
  background: #fff;
}
.range-input-label {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}
.range-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  outline: none;
  min-width: 0;
  -moz-appearance: textfield;
}
.range-input::-webkit-inner-spin-button,
.range-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.range-input-unit {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}
.range-input-sep {
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
}
/* ===== /RANGE INPUTS ===== */

/* range-inputs: стек на мобилке */
@media (max-width: 767px) {
  .filter-pill--mb .range-inputs,
  .filter-panel-section .range-inputs {
    flex-direction: column;
    gap: 6px;
  }
  .filter-pill--mb .range-input-wrap,
  .filter-panel-section .range-input-wrap {
    flex: none;
    width: 100%;
  }
  .filter-pill--mb .range-input-sep,
  .filter-panel-section .range-input-sep {
    display: none;
  }
  .filter-pill--mb .range-input,
  .filter-panel-section .range-input {
    font-size: 15px;
  }
}

/* ===== КНОПКИ ДАТА/ВРЕМЯ ===== */
.dtp-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
/* Pill-инпуты улица и кв. */
.dtp-address-row__input {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e0d8e4;
  border-radius: 30px;
  font-size: 14px;
  font-family: inherit;
  color: #939393;
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.dtp-address-row__input:focus { border-color: var(--color-pink-btn); }
.dtp-address-row__street {
  flex: 1;
  min-width: 0;
}
.dtp-address-row__apt {
  width: 64px;
  flex-shrink: 0;
  text-align: center;
  padding: 0 10px;
}
.dtp-btn-wrap {
  position: relative;
  flex-shrink: 0;
}
.dtp-btn {
  background: #E9C276;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0 18px;
  height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  text-transform: uppercase;
}
.dtp-btn:hover { background: #d4a85a; }
.dtp-btn--open  { background: #c49545; }
.dtp-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
  min-width: 170px;
}
.dtp-drop-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  color: #555;
  background: none;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 400;
}
.dtp-drop-item:last-child { border-bottom: none; }
.dtp-drop-item:hover { background: #fdf6e8; color: #b461a1; }
.dtp-drop-item--selected { background: #E9C276; color: #fff; }
.dtp-drop-item--selected:hover { background: #d4a85a; color: #fff; }
.dtp-no-slots {
  padding: 12px 16px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}
@media (max-width: 600px) {
  .dtp-address-row { flex-wrap: wrap; }
  .dtp-address-row { flex-wrap: wrap; }
  .dtp-address-row__street { flex: 1; min-width: 160px; }
  .dtp-address-row__apt { width: 56px; }
  .dtp-btn { padding: 0 12px; font-size: 11px; }
  .dtp-dropdown { left: auto; right: 0; min-width: 150px; }
}
/* ===== /КНОПКИ ДАТА/ВРЕМЯ ===== */

/* ===== СТРАНИЦА КОРЗИНЫ: текст #939393, weight 400 ===== */
.cart-table thead th {
  color: #939393;
  font-weight: 400;
}
.cart-item__name {
  color: #939393;
  font-weight: 400;
}
.cart-item__name a { color: #939393; }
.cart-item__price-qty {
  color: #939393;
  font-weight: 400;
  text-transform: uppercase;
}
.checkout-block__title {
  color: #888;
  font-weight: 700;
}
.checkout-label {
  color: #939393;
  font-weight: 400;
}
.checkout-input,
.checkout-select {
  color: #939393;
}
.checkout-textarea { color: #939393; }
.checkout-check__label {
  color: #939393;
  font-weight: 400;
}
.checkout-radio__label {
  color: #939393;
  font-weight: 400;
}
.checkout-pickup-address {
  color: #939393;
  font-weight: 400;
  text-transform: uppercase;
}
.checkout-pickup-hours {
  color: #939393;
  font-weight: 400;
}
.checkout-summary__item { color: #939393; }
.checkout-summary__name { color: #939393; font-weight: 400; }
.checkout-summary__qty  { color: #939393; font-weight: 400; }
.payment-option__title  { color: #555; font-weight: 400; }
/* ===== /СТРАНИЦА КОРЗИНЫ ===== */

/* ===== ПУСТАЯ КОРЗИНА ===== */
.cart-empty-wrap {
  text-align: center;
  padding: 64px 24px 80px;
  max-width: 400px;
  margin: 0 auto;
}
.cart-empty-icon {
  margin-bottom: 28px;
  opacity: 0.9;
}
.cart-empty-icon svg {
  display: block;
  margin: 0 auto;
}
.cart-empty-title {
  font-family: var(--font-arsenal);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #939393;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.cart-empty-text {
  font-size: 14px;
  color: #bbb;
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cart-empty-btn {
  display: inline-block;
  background: var(--color-pink-btn);
  color: #fff !important;
  border-radius: 30px;
  padding: 13px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.cart-empty-btn:link,
.cart-empty-btn:visited { color: #fff !important; }
.cart-empty-btn:hover { background: #d0366f; color: #fff !important; }
/* ===== /ПУСТАЯ КОРЗИНА ===== */

/* ===== ИЗБРАННОЕ ===== */
.wishlist-page { padding: 32px 0 80px; }
.wishlist-empty {
  text-align: center;
  padding: 56px 24px 72px;
  max-width: 420px;
  margin: 0 auto;
}
.wishlist-empty__icon { margin-bottom: 24px; opacity: 0.85; }
.wishlist-empty__icon img { width: 64px; height: 64px; display: block; margin: 0 auto; }
.wishlist-empty__title {
  font-family: var(--font-arsenal);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #939393;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.wishlist-empty__text {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.wishlist-empty__btn {
  display: inline-block;
  background: var(--color-pink-btn);
  color: #fff;
  border-radius: 30px;
  padding: 13px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.wishlist-empty__btn:hover { background: #d0366f; color: #fff; }
/* ===== /ИЗБРАННОЕ ===== */

/* ===== УВЕДОМЛЕНИЯ WOOCOMMERCE ===== */
.woocommerce-notices-wrapper {
  max-width: 1280px;
  margin: 0 auto 20px;
  padding: 0 24px;
}
/* Успех (добавлен/удалён товар) */
.woocommerce-message {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fdf0f6;
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #939393;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.woocommerce-message::before {
  content: '✓';
  font-size: 16px;
  color: var(--color-pink-btn);
  font-weight: 700;
  flex-shrink: 0;
}
.woocommerce-message a:not(.button) {
  color: var(--color-pink-btn);
  text-decoration: underline;
  font-size: 13px;
  margin-left: auto;
  white-space: nowrap;
}
.woocommerce-message a:not(.button):hover { opacity: 0.8; }
.woocommerce-message .button,
.woocommerce-message a.button {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--color-pink-btn);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.woocommerce-message .button:hover { background: #d0366f; }
/* Инфо */
.woocommerce-info,
.cart-empty.woocommerce-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fdf9f2;
  border: none !important;
  border-radius: 10px;
  padding: 14px 18px !important;
  font-size: 14px;
  color: #939393;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.woocommerce-info::before,
.cart-empty.woocommerce-info::before {
  content: 'i' !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E9C276;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}
/* Ошибка */
.woocommerce-error {
  background: #fff5f6;
  border-left: 4px solid #e84d87;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #939393;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  list-style: none;
  margin: 0 0 10px;
}
.woocommerce-error li { margin: 0; }
/* Кнопка "Вернуться в магазин" */
.return-to-shop { display: none; }
/* ===== /УВЕДОМЛЕНИЯ WOOCOMMERCE ===== */


/* ===== CART QTY CONTROL (+/-) на карточке товара ===== */
.cart-qty-ctrl {
  position: relative;
  z-index: 2;
  flex: 0 0 66%;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-pink-btn);
  border-radius: 40px;
  padding: 4px 7px;
  box-sizing: border-box;
  gap: 3px;
}
.cart-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cart-qty-btn:hover { background: rgba(255,255,255,0.4); }
.cart-qty-num {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cart-qty-link {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
}
.cart-qty-link:hover { text-decoration: underline; }
/* ===== /CART QTY CONTROL ===== */

/* ===== КОРЗИНА: состав + inline qty ===== */
.cart-item__composition {
  margin-top: 6px;
}
.cart-item__comp-line {
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Inline qty control в строке корзины */
.cart-item-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cart-item-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #f0f0f0;
  color: #555;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.cart-item-qty-btn:hover { background: #e0e0e0; }
.cart-item-qty-num {
  font-size: 13px;
  color: #555;
  min-width: 14px;
  text-align: center;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ: убрать розовые, заменить на серые 1px ===== */
.checkout-block__divider,
.cart-totals__divider {
  width: 100% !important;
  height: 1px !important;
  background: #e8e8e8 !important;
  border-radius: 0 !important;
  margin: 8px 0 16px !important;
}
/* ===== /КОРЗИНА ===== */


/* ================================================================
   СТРАНИЦА О НАС  (переиспользует классы главной: home-steps,
   step-card, home-reviews, home-faq-row, sidebar-socials)
   ================================================================ */
.about-page { padding-bottom: 60px; }
.about-header { padding-top: 28px; }
.about-soul-section { padding: 24px 0 32px; }
.about-foryou-section { padding: 16px 0 48px; }

/* --- ДУША И ЦВЕТЫ: масонри-сетка 12 колонок --- */
.about-soul__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.about-soul__card {
  border-radius: 36px;
  overflow: hidden;
  min-height: 230px;
  display: block;
  box-shadow: 0px 3px 3px 1.5px #00000040;
}
/* spans согласно макету */
.about-soul__card:nth-child(1) { grid-column: span 5; }   /* текст */
.about-soul__card:nth-child(2) { grid-column: span 2; }   /* фото узкое */
.about-soul__card:nth-child(3) { grid-column: span 5; }   /* фото широкое */
.about-soul__card:nth-child(4) { grid-column: span 4; }   /* фото */
.about-soul__card:nth-child(5) { grid-column: span 5; }   /* текст */
.about-soul__card:nth-child(6) { grid-column: span 3; }   /* фото */

.about-soul__card--text {
  background: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-soul__card--photo {
  position: relative;
  background: #efe9f1;
}
.about-soul__card--photo.is-empty {
  background: linear-gradient(135deg, #f5eef8 0%, #e9dcee 100%);
}
.about-soul__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-soul__lead {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 24px;
  margin: 0;
}
.about-soul__body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #aaa;
  letter-spacing: 0;
  line-height: 24px;
}
.about-soul__body--mt { display: block; margin-top: 14px; }

/* --- ОТЗЫВЫ --- */
.about-reviews-section { padding: 16px 0 48px; }

/* --- КОНТАКТЫ + КАРТА --- */
.about-contacts-section { padding: 16px 0 48px; }
.about-contacts {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.about-contacts__list { margin-bottom: 22px; }
.about-contacts__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-arsenal);
  font-size: 19px;
  font-weight: 400;
  color: #777;
  text-decoration: none;
  margin-bottom: 14px;
}
.about-contacts__phone-ico { flex-shrink: 0; }
.about-contacts__phone:hover { color: var(--color-pink-btn); }
.about-contacts__addr {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
}
.about-contacts__addr a { color: #888; text-decoration: underline; }
.about-contacts__addr a:hover { color: #666; }
.about-contacts__hours { font-size: 14px; color: #888; margin-top: 4px; }
.about-contacts__map iframe { border-radius: 0; display: block; }

/* --- Контакты: строки с подписями --- */
.contacts-row { margin-top: 14px; }
.contacts-row__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8b8b8;
  margin-bottom: 3px;
}
.contacts-row__link {
  font-size: 14px;
  color: #888;
  text-decoration: underline;
}
.contacts-row__link:hover { color: var(--color-pink-btn); }
.contacts-soc-title {
  font-size: 14px;
  color: #939393;
  margin-top: 24px;
}

/* ===== Уход за цветами ===== */
.care-article { max-width: 900px; margin: 4px 0 56px; }
.care-section { margin-top: 30px; }

.care-article__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.care-article__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f9eef7;
  font-size: 19px;
  flex-shrink: 0;
}

/* Блок-карточка раздела */
.care-block {
  background: #fdf0f6;
  border-left: 4px solid var(--color-pink-btn);
  border-radius: 0 18px 18px 0;
  padding: 24px 30px;
  box-shadow: 0px 3px 3px 1.5px #00000012;
}
.care-block p { font-size: 15px; line-height: 1.7; color: #777; margin: 0 0 14px; }
.care-block p:last-child { margin-bottom: 0; }
.care-block--lead { border-left-color: var(--color-pink); }
.care-block--lead p { margin: 0; }

.care-article__sub { font-weight: 600; color: #555 !important; }
.care-article__note { font-style: italic; color: #999 !important; }
.care-article__accent { font-weight: 600; color: var(--color-pink) !important; }

/* Список с розовыми маркерами */
.care-list {
  list-style: none;
  margin: 4px 0 14px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.care-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: #777;
}
.care-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-pink-btn);
}

/* Предупреждение */
.care-article__warning {
  background: #fff;
  border: 1.5px solid var(--color-pink-btn);
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  color: var(--color-pink-btn) !important;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .care-article__title { font-size: 17px; }
  .care-block { padding: 18px 18px; }
  .care-block p, .care-list li { font-size: 14px; }
}

/* ===== Контакты «НАШ САЛОН»: инфо-полоса + карта + реквизиты ===== */
.contacts-page .salon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  background: #fdf0f6;
  border: none;
  border-radius: 0;
  padding: 20px 32px;
  margin: 8px 0 28px;
}
.salon-bar__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.salon-bar__item--phone { flex: 1; justify-content: center; }
.salon-bar__label { color: #939393; font-size: 14px; }
.salon-bar__value { color: #555; font-weight: 600; font-size: 15px; }
.salon-bar__phone {
  color: var(--color-pink-btn);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.salon-bar__phone:hover { text-decoration: underline; }
.salon-bar__email {
  color: var(--color-pink-btn);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.salon-bar__email:hover { text-decoration: underline; }
.salon-bar__emails { display: flex; flex-direction: column; gap: 2px; }
.salon-bar__item--email { align-items: center; }
.salon-bar__note { color: #939393; font-size: 13px; }

.contacts-page .salon-map-wrap {
  margin-bottom: 28px;
}
.contacts-page .salon-map-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
}

.contacts-page .salon-requisites {
  background: #fdf0f6;
  border-radius: 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.salon-requisites__title {
  font-size: 18px;
  font-weight: 700;
  color: #6a6a6a;
  margin: 0 0 18px;
}
.salon-requisites p {
  font-size: 14px;
  color: #8a8a8a;
  line-height: 1.5;
  margin: 0 0 12px;
}
.salon-requisites p:last-child { margin-bottom: 0; }
.salon-requisites strong { color: #6a6a6a; font-weight: 600; }

@media (max-width: 768px) {
  .contacts-page .salon-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .salon-bar__item--phone { justify-content: flex-start; }
  .salon-bar__phone { font-size: 20px; }
  .contacts-page .salon-map-wrap iframe { height: 360px; }
  .contacts-page .salon-requisites { padding: 22px 20px; }
}

/* --- Соц-кнопки без фона и бордера --- */
.about-soc-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.about-soc-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.about-soc-btn:hover { transform: scale(1.1); opacity: 0.85; }
.about-soc-btn img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .about-soul__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Текст — на всю ширину, фото — по 50% */
  .about-soul__card--text  { grid-column: 1 / -1 !important; padding: 28px; min-height: 0; }
  .about-soul__card--photo { grid-column: span 1 !important; }
  .about-soul__card { border-radius: 22px; min-height: 120px; }
  /* Оставляем только 2 фото; лишние скрываем */
  .about-soul__card:nth-child(4),
  .about-soul__card:nth-child(6) { display: none !important; }
  .about-contacts { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  /* Фото — по 2 в ряд, текстовые блоки — на всю ширину */
  .about-soul__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-soul__card { min-height: 100px; border-radius: 20px; }
  .about-soul__card--text  { grid-column: 1 / -1 !important; padding: 22px; min-height: 0; }
  .about-soul__card--photo { grid-column: span 1 !important; }
  .about-soul__lead { font-size: 14px; line-height: 21px; }
}
/* ================================================================ */

/* ================================================================
   ЕДИНАЯ ТИПОГРАФИКА СТАНДАРТНЫХ СТРАНИЦ (как на главной / в каталоге)
   page.php → .page-container .page-content
   ================================================================ */
.page-container { color: #939393; }

.page-content {
  color: #939393;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* Заголовки — серые, светлого начертания, в верхнем регистре (как .catalog-page__title) */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-family: 'Arsenal', sans-serif;
  font-weight: 400;
  color: #939393;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 28px 0 14px;
}
.page-content h1 { font-size: 28px; }
.page-content h2 { font-size: 24px; }
.page-content h3 { font-size: 20px; }
.page-content h4 { font-size: 17px; }
.page-content h5,
.page-content h6 { font-size: 15px; }
.page-content > *:first-child { margin-top: 0; }

/* Абзацы и списки */
.page-content p { margin: 0 0 14px; }
.page-content ul,
.page-content ol { margin: 0 0 14px; padding-left: 22px; }
.page-content li { margin-bottom: 6px; line-height: 1.7; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

/* Ссылки — фирменный розовый */
.page-content a {
  color: var(--color-pink-btn);
  text-decoration: underline;
  transition: opacity 0.2s;
}
.page-content a:hover { opacity: 0.8; }

/* Акценты */
.page-content strong,
.page-content b { font-weight: 700; color: #7a7a7a; }
.page-content em,
.page-content i { font-style: italic; }

/* Цитаты */
.page-content blockquote {
  border-left: 3px solid var(--color-pink);
  background: #fdf0f6;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 0 0 16px;
  color: #888;
}
.page-content blockquote p:last-child { margin-bottom: 0; }

/* Таблицы */
.page-content table:not(.ty-table) {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}
.page-content table:not(.ty-table) th,
.page-content table:not(.ty-table) td {
  border: 1px solid #eee;
  padding: 10px 12px;
  text-align: left;
}
.page-content table:not(.ty-table) th {
  background: #faf5f8;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 12px;
}

/* Изображения */
.page-content img { max-width: 100%; height: auto; border-radius: 12px; }

/* Разделитель */
.page-content hr { border: none; border-top: 1px solid #eee; margin: 24px 0; }

@media (max-width: 600px) {
  .page-content { font-size: 14px; }
  .page-content h1 { font-size: 24px; }
  .page-content h2 { font-size: 20px; }
  .page-content h3 { font-size: 18px; }
}
/* ================================================================ */

/* ================================================================
   БЛОГ — одиночная запись (single-post.php): шапка + ввод + оглавление
   ================================================================ */
/* Вводный блок: левый сайдбар (заголовок + оглавление) + правая колонка */
.blog-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  margin: 20px 0 8px;
}
.blog-intro .article-toc {
  position: static;
  background: none;
  border: none;
  padding: 0;
}

/* Заголовок H1 — часть левого сайдбара */
.blog-sidebar__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 18.75px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #939393;
  margin: 0 0 12px;
}
.blog-sidebar__divider {
  width: 100%;
  height: 3px;
  margin: 0 0 24px;
}

.blog-intro .article-toc__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #939393;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
/* Нумерованные ссылки оглавления — серые, подчёркнутые */
.blog-intro .toc-nav { counter-reset: tocitem; }
.blog-intro .toc-nav a {
  counter-increment: tocitem;
  border-left: none;
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--color-pink-btn);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-intro .toc-nav a::before {
  content: counter(tocitem) ".";
  position: absolute;
  left: 0;
  text-decoration: none;
  color: var(--color-pink-btn);
}
.blog-intro .toc-nav a:hover { opacity: 0.75; }
.blog-intro .toc-nav a.active { font-weight: 600; }

.blog-intro__main { min-width: 0; }
.blog-intro__meta { margin: 0 0 16px; color: #939393; }
.blog-intro__main .post-hero { margin: 0; }

/* Контент под вводным блоком — полная ширина + отступ от вводного блока */
.single-page .post-content {
  max-width: 100%;
  margin-top: 48px;
}
.single-page .post-content h2 { scroll-margin-top: 100px; }

/* Краткое описание в превью блога */
.hub-card__excerpt {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #939393;
  font-weight: 400;
}

@media (max-width: 900px) {
  .blog-intro { grid-template-columns: 1fr; gap: 24px; margin-top: 12px; }
  .blog-sidebar__divider { margin-bottom: 16px; }
}

/* ===== Запись блога — мобильная адаптация ===== */
@media (max-width: 600px) {
  .single-page { padding: 20px 0 56px; }

  /* Хлебные крошки не растягивают страницу */
  .single-page .breadcrumbs { font-size: 11px; flex-wrap: wrap; }

  .blog-intro { gap: 18px; }
  .blog-sidebar__title { font-size: 17px; margin-bottom: 10px; }

  .blog-intro__meta,
  .post-meta { font-size: 12px; gap: 6px; }

  .post-hero { margin: 4px 0 24px; border-radius: 10px; }

  /* Контент */
  .single-page .post-content { margin-top: 28px; }
  .post-content { font-size: 14px; }
  .post-content h2 { margin: 24px 0 12px; }

  /* Рейтинг */
  .article-rating-box__score { font-size: 34px; }

  /* FAQ / Читайте также */
  .post-faq--full,
  .post-related-full { margin-top: 36px; }
  .post-faq__title,
  .post-related-full__title { font-size: 19px; }

  /* Сетка товаров внутри записи */
  .single-page .products-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ================================================================ */

/* ===== Карусель товаров в статьях ([cvetut_products]) ===== */
.cvt-carousel { margin: 32px 0; }
.cvt-carousel__head { margin-bottom: 16px; }
.cvt-carousel .cvt-carousel__title,
.post-content .cvt-carousel__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #939393;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
/* Вариант с левым сайдбаром (как «ХИТЫ ПРОДАЖ» на главной) */
.cvt-carousel--sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.cvt-carousel__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 6px;
}
.cvt-carousel__side .cvt-carousel__title { margin: 0; }
.cvt-carousel__all {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 40px;
  background: #DB7FA1;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cvt-carousel__all:hover { opacity: 0.85; color: #fff; }
.cvt-carousel--sidebar .cvt-carousel__viewport { min-width: 0; }
@media (max-width: 768px) {
  .cvt-carousel--sidebar { grid-template-columns: 1fr; gap: 14px; }
  .cvt-carousel__side { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}
.cvt-carousel__viewport {
  position: relative;
}
.cvt-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: none;        /* Firefox — без полосы прокрутки */
  -ms-overflow-style: none;     /* старый Edge/IE */
}
.cvt-carousel__track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.cvt-carousel__track .product-card {
  flex: 0 0 240px;
  width: 240px;
  scroll-snap-align: start;
}
.cvt-carousel__arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--color-pink-btn);
  box-shadow: 0 3px 12px rgba(0,0,0,0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.cvt-carousel__arrow:hover { background: var(--color-pink-btn); color: #fff; }
.cvt-carousel__arrow--prev { left: -10px; }
.cvt-carousel__arrow--next { right: -10px; }

@media (max-width: 600px) {
  .cvt-carousel__track .product-card { flex-basis: 200px; width: 200px; }
  .cvt-carousel__arrow { width: 36px; height: 36px; }
  .cvt-carousel__arrow--prev { left: 0; }
  .cvt-carousel__arrow--next { right: 0; }
}

/* ===== Страница ОТЗЫВЫ ===== */
.otzyvy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* слева сводка+отзывы | справа виджет */
  gap: 32px;
  align-items: stretch;
  margin-bottom: 56px;
}
.otzyvy-left { display: grid; gap: 16px; align-content: start; }
.otzyvy-left .home-reviews__summary,
.otzyvy-summary { flex: none; width: 100%; margin: 0; }
.otzyvy-cards { display: grid; gap: 16px; align-content: start; }
.otzyvy-widget { height: 100%; }
.otzyvy-widget__inner {
  width: 100%;
  height: 100%;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}
.otzyvy-widget__frame {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
}
.otzyvy-widget__link {
  box-sizing: border-box;
  text-decoration: none;
  color: #b3b3b3;
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
  position: absolute;
  bottom: 8px; left: 0;
  width: 100%;
  text-align: center;
  padding: 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  max-height: 14px;
}
@media (max-width: 900px) {
  .otzyvy-layout { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .otzyvy-widget__inner { height: 720px; min-height: 0; }
}

/* ===== Мобильные доработки: шапка + скругление карточек ===== */
@media (max-width: 900px) {
  /* Бургер и логотип — по высоте как иконки справа (26px) */
  .header-inner { align-items: center; }
  .burger-btn { padding: 4px; }
  .burger-btn svg { width: 26px; height: 26px; }
  .logo-svg { width: auto; height: 26px; }
  .icon-btn svg { width: 26px; height: 26px; }

  /* Все превью-карточки товаров — скругление сверху 20px */
  .product-card { border-radius: 20px 20px 0 0; }

  /* Кнопки «СМОТРЕТЬ ВСЕ/ЕЩЁ» во всех товарных блоках — в одну строку */
  .home-section__head { flex-wrap: nowrap; align-items: center; }
  .home-section__title { flex: 1 1 auto; min-width: 0; }
  .home-section__link,
  .cvt-carousel__all,
  .product-related__all {
    flex: 0 0 auto;
    white-space: nowrap;
    align-self: center;
  }

  /* Плитки-подборки (оба блока) — единая фикс. высота + радиус 20px */
  .home-tab,
  .home-tabs .home-tab:first-child {
    height: 66px;
    border-radius: 20px;
  }

  /* ===== Страница товара: адаптивность ===== */
  /* Хлебные крошки — переносим на 2-3 строки, без горизонтального вылета */
  .breadcrumbs { flex-wrap: wrap; white-space: normal; }

  /* «РЕКОМЕНДУЕМ»: карточки как в каталоге (2 в ряд), без стрелок-вылета */
  .product-related { overflow: hidden; }
  .product-related__slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow: visible;
  }
  .product-related__slider .product-card {
    flex: none;
    min-width: 0;
    width: auto;
  }
  .related-arrow { display: none !important; }

  /* Кнопка «СМОТРЕТЬ ВСЕ» в рекомендуем — на каталог */
  .product-related__all {
    display: inline-block;
    margin: 18px auto 0;
    padding: 11px 26px;
    border-radius: 40px;
    background: #DB7FA1;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .product-related__all-wrap { text-align: center; }
}

/* Кнопка «смотреть все» в рекомендуем — только на мобилке */
.product-related__all-wrap { display: none; }
@media (max-width: 900px) {
  .product-related__all-wrap { display: block; }
}

/* ===== Мобильные доработки (каталог-фильтры + «Добавьте к заказу») ===== */
@media (max-width: 767px) {
  /* СОРТИРОВКА + ЦЕНА вместе = ширина одной карточки (вторая половина строки) */
  .filter-mobile-bar .filter-pill--mb { flex: 1 1 0; min-width: 0; }
  .filter-mobile-bar .filter-pill--mb .filter-pill__btn {
    width: 100%;
    padding: 12px 6px;
    font-size: 10px;
    letter-spacing: 0;
    gap: 3px;
    justify-content: center;
    white-space: nowrap;
  }
  .filter-mobile-bar .filter-pill--mb .filter-pill__btn svg { flex-shrink: 0; }
}
/* «Добавьте к заказу»: кнопка слева, цена справа (как было);
   в узкой кнопке прячем «В КОРЗИНЕ», число — строго по центру */
.checkout-cross-sells .cart-qty-num { text-align: center; flex: 1; }
.checkout-cross-sells .cart-qty-link { display: none; }

/* ===== Стоимость доставки по зонам (/dostavka) ===== */
.dz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.dz-card {
  border: 1px solid #f0e6ee;
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
}
.dz-card__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-pink);
  margin-bottom: 10px;
}
.dz-card__rows { list-style: none; margin: 0; padding: 0; }
.dz-card__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  border-top: 1px solid #f7f0f5;
}
.dz-card__rows li:first-child { border-top: none; }
.dz-time { color: #8a8a8a; }
.dz-price { font-weight: 700; color: #3a3a3a; white-space: nowrap; }
.dz-card__req { font-size: 13px; color: #aaa; }
@media (max-width: 480px) {
  .dz-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dz-card { padding: 12px 13px; border-radius: 14px; }
  .dz-card__name { font-size: 13px; }
  .dz-card__rows li { font-size: 12px; }
}

/* Число количества в кнопке товара «ПРОСМОТР КОРЗИНЫ» */
.btn-cart-qty__count { font-weight: 700; }

/* Отступ между блоком зон и сноской о бесплатной доставке */
.dz-grid + .dostavka-free-note { margin-top: 24px; }

/* ===== Автоподсказки адреса в корзине ===== */
.dtp-street-wrap { position: relative; }
.dtp-street-wrap .dtp-address-row__input { width: 100%; }
.cart-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #ecdfe8;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  max-height: 240px;
  overflow-y: auto;
}
.cart-suggest li {
  padding: 9px 12px;
  font-size: 13px;
  color: #444;
  border-radius: 8px;
  cursor: pointer;
}
.cart-suggest li:hover { background: #fbf1f7; color: var(--color-pink-btn); }

/* Убрать маркеры у служебных списков (подсказки адреса, тарифы зон, подменю) */
.cart-suggest, .cart-suggest li,
.dz-card__rows, .dz-card__rows li,
.mm-subcats, .mm-subcats li { list-style: none; }
.cart-suggest li::marker, .dz-card__rows li::marker, .mm-subcats li::marker { content: ""; }

/* Пояснение к тарифам в корзине */
.delivery-schedule__zone { font-weight: 400; font-size: 11px; color: #aaa; text-transform: none; letter-spacing: 0; }

/* ===== Модальный фрейм оплаты (Alfa) ===== */
.cvetut-pay-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
body.cvetut-pay-open { overflow: hidden; }
.cvetut-pay-modal__box { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; height: min(86vh, 760px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cvetut-pay-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #eee; flex: 0 0 auto; }
.cvetut-pay-modal__title { font-weight: 600; font-size: 15px; color: #222; }
.cvetut-pay-modal__close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #888; padding: 0 4px; }
.cvetut-pay-modal__body { flex: 1 1 auto; min-height: 0; }
.cvetut-pay-modal__frame { width: 100%; height: 100%; border: 0; display: block; }
.cvetut-pay-modal__foot { padding: 10px 16px; font-size: 12px; color: #777; border-top: 1px solid #eee; text-align: center; flex: 0 0 auto; }
.cvetut-pay-modal__foot a { color: var(--color-pink-btn, #d6336c); }
@media (max-width: 600px) {
  .cvetut-pay-modal { padding: 0; }
  .cvetut-pay-modal__box { max-width: none; height: 100%; border-radius: 0; }
}

/* Якорь «УКАЖИТЕ АДРЕС…» — не долистывать до самого верха, оставить 20px сверху */
#delivery-fields-block { scroll-margin-top: 110px; } /* учёт залипающей шапки, иначе блок обрубается сверху */

/* Нижняя полоса футера: копирайт + ссылки (политика конфиденциальности, карта сайта) */
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom__sitemap { color: inherit; opacity: .85; text-decoration: none; }
.footer-bottom__sitemap:hover { opacity: 1; text-decoration: underline; }

/* Сообщение о недоступности доставки (адрес вне зоны / время вне тарифа) */
.cart-delivery-note {
  margin: 10px 0 4px;
  padding: 10px 14px;
  background: #fdecef;
  border: 1px solid #f3b6c6;
  border-radius: 10px;
  color: #c0392b;
  font-size: 13px;
  line-height: 1.4;
}

/* ===== Попап-оповещение (временное объявление, настройки в «Блоки главной») ===== */
.cvetut-announce-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cvetut-announce-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}
.cvetut-announce-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 28px 26px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  text-align: center;
}
.cvetut-announce-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.cvetut-announce-modal__close:hover { color: #333; }
.cvetut-announce-modal__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-pink);
}
.cvetut-announce-modal__text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #555;
}
.cvetut-announce-modal__btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: var(--color-pink-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.cvetut-announce-modal__btn:hover { background: var(--color-pink); color: #fff; }
@media (max-width: 480px) {
  .cvetut-announce-modal__box { padding: 28px 20px 22px; }
}

/* ===== Баннер о cookie (низ, стиль сайта, для новых посетителей) ===== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(160%);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  width: calc(100% - 32px);
  max-width: 920px;
  background: #fff;
  border: 1px solid #f0d6e2;
  box-shadow: 0 10px 34px rgba(180, 97, 161, 0.18);
  border-radius: 16px;
  padding: 16px 24px;
  pointer-events: none;
  transition: transform .38s ease;
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cookie-banner__text { margin: 0; flex: 1; min-width: 220px; font-size: 14px; line-height: 1.5; color: #6b6b6b; }
.cookie-banner__link { color: var(--color-pink-btn); text-decoration: underline; }
.cookie-banner__link:hover { color: var(--color-pink); }
.cookie-banner__btn {
  flex: 0 0 auto;
  padding: 11px 30px;
  border: none;
  border-radius: 999px;
  background: var(--color-pink-btn);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-banner__btn:hover { opacity: .9; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; gap: 12px; padding: 16px 18px; bottom: 10px; width: calc(100% - 20px); }
}
