

/* Start:/local/templates/personalcare/styles.css?179391414455*/
/* Visual editor classes for Personal Care template */

/* End */


/* Start:/local/templates/personalcare/template_styles.css?1794947891428745*/
/* Personal-Care — главная Desktop 1440 | макет Desktop 5.pdf */

@font-face {
  font-family: "Osnova Pro";
  src: local("Osnova Pro"), local("OsnovaPro"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: local("Osnova Pro Medium"), local("OsnovaProMedium"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Osnova Pro";
  src: local("Osnova Pro Bold"), local("OsnovaProBold"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Alias «Osnova» → те же файлы Osnova Pro (отдельного семейства Osnova в проектах нет) */
@font-face {
  font-family: "Osnova";
  src: local("Osnova Pro"), local("OsnovaPro"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Osnova";
  src: local("Osnova Pro Medium"), local("OsnovaProMedium"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Osnova";
  src: local("Osnova Pro Bold"), local("OsnovaProBold"),
    url("/local/templates/personalcare/assets/fonts/OsnovaPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: #000000;
  --color-text-muted: #9C9CB1;
  --color-text-light: #9C9CB1;
  --color-price-old: #9c9cb1;
  --color-border: #e0e0e0;
  --color-bg-category: #bbbdca;
  --color-bg-media: #e8e8f4;
  --color-bg-brand: #f0f0f8;
  --color-accent-active: #9eb5e9;
  --color-sale: #e53935;
  --color-sale-note: #fd2d80;
  --color-news-bg: #e1e4f2;
  --color-footer-bg: #e1e4f2;
  --color-story-news: #9abbf4;
  --color-story-sale: #ff71aa;
  --color-story-social: #bed2f6;
  --color-story-tips: #aaaef8;

  --font-family: "Osnova Pro", "Helvetica Neue", Arial, sans-serif;
  --page-width: 1440rem;
  --container-padding: 100rem;
  --content-width: 1040rem;
  --grid-gap: 31rem;
  --col-width: 285rem;
  --cat-width: 148rem;
  --cat-gap: 31rem;
  --brand-width: 134rem;
  --brand-gap: 17rem;

  --header-height: 64rem;
  --hero-height: 500rem;
  --section-padding: 48rem;
  --section-head-gap: 24rem;

  /* iOS notch / home indicator (нужен viewport-fit=cover) */
  --safe-top: env(safe-area-inset-top, 0);
  --safe-right: env(safe-area-inset-right, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
  --header-offset: calc(var(--header-height) + var(--safe-top));

  --radius-card: 4rem;
  --radius: 6rem;
  --transition: 0.2s ease;

  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-cookie: 400;
  --cursor-zoom-in: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35' fill='none'%3E%3Cpath d='M17.5 10.5V24.5' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M24.5 17.5H10.5' stroke='black' stroke-width='1.5'/%3E%3Crect x='0.75' y='0.75' width='33.5' height='33.5' rx='16.75' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") 17 17, zoom-in;
  --cursor-zoom-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35' fill='none'%3E%3Cpath d='M24.5 17.5H10.5' stroke='black' stroke-width='1.5'/%3E%3Crect x='0.75' y='0.75' width='33.5' height='33.5' rx='16.75' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") 17 17, zoom-out;

  /* Отступ до контента с учётом центрирования max-width страницы */
  --page-gutter: max(
    var(--container-padding),
    calc((100svw - var(--page-width)) / 2 + var(--container-padding))
  );
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  /* 1rem = 1px макета. От 1280 до 1440 страница чуть сжимается, как на rocs.ru.
     Ниже 1280 размер зафиксирован: адаптивные правила уже заданы в своих брейкпоинтах. */
  font-size: calc(100vw / 1440);
}
@media (min-width: 1440px) {
  html { font-size: 1px; }
}
@media (max-width: 1280px) {
  html { font-size: 1px; }
}

body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-family);
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.43;
  color: var(--color-text);
  background: var(--color-white);
}

html.is-locked,
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
@media (hover: hover) {
  a:hover { opacity: 0.65; }
}
a:focus-visible { opacity: 0.65; }

/* Свои hover-эффекты — не гасим прозрачностью */
@media (hover: hover) {
  a.btn:hover,
  a.catalog-quick__btn:hover,
  .brands__link:hover,
  .product-card__image-link:hover,
  .site-header__nav-link:hover,
  .mega-menu__cat-link:hover,
  .mega-menu__sub-list a:hover,
  .catalog-subs__chip:hover,
  .catalog-subs__child:hover,
  .mega-menu__brand-media:hover,
  .care-directions__item:hover,
  .novinki__banner:hover,
  .hero a:hover,
  .search-overlay__item a:hover {
    opacity: 1;
  }
}
a.btn:focus-visible,
.brands__link:focus-visible,
.product-card__image-link:focus-visible,
.site-header__nav-link:focus-visible,
.mega-menu__cat-link:focus-visible,
.care-directions__item:focus-visible {
  opacity: 1;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* Единое скругление UI */
.btn,
.product-card__image,
.product-card__image-link,
.product-card__media,
.product-card__promo-image,
.care-directions__image-wrap,
.care-directions__image-wrap img,
.novinki__banner,
.novinki__banner img,
.brands__link,
.brands__logo,
.news__card,
.catalog-promo,
.catalog-promo img,
.catalog-filter__dropdown,
.product-gallery__main,
.product-gallery__image,
.product-gallery__thumb,
.product-info__offer,
.product-info__buy,
.product-info__qty,
.product-features__item,
.product-features__badge,
.cart-toast,
.cart-toast__thumb,
.auth-modal__input,
.filter-drawer__panel,
.filter-drawer__box,
.mega-menu {
  border-radius: var(--radius);
}
.site-header__cart-count,
.site-header__fav-count,
.hero__dot,
.stories__btn,
.stories__thumb {
  border-radius: 50%;
}
.product-card__image-link,
.product-card__media,
.care-directions__image-wrap,
.novinki__banner,
.catalog-promo,
.product-gallery__main,
.product-gallery__thumb {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
}

/* Рабочая область шаблона: контент не шире макета, новые разделы не разъезжаются */
.site-workarea {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.site-workarea__inner {
  min-width: 0;
}
.site-workarea img,
.site-workarea video,
.site-workarea iframe,
.site-workarea table,
.site-workarea pre {
  max-width: 100%;
}
.site-workarea iframe,
.site-workarea video {
  height: auto;
 max-height: 100%;
background: #ececf8;
}

/* Страница без своей .container (новый раздел Bitrix) — держим ту же ширину */
.site-workarea:not(:has(.container)) {
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
}
body.page-home .site-workarea:not(:has(.container)),
body.page-404 .site-workarea:not(:has(.container)) {
  max-width: none;
  padding-inline: 0;
}

.visually-hidden {
  position: absolute; width: 1rem; height: 1rem; padding: 0; margin: -1rem;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.link-btn {
  font-size: 14rem; color: var(--color-text-muted); text-decoration: underline;
  text-underline-offset: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 32rem; min-height: 48rem;
  font-size: 14rem; font-weight: 400; text-transform: lowercase;
  border-radius: 6rem;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.btn--primary { background: var(--color-black); color: var(--color-white); }
.btn--primary:hover { background: #222; color: var(--color-white); }
/* Дизайнер: цвет кнопки при нажатии чёрной кнопки — periwinkle, текст белый */
.btn--primary:active {
  background: var(--color-accent-active);
  color: var(--color-white);
}
.btn--primary:disabled, .btn--primary.is-loading { opacity: 0.6; pointer-events: none; }
.btn--full { width: 100%; }
.btn--sm { padding: 0 20rem; min-height: 40rem; font-size: 12rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Section */
.section { padding-block: 24rem; }

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24rem; margin-bottom: var(--section-head-gap);
}

.section__title {
  font-family: var(--font-family);
  font-size: 22rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 26rem;
  color: var(--color-black);
}

.section__link {
  font-size: 14rem; color: var(--color-black); text-transform: lowercase; white-space: nowrap;
}
.section__link:hover { opacity: 0.55; }

/* Контролы занимают ровно 4-ю колонку сетки — «смотреть все» = левый край карточек */
.section__controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12rem; flex-shrink: 0;
  width: var(--col-width);
  max-width: var(--col-width);
}
.section__nav { display: flex; align-items: center; gap: 4rem; margin-left: auto; }

.section__nav-btn {
  width: 24rem; height: 24rem; display: flex; align-items: center; justify-content: center;
  background: transparent; padding: 0; color: var(--color-black);
}
.section__nav-btn img { width: 16rem; height: 16rem; display: block; }
.section__nav-btn--prev img { transform: rotate(180deg); }
.section__nav-btn:disabled {
  color: #9C9CB1;
  opacity: 1;
  cursor: not-allowed;
}
.section__nav-btn:disabled img { opacity: 0.28; }

.section__counter {
  font-size: 14rem; color: var(--color-black); min-width: 36rem; text-align: center;
}

/* Header — sticky по умолчанию; поверх слайдера/баннера — fixed + прозрачная */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-white);
  padding-top: var(--safe-top);
}

@media (min-width: 800px) {
  .site-header {
    border-bottom: 1rem solid #eee;
  }
  /* Пока шапка прозрачна поверх hero — без рамки */
  body:has(.hero) .site-header,
  body:has(.catalog-hero) .site-header {
    border-bottom-color: transparent;
  }
  body:has(.hero) .site-header:has(.mega-menu:not([hidden])),
  body:has(.hero) .site-header.is-menu-open,
  body:has(.hero) .site-header.is-search-open,
  body:has(.hero) .site-header.is-scrolled,
  body:has(.catalog-hero) .site-header:has(.mega-menu:not([hidden])),
  body:has(.catalog-hero) .site-header.is-menu-open,
  body:has(.catalog-hero) .site-header.is-search-open,
  body:has(.catalog-hero) .site-header.is-scrolled {
    border-bottom-color: #eee;
  }
}

/* Слайдер (.hero) или баннер раздела (.catalog-hero): шапка прозрачная поверх */
body:has(.hero) .site-header,
body:has(.catalog-hero) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

body:has(.hero) .site-header:has(.mega-menu:not([hidden])),
body:has(.hero) .site-header.is-menu-open,
body:has(.hero) .site-header.is-search-open,
body:has(.hero) .site-header.is-scrolled,
body:has(.hero):has(.mobile-menu.is-open) .site-header,
body:has(.catalog-hero) .site-header:has(.mega-menu:not([hidden])),
body:has(.catalog-hero) .site-header.is-menu-open,
body:has(.catalog-hero) .site-header.is-search-open,
body:has(.catalog-hero) .site-header.is-scrolled,
body:has(.catalog-hero):has(.mobile-menu.is-open) .site-header {
  background: var(--color-white);
}

/* Светлые элементы шапки поверх тёмного баннера/слайда */
.site-header.is-header-light {
  --header-on-hero-fg: #fff;
  --header-icon-filter: brightness(0) invert(1);
  --header-badge-bg: #fff;
  --header-badge-fg: var(--color-black);
}
.site-header.is-header-light:has(.mega-menu:not([hidden])),
.site-header.is-header-light.is-menu-open,
.site-header.is-header-light.is-search-open,
.site-header.is-header-light.is-scrolled,
body:has(.mobile-menu.is-open) .site-header.is-header-light {
  --header-on-hero-fg: var(--color-black);
  --header-icon-filter: none;
  --header-badge-bg: var(--color-black);
  --header-badge-fg: var(--color-white);
}
.site-header.is-header-light .site-header__nav-link {
  color: var(--header-on-hero-fg);
}
.site-header.is-header-light .site-header__nav-link::after {
  background: var(--header-on-hero-fg);
}
.site-header.is-header-light .site-header__burger-line,
.site-header.is-header-light .site-header__burger-line::before,
.site-header.is-header-light .site-header__burger-line::after {
  background: var(--header-on-hero-fg);
}
.site-header.is-header-light .site-header__burger[aria-expanded="true"] .site-header__burger-line {
  background: transparent;
}
.site-header.is-header-light .site-header__logo img,
.site-header.is-header-light .site-header__action img {
  filter: var(--header-icon-filter);
}
.site-header.is-header-light .site-header__cart-count,
.site-header.is-header-light .site-header__fav-count {
  background: var(--header-badge-bg);
  color: var(--header-badge-fg);
}

/* Баннер раздела: контент не уезжает под фиксированную шапку */
body:has(.catalog-hero) .catalog-hero__inner {
  padding-top: calc(var(--header-offset) + 18rem);
}

.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: var(--header-height); gap: 24rem;
}

/* Области включения Bitrix не должны ломать flex/grid шапки и подвала */
.site-header [id^="bx_incl_area_"],
.site-header__nav-list > [id^="bx_incl_area_"],
.site-footer [id^="bx_incl_area_"],
.site-footer__main > [id^="bx_incl_area_"],
.site-footer__bottom-inner > [id^="bx_incl_area_"],
.section__head [id^="bx_incl_area_"],
.section__title [id^="bx_incl_area_"],
.section__link [id^="bx_incl_area_"],
.catalog-hero__title [id^="bx_incl_area_"],
.catalog-cats__grid > [id^="bx_incl_area_"],
.care-directions__label [id^="bx_incl_area_"],
.catalog-cats__label [id^="bx_incl_area_"] {
  display: contents;
}

.site-header__start {
  display: none;
  align-items: center;
  gap: 14rem;
}
.site-header__action--search-mobile { display: none; }

.site-header__burger { display: none; width: 32rem; height: 32rem; flex-direction: column; justify-content: center; }
.site-header__burger-line, .site-header__burger-line::before, .site-header__burger-line::after {
  display: block; width: 20rem; height: 1rem; background: var(--color-black); content: "";
  transition: transform .2s ease, top .2s ease, background .2s ease, opacity .2s ease;
}
.site-header__burger-line { position: relative; }
.site-header__burger-line::before { position: absolute; top: -6rem; }
.site-header__burger-line::after { position: absolute; top: 6rem; }
.site-header__burger[aria-expanded="true"] .site-header__burger-line { background: transparent; }
.site-header__burger[aria-expanded="true"] .site-header__burger-line::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header__burger[aria-expanded="true"] .site-header__burger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__nav {
  display: flex;
  align-self: stretch;
  height: 100%;
}
.site-header__nav-list {
  display: flex;
  align-items: stretch;
  gap: 32rem;
  height: 100%;
}
.site-header__nav-item { display: flex; }
.site-header__nav-item--has-dropdown { position: static; }
.site-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family);
  font-size: 10rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  padding: 0;
  color: var(--color-black);
}
.site-header__nav-link:hover,
.site-header__nav-link.is-current,
.site-header__nav-link[aria-current="page"],
.site-header__nav-item--has-dropdown.is-open .site-header__nav-link {
  opacity: 1;
}
/* Активный пункт: чёрная черта по ширине текста, на нижней границе шапки */
.site-header__nav-link:hover::after,
.site-header__nav-link.is-current::after,
.site-header__nav-link[aria-current="page"]::after,
.site-header__nav-item--has-dropdown.is-open .site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2rem;
  background: var(--color-black);
}

.site-header__logo { justify-self: center; line-height: 0; }
.site-header__logo img { width: 129rem; height: 15rem; }

.site-header__actions { display: flex; align-items: center; gap: 20rem; justify-self: end; position: relative; }
.site-header__action {
  display: flex; align-items: center; justify-content: center;
  width: 24rem; height: 24rem; line-height: 0;
  padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; cursor: pointer;
  transition: opacity var(--transition);
}
@media (hover: hover) {
  .site-header__action:hover { opacity: 0.55; }
}
.site-header__action:focus-visible { opacity: 0.55; }
.site-header__action img { max-width: 17rem; max-height: 16rem; width: auto; height: auto; }
.site-header__cart,
.site-header__fav { position: relative; overflow: visible; }
.site-header__cart-count,
.site-header__fav-count {
  position: absolute;
  top: -1rem;
  right: -2rem;
  min-width: 14rem;
  height: 14rem;
  padding: 0 3rem;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  box-sizing: border-box;
  pointer-events: none;
}
.site-header__cart-count[hidden],
.site-header__fav-count[hidden] { display: none !important; }

/* Toast «добавлен в корзину» — макет: тёмная плашка под шапкой справа */
.cart-toast {
  position: fixed;
  top: calc(var(--header-height) + var(--safe-top) + 40rem);
  right: max(24rem, var(--safe-right));
  left: auto;
  z-index: calc(var(--z-modal) + 20);
  display: flex;
  gap: 12rem;
  align-items: center;
  width: 340rem;
  max-width: calc(100vw - 32rem);
  min-height: 84rem;
  padding: 10rem 12rem;
  border-radius: 6rem;
  background: #2b2b2b;
  color: var(--color-white);
  box-shadow: 0 12rem 32rem rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.cart-toast.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.cart-toast[hidden] { display: none !important; }
.cart-toast.is-visible[hidden] { display: flex !important; }
.cart-toast__thumb {
  width: 56rem; height: 56rem; flex-shrink: 0;
  object-fit: contain;
  border-radius: 6rem;
  background: #eceef4;
}
.cart-toast__thumb[hidden] { display: none !important; }
.cart-toast__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cart-toast__status-icon {
  width: 14rem; height: 14rem; flex-shrink: 0;
  color: #fff;
  opacity: 0.95;
}
.cart-toast__status {
  display: flex; align-items: center; gap: 6rem;
  margin: 0;
  font-size: 11rem; line-height: 1.2;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  text-transform: lowercase;
}
.cart-toast__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}
.cart-toast__category,
.cart-toast__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-toast__category:empty,
.cart-toast__name:empty { display: none; }
.cart-toast__qty {
  margin: 0;
  font-size: 12rem;
  line-height: 1.2;
  color: rgba(255,255,255,.65);
  text-transform: lowercase;
}

/* Mega menu — Desktop 2.pdf, появление при наведении на «каталог» */
.mega-menu {
  --menu-l1: 188rem;
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 1;
  background: var(--color-white);
  box-shadow: 0 16rem 32rem rgba(0,0,0,.06);
  padding: 28rem 0 44rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.mega-menu[hidden] { display: block !important; }
.site-header__nav-item--has-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(220rem, 260rem) 1fr;
  gap: 72rem;
  align-items: start;
}
.mega-menu__categories { display: flex; flex-direction: column; gap: 0; max-width: 260rem; width: 100%; }
.mega-menu__categories li { margin: 0; }
.mega-menu__cat-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8rem;
  width: fit-content;
  max-width: 100%;
  padding: 8rem 0;
  font-size: 14rem;
  line-height: 1.35;
  font-weight: 400;
  text-transform: lowercase;
  color: #9C9CB1;
  transition: color var(--transition);
}
.mega-menu__cat-link::after {
  content: "";
  width: 5rem; height: 5rem; flex-shrink: 0;
  margin-right: 0;
  border-right: 1.5rem solid currentColor;
  border-top: 1.5rem solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}
.mega-menu__cat-link.is-active,
.mega-menu__cat-link:hover {
  color: var(--color-black);
  font-weight: 400;
}
.mega-menu__cat-link.is-active::after,
.mega-menu__cat-link:hover::after {
  opacity: 1;
  border-color: currentColor;
}

/* Каталог, десктоп 1440: левый край совпадает с «каталог».
   Ширина колонки — по самой длинной подписи, шевроны одним столбцом.
   Зазор до подменю 26px, шаг строки 28px, поля панели 20 / 56. */
.mega-menu[data-entity="catalog-mega-menu"] {
  --menu-l1: 292rem;
  --mega-col-gap: 26rem;
  --mega-row: 28rem;
  padding: 20rem 0 56rem;
  border-radius: 0;
  border-top: 1rem solid rgb(238, 238, 238);
  box-shadow: none;
}
[data-entity="catalog-mega-menu"] .mega-menu__inner {
  display: block;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
}
[data-entity="catalog-mega-menu"] .mega-menu__inner {
  position: relative;
}
[data-entity="catalog-mega-menu"] .mega-menu__categories {
  position: static;
  display: grid;
  grid-template-columns: max-content;
  gap: 0;
  align-items: stretch;
  justify-items: stretch;
  max-width: none;
  width: max-content;
}
[data-entity="catalog-mega-menu"] .mega-menu__promo {
  margin-inline: 0;
}
[data-entity="catalog-mega-menu"] .mega-menu__categories > li {
  display: block;
  margin: 0;
}
[data-entity="catalog-mega-menu"] .mega-menu__cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: var(--menu-l1);
  max-width: none;
  height: var(--mega-row);
  padding: 0;
  gap: 8rem;
  font-size: 14rem;
  line-height: 1;
  white-space: nowrap;
}
[data-entity="catalog-mega-menu"] .mega-menu__cat-link::after {
  width: 4rem;
  height: 4rem;
  margin: 0;
  border-right-width: 1rem;
  border-top-width: 1rem;
  opacity: 1;
}
[data-entity="catalog-mega-menu"] .mega-menu__cat-link.is-leaf::after {
  content: none;
}
.mega-menu__sub-list {
  display: none;
  flex-direction: column;
  gap: 0;
  align-self: start;
  min-height: 0;
}
[data-entity="catalog-mega-menu"] .mega-menu__sub-list {
  position: absolute;
  top: 0;
  left: calc(max(var(--container-padding), var(--safe-left)) + var(--menu-l1) + var(--mega-col-gap));
  grid-column: auto;
  grid-row: auto;
}
[data-entity="catalog-mega-menu"] .mega-menu__sub-list:has(.mega-menu__promo) {
  left: 50%;
  width: 385rem;
  transform: translateX(-50%);
}
[data-entity="catalog-mega-menu"] .mega-menu__categories > li.is-active > .mega-menu__sub-list {
  display: flex;
}
.mega-menu__sub-list a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 28rem;
  padding: 0;
  font-size: 14rem;
  line-height: 1;
  font-weight: 400;
  text-transform: lowercase;
  color: #9C9CB1;
  white-space: nowrap;
  transition: color var(--transition);
}
[data-entity="catalog-mega-menu"] .mega-menu__sub-list a.mega-menu__promo {
  display: block;
  width: 385rem;
  height: 213rem;
  padding: 0;
  border-radius: 6rem;
  overflow: hidden;
  white-space: normal;
}
.mega-menu__sub-list a:hover {
  color: #000000;
  opacity: 1;
}

/* Баннер «новинки» / «особый уход» / «наборы»: 385×213, скругление 6px */
.mega-menu__promo {
  display: block;
  width: 385rem;
  height: 213rem;
  padding: 0;
  border-radius: 6rem;
  overflow: hidden;
  line-height: 0;
  text-transform: none;
  color: inherit;
}
.mega-menu__sub-list .mega-menu__promo:hover {
  opacity: 1;
}
.mega-menu__promo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 6rem;
}

/* Mega menu — бренды: список, мобильный баннер страницы, текст */
.mega-menu--brands {
  padding: 20rem 0 48rem;
  border-top: 1rem solid #eeeeee;
  box-shadow: none;
}
.mega-menu--brands .mega-menu__inner {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
}
.mega-menu--brands .mega-menu__categories {
  width: var(--menu-l1);
  max-width: none;
}
.mega-menu__cat-link--brand {
  text-transform: none;
  letter-spacing: 0;
}
.mega-menu--brands .mega-menu__cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 28rem;
  padding: 0;
  gap: 8rem;
  font-size: 14rem;
  line-height: 1;
  white-space: nowrap;
}
.mega-menu--brands .mega-menu__cat-link::after {
  width: 4rem;
  height: 4rem;
  margin: 0;
  border-right-width: 1rem;
  border-top-width: 1rem;
  opacity: 1;
}
.mega-menu__brand-panel {
  display: block;
  min-height: 0;
}
.mega-menu__brand-media {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 385rem;
  height: 213rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6rem;
  line-height: 0;
  background: transparent;
  transform: translateX(-50%);
}
.mega-menu__brand-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 6rem;
}
.mega-menu__brand-info {
  position: absolute;
  top: 213rem;
  left: calc(50% + 192rem + 40rem);
  width: min(260rem, calc(50% - 192rem - 56rem));
  min-width: 0;
  transform: translateY(-100%);
}
.mega-menu--brands .mega-menu__brand-name { display: none; }
.mega-menu__brand-text {
  margin: 0 0 16rem;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-black);
}
.mega-menu__brand-link {
  font-size: 14rem;
  line-height: 1.35;
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.mega-menu__brand-link:hover { opacity: 0.55; }

@media (max-width: 1100px) {
  .mega-menu { --menu-l1: 168rem; }
}

/* Search — сценарий: белая панель + затемнение фона, шапка остаётся на месте */
.search-overlay {
  position: fixed;
  inset: 0;
  padding-top: var(--header-offset);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  isolation: isolate;
}
.search-overlay[hidden] { display: none !important; }
.search-overlay:not([hidden]) { pointer-events: auto; }

.search-overlay__panel {
  position: relative; z-index: 1;
  width: 100%;
  border-radius: 0;
  background: var(--color-white);
  padding: 42rem 0 100rem;
  flex-shrink: 0;
}
.search-overlay__inner.container {
  max-width: none;
}
.search-overlay__backdrop {
  flex: 1; min-height: 0;
  width: 100%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
}

.search-overlay__form {
  width: 100%;
  margin-bottom: 60rem;
}
.search-overlay__input {
  width: 100%;
  padding: 0;
  min-height: 1.15em;
  font-size: 28rem;
  line-height: 1.15;
  font-weight: 400;
  font-family: var(--font-family);
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
  caret-color: var(--color-text);
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}
.search-overlay__input::-webkit-search-decoration,
.search-overlay__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-overlay__input::placeholder {
  color: #9C9CB1;
  text-transform: lowercase;
  opacity: 1;
}

.search-overlay__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48rem 80rem;
  width: 100%;
  max-width: 680rem;
  margin-inline: auto;
}
.search-overlay__results:has([data-entity="search-history-block"][hidden]) {
  grid-template-columns: 1fr;
  max-width: 320rem;
}
.search-overlay__block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16rem;
  margin-bottom: 22rem;
  font-family: var(--font-family);
  font-size: 14rem;
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: #9C9CB1;
}
.search-overlay__clear {
  font-size: 14rem;
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: #9C9CB1;
}
.search-overlay__clear:hover { color: var(--color-text); }

.search-overlay__list { display: flex; flex-direction: column; gap: 0; }
.search-overlay__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8rem;
  padding: 6rem 0;
  margin-inline: 0;
  background: transparent;
}
.search-overlay__item:hover,
.search-overlay__item.is-active {
  background: #eef2fb;
  border-radius: 6rem;
  margin-inline: -8rem;
  padding-inline: 8rem;
}
.search-overlay__item a {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 14rem;
  line-height: 1.15;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--color-text);
  transition: color var(--transition);
}
.search-overlay__item:hover a,
.search-overlay__item.is-active a {
  color: var(--color-accent-active);
}
.search-overlay__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16rem;
  height: 16rem;
  flex-shrink: 0;
  color: #9C9CB1;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
}
.search-overlay__remove:hover { color: var(--color-text); }
.search-overlay__item:hover .search-overlay__remove,
.search-overlay__item.is-active .search-overlay__remove,
.search-overlay__remove:focus-visible {
  opacity: 1;
}
.search-overlay__block[hidden] { display: none !important; }

.page-home .site-header.is-search-open,
.site-header.is-search-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  z-index: calc(var(--z-modal) + 1);
}

/* Иконка поиска — активна (periwinkle), как в макете «поиск.png» */
.site-header.is-search-open [data-action="open-search"] img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(16%) saturate(1012%) hue-rotate(187deg) brightness(97%) contrast(91%);
}

/* Auth drawer — phone SMS + регистрация (макеты: вход в шапке / регистрация) */
.auth-modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; align-items: stretch; justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}
.auth-modal[hidden] { display: none !important; }
.auth-modal__dialog {
  pointer-events: auto;
  position: relative;
  width: min(480rem, 100vw);
  height: 100%;
  height: 100dvh;
  max-height: none;
  background: var(--color-white);
  padding: 56rem 48rem 24rem;
  box-shadow: -12rem 0 40rem rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-modal__step {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: center;
}
.auth-modal__step--email,
.auth-modal__step--phone,
.auth-modal__step--code {
  max-width: 340rem;
}
.auth-modal__step--register {
  max-width: 400rem;
}
.auth-modal__step-head {
  flex-shrink: 0;
}
.auth-modal__close {
  position: absolute; top: calc(18rem + var(--safe-top)); right: 18rem;
  width: 32rem; height: 32rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text);
  opacity: .55;
  z-index: 1;
}
.auth-modal__close:hover { opacity: 1; }
.auth-modal__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24rem; height: 24rem;
  margin: 0 0 24rem;
  padding: 0;
  color: var(--color-text);
}
.auth-modal__back:hover { opacity: .55; }
.auth-modal__back[hidden] { display: none !important; }
.auth-modal__title {
  font-size: 24rem; font-weight: 400; line-height: 1.25;
  margin: 0 0 10rem; text-align: left; color: var(--color-text);
  text-transform: lowercase;
}
.auth-modal__title--center {
  text-align: center;
  text-transform: none;
  font-size: 32rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 8rem;
}
.auth-modal__social-label {
  margin: 0 0 20rem;
  font-size: 14rem;
  text-align: center;
  color: #9C9CB1;
  text-transform: lowercase;
}
.auth-modal__social {
  /*display: flex;*/
  display: none !important;
  justify-content: center;
  gap: 28rem;
  margin: 0 0 32rem;
  padding: 0;
  list-style: none;
}
.auth-modal__social-btn {
  /*display: flex;*/
  display: none !important;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
  min-width: 64rem;
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
}
.auth-modal__social + .auth-modal__error {
  text-align: center;
  margin: -16rem 0 20rem;
}
.auth-modal__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50rem;
  height: 50rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
}
.auth-modal__social-icon img,
.auth-modal__social-icon svg {
  display: block;
  width: 50rem;
  height: 50rem;
  max-width: 50rem;
  max-height: 50rem;
  object-fit: contain;
}
.auth-modal__social-icon--yandex {
  background: transparent;
  border: 0;
}
.auth-modal__social-icon--yandex img,
.auth-modal__social-icon--google img {
  width: 50rem;
  height: 50rem;
}
.auth-modal__social-icon--vk img {
  width: 33rem;
  height: auto;
  max-width: 33rem;
  max-height: none;
}
.auth-modal__desc {
  font-size: 14rem; line-height: 1.5; color: var(--color-text);
  text-align: left; margin: 0 0 32rem;
}
.auth-modal__desc--center {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  margin-bottom: 32rem;
}
.auth-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.auth-modal__forgot {
  display: block;
  margin: 24rem auto 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-family);
  font-size: 13rem;
  color: #9C9CB1;
  text-decoration: underline;
  text-underline-offset: 3rem;
  cursor: pointer;
}
.auth-modal__forgot:hover { color: var(--color-text); }
.btn--ghost {
  background: transparent;
  color: var(--color-black);
  border: 1rem solid var(--color-black);
}
.btn--ghost:hover { opacity: 0.7; }

/* Выбранный чекбокс: чёрный квадрат + белая галочка */
.checkout-delivery__box,
.checkout-consent__box,
.checkout-pay__box,
.filter-drawer__box,
.address-form__check-box,
.profile-gender__box,
.checkout-m-method__check,
.checkout-m-tariff__check,
.checkout-mpay__check,
.auth-modal__consent-box,
.pc-consent__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-delivery__option input:checked + .checkout-delivery__box::after,
.checkout-consent input:checked + .checkout-consent__box::after,
.pc-consent input:checked + .pc-consent__box::after,
.checkout-pay__option input:checked + .checkout-pay__box::after,
.filter-drawer__check input:checked + .filter-drawer__box::after,
.address-form__check input[type="checkbox"]:checked + .address-form__check-box::after,
.profile-gender__option input:checked + .profile-gender__box::after,
.checkout-m-method.is-selected .checkout-m-method__check::after,
.checkout-m-tariff:has(input:checked) .checkout-m-tariff__check::after,
.checkout-mpay:has(input:checked) .checkout-mpay__check::after,
.auth-modal__consent input:checked + .auth-modal__consent-box::after {
  content: "";
  width: 10rem;
  height: 6rem;
  border: solid #fff;
  border-width: 0 0 2rem 2rem;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
  margin-top: -2rem;
  flex-shrink: 0;
}
/* Нативные чекбоксы — тот же квадрат 16px и белая галочка, что в оформлении заказа */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 16rem;
  height: 16rem;
  margin: 0;
  flex-shrink: 0;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16rem 16rem;
  vertical-align: middle;
  cursor: pointer;
}
input[type="checkbox"]:checked {
  background-color: #000;
  border-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.1 L6.3 11.1 L12.6 4.8' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
}
input[type="checkbox"]:disabled {
  cursor: default;
}
input[type="checkbox"]:focus-visible {
  outline: 1rem solid #000;
  outline-offset: 2rem;
}
.auth-modal__consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10rem;
  margin-top: 8rem;
  font-size: 11rem;
  line-height: 1.45;
  color: #9C9CB1;
  cursor: pointer;
}
.auth-modal__consent input {
  position: absolute;
  opacity: 0;
  width: 1rem;
  height: 1rem;
  margin: 0;
}
.auth-modal__consent-box {
  flex: 0 0 16rem;
  width: 16rem;
  height: 16rem;
  margin-top: 2rem;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background: #fff;
  box-sizing: border-box;
}
.auth-modal__consent input:checked + .auth-modal__consent-box {
  background: #000;
  border-color: #000;
}
.auth-modal__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2rem; }
.auth-modal__consent[hidden] { display: none !important; }
.auth-modal__help {
  display: block;
  margin: 14rem 0 0;
  text-align: center;
  font-size: 12rem;
  color: #9C9CB1;
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.auth-modal__help[hidden] { display: none !important; }
.auth-modal__field[hidden],
[data-entity="auth-cosmo-field"][hidden] { display: none !important; }
.auth-modal__code-head { margin-bottom: 32rem; }
.auth-modal__target {
  margin: 0 0 8rem;
  font-size: 20rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
}
.auth-modal__hint {
  margin: 0;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}
.auth-modal__form {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.auth-modal__form-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.auth-modal__form-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 16rem;
  background: var(--color-white);
  box-shadow: 0 -16rem 24rem var(--color-white);
}
.auth-modal__step--email .auth-modal__form-body {
  flex: 0 1 auto;
  overflow: visible;
}
.auth-modal__step--email .auth-modal__form-footer {
  margin-top: 32rem;
  padding-top: 0;
  box-shadow: none;
}
.auth-modal__step--email .auth-modal__legal {
  display: block;
  margin-top: 48rem;
  text-align: left;
  color: #9C9CB1;
  font-size: 11rem;
  line-height: 1.45;
}
.auth-modal__form-footer .auth-modal__submit { margin-top: 0; }
.auth-modal__form-footer .auth-modal__error { margin: 0 0 12rem; }
.auth-modal__form--code .auth-modal__field { margin-bottom: 10rem; }
.auth-modal__form--code .auth-modal__error { margin: 0 0 10rem; }
.auth-modal__form--code .auth-modal__timer,
.auth-modal__form--code .auth-modal__resend-link {
  margin: 0 0 12rem;
  font-size: 12rem;
  line-height: 1.4;
  color: #9C9CB1;
}
.auth-modal__form--code .auth-modal__resend-link {
  text-decoration: underline;
  text-underline-offset: 2rem;
  color: var(--color-text);
}
.auth-modal__form--register .auth-modal__form-body {
  display: flex;
  flex-direction: column;
  gap: 18rem;
}

.auth-modal__country {
  display: flex;
  align-items: center;
  gap: 10rem;
  width: 100%;
  padding: 10rem 0 12rem;
  margin-bottom: 4rem;
  border: 0;
  border-bottom: 1rem solid #c8c8c8;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-text);
  text-align: left;
}
.auth-modal__country-flag { display: inline-flex; line-height: 0; }
.auth-modal__country-name { flex: 1; }
.auth-modal__country-chevron { opacity: .55; }

.auth-modal__field { display: block; position: relative; }
.auth-modal__label {
  display: block;
  margin-bottom: 2rem;
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text);
  text-transform: lowercase;
}
.auth-modal__input {
  width: 100%;
  padding: 8rem 0 10rem;
  font-size: 14rem; font-family: var(--font-family);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1rem solid #c8c8c8;
  outline: none;
  border-radius: 0;
}
.auth-modal__input::placeholder { color: #9C9CB1; text-transform: lowercase; }
.auth-modal__input:focus { border-bottom-color: var(--color-black); }
.auth-modal__input.is-invalid { border-bottom-color: var(--color-sale-note); }
.auth-modal__field--email {
  margin-bottom: 0;
}
.auth-modal__field--email .auth-modal__label {
  color: #9C9CB1;
  font-size: 12rem;
  letter-spacing: 0.06em;
  margin-bottom: 14rem;
  text-transform: uppercase;
}
.auth-modal__field--email .auth-modal__input {
  border: none;
  border-bottom: 1rem solid #c8c8c8;
  border-radius: 0;
  background: transparent;
  padding: 0 0 12rem;
  font-size: 15rem;
  min-height: 28rem;
}
.auth-modal__field--email .auth-modal__input:focus {
  border-bottom-color: var(--color-black);
}
.auth-modal__field--phone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8rem;
  border-bottom: 1rem solid #c8c8c8;
  padding-bottom: 0;
}
.auth-modal__field--phone .auth-modal__label { width: 100%; margin-bottom: 4rem; }
.auth-modal__field--phone .auth-modal__input {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
  padding-left: 0;
}
.auth-modal__field--phone:focus-within { border-bottom-color: var(--color-black); }
.auth-modal__phone-prefix {
  flex-shrink: 0;
  font-size: 14rem;
  line-height: 1;
  color: var(--color-text);
  padding-bottom: 10rem;
}
.auth-modal__hint-text {
  display: block;
  margin-top: 6rem;
  font-size: 11rem;
  line-height: 1.35;
  color: #9C9CB1;
}
.auth-modal__hint-text[hidden] { display: none !important; }
.auth-modal__input--code {
  letter-spacing: 0.08em; text-align: left; font-size: 16rem; font-weight: 400;
}
.auth-modal__input--code::placeholder {
  letter-spacing: normal; font-size: 14rem; font-weight: 400; color: #9C9CB1;
}
.auth-modal__error {
  margin: 8rem 0 0; font-size: 12rem; color: var(--color-sale-note); line-height: 1.3;
}
.auth-modal__error[hidden] { display: none !important; }
.auth-modal__submit {
  margin-top: 0;
  text-transform: lowercase;
  border-radius: var(--radius);
  min-height: 48rem;
}
.auth-modal__legal {
  margin: 16rem 0 0; font-size: 11rem; line-height: 1.5;
  color: #9C9CB1; text-align: center;
}
.auth-modal__legal a {
  color: inherit; text-decoration: underline; text-underline-offset: 2rem;
}
.auth-modal__link-btn {
  font-size: inherit; font-family: inherit; color: var(--color-text);
  text-decoration: underline; text-underline-offset: 2rem;
  background: none; border: none; padding: 0; cursor: pointer;
  text-align: left;
}
.auth-modal__link-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: none; }
.auth-modal__timer { font-size: 12rem; color: #9C9CB1; }
.auth-modal__timer:empty { display: none; }
.auth-modal__step[hidden] { display: none !important; }

.auth-modal__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  margin: 18rem 0 0;
}
.auth-modal__role {
  min-height: 40rem;
  padding: 10rem 12rem;
  border: 0;
  border-radius: var(--radius);
  background: #e8eaf4;
  font-family: var(--font-family);
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text);
}
.auth-modal__role.is-active {
  background: var(--color-black);
  color: var(--color-white);
}
.auth-modal__intro {
  margin: 0;
  font-size: 12rem;
  line-height: 1.45;
  color: #9C9CB1;
}
.auth-modal__intro a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.auth-modal__intro[hidden] { display: none !important; }

.auth-modal__uploads {
  display: flex;
  flex-direction: column;
  gap: 18rem;
  margin-top: 4rem;
}
.auth-modal__uploads[hidden] { display: none !important; }
.auth-modal__upload {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
}
.auth-modal__upload-text {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  min-width: 0;
}
.auth-modal__upload-title {
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text);
  text-transform: lowercase;
}
.auth-modal__upload-desc {
  font-size: 11rem;
  line-height: 1.4;
  color: #9C9CB1;
}
.auth-modal__upload-file {
  font-size: 11rem;
  color: var(--color-text);
  word-break: break-all;
}
.auth-modal__upload-file[hidden] { display: none !important; }
.auth-modal__upload-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32rem;
  padding: 6rem 14rem;
  border-radius: var(--radius);
  background: #e8eaf4;
  font-size: 12rem;
  text-transform: lowercase;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
}
.auth-modal__upload-btn:hover { opacity: .85; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: calc(var(--z-modal) - 1); }
.overlay[hidden] { display: none !important; }

@media (max-width: 800px) {
  .auth-modal {
    align-items: stretch; justify-content: stretch;
    padding: 0;
  }
  .auth-modal__dialog {
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 40rem 24rem calc(16rem + var(--safe-bottom));
    box-shadow: none;
  }
  .auth-modal__step--email,
  .auth-modal__step--phone,
  .auth-modal__step--code,
  .auth-modal__step--register {
    max-width: none;
  }
  .auth-modal__input,
  .auth-modal__input--code {
    font-size: 16rem;
  }
  .auth-modal__title--center { font-size: 28rem; margin-bottom: 8rem; }
  .auth-modal__social { margin-bottom: 24rem; gap: 20rem; }
  .auth-modal__desc--center { margin-bottom: 24rem; }
  .auth-modal__step--email .auth-modal__form-footer { margin-top: 24rem; }
  .auth-modal__upload {
    flex-direction: column;
    align-items: stretch;
    gap: 10rem;
  }
  .auth-modal__upload-btn { align-self: flex-start; }
}

body.page-auth .auth-modal,
body.page-auth .auth-modal[hidden] {
  display: flex !important;
  position: relative;
  inset: auto;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 64rem;
}
body.page-auth .auth-modal__dialog {
  width: min(480rem, calc(100% - 32rem));
  height: auto !important;
  max-height: none;
  padding: 8rem 16rem 24rem;
  box-shadow: none;
}

@media (max-height: 500px) {
  .auth-modal__dialog {
    padding-top: 36rem;
    padding-bottom: 12rem;
  }
  .auth-modal__back { margin-bottom: 12rem; }
  .auth-modal__code-head { margin-bottom: 16rem; }
  .auth-modal__title--center { margin-bottom: 6rem; }
  .auth-modal__step--email .auth-modal__form-footer { margin-top: 16rem; }
}

/* Первый экран: слайдер не ниже 350px, направления ухода идут следом. */
.home-fold {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
  /* clip по X оставляет обрезку у края без полосы прокрутки страницы */
  overflow-x: clip;
  overflow-y: visible;
}

.home-fold .hero {
  flex: 1 1 auto;
  height: var(--hero-height);
  min-height: 350px;
  max-height: none;
}
/* Шире макета 1440 баннер 1440×500 не должен обрезаться сверху и снизу */
@media (min-width: 1440px) {
  .hero,
  .home-fold .hero {
    height: auto;
    aspect-ratio: 1440 / 500;
    min-height: 350px;
  }
}

.home-fold .care-directions {
  flex: 0 0 auto;
  padding-top: clamp(16rem, 3.5vh, 40rem);
  padding-bottom: clamp(8rem, 2vh, 24rem);
}

.home-fold .care-directions .section__head {
  margin-bottom: clamp(10rem, 2.2vh, 24rem);
}

/* Hero — 1440×500 (в fold высота адаптивная, см. .home-fold .hero) */
.hero {
  position: relative; overflow: hidden;
  width: 100%; max-width: none; margin: 0;
  height: var(--hero-height);
  min-height: 350px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.hero__track { display: flex; height: 100%; width: 100%; transition: transform .6s ease; }
.hero__slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}
.hero__slide-picture {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; margin: 0; line-height: 0;
  z-index: 0;
}
.hero__slide-bg,
.hero__slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .35s ease;
}
.hero__slide-video {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: #000;
}
.hero__slide.is-video-playing .hero__slide-video.is-ready,
.hero__slide.is-video-playing .hero__slide-video.is-playing {
  opacity: 1;
}
.hero__slide.is-video-playing:not(.is-video-fallback) .hero__slide-poster {
  opacity: 0;
}
.hero__slide.is-video-fallback .hero__slide-video {
  opacity: 0;
}
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.06) 42%, transparent 68%);
  pointer-events: none;
}
.hero__slide-content {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
  padding-bottom: 88rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16rem;
  transform: none;
  color: var(--color-white);
  box-sizing: border-box;
  max-height: calc(100% - 64rem);
  overflow: hidden;
}
.hero__new-wrap {
  position: absolute;
  top: 135rem;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
  box-sizing: border-box;
  pointer-events: none;
}
.hero__new {
  display: block;
  width: 70rem;
  height: 21rem;
}
.hero__title {
  font-family: var(--font-family);
  font-size: 35rem;
  font-weight: 400;
  /* text-transform: uppercase; */
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 0;
  max-width: min(520rem, 50%);
  color: var(--color-white);
}
.hero__title .hero__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin: -0.16em 0;
}
.hero__title .hero__word-text {
  display: inline-block;
  transform: translateY(100%);
}
.hero__slide.is-active .hero__word-text {
  animation: hero-split 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.3s);
}
.hero__subtitle,
.hero__slide-content .btn {
  clip-path: inset(0 0 0 100%);
  opacity: 0;
}
.hero__slide.is-active .hero__subtitle {
  animation: hero-reveal 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}
.hero__slide.is-active .hero__slide-content .btn {
  animation: hero-reveal 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.75s forwards;
}
@keyframes hero-split {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes hero-reveal {
  from { clip-path: inset(0 0 0 100%); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .hero__word-text,
  .hero__subtitle,
  .hero__slide-content .btn {
    animation: none;
    transform: none;
    clip-path: none;
    opacity: 1;
  }
}
.hero__subtitle {
  font-family: var(--font-family);
  font-size: 15rem;
  line-height: 17rem;
  letter-spacing: 0;
  margin: 0;
  max-width: min(420rem, 42%);
  color: var(--color-white);
}
.hero .btn--primary {
  max-width: 220rem;
  flex-shrink: 0;
  margin-top: 4rem;
}
/* Цвет точек навигации (NAV_COLOR): light / dark — кнопка, точки, шапка */
.hero--nav-light .btn--primary {
  background: var(--color-white);
  color: var(--color-black);
}
.hero--nav-light .btn--primary:hover {
  background: #f2f2f2;
  color: var(--color-black);
}
.hero--nav-dark .btn--primary {
  background: var(--color-black);
  color: var(--color-white);
}
.hero--nav-dark .btn--primary:hover {
  background: #222;
  color: var(--color-white);
}

.hero--cursor-arrow { cursor: none; }
.hero--cursor-arrow .hero__arrow {
  display: none;
}
.hero--cursor-arrow .btn,
.hero--cursor-arrow .hero__dot,
.hero--cursor-arrow .hero__arrow {
  cursor: pointer;
}
.hero__cursor {
  position: fixed; width: 44rem; height: 44rem; border-radius: 50%;
  background: rgba(255,255,255,.92); pointer-events: none; z-index: 50;
  opacity: 0; transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--transition);
  box-shadow: 0 2rem 12rem rgba(0, 0, 0, 0.08);
}
.hero--cursor-arrow .hero__cursor.is-visible { opacity: 1; }
.hero__cursor img { width: 16rem; height: 16rem; display: block; }
.hero__cursor--prev img { transform: rotate(180deg); }

.hero__arrow {
  position: absolute;
  top: 50%;
  right: max(24rem, var(--safe-right));
  z-index: 3;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 2rem 12rem rgba(0, 0, 0, 0.08);
}
.hero__arrow img { width: 16rem; height: 16rem; display: block; }
.hero__arrow:hover { background: #fff; }

.hero__sound {
  position: absolute;
  right: max(24rem, var(--safe-right));
  bottom: max(28rem, calc(16rem + var(--safe-bottom)));
  z-index: 3;
  width: 44rem;
  height: 44rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background var(--transition), opacity var(--transition);
}
.hero__sound:hover,
.hero__sound:focus-visible {
  background: rgba(0, 0, 0, 0.55);
  outline: 2rem solid #fff;
  outline-offset: 2rem;
}
.hero__sound[hidden] { display: none !important; }
.hero__sound-icon {
  display: block;
  width: 22rem;
  height: 22rem;
}
.hero__sound-icon[hidden] { display: none !important; }
.hero--cursor-arrow .hero__sound { cursor: pointer; }

.hero__dots {
  position: absolute;
  bottom: max(28rem, calc(16rem + var(--safe-bottom)));
  left: max(var(--page-gutter), var(--safe-left));
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 2;
  width: auto;
  height: 26px;
}
.hero__dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  flex-shrink: 0;
  background: transparent;
}
.hero__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5rem;
  height: 5rem;
  margin: -2.5rem 0 0 -2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.hero__dot.is-active::before {
  background: #ffffff;
}
.hero--nav-light .hero__dot::before {
  background: rgba(255, 255, 255, 0.45);
}
.hero--nav-light .hero__dot.is-active::before {
  background: #ffffff;
}
.hero--nav-dark .hero__dot::before {
  background: rgba(0, 0, 0, 0.35);
}
.hero--nav-dark .hero__dot.is-active::before {
  background: #000000;
}

/* Care directions */
.care-directions { padding-top: 40rem; padding-bottom: 0; background: var(--color-white); }

.care-directions__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24rem var(--cat-gap, 16rem);
}

/* Горизонтальная лента (главная и /catalog/) — всегда до края экрана, как rocs.ru:
   слева выравнивание с контейнером, справа плитки уходят за край (peek). */
.care-directions--home,
.care-directions--catalog {
  --care-visible: 7;
  --care-end: max(24rem, var(--safe-right));
  /* Ровно N целых плиток на ширину экрана: последняя не обрезается */
  --cat-width: calc(
    (
      100vw
      - var(--page-gutter)
      - var(--care-end)
      - (var(--care-visible) - 1) * var(--cat-gap)
    )
    / var(--care-visible)
  );
}
.care-directions--home .container,
.care-directions--catalog .container {
  overflow: visible;
}
.home-fold .care-directions {
  /* fold режет по Y; по X лента должна доходить до края */
  overflow: visible;
}
.care-directions__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: var(--cat-gap, 16rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--page-gutter);
  padding-right: var(--care-end, max(24rem, var(--safe-right)));
  padding-bottom: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}
.care-directions__track::-webkit-scrollbar { display: none; }
.is-hscroll,
.is-hscroll a,
.is-hscroll img,
.is-hscroll .product-card__image-link,
.is-hscroll .product-card__image-link.has-hover-gallery { cursor: grab; }
.is-hscroll.is-dragging,
.is-hscroll.is-dragging a,
.is-hscroll.is-dragging img,
.is-hscroll.is-dragging .product-card__image-link { cursor: grabbing; user-select: none; }
.is-hscroll a,
.is-hscroll img { -webkit-user-drag: none; user-drag: none; }
.is-hscroll button,
.is-hscroll input,
.is-hscroll select,
.is-hscroll textarea { cursor: pointer; }
.care-directions__track .care-directions__item {
  flex: 0 0 var(--cat-width);
  width: var(--cat-width);
}

/* Главная: все направления в ряд от левого края контента до правого */
@media (min-width: 801px) {
  .care-directions--home .care-directions__track {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
  }
  .care-directions--home .care-directions__track .care-directions__item {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .care-directions--home .care-directions__image-wrap {
    width: 100%;
  }
}

.care-directions__item { text-align: center; width: var(--cat-width); }
.care-directions__image-wrap {
  overflow: hidden;
  margin-bottom: 12rem;
  width: var(--cat-width);
  aspect-ratio: 1 / 1;
  height: auto;
  line-height: 0;
}
.care-directions__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
@media (hover: hover) {
  .care-directions__item:hover .care-directions__image-wrap img {
    transform: scale(1.04);
  }
  .care-directions__item:hover .care-directions__label { opacity: 0.65; }
}

.care-directions__label {
  display: block;
  font-family: var(--font-family);
  font-size: 11rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 26rem;
  text-align: center;
  color: var(--color-black);
}

.care-directions--catalog {
  padding-top: 28rem;
  padding-bottom: 12rem;
}

/* Stories */
.stories { padding-top: 20rem; padding-bottom: 20rem; background: var(--color-white); }
.stories__track {
  display: flex;
  justify-content: center;
  gap: 16rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.stories__track::-webkit-scrollbar { display: none; }
.stories__item { flex: 0 0 auto; text-align: center; width: 78rem; }
.stories__btn {
  position: relative;
  width: 64rem; height: 64rem; border-radius: 50%; overflow: hidden; padding: 2rem;
  border: 1.5rem solid #111; background: var(--color-white); margin-inline: auto;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  transition: opacity var(--transition), border-color var(--transition);
}
.stories__item.is-viewed .stories__btn {
  border-color: #c5c5c5;
}
.stories__item--empty .stories__btn { cursor: default; }
@media (hover: hover) {
  .stories__btn:hover { opacity: 0.75; }
}
.stories__btn--news,
.stories__btn--sale,
.stories__btn--social,
.stories__btn--tips {
  padding: 3rem;
  border-color: var(--color-black);
}
.stories__btn--news::before,
.stories__btn--sale::before,
.stories__btn--social::before,
.stories__btn--tips::before {
  content: "";
  position: absolute;
  inset: 3rem;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.stories__btn--news::before { background: var(--color-story-news); }
.stories__btn--sale::before { background: var(--color-story-sale); }
.stories__btn--social::before { background: var(--color-story-social); }
.stories__btn--tips::before { background: var(--color-story-tips); }
.stories__btn:not(.stories__btn--icon) .stories__thumb {
  flex: 1 1 auto;
  align-self: stretch;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
}
.stories__thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.stories__btn--icon .stories__thumb {
  position: relative;
  z-index: 1;
  width: auto; height: auto; max-width: 22rem; max-height: 26rem; border-radius: 0;
}
.stories__btn--news .stories__thumb { max-width: 6rem; max-height: 20rem; }
.stories__btn--sale .stories__thumb { max-width: 28rem; max-height: 20rem; }
.stories__btn--social .stories__thumb { max-width: 28rem; max-height: 24rem; }
.stories__btn--tips .stories__thumb { max-width: 14rem; max-height: 20rem; }
.stories__label {
  display: block;
  margin-top: 6rem;
  margin-inline: auto;
  max-width: 78rem;
  font-family: var(--font-family);
  font-size: 11rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-black);
}

.stories + .section,
.care-block + .section { border-top: 1rem solid #eee; }

/* Product carousel — та же 4-колоночная сетка, что и у контейнера */
.product-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-carousel::-webkit-scrollbar { display: none; }
.novinki__layout.product-carousel { overflow: visible; }
.product-carousel__track:has(.product-card:hover),
.product-carousel__track:has(.product-card:focus-within) {
  overflow: hidden;
}
.product-carousel__slide:has(.product-card:hover),
.product-carousel__slide:has(.product-card:focus-within),
.product-card.product-carousel__slide:hover,
.product-card.product-carousel__slide:focus-within {
  z-index: 5;
  position: relative;
}
.product-carousel__track {
  display: flex;
  gap: var(--grid-gap);
  justify-content: flex-start;
  width: max-content;
}
.product-carousel__slide {
  flex: 0 0 var(--col-width);
  min-width: var(--col-width);
  max-width: var(--col-width);
  overflow: hidden;
}

/* Novinki */
.novinki__layout {
  display: grid;
  grid-template-columns: var(--col-width) 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

.novinki__banner { overflow: hidden; line-height: 0; }
.novinki__banner img { width: var(--col-width); height: auto; display: block; }

.novinki__products { min-width: 0; overflow: hidden; }
.novinki__products .product-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, var(--col-width));
  gap: var(--grid-gap);
  justify-content: space-between;
  transform: none !important;
}

/* Главная: товары в один ряд, лишние — горизонтальный свайп, без переноса */
.page-home .product-carousel:not(.novinki__layout),
.page-home .novinki__products,
.page-product .product-related .novinki__products {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  container-type: inline-size;
}
.page-home .product-carousel:not(.novinki__layout)::-webkit-scrollbar,
.page-home .novinki__products::-webkit-scrollbar,
.page-product .product-related .novinki__products::-webkit-scrollbar {
  display: none;
}
.page-home .product-carousel:not(.novinki__layout):has(.product-card:hover),
.page-home .product-carousel:not(.novinki__layout):has(.product-card:focus-within),
.page-home .novinki__products:has(.product-card:hover),
.page-home .novinki__products:has(.product-card:focus-within),
.page-home .product-carousel__track:has(.product-card:hover),
.page-home .product-carousel__track:has(.product-card:focus-within) {
  overflow-x: auto;
  overflow-y: hidden;
}
.page-home .novinki__products .product-carousel__track,
.page-home .product-carousel__track,
.page-product .product-related .novinki__products .product-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: var(--grid-gap);
  justify-content: flex-start;
  transform: none !important;
}
.page-home .product-carousel:not(.novinki__layout) .product-carousel__slide {
  flex: 0 0 calc((100cqw - 3 * var(--grid-gap)) / 4);
  width: calc((100cqw - 3 * var(--grid-gap)) / 4);
  min-width: calc((100cqw - 3 * var(--grid-gap)) / 4);
  max-width: calc((100cqw - 3 * var(--grid-gap)) / 4);
}
.page-home .novinki__products .product-carousel__slide,
.page-home .novinki__products .product-card,
.page-product .product-related .novinki__products .product-carousel__slide,
.page-product .product-related .novinki__products .product-card {
  flex: 0 0 calc((100cqw - 2 * var(--grid-gap)) / 3);
  width: calc((100cqw - 2 * var(--grid-gap)) / 3);
  min-width: calc((100cqw - 2 * var(--grid-gap)) / 3);
  max-width: calc((100cqw - 2 * var(--grid-gap)) / 3);
  scroll-snap-align: start;
}

/* Product card */
.product-card { display: flex; flex-direction: column; width: var(--col-width); position: relative; }
.product-card__media {
  position: relative;
  background: var(--color-bg-media);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 237 / 266;
}
.product-card__image-link { display: block; width: 100%; height: 100%; overflow: hidden; line-height: 0; position: relative; }
.product-card__image-link > picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.product-card__image {
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 237 / 266;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--color-bg-media);
}
.product-card__media.has-hover-gallery,
.product-card__image-link.has-hover-gallery { cursor: pointer; }
.product-card__gallery {
  position: relative;
  display: block;
  line-height: 0;
}
.product-card__gallery-sizer {
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 237 / 266;
  object-fit: contain;
  object-position: center;
}
.product-card__gallery-slides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.product-card__gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card__gallery-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.product-card__image-link.has-hover-gallery:hover .product-card__gallery-slide {
  will-change: opacity;
}
.product-card.is-oos .product-card__gallery-slides {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .product-card__gallery-slide {
    transition: none;
  }
}
.product-card__hover-dots {
  display: none;
}

.product-card__body {
  padding-top: 12rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  column-gap: 8rem;
  row-gap: 10rem;
}
.product-card__category {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: 1.45em;
  min-height: 1.45em;
  max-height: 1.45em;
  line-height: 1.45;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0;
  font-size: 11rem; color: var(--color-black); text-transform: uppercase; letter-spacing: 0.02em;
}
.product-card__title {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.product-card__title a:hover { opacity: .65; }

.product-card__prices {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8rem; flex-wrap: wrap; margin-top: 0;
}
/* ₽ из fallback-шрифта выше цифр Osnova — выравниваем по высоте капители */
.price-currency {
  font-size: 0.84em;
  font-weight: inherit;
  line-height: 1;
  vertical-align: 0.08em;
  letter-spacing: 0;
}
.product-card__price { font-size: 16rem; font-weight: 400; line-height: 1.25; white-space: nowrap; }
.product-card__price--sale { color: var(--color-text); }
.product-card__price--old {
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-price-old);
  white-space: nowrap;
}
.product-card__price--old,
.cart-item__price-old {
  position: relative;
  display: inline-block;
  align-self: center;
  width: max-content;
  max-width: 100%;
  padding-inline: 0.4em;
  margin-inline: -0.4em;
  text-decoration: none;
}
.product-card__price--old[hidden],
.product-info__price-old[hidden],
.cart-item__price-old[hidden] {
  display: none !important;
}
.product-card__price--old::after,
.cart-item__price-old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1rem;
  background: currentColor;
  pointer-events: none;
}
.product-card__discount-tags {
  flex: 0 0 auto;
  width: 100%;
  min-height: 22rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: stretch;
  gap: 4rem;
  margin-top: 0;
  margin-bottom: 0;
}
.product-card__discount-tags[hidden] {
  display: none !important;
}
.product-card__discount-tag,
.product-card__discount-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  height: 22rem;
  min-height: 22rem;
  padding: 0 8rem;
  font-size: 11rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-sale-note);
  border-radius: 6rem;
  white-space: nowrap;
}

.product-card__badges {
  position: absolute; top: 0; left: 0;
  display: flex; flex-direction: row; align-items: flex-start; gap: 0; z-index: 2;
}
.product-card__badge {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 20rem;
  height: 20rem;
  padding: 0;
  gap: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
  overflow: visible;
  box-sizing: border-box;
  color: inherit;
  font-size: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.product-card__badge img {
  width: 20rem;
  height: 20rem;
  max-width: none;
  object-fit: cover;
  object-position: top left;
  display: block;
  flex-shrink: 0;
}
.product-card__badge--hit img,
.product-card__badge--new img {
  width: 20rem;
  height: 20rem;
}
.product-card__badge span {
  display: none;
}
.product-card__badge--sale {
  width: 20rem;
  height: 20rem;
  padding: 0;
  gap: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
}
.product-card__badge--sale img {
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  filter: none;
}
.product-card__fav {
  position: absolute; top: 12rem; right: 12rem; z-index: 3;
  width: 32rem; height: 32rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45;
}
.product-card__fav img {
  display: block;
  width: 17rem;
  height: 15rem;
  pointer-events: none;
}
.product-card__fav:hover,
.product-card__fav.is-active,
.product-card__fav[aria-pressed="true"] { opacity: 1; }
.product-card__fav.is-active img,
.product-card__fav[aria-pressed="true"] img {
  filter: none;
}
.product-card__fav--hitarea {
  opacity: 0;
  top: 8rem; right: 8rem;
  width: 36rem; height: 36rem;
}
.product-card__fav--hitarea:hover,
.product-card__fav--hitarea.is-active { opacity: 0; }

.product-card__sku {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 25rem;
  margin: 0;
}
.product-card__sku:has([data-property-code="volume"]) {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
  min-height: 25rem;
}
.product-card__sku:has(.product-card__colors) {
  --swatch-gap: 4px;
  --swatch-size: max(26px, 22rem);
  --swatch-overlap: 10px;
  flex: 0 0 100%;
  width: 100%;
  height: var(--swatch-size);
  min-height: var(--swatch-size);
  max-height: var(--swatch-size);
  position: relative;
  z-index: 1;
  overflow: visible;
}
.product-card__sku-values { display: flex; gap: 8rem; flex-wrap: wrap; align-items: center; }
/* В списке: без подписи единицы и без единственного объёма */
.product-card__sku-label,
.product-card__sku-values:has(> .product-card__sku-btn:only-child) {
  display: none;
}
.product-card__sku:has(.product-card__sku-values > .product-card__sku-btn:only-child):not(:has(.product-card__colors)) {
  display: none;
}
.product-card__sku-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 36rem;
  height: 22rem;
  min-height: 22rem;
  padding: 0 8rem;
  font-size: 11rem;
  font-weight: 400;
  line-height: 1;
  font-family: var(--font-family);
  white-space: nowrap;
  border: 1rem solid #9c9cb1;
  border-radius: 6rem;
  background: var(--color-white);
  color: #9c9cb1;
  overflow: hidden;
}
.product-card__sku-btn.is-selected {
  border-color: var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
}
.product-card__sku-btn.is-oos,
.product-card__sku-btn:disabled {
  color: #9c9cb1;
  border-color: #9c9cb1;
  cursor: default;
}
.product-card__sku-btn.is-oos::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: 50%;
  height: 1rem;
  margin-top: -0.5rem;
  background: #9c9cb1;
  transform: rotate(-21deg);
  pointer-events: none;
}

/* Цвета: свёрнуто — первые 3 внахлёст и счётчик; hover — палитра в две строки */
.product-card__colors {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  height: var(--swatch-size);
  margin-top: 0;
  column-gap: 0;
  row-gap: 0;
  position: relative;
  isolation: isolate;
}
.product-card__color {
  position: relative;
  flex: 0 0 var(--swatch-size);
  width: var(--swatch-size);
  height: var(--swatch-size);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1rem solid #d8d8d8;
  padding: 2rem;
  box-sizing: border-box;
  background: var(--color-white);
  overflow: hidden;
  margin-right: calc(var(--swatch-overlap) * -1);
  box-shadow: 0 0 0 2px #fff;
  z-index: 1;
  transition:
    margin .28s ease,
    opacity .28s ease,
    border-color .2s ease,
    box-shadow .28s ease;
}
.product-card__color::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--swatch2, var(--swatch, #ccc)) 50%,
    var(--swatch, #ccc) 50%
  );
  pointer-events: none;
}
.product-card__color:nth-of-type(1) { z-index: 12; }
.product-card__color:nth-of-type(2) { z-index: 11; }
.product-card__color:nth-of-type(3) { z-index: 10; }
.product-card__color:nth-of-type(4) { z-index: 9; }
.product-card__color:nth-of-type(5) { z-index: 8; }
.product-card__color:nth-of-type(6) { z-index: 7; }
.product-card__color:nth-of-type(7) { z-index: 6; }
.product-card__color:nth-of-type(8) { z-index: 5; }
.product-card__color:nth-of-type(9) { z-index: 4; }
.product-card__color:nth-of-type(10) { z-index: 3; }
.product-card__color:nth-of-type(11) { z-index: 2; }
.product-card__color:nth-of-type(12) { z-index: 1; }
.product-card__color.is-selected {
  border-width: 1rem;
  border-color: var(--color-black);
  z-index: 13;
}

/* Цвета ручки (data-color) и щетины (data-color2) */
[data-color="black"] { --swatch: #2a2a2a; }
[data-color2="black"] { --swatch2: #2a2a2a; }
[data-color="white"] { --swatch: #f4f4f4; }
[data-color2="white"] { --swatch2: #f4f4f4; }
[data-color="null"],
[data-color="wth"] { --swatch: #eeeeee; }
[data-color2="null"],
[data-color2="wth"] { --swatch2: #eeeeee; }
[data-color="gray"] { --swatch: #9a9a9a; }
[data-color2="gray"] { --swatch2: #9a9a9a; }
[data-color="red"] { --swatch: #e85a5b; }
[data-color2="red"] { --swatch2: #e85a5b; }
[data-color="bright-red"] { --swatch: #c0392b; }
[data-color2="bright-red"] { --swatch2: #c0392b; }
[data-color="crimson"] { --swatch: #c23a5b; }
[data-color2="crimson"] { --swatch2: #c23a5b; }
[data-color="cherry"] { --swatch: #b33b5a; }
[data-color2="cherry"] { --swatch2: #b33b5a; }
[data-color="coral"] { --swatch: #e07a6a; }
[data-color2="coral"] { --swatch2: #e07a6a; }
[data-color="pink"] { --swatch: #f3c1c8; }
[data-color2="pink"] { --swatch2: #f3c1c8; }
[data-color="rose"] { --swatch: #e8a0b4; }
[data-color2="rose"] { --swatch2: #e8a0b4; }
[data-color="purple"] { --swatch: #7b6aaa; }
[data-color2="purple"] { --swatch2: #7b6aaa; }
[data-color="indigo"],
[data-color="indigo2"] { --swatch: #4b3f8a; }
[data-color2="indigo"],
[data-color2="indigo2"] { --swatch2: #4b3f8a; }
[data-color="blue"] { --swatch: #5b9bd5; }
[data-color2="blue"] { --swatch2: #5b9bd5; }
[data-color="sky"] { --swatch: #7ec8e3; }
[data-color2="sky"] { --swatch2: #7ec8e3; }
[data-color="aqua"] { --swatch: #5ec4c8; }
[data-color2="aqua"] { --swatch2: #5ec4c8; }
[data-color="yellow"] { --swatch: #f0c94a; }
[data-color2="yellow"] { --swatch2: #f0c94a; }
[data-color="gold"] { --swatch: #d4af37; }
[data-color2="gold"] { --swatch2: #d4af37; }
[data-color="orange"] { --swatch: #e8873a; }
[data-color2="orange"] { --swatch2: #e8873a; }
[data-color="brown"] { --swatch: #8b5a2b; }
[data-color2="brown"] { --swatch2: #8b5a2b; }
[data-color="green"] { --swatch: #5aa85a; }
[data-color2="green"] { --swatch2: #5aa85a; }
[data-color="light-green"] { --swatch: #b5d96c; }
[data-color2="light-green"] { --swatch2: #b5d96c; }
[data-color="lime"] { --swatch: #c6e05a; }
[data-color2="lime"] { --swatch2: #c6e05a; }
[data-color="mint"],
[data-color="mint2"] { --swatch: #7dceb8; }
[data-color2="mint"],
[data-color2="mint2"] { --swatch2: #7dceb8; }
[data-color="мультиколор"] {
  --swatch: #e07a6a;
  --swatch2: #5b9bd5;
}
[data-color2="мультиколор"] { --swatch2: #5b9bd5; }

.product-card__colors .product-card__color:nth-of-type(n + 4) {
  position: absolute;
  left: 0;
  top: 0;
  flex-basis: 0;
  width: 0;
  height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  border-width: 0;
  overflow: hidden;
  pointer-events: none;
}
.product-card__colors .product-card__color:nth-of-type(n + 13) {
  display: none;
}
.product-card__colors-more {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: calc(var(--swatch-overlap) + 8px);
  font-size: 14rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  white-space: nowrap;
  transition: opacity .22s ease;
}
.product-card__colors:not(:has(.product-card__color:nth-of-type(4))) .product-card__colors-more {
  display: none;
}

.product-card:hover .product-card__colors,
.product-card:focus-within .product-card__colors,
.product-card__colors:focus-within {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: auto;
  z-index: 6;
  flex-wrap: wrap;
  column-gap: var(--swatch-gap);
  row-gap: var(--swatch-gap);
  background: var(--color-white);
  padding-bottom: 8rem;
}
.product-card:hover .product-card__color,
.product-card:focus-within .product-card__color,
.product-card__colors:focus-within .product-card__color {
  margin-right: 0;
  box-shadow: none;
}
.product-card:hover .product-card__color.is-selected,
.product-card:focus-within .product-card__color.is-selected,
.product-card__colors:focus-within .product-card__color.is-selected {
  margin-right: 0;
}
.product-card:hover .product-card__colors .product-card__color:nth-of-type(n + 4),
.product-card:focus-within .product-card__colors .product-card__color:nth-of-type(n + 4),
.product-card__colors:focus-within .product-card__color:nth-of-type(n + 4) {
  position: relative;
  left: auto;
  top: auto;
  flex-basis: var(--swatch-size);
  width: var(--swatch-size);
  height: var(--swatch-size);
  min-width: var(--swatch-size);
  padding: 2rem;
  opacity: 1;
  border-width: 1rem;
  overflow: visible;
  pointer-events: auto;
  animation: product-swatch-in .28s ease;
}
@keyframes product-swatch-in {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-card__colors .product-card__color:nth-of-type(n + 4),
  .product-card:focus-within .product-card__colors .product-card__color:nth-of-type(n + 4),
  .product-card__colors:focus-within .product-card__color:nth-of-type(n + 4) {
    animation: none;
  }
}
.product-card:hover .product-card__colors .product-card__color.is-selected,
.product-card:focus-within .product-card__colors .product-card__color.is-selected,
.product-card__colors:focus-within .product-card__color.is-selected {
  border-width: 1rem;
  margin-right: 0;
}
.product-card:hover .product-card__colors-more,
.product-card:focus-within .product-card__colors-more,
.product-card__colors:focus-within .product-card__colors-more {
  position: absolute;
  width: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.product-card:hover,
.product-card:focus-within {
  z-index: 5;
}
.product-card:hover .product-card__body,
.product-card:focus-within .product-card__body,
.product-card:hover .product-card__sku,
.product-card:focus-within .product-card__sku {
  overflow: visible;
}
.product-card:hover .product-card__sku:has(.product-card__colors),
.product-card:focus-within .product-card__sku:has(.product-card__colors) {
  z-index: 8;
}

.product-card--promo {
  display: flex;
  flex-direction: column;
  width: var(--col-width);
  align-self: stretch;
  overflow: visible;
  background: transparent;
  text-decoration: none;
  color: inherit;
}
.product-card__promo-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.product-card__promo-media {
  position: relative;
  flex: 1 1 0;
  min-height: calc(var(--col-width) * 266 / 237);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-media);
  line-height: 0;
}
.product-card--promo > .product-card__promo-image,
.product-card__promo-media > .product-card__promo-image,
.product-card__promo-link > .product-card__promo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 0;
}
.product-card__promo-caption {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  padding: 12rem 0 0;
  background: transparent;
  text-align: left;
  line-height: 1.3;
}
.product-card__promo-text {
  font-size: 14rem;
  font-weight: 400;
  color: var(--color-text);
}
.product-card__promo-brand {
  font-size: 16rem;
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
}

/* Brands — плашки из макета: 134×91, rx 4, #F0F0F8, лого #9092A9 / цвет на hover */
.brands { background: var(--color-white); }
.brands__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.brands__viewport::-webkit-scrollbar { display: none; }
.brands__track { display: flex; gap: var(--brand-gap); }
.brands__slide { flex: 0 0 var(--brand-width); min-width: var(--brand-width); }
.brands__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--brand-width);
  height: 91rem;
  padding: 0;
  background: var(--color-bg-brand);
  border-radius: 6rem;
  overflow: hidden;
  line-height: 0;
}
.brands__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease;
}
.brands__logo--default { position: relative; z-index: 1; }
.brands__logo--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.brands__link:hover .brands__logo--default,
.brands__link:focus-visible .brands__logo--default { opacity: 0; }
.brands__link:hover .brands__logo--hover,
.brands__link:focus-visible .brands__logo--hover { opacity: 1; }

/* Главная: слайдер брендов внутри колонки, без ухода за край контейнера */
.page-home .brands__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.page-home .brands__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}
.page-home .brands__slide,
.page-home .brands__link {
  flex: 0 0 calc((100cqw - 6 * var(--brand-gap)) / 7);
  width: calc((100cqw - 6 * var(--brand-gap)) / 7);
  min-width: calc((100cqw - 6 * var(--brand-gap)) / 7);
  max-width: none;
  height: 91rem;
  aspect-ratio: auto;
}

/* News — макет главной: 4 карточки, дата «04 мая», заголовок и анонс */
.news {
  background: var(--color-news-bg);
  padding-block: 32rem 40rem;
}
.news .section__title {
  font-weight: 400;
}
.news .section__head {
  align-items: center;
  margin-bottom: 20rem;
}
.news__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news__viewport::-webkit-scrollbar { display: none; }
.news__track {
  display: flex;
  align-items: stretch;
  gap: var(--grid-gap);
  width: max-content;
}
.news__card {
  flex: 0 0 calc((100cqw - 3 * var(--grid-gap)) / 4);
  width: calc((100cqw - 3 * var(--grid-gap)) / 4);
  min-width: 0;
  background: var(--color-white);
  border-radius: 6rem;
  display: flex;
}
.news__card-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 168rem;
  padding: 20rem 20rem 22rem;
  color: inherit;
  text-decoration: none;
}
.news__date {
  margin: 0 0 12rem;
  font-size: 13rem;
  line-height: 16rem;
  font-weight: 400;
  color: #9C9CB1;
}
.news__card-title {
  margin: 0 0 8rem;
  font-family: var(--font-family);
  font-size: 16rem;
  font-weight: 400;
  line-height: 20rem;
  letter-spacing: 0;
  text-transform: none;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (hover: hover) {
  .news__card:hover .news__card-title { opacity: 0.65; }
}
.news__excerpt {
  margin: 0;
  font-size: 14rem;
  font-weight: 400;
  line-height: 18rem;
  color: #9C9CB1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Promo / Акции
   ========================================================================== */
.page-promo:not(:has(.hero)):not(:has(.catalog-hero)) .site-header { background: var(--color-white); }
.promo-page {
  padding-top: 28rem;
  padding-bottom: 80rem;
  background: var(--color-white);
}
.promo-page .breadcrumbs { margin-bottom: 20rem; }
.promo-page__title {
  margin: 0 0 40rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--color-black);
}
/* Промо-лист внутри служебного page-inner: без двойных крошек, заголовка и padding контейнера */
.container.page-inner:has(.promo-page),
.container.page-inner:has(.promo-detail),
.container.page-inner:has(.article-detail) {
  padding: 0;
  max-width: none;
  width: 100%;
}
.page-inner:has(.promo-page) > .breadcrumbs,
.page-inner:has(.promo-page) > .page-inner__title,
.page-inner:has(.promo-detail) > .breadcrumbs,
.page-inner:has(.promo-detail) > .page-inner__title,
.page-inner:has(.article-detail) > .breadcrumbs,
.page-inner:has(.article-detail) > .page-inner__title {
  display: none;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40rem 32rem;
}
.promo-card { min-width: 0; }
.promo-card__link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.promo-card__media {
  display: block;
  overflow: hidden;
  border-radius: 6rem;
  line-height: 0;
  aspect-ratio: 1155 / 1155;
  background: var(--color-bg-media, #f0f0f8);
}
.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.promo-card:hover .promo-card__media img { transform: scale(1.02); }
.promo-card__link:hover .promo-card__title { opacity: 0.65; }
.promo-card__date {
  display: block;
  margin-top: 14rem;
  margin-bottom: 8rem;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.promo-card__title {
  margin: 0;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-black);
}
.promo-card__media + .promo-card__title {
  margin-top: 14rem;
}
.inside_page_content {
  max-width: 820rem;
  font-size: 16rem;
  line-height: 1.55;
}
.inside_page_content div + div { margin-top: 14rem; }
.inside_page_content a { color: inherit; }

/* Детальная акция */
.page-promo-detail:not(:has(.hero)):not(:has(.catalog-hero)) .site-header { background: var(--color-white); }
.promo-detail {
  padding-top: 28rem;
  padding-bottom: 8rem;
  background: var(--color-white);
}
.promo-detail .breadcrumbs { margin-bottom: 20rem; }
.promo-detail__date {
  display: block;
  margin: 0 0 10rem;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}
.promo-detail__title {
  margin: 0 0 24rem;
  max-width: 920rem;
  font-size: 36rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-black);
}
.reklama-detail { padding: 28rem 0 0; }
.reklama-detail .promo-detail__title { margin-bottom: 12rem; }
.reklama-detail__lead {
  margin: 0;
  max-width: 720rem;
  font-size: 16rem;
  line-height: 1.45;
  color: var(--color-text);
}
.promo-detail--news .promo-detail__title {
  max-width: none;
}
.promo-detail__media {
  margin: 0 0 32rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-media, #f0f0f8);
  line-height: 0;
}
.promo-detail__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.promo-detail__content {
  max-width: none;
  width: 100%;
  padding-bottom: 16rem;
  font-size: 15rem;
  line-height: 1.6;
  color: var(--color-text);
}
.promo-detail__content p { margin: 0 0 14rem; }
.promo-detail__content h2 {
  margin: 28rem 0 12rem;
  font-size: 13rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-black);
}
/* Rich text (карточка / текстовые страницы): списки и таблицы — ниже общий блок */

/* Ссылки в тексте (статьи, акции, редактор Bitrix) — всегда с подчёркиванием */
.promo-detail__content a:not(.btn),
.article-detail__content a:not(.btn),
.brand-detail__content a:not(.btn),
.page-inner p a:not(.btn),
.page-inner li a:not(.btn),
.page-inner td a:not(.btn),
.help-page__main p a:not(.btn),
.help-page__main li a:not(.btn),
.company-block__text a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.promo-detail__note {
  margin-top: 8rem;
  font-size: 13rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.page-promo-detail .catalog-toolbar {
  background: var(--color-white);
  padding-top: 16rem;
  padding-bottom: 12rem;
}
.page-promo-detail .catalog-grid .catalog-promo,
.page-promo-detail .catalog-grid [data-entity="promo-banner"] {
  display: none !important;
}

/* ==========================================================================
   404 / страница не найдена
   ========================================================================== */
.page-404 .site-header { background: var(--color-white); }
.error-page {
  position: relative;
  min-height: calc(100dvh - var(--header-height) - 280rem);
  padding: 28rem 0 96rem;
  overflow: hidden;
}
.error-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 18% 28%, rgba(158, 181, 233, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 72%, rgba(225, 228, 242, 0.9), transparent 55%),
    linear-gradient(180deg, #f7f8fc 0%, var(--color-white) 55%, var(--color-white) 100%);
}
.error-page__inner {
  position: relative;
  z-index: 1;
}
.error-page__crumbs { margin-bottom: 48rem; }
.error-page__content {
  max-width: 560rem;
  margin: 0 auto;
  text-align: center;
  padding: 24rem 0 8rem;
}
.error-page__code {
  margin: 0 0 8rem;
  font-size: clamp(96rem, 14vw, 160rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--color-accent-active);
  opacity: 0.85;
}
.error-page__title {
  margin: 0 0 16rem;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  color: var(--color-black);
}
.error-page__text {
  margin: 0 auto 32rem;
  max-width: 420rem;
  font-size: 15rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12rem;
  margin-bottom: 40rem;
}
.error-page__btn {
  min-width: 180rem;
}
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8rem 28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.error-page__links a {
  font-size: 13rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.error-page__links a:hover { color: var(--color-black); }

@media (max-width: 800px) {
  .error-page {
    min-height: calc(100dvh - var(--header-height) - 200rem);
    padding: 16rem 0 64rem;
  }
  .error-page__crumbs { margin-bottom: 28rem; }
  .error-page__title { font-size: 22rem; }
  .error-page__text { font-size: 14rem; margin-bottom: 24rem; }
  .error-page__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .error-page__btn { min-width: 0; width: 100%; }
  .error-page__links { gap: 12rem 20rem; }
}

@media (max-width: 1100px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32rem 24rem; }
}

@media (max-width: 900px) {
  .promo-page__title { font-size: 32rem; margin-bottom: 28rem; }
}

@media (max-width: 800px) {
  .promo-page { padding-top: 16rem; padding-bottom: 48rem; }
  .promo-page__title { font-size: 28rem; }
  .promo-card__title { font-size: 15rem; }
}

@media (max-width: 599px) {
  .promo-grid { grid-template-columns: 1fr; gap: 28rem; }
}

@media (max-width: 900px) {
  .promo-detail__title { font-size: 28rem; }
}

@media (max-width: 800px) {
  .promo-detail { padding-top: 16rem; }
  .promo-detail__title { font-size: 24rem; margin-bottom: 18rem; }
  .promo-detail__media { margin-bottom: 24rem; border-radius: 6rem; }
  .promo-detail__content { font-size: 14rem; }
  .page-promo-detail .catalog-toolbar {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* App banner — узкая чёрная полоса как в макете */
.app-banner { background: #000; color: #fff; padding-block: 16rem; }
.app-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40rem;
}
.app-banner__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8rem;
}
.app-banner__title {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.app-banner__meta {
  display: flex;
  align-items: center;
  gap: 16rem;
}
.app-banner__subtitle {
  margin: 0;
  max-width: 280rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.35;
}
.app-banner__stores { display: flex; gap: 8rem; align-items: center; flex-shrink: 0; }
.app-banner__store { line-height: 0; display: block; }
.app-banner__store img { height: 32rem; width: auto; object-fit: contain; display: block; }
.app-banner__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16rem;
  text-align: left;
}
.app-banner__qr-text { max-width: 240rem; }
.app-banner__qr-label {
  margin: 0 0 6rem;
  color: #fff;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.app-banner__qr-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
}
.app-banner__qr {
  background: #fff;
  padding: 4rem;
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 6rem;
}
.app-banner__qr img { width: 68rem; height: 68rem; display: block; }

/* Footer — Desktop макет */
.site-footer { background: var(--color-footer-bg); color: var(--color-text); }
.site-footer__main {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 24rem;
  row-gap: 0;
  padding-top: 56rem;
  padding-bottom: 48rem;
}
.site-footer__heading {
  font-family: var(--font-family);
  font-size: 12rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 22rem;
  color: var(--color-text);
}
.site-footer__heading:not(:first-child),
.site-footer__text + .site-footer__heading { margin-top: 44rem; }
.site-footer__text {
  font-size: 13rem;
  line-height: 1.45;
  margin: 0 0 8rem;
}
.site-footer__text a:hover { opacity: .65; }
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 16rem;
}
.site-footer__links a {
  display: block; padding: 0;
  font-size: 13rem; line-height: 1.35;
  font-weight: 400;
}
.site-footer__links--caps { gap: 20rem; }
.site-footer__links--caps a {
  font-size: 12rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.site-footer__links a:hover { opacity: .65; }

.site-footer__col--extra .site-footer__links {
  margin-top: 0;
}

.site-footer__bottom {
  display: block;
  background: var(--color-white);
  font-size: 12rem;
  box-sizing: border-box;
}
.site-footer__bottom.container { max-width: none; width: 100%; }
.site-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24rem;
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: max(var(--container-padding), var(--safe-left))
    max(var(--container-padding), var(--safe-right));
  padding-block: 20rem;
  min-height: 72rem;
  box-sizing: border-box;
}
.site-footer__copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  justify-self: start;
}
.site-footer__copy {
  margin: 0;
  color: var(--color-text);
  font-size: 12rem;
}
.site-footer__dev {
  margin: 0;
  color: var(--color-text);
  font-size: 12rem;
  line-height: 1.3;
}
.site-footer__dev a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.site-footer__dev a:hover { opacity: .65; }
.site-footer__policy {
  font-size: 12rem;
  line-height: 1.3;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.site-footer__social { display: flex; align-items: center; gap: 8rem; }
.site-footer__social--main { display: none; }
.site-footer__social--bottom { justify-self: center; }
.site-footer__social-link {
  width: 25rem;
  height: 25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6rem;
  background: #000000;
  color: var(--color-white);
  overflow: hidden;
}
.site-footer__social-link img {
  width: 13rem;
  height: 13rem;
  filter: brightness(0) invert(1);
}
/* Max: SVG уже 25×25 с rx=8 и чёрным фоном */
.site-footer__social-link:has(.site-footer__social-icon--max) {
  background: transparent;
}
.site-footer__social-link img.site-footer__social-icon--max {
  width: 25rem;
  height: 25rem;
  filter: none;
  border-radius: 6rem;
}
.site-footer__partners {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16rem;
  flex-wrap: wrap;
}
.site-footer__partners img {
  height: 28rem;
  width: auto;
  display: block;
  opacity: 0.9;
}
.site-footer__accordion-btn {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
  font-size: 12rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-text);
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
  pointer-events: none;
}
.site-footer__accordion-btn::after { display: none; content: none; }
.site-footer__links--mobile-only { display: none; }
.site-footer__col--desktop-only { display: block; }
.site-footer__accordion-panel .site-footer__links + .site-footer__links {
  margin-top: 0;
}
.site-footer__stack { display: contents; }

/* Cookie — полоса на всю ширину внизу экрана */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-cookie);
  width: auto;
  background: #fff;
  padding: 14rem 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1rem solid #ececec;
  font-size: 14rem;
  line-height: 1.4;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24rem;
}
.cookie-banner.is-hidden,
.cookie-banner[hidden],
html.cookies-accepted .cookie-banner { display: none !important; }
body.is-locked .cookie-banner {
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner__text {
  margin: 0;
  max-width: none;
  color: #111;
  font-size: 14rem;
  line-height: 1.4;
}
.cookie-banner__word,
.cookie-banner__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.cookie-banner__link:hover { opacity: 0.75; }
.cookie-banner__accept {
  flex-shrink: 0;
  padding: 0 22rem;
  min-height: 36rem;
  border-radius: 6rem;
  font-size: 14rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
}

/* Story viewer — Instagram-style, макет Desktop */
.stories__item.is-active .stories__btn {
  box-shadow: 0 0 0 2rem #fff, 0 0 0 3rem #e53955;
}
.stories__btn { position: relative; }

.story-viewer {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 24rem;
}
.story-viewer[hidden] { display: none !important; }
.story-viewer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
}
.story-viewer__toolbar {
  position: absolute;
  top: calc(24rem + var(--safe-top));
  right: calc(32rem + var(--safe-right));
  z-index: 3;
  display: flex; gap: 16rem; align-items: center;
}
.story-viewer__tool {
  width: 40rem; height: 40rem;
  display: flex; align-items: center; justify-content: center;
  opacity: .9;
}
.story-viewer__tool:hover { opacity: 1; }

.story-viewer__frame {
  position: relative; z-index: 2;
  width: min(calc(100vw - 48rem), calc((100dvh - 48rem) * 9 / 16));
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: calc(100dvh - 48rem);
  border-radius: 6rem;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20rem 60rem rgba(0,0,0,.45);
  container-type: inline-size;
}

.story-viewer__progress {
  position: absolute; top: 12rem; left: 12rem; right: 12rem; z-index: 5;
  display: flex; gap: 4rem;
}
.story-viewer__bar {
  flex: 1; height: 2rem; border-radius: 6rem;
  background: rgba(255,255,255,.35); overflow: hidden;
}
.story-viewer__bar-fill {
  display: block; height: 100%; width: 0;
  background: #fff; border-radius: 6rem;
  transform-origin: left center;
}
.story-viewer__bar.is-done .story-viewer__bar-fill { width: 100%; }
.story-viewer__bar.is-active .story-viewer__bar-fill {
  animation: story-progress var(--story-duration, 5s) linear forwards;
}
@keyframes story-progress {
  from { width: 0; }
  to { width: 100%; }
}
.story-viewer.is-paused .story-viewer__bar.is-active .story-viewer__bar-fill {
  animation-play-state: paused;
}

.story-viewer__header {
  position: absolute; top: 24rem; left: 12rem; right: 72rem; z-index: 5;
  display: flex; align-items: center; gap: 8rem;
  pointer-events: none;
}
.story-viewer__titles {
  display: flex; flex-direction: column; gap: 1rem; min-width: 0;
}
.story-viewer__avatar {
  width: 28rem; height: 28rem; border-radius: 6rem;
  background: var(--color-story-news) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.story-viewer__avatar img { width: 10rem; height: auto; }
.story-viewer__avatar--img { background-size: cover; border-radius: 50%; }
.story-viewer__name {
  font-size: 12rem; font-weight: 400; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em;
  text-shadow: 0 1rem 4rem rgba(0,0,0,.35);
}

.story-viewer__slides { position: absolute; inset: 0; }
.story-viewer__slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.story-viewer__slide.is-active { opacity: 1; pointer-events: auto; }
.story-viewer__slide-picture {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  height: 20%;
}
.story-viewer__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 0;
  outline: none;
}
.story-viewer__slide--video { overflow: hidden; background: #111; }
.story-viewer__slide-video-blur {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.18);
  filter: blur(28px);
  pointer-events: none;
  border: 0;
  outline: none;
}
.story-viewer__slide-video {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  background: transparent;
  display: block;
  border: 0;
  outline: none;
}
.story-viewer__slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.story-viewer__sound[hidden] { display: none !important; }
.story-viewer__sound-icon {
  display: block;
  width: 17rem;
  height: 18rem;
}
.story-viewer__sound-icon[hidden] { display: none !important; }
.story-viewer__slide-caption {
  position: absolute; left: 16rem; right: 16rem; top: 40%;
  transform: translateY(-50%);
  padding: 16rem 18rem;
  background: rgba(232, 90, 140, .72);
  color: #fff; font-size: 18rem; font-weight: 400;
  text-transform: uppercase; line-height: 1.25; text-align: center;
  border-radius: 6rem;
}
.story-viewer__slide-caption[hidden] { display: none !important; }
.story-viewer__slide-link {
  position: absolute;
  left: calc(53 / 1080 * 100cqw);
  right: calc(51 / 1080 * 100cqw);
  bottom: calc(45 / 1080 * 100cqw);
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(107 / 1080 * 100cqw);
  height: calc(107 / 1080 * 100cqw);
  padding: 0 16rem;
  background: #000;
  color: #fff;
  font-size: calc(32 / 1080 * 100cqw);
  line-height: 1.2;
  text-transform: lowercase;
  text-decoration: none;
  border-radius: 6rem;
  pointer-events: auto;
}
.story-viewer__slide-link:hover { opacity: .92; }

.story-viewer__nav {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  outline: none;
  box-shadow: none;
  background: none;
  appearance: none;
}

.story-viewer__products {
  position: absolute;
  left: calc(53 / 1080 * 100cqw);
  right: calc(51 / 1080 * 100cqw);
  bottom: calc(45 / 1080 * 100cqw);
  z-index: 6;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: calc(32 / 1080 * 100cqw);
}
.story-viewer__products[hidden] { display: none !important; }
.story-viewer__products:has(.story-viewer__announce)::before {
  content: "";
  position: absolute;
  left: calc(-53 / 1080 * 100cqw);
  right: calc(-51 / 1080 * 100cqw);
  bottom: calc(-45 / 1080 * 100cqw);
  height: calc(560 / 1080 * 100cqw);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  pointer-events: none;
}
.story-viewer__announce {
  margin: 0;
  color: #fff;
  font-size: calc(42 / 1080 * 100cqw);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-shadow: 0 1rem 8rem rgba(0, 0, 0, 0.45);
}
.story-viewer__announce-title {
  display: block;
  margin: 0 0 calc(10 / 1080 * 100cqw);
  font-size: calc(128 / 1080 * 100cqw);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.story-viewer__announce-sub {
  display: block;
  margin: 0 0 calc(36 / 1080 * 100cqw);
  font-size: calc(58 / 1080 * 100cqw);
  font-weight: 500;
  line-height: 1.15;
}
.story-viewer__announce-text {
  display: block;
  font-size: calc(42 / 1080 * 100cqw);
  font-weight: 400;
  line-height: 1.35;
}
.story-viewer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(132 / 1080 * 100cqw);
  margin-top: calc(36 / 1080 * 100cqw);
  padding: 0 calc(24 / 1080 * 100cqw);
  background: #fff;
  color: #111;
  border-radius: 6rem;
  font-size: calc(40 / 1080 * 100cqw);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: lowercase;
  pointer-events: auto;
}
.story-viewer__cta:hover { opacity: 0.92; }
.story-viewer__product {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  gap: calc(27 / 1080 * 100cqw);
  min-height: calc(353 / 1080 * 100cqw);
  padding: calc(24 / 1080 * 100cqw) calc(23 / 1080 * 100cqw) calc(22 / 1080 * 100cqw);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6rem;
  box-sizing: border-box;
}
.story-viewer__product-row {
  display: flex;
  align-items: center;
  gap: calc(20 / 1080 * 100cqw);
  min-height: calc(172 / 1080 * 100cqw);
}
.story-viewer__product-img {
  width: calc(172 * 535 / 604 / 1080 * 100cqw);
  height: calc(172 / 1080 * 100cqw);
  aspect-ratio: 535 / 604;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 6rem;
  background: #ececf8;
}
.story-viewer__product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: calc(8 / 1080 * 100cqw);
}
.story-viewer__product-cat {
  font-size: calc(22 / 1080 * 100cqw);
  line-height: 1.2;
  text-transform: uppercase;
  color: #6f6f6f;
  letter-spacing: 0.02em;
}
.story-viewer__product-title {
  font-size: calc(40 / 1080 * 100cqw);
  font-weight: 400;
  line-height: 1.15;
  color: #111;
}
.story-viewer__product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: calc(107 / 1080 * 100cqw);
  height: calc(107 / 1080 * 100cqw);
  padding: 0;
  border-radius: 6rem;
  font-size: calc(32 / 1080 * 100cqw);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
  background: #000;
  color: #fff;
}
.story-viewer__baked-btn {
  position: absolute;
  z-index: 6;
  left: calc(65 / 1080 * 100cqw);
  right: calc(60 / 1080 * 100cqw);
  bottom: calc(56 / 1080 * 100cqw);
  width: auto;
  height: calc(135 / 1080 * 100cqw);
  min-height: calc(135 / 1080 * 100cqw);
  pointer-events: none;
}

/* ==========================================================================
   Catalog / section + filter drawer
   ========================================================================== */
/* Фильтры скроллятся вместе со страницей — фиксировано только меню */
.page-catalog-root .catalog-toolbar,
.page-catalog-section .catalog-toolbar,
.page-promo-detail .catalog-toolbar {
  background: var(--color-white);
  padding-top: 16rem;
  padding-bottom: 12rem;
}

/* Крошки — как на catalog-section: …Каталог - Раздел - Текущая */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 16rem;
  color: var(--color-text-muted);
}
.breadcrumbs a,
.breadcrumbs [aria-current="page"] {
  display: inline-block;
  /* text-transform: lowercase; */
  font-weight: 400;
  color: inherit;
}
.breadcrumbs [hidden] {
  display: none !important;
}
.breadcrumbs a:hover { opacity: 0.65; }
.breadcrumbs a::first-letter,
.breadcrumbs [aria-current="page"]::first-letter {
  text-transform: uppercase;
}
.breadcrumbs__sep {
  margin: 0 0.35em;
  opacity: 1;
  color: inherit;
  font-weight: 400;
}
.breadcrumbs--light,
.breadcrumbs--light a,
.breadcrumbs--light a:hover,
.breadcrumbs--light [aria-current] {
  color: #fff;
}
.breadcrumbs__ellipsis {
  flex: 0 0 auto;
  letter-spacing: 0;
  color: inherit;
  margin-right: 0.35em;
}
.breadcrumbs.is-short .breadcrumbs__ellipsis {
  display: none;
}

@media (min-width: 801px) {
  .breadcrumbs.is-collapsible .breadcrumbs__item--head,
  .breadcrumbs.is-collapsible .breadcrumbs__sep--head {
    display: none;
  }
  .breadcrumbs:hover,
  .breadcrumbs:focus-within,
  .page-catalog .catalog-hero .breadcrumbs:hover,
  .page-catalog .catalog-hero .breadcrumbs:focus-within {
    flex-wrap: wrap;
    white-space: normal;
  }
  .breadcrumbs:hover .breadcrumbs__item--head,
  .breadcrumbs:focus-within .breadcrumbs__item--head {
    display: inline-block;
  }
  .breadcrumbs:hover .breadcrumbs__sep--head,
  .breadcrumbs:focus-within .breadcrumbs__sep--head {
    display: inline;
  }
  .breadcrumbs:hover a.breadcrumbs__home,
  .breadcrumbs:focus-within a.breadcrumbs__home {
    display: inline-block;
  }
  .breadcrumbs:hover .breadcrumbs__sep--home,
  .breadcrumbs:focus-within .breadcrumbs__sep--home {
    display: inline;
  }
  .breadcrumbs:hover .breadcrumbs__ellipsis,
  .breadcrumbs:focus-within .breadcrumbs__ellipsis {
    display: none;
  }
}

.catalog-hero {
  position: relative;
  width: 100%;
  min-height: 210rem;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #4d82ad;
}
/* Нет desktop/mobile баннера раздела — серый блок, белый заголовок */
.catalog-hero--placeholder {
  background: #bbbdca;
}
.catalog-hero--placeholder::after {
  display: none;
}
.catalog-hero--placeholder .catalog-hero__title {
  color: var(--color-white);
}
.catalog-hero--placeholder .breadcrumbs,
.catalog-hero--placeholder .breadcrumbs a,
.catalog-hero--placeholder .breadcrumbs [aria-current] {
  color: var(--color-white);
}
.catalog-hero__media,
.catalog-hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}
.catalog-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  image-rendering: auto;
}
.catalog-hero__bg {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* Корневой каталог — баннер на всю ширину экрана, без сжатия по max-height */
.page-catalog-root .catalog-hero {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1440 / 284;
  max-height: none;
}
.page-catalog-root .catalog-hero__img,
.page-catalog-root .catalog-hero__bg {
  object-position: right center;
  background-position: right center;
  background-size: cover;
}
/* Раздел каталога — продукты по центру-слева, баннер на всю ширину */
.page-catalog-section .catalog-hero {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1440 / 284;
  max-height: none;
}
.page-catalog-section .catalog-hero__img,
.page-catalog-section .catalog-hero__bg {
  object-position: 48% center;
  background-position: 48% center;
  background-size: cover;
}
.catalog-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24rem;
  min-height: inherit;
  height: 100%;
  box-sizing: border-box;
  padding-block: 18rem 36rem;
}
.catalog-hero__title {
  font-size: 20rem;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
  max-width: min(640rem, 58%);
  margin: 0;
  overflow-wrap: break-word;
}

/* Крошки на баннере каталога — светлые, те же правила */
.page-catalog .catalog-hero .breadcrumbs {
  flex-wrap: nowrap;
  margin-bottom: 0;
  color: #fff;
  white-space: nowrap;
}
.page-catalog .catalog-hero .breadcrumbs--light,
.page-catalog .catalog-hero .breadcrumbs--light a,
.page-catalog .catalog-hero .breadcrumbs--light [aria-current] {
  color: #fff;
}
.page-catalog .catalog-hero .breadcrumbs__sep,
.page-catalog .catalog-hero .breadcrumbs__ellipsis {
  color: #fff;
}

.catalog-subs { padding: 16rem 0 12rem; background: var(--color-white); }
.catalog-subs .container { overflow: visible; }
/* Лента как направления на главной: слева по контейнеру, справа до края экрана */
.catalog-subs__track,
.catalog-subs__children {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: var(--page-gutter);
  padding-right: max(24rem, var(--safe-right));
  box-sizing: border-box;
  overscroll-behavior-x: contain;
}
.catalog-subs__track {
  display: flex;
  align-items: center;
  gap: 8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  list-style: none;
  margin-block: 0;
  scrollbar-width: none;
}
.catalog-subs__track::-webkit-scrollbar { display: none; }
.catalog-subs__track > li {
  flex: 0 0 182px;
  list-style: none;
  width: 182px;
  max-width: 182px;
  min-width: 182px;
}
.catalog-subs__chip {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
  color: #000;
  gap: 8rem;
  flex: 0 0 auto;
  padding: 0 12rem 0 0;
  border-radius: 16rem;
  border-width: 1rem;
  border-style: solid;
  border-color: #f4f5fb;
  border-image: none;
  overflow: hidden;
  transition: border-color var(--transition), background-color var(--transition);
}
.catalog-subs__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56rem;
  width: 56rem;
  height: 56rem;
  border-radius: 16rem;
  border: 0;
  background: #e6e8f6;
  overflow: hidden;
  box-sizing: border-box;
}
.catalog-subs__chip img,
.catalog-subs__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.catalog-subs__chip span:not(.catalog-subs__media) {
  display: block;
  overflow: visible;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  white-space: normal;
  padding-right: 2rem;
}
.catalog-subs__children {
  display: none;
  flex-flow: row nowrap;
  align-items: baseline;
  gap: 8rem 22rem;
  margin-top: 18rem;
  margin-bottom: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-subs__children::-webkit-scrollbar { display: none; }
.catalog-subs__children > li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.catalog-subs__child {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14rem;
  line-height: 1.35;
  font-weight: 400;
  text-transform: lowercase;
  color: #9c9cb1;
}
.catalog-subs__child:hover {
  color: #000;
  background: transparent;
  border-color: transparent;
  opacity: 1;
}
.catalog-subs__child.is-active,
.catalog-subs__child.is-active:hover {
  color: #000;
  background: transparent;
  border: 0;
  opacity: 1;
}
.catalog-subs__chip:hover:not(.is-active) {
  border-color: #cfcfcf;
  background: var(--color-white);
}
.catalog-subs__chip.is-active {
  border-color: var(--color-black);
  color: #000;
  box-shadow: none;
}
.catalog-subs__chip.is-active:hover {
  border-color: var(--color-black);
  color: #000;
}
.catalog-subs__chip--all {
  justify-content: center;
  padding-left: 18rem;
  display: none;
}
.catalog-subs__track > li:has(> .catalog-subs__chip--all) {
  display: none;
}

/* Корневой каталог — квадраты направлений */
.catalog-cats { padding: 32rem 0 12rem; background: var(--color-white); }
.catalog-cats__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12rem 16rem;
  align-items: start;
}
.catalog-cats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.catalog-cats__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6rem;
  background: #e8eaf2;
  margin-bottom: 10rem;
  line-height: 0;
}
.catalog-cats__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.catalog-cats__label {
  display: block;
  font-family: var(--font-family);
  font-size: 10rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}
.catalog-cats__item:hover .catalog-cats__label { color: var(--color-text); }

.catalog-promo--text {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  padding: 20rem 18rem;
  text-decoration: none;
  box-sizing: border-box;
}
.catalog-promo--blue { background: #9eb5e9; }
.catalog-promo__text {
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-white);
}

/* Search results page — bitrix:search.page | макет «поиск-ввод.png» */
.search-page {
  padding: 48rem 0 4rem;
  background: var(--color-white);
}
.search-page__query {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48rem;
  padding: 0 48rem;
}
.search-page__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 40rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-transform: lowercase;
  color: var(--color-text);
}
.search-page__clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36rem;
  height: 36rem;
  border: 0;
  border-radius: 50%;
  background: #eceef4;
  color: #9C9CB1;
  text-decoration: none;
}
.search-page__clear:hover { color: var(--color-text); background: #e1e4f2; }
.search-page__subtitle {
  margin: 10rem 0 0;
  font-size: 13rem;
  line-height: 1.3;
  text-align: center;
  text-transform: lowercase;
  color: #9C9CB1;
}

.search-toolbar {
  padding: 28rem 0 12rem;
}
.search-toolbar__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16rem;
  margin-bottom: 24rem;
}
.page-catalog:not(.page-search) .search-toolbar__top,
.page-favorites .favorites-panel .search-toolbar__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 12rem;
}
.search-toolbar__top .catalog-sort { justify-self: start; }
.search-toolbar__top .catalog-quick {
  justify-self: end;
  margin-left: 0;
  width: var(--col-width);
  min-width: var(--col-width);
  max-width: var(--col-width);
  flex: 0 0 var(--col-width);
}
.search-toolbar__count {
  margin: 0;
  text-align: center;
  font-size: 13rem;
  font-weight: 400;
  color: var(--color-text);
  justify-self: center;
}
.page-catalog:not(.page-search) .search-toolbar__count,
.page-favorites .favorites-panel .search-toolbar__count {
  text-align: center;
  justify-self: center;
  color: var(--color-text);
}
.page-search .search-toolbar__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.page-search .search-toolbar__count {
  text-align: center;
  justify-self: center;
}
.page-search .catalog-toolbar__filters {
  display: block;
}
.page-search .catalog-toolbar__filters .catalog-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.page-search .catalog-toolbar__filters .catalog-filters::-webkit-scrollbar { display: none; }
.page-catalog .search-toolbar__count {
  margin-bottom: 0;
}
.page-catalog:not(.page-search) .search-toolbar .catalog-toolbar__filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24rem;
  min-height: 23rem;
}
.catalog-filter__btn.catalog-sort__btn {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  text-transform: lowercase !important;
  letter-spacing: 0;
  font-size: 13rem;
  font-weight: 400;
  min-height: auto;
  border-radius: 0;
}
.catalog-filter__btn.catalog-sort__btn:hover,
.catalog-filter__btn.catalog-sort__btn[aria-expanded="true"] {
  background: transparent !important;
}
.catalog-sort__option {
  display: block;
  width: 100%;
  padding: 6rem 0;
  text-align: left;
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text);
}
.catalog-sort__option:hover,
.catalog-sort__option.is-active {
  color: #000;
  font-weight: 400;
}

.catalog-toolbar { padding: 24rem 0 8rem; background: var(--color-white); }
.catalog-toolbar.search-toolbar { padding: 28rem 0 12rem; }
.page-catalog-root .catalog-toolbar.search-toolbar,
.page-catalog-section .catalog-toolbar.search-toolbar,
.page-promo-detail .catalog-toolbar.search-toolbar {
  padding-top: 16rem;
  padding-bottom: 12rem;
}
.catalog-toolbar__count {
  text-align: center;
  font-size: 13rem; color: var(--color-text);
  margin-bottom: 20rem;
}
.page-catalog .catalog-toolbar__count,
.page-catalog .search-toolbar__count {
  margin-bottom: 0;
}
.catalog-toolbar__filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
}
.catalog-smart-filter {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.catalog-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.catalog-filters::-webkit-scrollbar { display: none; }
.catalog-filters--care {
  flex: 0 0 auto;
  width: auto;
  overflow: visible;
}
.catalog-filters__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22rem;
  height: 22rem;
  flex-shrink: 0;
  border: 1rem solid var(--color-black);
  border-radius: 6rem;
  background: var(--color-white);
  color: var(--color-text);
}
.catalog-filters__clear[hidden] { display: none !important; }
.catalog-filters__clear:hover { border-color: var(--color-black); opacity: 0.75; }
.catalog-filter [data-entity="filter-values"] {
  display: none !important;
}

.catalog-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  height: 23rem;
  min-height: 23rem;
  padding: 0 16rem;
  font-size: 8rem;
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 26rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-text);
  background: #fff;
  border: 0.5px solid #cacdd4;
  border-radius: 7rem;
  box-sizing: border-box;
}
.catalog-pro-btn.is-active,
.catalog-pro-btn[aria-pressed="true"] {
  color: #fff;
  background: #111;
  border-color: #111;
}
.catalog-filter { position: relative; flex: 0 0 auto; }
.catalog-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  height: 23rem;
  min-height: 23rem;
  cursor: pointer;
  padding: 0 16rem;
  font-size: 8rem;
  font-weight: 400;
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 26rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 0.5px solid #cacdd4;
  border-radius: 7rem;
  white-space: nowrap;
  box-sizing: border-box;
  transition: border-color var(--transition), background-color var(--transition);
}
.catalog-filter__label { line-height: 26rem; order: 1; }
.catalog-filter__chevron { opacity: 0.55; flex-shrink: 0; order: 3; }
.catalog-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  width: 15rem;
  height: 15rem;
  padding: 0;
  flex-shrink: 0;
  border-radius: 5rem;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 10rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  order: 2;
}
.catalog-filter__count[hidden] { display: none !important; }
.catalog-filter__btn:hover {
  border-color: #cfcfcf;
  background: var(--color-white);
}
.catalog-filter__btn[aria-expanded="true"],
.catalog-filter__btn.is-selected,
.catalog-filter__btn.is-active:not(.is-selected) {
  border-color: var(--color-black);
  background: var(--color-white);
}
/* Макет: выбранный фильтр — счётчик вместо chevron */
.catalog-filter__btn.is-selected .catalog-filter__chevron {
  display: none;
}
.catalog-filter__btn.is-selected {
  padding-right: 16rem;
}
.catalog-filter__remove {
  display: none;
  align-items: center;
  justify-content: center;
  width: 16rem;
  height: 16rem;
  flex-shrink: 0;
  margin: 0 -2rem 0 2rem;
  padding: 0;
  order: 4;
  color: var(--color-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.55;
}
.catalog-filter__remove:hover { opacity: 1; }
.catalog-filter__remove[hidden] { display: none !important; }
.catalog-filter__btn.is-selected .catalog-filter__remove {
  display: inline-flex;
}
.catalog-filter__btn.is-active:not(.is-selected) {
  border-color: var(--color-black);
}
.catalog-filter__dropdown {
  position: absolute; top: calc(100% + 6rem); left: 0; z-index: 20;
  min-width: 220rem; padding: 12rem 14rem;
  background: var(--color-white);
  box-shadow: 0 12rem 32rem rgba(0,0,0,.1);
  display: flex; flex-direction: column; gap: 10rem;
  border-radius: 6rem;
}
.catalog-filter__dropdown[hidden] { display: none !important; }
.catalog-filter__check {
  display: flex; align-items: center; gap: 10rem;
  font-size: 14rem; text-transform: lowercase; cursor: pointer;
}
.catalog-filter__check input { width: 16rem; height: 16rem; }

.catalog-quick {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6rem;
  flex: 0 0 var(--col-width);
  width: var(--col-width);
  min-width: 0;
  max-width: 25%;
  margin-left: auto;
  list-style: none;
  margin-block: 0;
  padding: 0;
  box-sizing: border-box;
}
.catalog-quick > li {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  display: flex;
}
.catalog-quick > li:first-child {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 25%;
  display: flex;
}
.catalog-quick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 23rem;
  min-height: 23rem;
  padding: 0 8rem;
  font-size: 8rem;
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 26rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #e9eaf4;
  border: 0.5px solid transparent;
  border-radius: 7rem;
  color: var(--color-black);
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.catalog-quick__btn img {
  width: auto;
  height: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  filter: none;
  transition: filter var(--transition);
  margin: 0;
}
.catalog-quick__btn span {
  display: block;
  min-width: 0;
  text-align: left;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-quick__btn[data-quick="hit"] img {
  width: 9rem;
  height: 12rem;
}
.catalog-quick__btn[data-quick="new"] img {
  width: 8rem;
  height: 13rem;
}
.catalog-quick__btn[data-quick="sale"] img {
  width: 13rem;
  height: 10rem;
}
.catalog-quick__btn.is-active,
.catalog-quick__btn[aria-pressed="true"] {
  color: var(--color-white);
  border-color: transparent;
}
.catalog-quick__btn.is-active img,
.catalog-quick__btn[aria-pressed="true"] img {
  filter: brightness(0) invert(1);
}
.catalog-quick__btn[data-quick="hit"].is-active,
.catalog-quick__btn[data-quick="hit"][aria-pressed="true"] {
  background: #5383d7;
}
.catalog-quick__btn[data-quick="new"].is-active,
.catalog-quick__btn[data-quick="new"][aria-pressed="true"] {
  background: #24c5d0;
}
.catalog-quick__btn[data-quick="sale"].is-active,
.catalog-quick__btn[data-quick="sale"][aria-pressed="true"] {
  background: #eb5591;
}

/* Filter drawer — модалка параметра фильтра (макет «направление ухода») */
.filter-drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 40);
  display: flex;
  pointer-events: none;
}
.filter-drawer[hidden] { display: none !important; }
.filter-drawer.is-open { pointer-events: auto; }
.filter-drawer:not(.is-open),
.filter-drawer:not(.is-open) * {
  pointer-events: none !important;
}
.filter-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity .25s ease;
}
.filter-drawer.is-open .filter-drawer__backdrop {
  opacity: 1;
  pointer-events: auto;
}
.filter-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(472rem, 92vw);
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  background: var(--color-white);
  padding: 0;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform .28s ease;
  box-shadow: 8rem 0 40rem rgba(0, 0, 0, 0.1);
}
.filter-drawer.is-open .filter-drawer__panel { transform: translateX(0); }

.filter-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
  padding: 48rem 56rem 32rem;
}
.filter-drawer__handle {
  display: none;
}
.filter-drawer__title {
  margin: 0;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
  padding-right: 12rem;
}
.filter-drawer__reset {
  flex-shrink: 0;
  margin-top: 8rem;
  padding: 0;
  font-family: var(--font-family);
  font-size: 13rem;
  line-height: 1.2;
  text-transform: lowercase;
  color: #9C9CB1;
  background: transparent;
}
.filter-drawer__reset:hover { color: var(--color-text); }
.filter-drawer__reset[hidden] { display: none !important; }
.filter-drawer__close {
  width: 32rem;
  height: 32rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  margin-right: -4rem;
  color: var(--color-text);
}
.filter-drawer__close:hover { opacity: 0.55; }

.filter-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 56rem;
}
.filter-drawer__form { margin: 0; }
.filter-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 12rem;
}
.filter-drawer__check {
  display: flex;
  align-items: flex-start;
  gap: 16rem;
  padding: 14rem 0;
  cursor: pointer;
}
.filter-drawer__check input {
  position: absolute;
  opacity: 0;
  width: 1rem;
  height: 1rem;
}
.filter-drawer__box {
  width: 16rem;
  height: 16rem;
  flex-shrink: 0;
  margin-top: 2rem;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background: var(--color-white);
  transition: background var(--transition), border-color var(--transition);
}
.filter-drawer__check input:checked + .filter-drawer__box {
  background: var(--color-black);
  border-color: var(--color-black);
  background-image: none;
}
.filter-drawer__text {
  font-size: 15rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-text);
}

.filter-drawer__foot {
  flex-shrink: 0;
  padding: 16rem 56rem 44rem;
  background: var(--color-white);
}
.filter-drawer__apply {
  min-height: 40rem;
  height: 40rem;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 14rem;
  font-weight: 400;
  border-radius: 6rem;
}
.filter-drawer__apply [data-entity="filter-drawer-count"] {
  margin-inline: 0.15em;
}
.filter-drawer__apply.is-loading,
.filter-drawer__apply[aria-busy="true"] { opacity: 0.7; }

.catalog-section { padding: 24rem 0 48rem; background: var(--color-white); }
.catalog-section.is-loading .catalog-grid {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity .2s ease;
}
.catalog-quick__btn[aria-busy="true"] { pointer-events: none; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, var(--col-width));
  gap: var(--grid-gap);
  justify-content: space-between;
  align-items: stretch;
}
.catalog-promo {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
  width: var(--col-width);
  height: 100%;
  min-height: 0;
  background: #e8eaf2;
  align-self: stretch;
}
.catalog-promo::before {
  content: "";
  display: block;
  padding-top: calc(266 / 237 * 100%);
}
.catalog-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-promo--tall,
.catalog-promo--wide,
.catalog-promo--image,
.catalog-promo--floss {
  grid-row: span 1;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}
.catalog-promo--tall img,
.catalog-promo--floss img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-promo--plain::after { content: none; }
.catalog-promo__caption {
  position: absolute;
  left: 20rem;
  right: 20rem;
  bottom: 20rem;
  z-index: 1;
  width: auto;
  max-width: none;
  margin: 0;
  font-family: "Osnova Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 15rem;
  font-weight: 400;
  font-style: normal;
  line-height: 18rem;
  letter-spacing: 0;
  text-transform: none;
  white-space: pre-line;
  color: var(--color-white);
}
.catalog-promo__caption--dark {
  color: var(--color-black);
}
.catalog-promo--floss img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.catalog-promo--floss .catalog-promo__caption {
  text-transform: none;
  font-size: 15rem;
  font-weight: 400;
  line-height: 18rem;
  letter-spacing: 0;
}

.product-card--catalog { width: var(--col-width); height: 100%; }
.product-card__media {
  position: relative;
  background: var(--color-bg-media);
  margin-bottom: 0;
}
.product-card--catalog .product-card__image {
  width: 100%; height: 100%; aspect-ratio: 237 / 266;
  object-fit: contain; background: var(--color-bg-media);
}
.product-card__badges {
  position: absolute; top: 0; left: 0;
  display: flex; flex-direction: row; align-items: flex-start; gap: 0; z-index: 2;
}
.product-card__badge {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 20rem;
  height: 20rem;
  padding: 0;
  gap: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
  overflow: visible;
  box-sizing: border-box;
  color: inherit;
  font-size: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.product-card__badge img {
  width: 20rem;
  height: 20rem;
  max-width: none;
  object-fit: cover;
  object-position: top left;
  display: block;
  flex-shrink: 0;
}
.product-card__badge--hit img,
.product-card__badge--new img {
  width: 20rem;
  height: 20rem;
}
.product-card__badge span {
  display: none;
}
.product-card__badge--sale {
  width: 20rem;
  height: 20rem;
  padding: 0;
  gap: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
}
.product-card__badge--sale img {
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  filter: none;
}
.product-card__fav {
  position: absolute; top: 12rem; right: 12rem; z-index: 3;
  width: 32rem; height: 32rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45;
}
.product-card__fav img {
  display: block;
  width: 17rem;
  height: 15rem;
  pointer-events: none;
}
.product-card__fav:hover,
.product-card__fav.is-active,
.product-card__fav[aria-pressed="true"] { opacity: 1; }
.product-card__fav.is-active img,
.product-card__fav[aria-pressed="true"] img {
  filter: none;
}
.product-card__cart-btn {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 35rem; min-height: 35rem; padding: 0 12rem;
  font-size: 12rem; font-family: var(--font-family);
  text-transform: lowercase;
  background: var(--color-black); color: var(--color-white);
  opacity: 0; transform: translateY(6rem);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.product-card:not(.is-oos):hover .product-card__cart-btn:not([hidden]):not(.is-inactive),
.product-card.is-in-cart .product-card__cart-btn:not([hidden]):not(.is-inactive),
.product-card__media:focus-within .product-card__cart-btn:not([hidden]):not(.is-inactive),
.product-card__cart-btn.is-loading {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.product-card__cart-btn[hidden] { display: none !important; }

@media (hover: none) {
  .product-card__cart-btn:not([hidden]):not(.is-inactive) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .product-card.is-oos .product-card__cart-btn,
  .product-card__cart-btn.is-inactive {
    display: none !important;
  }
}

.product-card__qty {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35rem;
  padding: 0 16rem;
  background: var(--color-black);
  color: var(--color-white);
}
.product-card__qty[hidden] { display: none !important; }
.product-card__qty-btn {
  width: 32rem; height: 32rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 18rem; line-height: 1; color: var(--color-white);
  font-family: var(--font-family);
}
.product-card__qty-btn:hover { opacity: 0.65; }
.product-card__qty-value {
  font-size: 14rem; font-weight: 400; min-width: 24rem; text-align: center;
}

.catalog-more { display: flex; justify-content: center; padding-top: 40rem; }
.catalog-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  min-height: 25rem;
  padding: 6rem 20rem;
  font-size: 14rem;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--color-black);
  background: var(--color-white);
  border: 1rem solid #e5e5e5;
  border-radius: 6rem;
  cursor: pointer;
  font-family: inherit;
}
.catalog-more__btn:hover { opacity: 0.55; }
.catalog-more__btn.is-loading,
.catalog-more__btn[aria-busy="true"] { pointer-events: none; opacity: 0.45; }
.catalog-more__icon {
  width: 15rem;
  height: 15rem;
  flex-shrink: 0;
  display: block;
}

/* ==========================================================================
   Product detail page — Desktop 3.pdf
   ========================================================================== */
.page-product .site-header {
  background: var(--color-white);
}

.product-page { padding-bottom: 0; }
.product-page__crumbs {
  padding-top: 20rem;
  margin-bottom: 28rem;
  color: var(--color-text-muted);
}
.product-page__crumbs-sku {
  display: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas:
    "gallery content"
    "rule rule"
    "features desc";
  column-gap: 56rem;
  row-gap: 0;
  grid-template-rows: minmax(min-content, auto) auto minmax(min-content, auto);
  align-items: stretch;
  margin-bottom: 40rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.product-detail::before {
  content: "";
  grid-area: rule;
  height: 1rem;
  background: #eeeeee;
  border: 0;
  margin: 28rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
}
.product-detail:not(:has(.product-tabs))::before {
  display: none;
  margin: 0;
  height: 0;
}
.product-detail__content {
  grid-area: content;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.product-info__dock {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin-top: auto;
}
.product-gallery {
  grid-area: gallery;
  position: static;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  /* Колонка не ниже самого фото, иначе характеристики заезжают на картинку */
  min-height: min-content;
  height: auto;
  overflow: clip;
}
.product-gallery__main {
  position: relative;
  background: #ececf8;
  aspect-ratio: 535 / 604;
  width: 100%;
  flex: 0 0 auto;
  height: auto;
  min-height: auto;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
@media (min-width: 1101px) {
  .product-gallery__main {
    position: sticky;
    top: calc(var(--header-offset) + 16rem);
    z-index: 1;
  }
}
.product-gallery__main .product-card__badges {
  top: 0;
  left: 0;
}
.product-gallery__image {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.product-gallery__image[hidden],
.product-gallery__main.is-video .product-gallery__image {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.product-gallery__main.is-video {
  background: #1a1a1a;
}
.product-gallery__video-blur {
  position: absolute;
  left: -12%;
  top: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(32rem);
  z-index: 1;
  pointer-events: none;
  display: none;
}
.product-gallery__video-blur[hidden] {
  display: none !important;
}
.product-gallery__main.is-video .product-gallery__video-blur:not([hidden]) {
  display: block;
}
.site-workarea .product-gallery__main.is-video .product-gallery__video {
  max-width: none;
  max-height: none;
  height: 100%;
  background: transparent;
}
.site-workarea .product-gallery__main.is-video .product-gallery__video-blur {
  max-width: none;
  max-height: none;
  background: transparent;
}
.product-gallery__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
  background: transparent;
  z-index: 2;
}
.product-gallery__video[hidden] {
  display: none !important;
  visibility: hidden !important;
}
.product-gallery__main.is-video .product-gallery__video:not([hidden]) {
  display: block !important;
  visibility: visible !important;
}
.product-gallery__fav { display: none; }
.product-info .product-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10rem;
  margin-top: 20rem;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8ccd6 transparent;
}
.product-info .product-gallery__thumbs::-webkit-scrollbar { height: 4rem; }
.product-info .product-gallery__thumbs::-webkit-scrollbar-track { background: transparent; }
.product-info .product-gallery__thumbs::-webkit-scrollbar-thumb {
  background: #c8ccd6;
  border-radius: 6rem;
}
.product-info .product-gallery__thumbs > li {
  flex: 0 0 calc((100% - 30rem) / 4);
  width: calc((100% - 30rem) / 4);
  min-width: calc((100% - 30rem) / 4);
}
.product-gallery__thumb {
  width: 100%;
  aspect-ratio: 535 / 604;
  padding: 0;
  background: #ececf8;
  overflow: hidden;
  border: 1rem solid transparent;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery__thumb.is-active,
.product-gallery__thumb:hover { border-color: var(--color-black); }
.product-gallery__thumb--video {
  color: var(--color-white);
  background: #ececf8;
  position: relative;
}
.product-gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.product-gallery__zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: var(--cursor-zoom-in);
}
.product-gallery__main.is-video .product-gallery__zoom,
.product-gallery__zoom[hidden] {
  display: none;
}
.product-gallery__fav { cursor: pointer; }

.photo-zoom {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-cookie) + 10);
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-black);
}
.photo-zoom[hidden] { display: none !important; }
html.is-photo-zoom-open,
html.is-photo-zoom-open body { overflow: hidden; }
.photo-zoom__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24rem;
  flex: 0 0 auto;
  padding: 22rem 28rem 8rem;
}
.photo-zoom__category {
  display: block;
  font-size: 13rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-black);
}
.photo-zoom__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.2;
}
.photo-zoom__close {
  flex: 0 0 auto;
  width: 40rem;
  height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}
.photo-zoom__close:hover { opacity: 0.55; }
.photo-zoom__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  gap: 20rem;
  padding: 8rem 28rem 28rem;
}
.photo-zoom__rail {
  width: 84rem;
  flex: 0 0 84rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  min-height: 0;
}
.photo-zoom__rail[hidden] { display: none !important; }
.photo-zoom__shift {
  width: 36rem;
  height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  flex: 0 0 auto;
}
.photo-zoom__shift:disabled { opacity: 0.25; }
.photo-zoom__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  scrollbar-width: none;
}
.photo-zoom__thumbs::-webkit-scrollbar { display: none; }
.photo-zoom__thumb {
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  background: #ececf8;
  border: 1rem solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-zoom__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-zoom__thumb.is-active,
.photo-zoom__thumb:hover { border-color: var(--color-black); }
.photo-zoom__stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  background: #ececf8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-zoom-in);
  touch-action: none;
}
.photo-zoom__stage.is-zoomed { cursor: var(--cursor-zoom-out); }
.photo-zoom__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.28s ease;
}
.photo-zoom__stage.is-panning .photo-zoom__image { transition: none; }
.photo-zoom__thumb--video { position: relative; }
.photo-zoom__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.photo-zoom__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #000;
}
.photo-zoom__video[hidden] { display: none !important; }
.photo-zoom__stage.is-video {
  cursor: default;
  touch-action: auto;
}
.photo-zoom__stage.is-video .photo-zoom__image { display: none; }
@media (max-width: 800px) {
  .photo-zoom__bar { padding: 14rem 16rem 4rem; }
  .photo-zoom__title { font-size: 18rem; }
  .photo-zoom__body {
    flex-direction: column;
    gap: 12rem;
    padding: 8rem 16rem 16rem;
  }
  .photo-zoom__rail {
    order: 2;
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    height: 76rem;
  }
  .photo-zoom__shift { display: none; }
  .photo-zoom__thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    height: 76rem;
  }
  .photo-zoom__thumbs > li { flex: 0 0 68rem; width: 68rem; }
}

.product-info__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  margin-bottom: 12rem;
}
.product-info__sku {
  font-size: 13rem; color: var(--color-text-light); text-transform: lowercase;
}
.product-info__actions { display: flex; align-items: center; gap: 16rem; }
.product-info__icon-btn {
  width: 24rem; height: 24rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text);
}
.product-info__icon-btn:hover { opacity: 0.65; }
.product-info__icon-btn.is-active { opacity: 1; }
.product-info__icon-btn.is-active img,
.product-info__icon-btn[aria-pressed="true"] img {
  filter: none;
}

.product-info__category {
  display: block;
  font-size: 14rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-black); margin-bottom: 8rem;
}
.product-info__title {
  font-size: 30rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 16rem 0;
  color: var(--color-black);
}
.product-info__lead {
  font-size: 15rem;
  line-height: 1.5;
  margin: 8rem 0 16rem;
  color: var(--color-text);
}
.product-info__lead:has(+ .product-info__expiry) {
  margin-bottom: 0;
}
.product-info__expiry {
  font-size: 15rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 8rem 0 16rem;
  color: var(--color-sale-note);
}
.product-info__expiry-name {
  font-weight: 400;
}

.product-info__sku-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10rem 12rem;
  margin-bottom: 24rem;
}
.product-info__offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 48rem;
  height: 42rem;
  min-width: 48rem;
  min-height: 42rem;
  padding: 0;
  border: 1rem solid #e5e5e5;
  background: var(--color-white);
  border-radius: 6rem;
  cursor: pointer;
  appearance: none;
  font: inherit;
}
.product-info__offer:not(.product-info__offer--color) {
  width: auto;
  min-width: 42rem;
  /* padding: 0 10px; */
}
.product-info__offer.is-selected {
  border-color: var(--color-black);
}
.product-info__offer-value { font-size: 14rem; font-weight: 400; line-height: 1; white-space: nowrap; }
.product-info__offer-label {
  font-size: 14rem; color: var(--color-text);
  text-transform: lowercase;
}
.product-info__sku-block--colors {
  align-items: center;
  gap: 8rem 10rem;
}
.product-info__offer.product-info__offer--color {
  width: 28rem;
  height: 28rem;
  min-width: 28rem;
  min-height: 28rem;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1rem solid #d8d8d8;
  background: var(--color-white);
  overflow: hidden;
}
.color-tip {
  position: fixed;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: max-content;
  padding: 8rem 10rem;
  border-radius: 6rem;
  background: var(--color-white);
  box-shadow: 0 4rem 16rem rgba(0, 0, 0, 0.12);
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-black);
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}
.color-tip[hidden] { display: none !important; }
.product-info__offer.product-info__offer--color::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--swatch2, var(--swatch, #ccc)) 50%,
    var(--swatch, #ccc) 50%
  );
  pointer-events: none;
}
.product-info__offer.product-info__offer--color.is-selected {
  border-width: 1rem;
  border-color: var(--color-black);
}
.product-info__offer.product-info__offer--color.is-oos,
.product-info__offer.product-info__offer--color:disabled {
  opacity: 0.4;
  cursor: default;
}

.product-info__purchase {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.product-info__prices {
  display: flex;
  align-items: stretch;
  gap: 40rem;
  margin-bottom: 16rem;
}
.product-info__price-col {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.product-info__price-col--old {
  flex: 0 0 auto;
}
.product-info__price {
  font-size: 28rem; font-weight: 400; line-height: 1.15;
  color: var(--color-black);
  white-space: nowrap;
}
.product-info__discount-note {
  font-size: 13rem; color: var(--color-sale-note);
  text-transform: lowercase;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  margin-top: auto;
}
.product-info__price-old {
  position: relative;
  display: inline-block;
  width: max-content;
  min-width: max-content;
  max-width: none;
  padding-inline: 0.4em;
  margin-inline: -0.4em;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-price-old);
  text-decoration: none;
  white-space: nowrap;
}
.product-info__price-old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1rem;
  background: currentColor;
  pointer-events: none;
}
.product-info__old-label {
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-light);
  text-transform: lowercase;
  margin-top: auto;
}

.product-info__stock {
  display: inline-flex; align-items: center; gap: 8rem;
  font-size: 14rem; margin-bottom: 48rem; text-transform: lowercase;
  color: var(--color-text);
}
.product-info__stock[hidden] { display: none !important; }
.product-info__stock--in { color: var(--color-text); }
.product-info__stock-icon {
  width: 14rem;
  height: 8rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.product-info__cart-row {
  display: flex;
  align-items: stretch;
  gap: 8rem;
  flex-shrink: 0;
}
.product-info__buy {
  flex: 1 1 auto;
  max-width: none;
  min-height: 52rem;
  border-radius: 6rem;
}
.product-info__buy.is-inactive,
.product-info__buy.is-inactive:hover,
.product-info__buy:disabled,
.product-info__buy:disabled:hover {
  background: #ececf4;
  color: #9c9cb1;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}
.product-info__buy[hidden] { display: none !important; }
.product-info__qty {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52rem; padding: 0 20rem;
  background: var(--color-black); color: var(--color-white);
  border-radius: 6rem;
}
.product-info__qty[hidden] { display: none !important; }
.product-info__qty-btn {
  width: 36rem; height: 36rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 20rem; color: var(--color-white);
}
.product-info__qty-value { font-size: 16rem; font-weight: 400; min-width: 28rem; text-align: center; }
.product-info__market {
  flex: 0 0 52rem;
  width: 52rem;
  height: 52rem;
  display: block;
  border-radius: 6rem;
  overflow: hidden;
  line-height: 0;
  align-self: stretch;
}
.product-info__market img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-info__market:hover { opacity: 0.9; }

.product-tabs {
  display: contents;
}
.product-tabs__col--features {
  grid-area: features;
  min-width: 0;
  padding-top: 0;
  /* Как на rocs.ru: левая колонка фиксируется у верха при скролле описания */
  position: sticky;
  top: calc(var(--header-offset) + 16rem);
  align-self: start;
  z-index: 1;
}
.product-tabs__col--desc {
  grid-area: desc;
  min-width: 0;
  padding-top: 0;
  position: relative;
  align-self: start;
}
.product-tabs__nav {
  display: flex; flex-wrap: wrap; gap: 8rem;
  margin-bottom: 22rem;
}
.product-tabs__btn{
  min-height: 25rem;
  padding: 0 18rem;
  font-size: 11rem;
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1rem solid #d5d7e0;
  border-radius: 6rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.product-tabs__btn.is-active {
  background: var(--color-black); color: var(--color-white);
  border-color: var(--color-black);
}
.product-tabs__stage {
  position: relative;
  overflow: hidden;
}
.product-tabs__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.product-tabs__panel.is-active {
  position: absolute;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.product-tabs__panel.is-leaving {
  position: absolute;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 0;
}
.product-tabs__stage .product-tabs__panel[hidden] {
  display: block !important;
}
@media (prefers-reduced-motion: reduce) {
  .product-tabs__btn,
  .product-tabs__panel {
    transition: none;
  }
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10rem;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}
.product-features__item {
  display: flex;
  align-items: center;
  gap: 12rem;
  min-height: 72rem;
  padding: 6rem 14rem;
  background: #f5f5fb;
  border: 0;
  border-radius: 6rem;
  font-size: 12rem;
  line-height: 1.35;
  /* text-transform: lowercase; */
  color: var(--color-text);
}
.product-features__item > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}
.product-features__item--wide {
  grid-column: span 2;
  background: #f5f5fb;
  border: 0;
}
.product-features__icon {
  flex-shrink: 0;
  width: 58rem;
  height: auto;
  display: block;
  object-fit: contain;
}
.product-features__icon--rda,
.product-features__icon--ria {
  width: 58rem;
}
.product-features__icon--mg,
.product-features__icon--ca,
.product-features__icon--xylitol {
  width: 62rem;
}
.product-features__badge {
  display: flex; align-items: stretch; overflow: hidden;
  border-radius: 6rem; background: #f5f5fb;
  flex-shrink: 0;
}
.product-features__badge-value {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 58rem;
  min-height: 52rem;
  padding: 12rem 10rem;
  background: #7b6aaa; color: var(--color-white);
  font-size: 13rem; font-weight: 400; white-space: nowrap;
  line-height: 1.15; text-align: center;
}
.product-features__badge-text {
  padding: 14rem 16rem;
  font-size: 13rem; line-height: 1.35; text-transform: lowercase;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 28rem;
}
.product-specs__group {
  display: flex;
  flex-direction: column;
  gap: 14rem;
}
.product-specs__row {
  display: flex;
  align-items: baseline;
  gap: 8rem;
  font-size: 14rem;
  line-height: 1.35;
}
.product-specs__row dt,
.product-specs__name {
  flex: 0 1 auto;
  color: #9C9CB1;
  white-space: nowrap;
}
.product-specs__dots {
  flex: 1 1 auto;
  min-width: 24rem;
  height: 1em;
  border-bottom: 1rem dotted #c8c8c8;
  transform: translateY(0);
}
.product-specs__row dd,
.product-specs__value {
  flex: 0 1 auto;
  max-width: 55%;
  text-align: right;
  color: var(--color-text);
}

.product-desc { font-size: 14rem; line-height: 1.6; color: var(--color-text); }
.product-desc p { margin-bottom: 14rem; }
.product-desc > :first-child { margin-top: 0; }
.product-desc__note {
  font-size: 13rem; color: var(--color-text); line-height: 1.5;
  margin-bottom: 16rem;
}
.product-desc__heading {
  margin: 20rem 0 10rem;
  font-size: 13rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.product-desc__list {
  display: flex; flex-direction: column; gap: 8rem;
  padding-left: 0; list-style: none;
  margin-bottom: 8rem;
}
.product-desc__list li {
  position: relative; padding-left: 14rem;
  text-transform: lowercase;
}
.product-desc__list li::before {
  content: "–"; position: absolute; left: 0; top: 0;
}

/* CMS-контент: ul/ol/table в карточке товара и текстовых страницах */
.product-desc ul,
.product-desc ol,
.product-desc__list,
.product-info__lead ul,
.product-info__lead ol,
.promo-detail__content ul,
.promo-detail__content ol,
.article-detail__content ul,
.article-detail__content ol,
.brand-detail__content ul,
.brand-detail__content ol,
.help-page__main ul:not([class]),
.help-page__main ol:not([class]),
.company-block__text ul,
.company-block__text ol,
.catalog-seo ul,
.catalog-seo ol,
.page-inner > ul,
.page-inner > ol {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin: 0 0 16rem;
  padding: 0;
  list-style: none;
}
.product-desc li,
.product-info__lead li,
.promo-detail__content li,
.article-detail__content li,
.brand-detail__content li,
.help-page__main ul:not([class]) li,
.help-page__main ol:not([class]) li,
.company-block__text li,
.catalog-seo li,
.page-inner > ul li,
.page-inner > ol li {
  position: relative;
  padding-left: 16rem;
}
.product-desc ul > li::before,
.product-desc__list > li::before,
.product-info__lead ul > li::before,
.promo-detail__content ul > li::before,
.article-detail__content ul > li::before,
.brand-detail__content ul > li::before,
.help-page__main ul:not([class]) > li::before,
.company-block__text ul > li::before,
.catalog-seo ul > li::before,
.page-inner > ul > li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text);
}
.product-desc ol,
.product-info__lead ol,
.promo-detail__content ol,
.article-detail__content ol,
.brand-detail__content ol,
.help-page__main ol:not([class]),
.company-block__text ol,
.catalog-seo ol,
.page-inner > ol {
  counter-reset: pc-content-step;
}
.product-desc ol > li,
.product-info__lead ol > li,
.promo-detail__content ol > li,
.article-detail__content ol > li,
.brand-detail__content ol > li,
.help-page__main ol:not([class]) > li,
.company-block__text ol > li,
.catalog-seo ol > li,
.page-inner > ol > li {
  counter-increment: pc-content-step;
  padding-left: 22rem;
}
.product-desc ol > li::before,
.product-info__lead ol > li::before,
.promo-detail__content ol > li::before,
.article-detail__content ol > li::before,
.brand-detail__content ol > li::before,
.help-page__main ol:not([class]) > li::before,
.company-block__text ol > li::before,
.catalog-seo ol > li::before,
.page-inner > ol > li::before {
  content: counter(pc-content-step) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text);
}
.product-desc ul ul,
.product-desc ol ol,
.product-desc ul ol,
.product-desc ol ul,
.product-info__lead ul ul,
.product-info__lead ol ol,
.promo-detail__content ul ul,
.article-detail__content ul ul,
.brand-detail__content ul ul,
.help-page__main ul:not([class]) ul,
.company-block__text ul ul,
.catalog-seo ul ul,
.page-inner > ul ul {
  margin: 8rem 0 0;
}
.product-desc table,
.promo-detail__content table,
.article-detail__content table,
.brand-detail__content table,
.help-page__main table,
.company-block__text table,
.catalog-seo table,
.page-inner > table,
.page-inner table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16rem 0 24rem;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text);
}
.product-desc table td,
.product-desc table th,
.promo-detail__content table td,
.promo-detail__content table th,
.article-detail__content table td,
.article-detail__content table th,
.brand-detail__content table td,
.brand-detail__content table th,
.help-page__main table td,
.help-page__main table th,
.company-block__text table td,
.company-block__text table th,
.catalog-seo table td,
.catalog-seo table th,
.page-inner table td,
.page-inner table th {
  border: 1rem solid #e1e4f2;
  padding: 10rem 14rem;
  vertical-align: top;
  text-align: left;
}
.product-desc table th,
.promo-detail__content table th,
.article-detail__content table th,
.brand-detail__content table th,
.help-page__main table th,
.company-block__text table th,
.catalog-seo table th,
.page-inner table th {
  background: var(--color-news-bg, #e1e4f2);
  font-weight: 400;
}
.product-desc table caption,
.promo-detail__content table caption,
.article-detail__content table caption,
.brand-detail__content table caption,
.help-page__main table caption,
.page-inner table caption {
  margin-bottom: 8rem;
  caption-side: top;
  text-align: left;
  font-size: 13rem;
  color: var(--color-text-muted);
}

.product-related {
  border-top: 0;
  padding-top: 0;
}
.product-related > .container {
  border-top: 1rem solid #eee;
  padding-top: 24rem;
}
.product-related .product-carousel:not(.novinki__layout),
.catalog-related .product-carousel:not(.novinki__layout) {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.product-related .novinki__layout.product-carousel,
.page-home .novinki__layout.product-carousel {
  overflow: visible;
}
.page-catalog .catalog-section { padding-top: 16rem; padding-bottom: 24rem; }

.catalog-toolbar__mobile-bar { display: none; }
.catalog-toolbar__count--mobile { display: none; }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
  .catalog-promo,
  .product-card--catalog { width: auto; }
  .catalog-quick {
    margin-left: auto;
    width: var(--col-width);
    min-width: 0;
    max-width: 25%;
  }
  .page-search .search-toolbar__top .catalog-quick {
    width: var(--col-width);
    min-width: var(--col-width);
    max-width: var(--col-width);
    flex: 0 0 var(--col-width);
  }
  .catalog-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-toolbar__top {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .search-toolbar__top .catalog-sort,
  .search-toolbar__count,
  .search-toolbar__top .catalog-quick { justify-self: stretch; }
  .search-toolbar__top .catalog-quick { justify-content: flex-start; }
  .product-info__dock { display: contents; }
  .product-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "content"
      "rule"
      "features"
      "desc";
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }
  .product-detail::before {
    margin: 32rem 0 24rem;
  }
  .product-gallery {
    margin-bottom: 32rem;
  }
  .product-gallery {
    position: static;
    top: auto;
    height: auto;
  }
  .product-gallery__main {
    position: static;
    top: auto;
    height: auto;
    min-height: 0;
  }
  .product-detail__content,
  .product-info {
    height: auto;
  }
  .product-info__purchase {
    flex: none;
    justify-content: flex-start;
  }
  .product-info .product-gallery__thumbs {
    margin-top: 20rem;
    padding-top: 0;
  }
  .product-tabs {
    display: contents;
  }
  .product-tabs__col--features {
    position: static;
    top: auto;
  }
  .product-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-features__item--wide { grid-column: span 2; }
  .product-info .product-gallery__thumbs { gap: 10rem; }
}

@media (max-width: 800px) {
  .search-page { padding: 28rem 0 4rem; }
  .search-page__title { font-size: 28rem; }
  .search-page__query { padding: 0 36rem; }
  .catalog-hero {
    min-height: 148rem;
    align-items: stretch;
  }
  .page-catalog-root .catalog-hero {
    aspect-ratio: auto;
    min-height: 160rem;
    max-height: none;
  }
  .page-catalog-root .catalog-hero__bg,
  .page-catalog-root .catalog-hero__img {
    object-position: 72% center;
    background-position: 72% center;
  }
  .page-catalog-section .catalog-hero {
    aspect-ratio: 1024 / 510;
    min-height: 0;
    max-height: none;
  }
  .page-catalog-section .catalog-hero__bg,
  .page-catalog-section .catalog-hero__img {
    object-position: center center;
    background-position: center center;
  }
  .catalog-hero__inner {
    padding-block: 16rem 22rem;
    gap: 12rem;
    justify-content: space-between;
  }
  .catalog-hero__title {
    font-size: 26rem;
    letter-spacing: 0.02em;
    max-width: 88%;
  }
  .page-catalog .catalog-hero .breadcrumbs,
  .page-catalog .catalog-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.82);
  }
  /* Мобильные крошки каталога — «< родитель» в lowercase, как в адаптивных макетах */
  .page-catalog .catalog-hero .breadcrumbs {
    gap: 0;
    margin-bottom: 0;
    font-size: 12rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: lowercase;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .page-catalog .catalog-hero .breadcrumbs__ellipsis {
    display: none;
  }
  .page-catalog .catalog-hero .breadcrumbs a,
  .page-catalog .catalog-hero .breadcrumbs [aria-current="page"] {
    text-transform: lowercase;
  }
  .page-catalog .catalog-hero .breadcrumbs a::first-letter,
  .page-catalog .catalog-hero .breadcrumbs [aria-current="page"]::first-letter {
    text-transform: lowercase;
  }
  .page-catalog .catalog-hero .breadcrumbs__sep,
  .page-catalog .catalog-hero .breadcrumbs [aria-current="page"] {
    display: none;
  }
  /* Корневой каталог: «< главная» */
  .page-catalog-root .catalog-hero .breadcrumbs .breadcrumbs__sep--home {
    display: none;
  }
  .page-catalog-root .catalog-hero .breadcrumbs a.breadcrumbs__home {
    display: inline-block;
  }
  .page-catalog-root .catalog-hero .breadcrumbs a:not(.breadcrumbs__home),
  .page-catalog-root .catalog-hero .breadcrumbs [aria-current="page"] {
    display: none;
  }
  .page-catalog-root .catalog-hero .breadcrumbs a.breadcrumbs__home::before {
    content: "< ";
  }
  /* Раздел: «< каталог»; подраздел: «< раздел» через .breadcrumbs__back */
  .page-catalog-section .catalog-hero .breadcrumbs a.breadcrumbs__home,
  .page-catalog-section .catalog-hero .breadcrumbs .breadcrumbs__sep--home {
    display: none;
  }
  .page-catalog-section .catalog-hero .breadcrumbs a {
    display: none;
  }
  .page-catalog-section .catalog-hero .breadcrumbs a[href="/catalog/"],
  .page-catalog-section .catalog-hero .breadcrumbs a[href$="/catalog/"],
  .page-catalog-section .catalog-hero .breadcrumbs a.breadcrumbs__back {
    display: inline-block;
  }
  .page-catalog-section .catalog-hero .breadcrumbs:has(a.breadcrumbs__back) a[href="/catalog/"]:not(.breadcrumbs__back),
  .page-catalog-section .catalog-hero .breadcrumbs:has(a.breadcrumbs__back) a[href$="/catalog/"]:not(.breadcrumbs__back),
  .page-catalog-section .catalog-hero .breadcrumbs:has(a.breadcrumbs__back) a[href="catalog.html"] {
    display: none;
  }
  .page-catalog-section .catalog-hero .breadcrumbs a[href="/catalog/"]::before,
  .page-catalog-section .catalog-hero .breadcrumbs a[href$="/catalog/"]::before,
  .page-catalog-section .catalog-hero .breadcrumbs a[href="catalog.html"]::before,
  .page-catalog-section .catalog-hero .breadcrumbs a.breadcrumbs__back::before {
    content: "< ";
  }
  .catalog-cats { padding: 16rem 0 4rem; }
  .catalog-cats__grid {
    display: flex;
    gap: 15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--container-padding), var(--safe-left)));
    padding-inline: max(var(--container-padding), var(--safe-left)) max(var(--container-padding), var(--safe-right));
    padding-bottom: 8rem;
  }
  .catalog-cats__grid::-webkit-scrollbar { display: none; }
  .catalog-cats__item {
    flex: 0 0 90rem;
    scroll-snap-align: start;
  }
  .catalog-cats__image {
    width: 90rem;
    height: 90rem;
    margin-bottom: 8rem;
  }
  .catalog-cats__label {
    font-size: 10rem;
    line-height: 1.25;
  }
  .catalog-subs {
    padding: 16rem 0 12rem;
    background: var(--color-white);
    border-bottom: 1rem solid #ececec;
  }
  .catalog-subs__track {
    align-items: stretch;
    gap: 8rem;
  }
  .catalog-subs__track > li {
    flex: 0 0 auto;
    list-style: none;
    width: max-content;
    max-width: none;
    min-width: 0;
  }
  .catalog-subs__chip {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    height: auto;
    min-height: 0;
    min-width: 0;
    max-width: none;
    padding: 4rem 14rem 4rem 4rem;
    gap: 8rem;
    border-radius: 14rem;
    border-width: 1rem;
    border-color: transparent;
    background: #f4f5fb;
    font-size: 13rem;
    line-height: 1.15;
  }
  .catalog-subs__chip.is-active {
    background: #fff;
    border-color: #111;
  }
  .catalog-subs__chip span:not(.catalog-subs__media) {
    width: auto;
    max-width: none;
    min-width: 0;
    font-size: 13rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .catalog-subs__media {
    flex: 0 0 64rem;
    flex-basis: 64rem;
    width: 64rem;
    height: 64rem;
    aspect-ratio: auto;
    border-radius: 10rem;
  }
  .catalog-subs__chip img,
  .catalog-subs__media img {
    border-radius: 0;
  }
  .catalog-subs__children {
    flex-flow: row nowrap;
    gap: 6rem 16rem;
    margin-top: 12rem;
  }
  .catalog-subs__children > li {
    flex: 0 0 auto;
  }
  .catalog-subs__child {
    display: inline;
    min-height: 0;
    padding: 0;
    font-size: 13rem;
    white-space: nowrap;
  }

  .page-catalog-root .catalog-toolbar,
  .page-catalog-section .catalog-toolbar,
  .page-promo-detail .catalog-toolbar {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .catalog-toolbar__mobile-bar {
    display: grid;
    grid-template-columns: 40rem 1fr 40rem;
    align-items: center;
    gap: 8rem;
    margin-bottom: 12rem;
  }
  .catalog-toolbar__icon-btn {
    position: relative;
    width: 40rem;
    height: 40rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-text);
  }
  .catalog-toolbar__icon-btn img {
    display: block;
    width: 17rem;
    height: 13rem;
  }
  .catalog-toolbar__filter-badge {
    position: absolute;
    top: 4rem;
    right: 2rem;
    min-width: 16rem;
    height: 16rem;
    padding: 0 4rem;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 10rem;
    font-weight: 400;
    line-height: 16rem;
    text-align: center;
  }
  .catalog-toolbar__filter-badge[hidden] { display: none !important; }
  .page-catalog:not(.page-search) .search-toolbar__count.catalog-toolbar__count--mobile,
  .page-catalog .catalog-toolbar__count--mobile,
  .catalog-toolbar__count--mobile {
    display: block;
    margin: 0;
    text-align: center;
    font-size: 14rem;
    font-weight: 400;
    color: #8d8d9a;
    text-transform: lowercase;
  }
  .catalog-sort--mobile { position: relative; justify-self: end; }
  .catalog-sort--mobile .catalog-filter__dropdown {
    right: 0;
    left: auto;
    min-width: 180rem;
  }
  .page-catalog .search-toolbar__top--desktop,
  .page-catalog:not(.page-search) .search-toolbar__top--desktop,
  .page-favorites .search-toolbar__top--desktop,
  .page-favorites .favorites-panel .search-toolbar__top--desktop { display: none !important; }
  .page-catalog .catalog-toolbar__filters {
    flex-wrap: nowrap;
    gap: 8rem;
    overflow: visible;
  }
  .page-catalog .catalog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--container-padding), var(--safe-left)));
    padding-inline: max(var(--container-padding), var(--safe-left))
      max(var(--container-padding), var(--safe-right));
    gap: 8rem;
  }
  .page-catalog .catalog-filters::-webkit-scrollbar { display: none; }
  .page-catalog .catalog-filter__btn,
  .page-favorites .favorites-panel .catalog-filter__btn {
    flex: 0 0 auto;
    min-height: 32rem;
    padding: 0 14rem;
    font-size: 11rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    gap: 6rem;
    border-radius: 6rem;
    border-color: #e6e6e6;
    background: #fff;
  }
  .page-catalog .catalog-pro-btn,
  .page-favorites .catalog-pro-btn {
    min-height: 32rem;
    height: auto;
    padding: 0 14rem;
    font-size: 11rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .page-catalog .catalog-filter__btn.is-selected,
  .page-favorites .favorites-panel .catalog-filter__btn.is-selected {
    border-color: var(--color-black);
    border-width: 1rem;
    padding-right: 10rem;
    max-width: min(220rem, 70vw);
  }
  .page-catalog .catalog-filter__btn.is-selected .catalog-filter__label,
  .page-favorites .favorites-panel .catalog-filter__btn.is-selected .catalog-filter__label {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .page-catalog .catalog-filters__clear {
    width: 22rem;
    height: 22rem;
  }
  .page-catalog .catalog-quick,
  .page-favorites .catalog-quick { display: none; }

  .page-catalog .catalog-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem 12rem;
    justify-content: stretch;
  }
  .page-catalog .catalog-promo,
  .page-catalog .product-card--catalog {
    width: auto;
    max-width: none;
  }
  /* Промо-плитки — одна ячейка, высота как у всего блока соседней карточки */
  .page-catalog .catalog-promo,
  .page-catalog .catalog-promo--wide,
  .page-catalog .catalog-promo--tall,
  .page-catalog .catalog-promo--text,
  .page-catalog .catalog-promo--image,
  .page-catalog .catalog-promo--floss {
    grid-column: auto;
    grid-row: span 1;
    width: 100%;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    position: relative;
  }
  .page-catalog .catalog-promo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .page-catalog .catalog-promo__caption {
    left: 16rem;
    right: 16rem;
    bottom: 16rem;
    width: auto;
    max-width: none;
    font-size: 15rem;
    font-weight: 400;
    line-height: 18rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .catalog-promo--text { min-height: 0; }
  .product-card--catalog .product-card__media {
    aspect-ratio: 1 / 1.05;
  }
  .product-card--catalog .product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .product-card--catalog .product-card__body,
  .product-card__body {
    padding-top: 10rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10rem;
  }
  .product-card__title,
  .product-card__sku,
  .product-card__sku:has([data-property-code="volume"]),
  .product-card__sku:has(.product-card__colors),
  .product-card__prices,
  .product-card__discount-tags {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .product-card__sku,
  .product-card__discount-tags {
    min-height: 22rem;
  }
  .product-card__category {
    margin-bottom: 0;
    color: var(--color-black);
    font-size: 9rem;
  }
  .product-card__prices {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8rem;
    flex-wrap: wrap;
    margin-top: 0;
  }
  .product-card--sku .product-card__prices {
    margin-top: 0;
  }
  .product-card--catalog .product-card__sku-values { gap: 6rem; }
  .product-card--catalog .product-card__sku-values { gap: 6rem; flex-wrap: wrap; }
  .product-card--catalog .product-card__sku-btn {
    min-width: 36rem;
    height: 22rem;
    min-height: 22rem;
    padding: 0 8rem;
    font-size: 11rem;
  }
  .product-card--catalog .product-card__discount-tag,
  .product-card--catalog .product-card__discount-note {
    height: 22rem;
    min-height: 22rem;
    font-size: 10rem;
    padding: 0 6rem;
  }
  .product-card--catalog .product-card__fav {
    opacity: 0.7;
    top: 8rem;
    right: 8rem;
    width: 28rem;
    height: 28rem;
  }
  .product-card--catalog .product-card__badges {
    top: 0;
    left: 0;
    gap: 0;
  }
  .product-card--catalog .product-card__badge {
    width: 20rem;
    height: 20rem;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
  .product-card--catalog .product-card__badge img {
    width: 20rem;
    height: 20rem;
  }
  .product-card--catalog .product-card__badge--hit img,
  .product-card--catalog .product-card__badge--new img {
    width: 20rem;
    height: 20rem;
  }
  .product-card .product-card__cart-btn {
    left: auto;
    right: 0;
    bottom: 0;
    width: 35rem;
    height: 35rem;
    min-height: 35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: var(--color-black) url("/local/templates/personalcare/svg/cart.svg") center / 16rem 16rem no-repeat;
  }
  .product-card .product-card__cart-btn.is-loading {
    opacity: 0.55;
  }
  .product-card.is-oos .product-card__cart-btn,
  .product-card .product-card__cart-btn.is-inactive {
    display: none !important;
  }
  .product-card .product-card__qty {
    left: auto;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 112rem;
    min-height: 35rem;
    padding: 0 8rem;
    border-radius: 0;
    background: var(--color-black);
  }
  .product-card .product-card__qty-btn {
    width: 28rem;
    height: 28rem;
    font-size: 16rem;
  }
  .product-card--catalog .product-card__qty-value {
    font-size: 13rem;
  }

  .product-card__hover-dots,
  .product-card__hover-dot,
  .product-card__hover-dot::after {
    display: none;
  }

  /* Mobile cart toast — top overlay under header */
  body > .cart-toast,
  .cart-toast {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-top) + 10rem);
    left: max(16rem, var(--safe-left));
    right: max(16rem, var(--safe-right));
    width: auto;
    max-width: none;
    z-index: calc(var(--z-modal) + 20);
    padding: 12rem;
    gap: 12rem;
    align-items: center;
    border-radius: 6rem;
    transform: translateY(-8rem);
    box-shadow: 0 10rem 28rem rgba(0, 0, 0, 0.28);
  }
  body > .cart-toast.is-visible,
  .cart-toast.is-visible { transform: translateY(0); }
  .cart-toast__thumb {
    width: 52rem;
    height: 52rem;
    background: #eceef4;
  }
  .cart-toast__status {
    font-size: 12rem;
    color: rgba(255,255,255,.75);
    margin: 0;
  }
  .cart-toast__title {
    font-size: 13rem;
    margin: 0;
  }
  .cart-toast__qty {
    font-size: 12rem;
  }

  .product-card--catalog .product-card__category {
    font-size: 11rem;
    letter-spacing: 0.06em;
    color: #111;
  }
  .product-card--catalog .product-card__title { font-size: 13rem; }
  .product-card--catalog .product-card__price { font-size: 14rem; }
  .catalog-section { padding: 8rem 0 32rem; }
  .catalog-more { padding-top: 24rem; }

  .filter-drawer {
    align-items: flex-end;
    justify-content: stretch;
  }
  .filter-drawer__panel {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: min(78dvh, 640rem);
    border-radius: 12rem 12rem 0 0;
    transform: translateY(110%);
    box-shadow: 0 -12rem 40rem rgba(0, 0, 0, 0.14);
  }
  .filter-drawer.is-open .filter-drawer__panel {
    transform: translateY(0);
  }
  .filter-drawer__handle {
    display: block;
    width: 36rem;
    height: 4rem;
    margin: 10rem auto 0;
    border-radius: 6rem;
    background: #d4d4d4;
    flex-shrink: 0;
  }
  .filter-drawer__head {
    align-items: center;
    padding: 16rem 20rem 12rem;
    gap: 12rem;
  }
  .filter-drawer__title {
    font-size: 18rem;
    font-weight: 400;
  }
  .filter-drawer__close {
    display: none;
  }
  .filter-drawer__reset {
    margin-top: 0;
    font-size: 13rem;
  }
  .filter-drawer__body {
    padding: 0 20rem;
  }
  .filter-drawer__check {
    gap: 12rem;
    padding: 11rem 0;
  }
  .filter-drawer__box {
    width: 18rem;
    height: 18rem;
    border-radius: 6rem;
  }
  .filter-drawer__text {
    font-size: 14rem;
  }
  .filter-drawer__foot {
    padding: 12rem 20rem calc(16rem + var(--safe-bottom));
  }
  .filter-drawer__apply {
    min-height: 40rem;
    height: 40rem;
    font-size: 14rem;
    border-radius: 6rem;
  }
  .product-info__title { font-size: 24rem; }
  .product-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-features__item--wide { grid-column: span 2; }
  .product-info .product-gallery__thumbs { gap: 8rem; }
  .product-specs {
    gap: 24rem;
  }
  .product-specs__group {
    gap: 12rem;
  }
  .product-specs__row {
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 6rem;
    font-size: 13rem;
    line-height: 1.4;
    text-transform: none;
  }
  .product-specs__row dt,
  .product-specs__name {
    flex: 0 0 auto;
    color: #9C9CB1;
    white-space: nowrap;
  }
  .product-specs__dots {
    display: block;
    flex: 1 1 auto;
    min-width: 10rem;
    height: 0.85em;
    border-bottom: 1rem dotted #c8c8c8;
  }
  .product-specs__row dd,
  .product-specs__value {
    flex: 0 1 auto;
    max-width: 58%;
    width: auto;
    text-align: right;
    color: #111;
    text-transform: none;
  }
}

@media (max-width: 480px) {
  .page-catalog .catalog-grid,
  .page-catalog-root .catalog-grid,
  .page-catalog-section .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16rem 10rem;
  }
}

@media (max-width: 800px) {
  .story-viewer { padding: 0; }
  .story-viewer__frame {
    width: min(100vw, calc(100dvh * 9 / 16));
    max-height: 100dvh;
    border-radius: 0;
  }
  .story-viewer__toolbar {
    top: calc(16rem + var(--safe-top));
    right: calc(16rem + var(--safe-right));
  }
}


/* ==========================================================================
   Cart drawer — боковая корзина (макет корзина.pdf)
   ========================================================================== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-cookie) + 5);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.cart-drawer:not([hidden]) { pointer-events: auto; }
.cart-drawer[hidden] { display: none !important; }
.cart-drawer.is-open { display: flex !important; }

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }

.cart-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(590rem, 100%);
  height: 100%;
  max-height: 100dvh;
  background: var(--color-white);
  padding:
    calc(20rem + var(--safe-top))
    calc(28rem + var(--safe-right))
    calc(24rem + var(--safe-bottom))
    28rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -8rem 0 40rem rgba(0, 0, 0, 0.12);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
/* После анимации убираем transform: иначе первый клик попадает в затемнение, а не в кнопку */
.cart-drawer.is-open.is-settled .cart-drawer__panel { transform: none; }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  margin-bottom: 20rem;
  flex-shrink: 0;
}
.cart-drawer__title {
  margin: 0;
  font-size: 18rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
}
.cart-drawer__head-actions {
  display: flex;
  align-items: center;
  gap: 14rem;
}
.cart-drawer__icon-btn {
  width: 28rem;
  height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  opacity: 0.75;
}
.cart-drawer__icon-btn:hover { opacity: 1; }

.cart-drawer__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-inline: -4rem;
  padding-inline: 4rem;
}

.cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: grid;
  grid-template-columns: 72rem minmax(0, 1fr);
  gap: 14rem;
  padding: 18rem 0;
  border-bottom: 1rem solid #eee;
}
.cart-item:first-child { padding-top: 4rem; }
.cart-item.is-removed {
  display: flex;
  grid-template-columns: none;
  grid-template-areas: none;
  align-items: center;
}
.page-cart .cart-item {
  transition: height .28s ease, opacity .22s ease, padding .28s ease, border-color .28s ease;
}
.page-cart .cart-item.is-leaving {
  pointer-events: none;
  border-bottom-color: transparent;
}
.page-cart .cart-item.is-restore-in {
  animation: pc-cart-restore .32s ease;
}
.page-cart .cart-item.is-recalc .cart-item__price,
.page-cart .order-summary.is-recalc .order-summary__total span:last-child,
.page-cart .order-summary.is-recalc #basket-products-price {
  animation: pc-cart-price .42s ease;
}
.page-cart .cart-item__qty-value.basket-updated {
  animation: pc-cart-qty .28s ease;
}
@keyframes pc-cart-restore {
  from { transform: translateY(-6rem); }
  to { transform: none; }
}
@keyframes pc-cart-price {
  0% { opacity: .4; }
  100% { opacity: 1; }
}
@keyframes pc-cart-qty {
  0% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .page-cart .cart-item,
  .page-cart .cart-item.is-restore-in,
  .page-cart .cart-item.is-recalc .cart-item__price,
  .page-cart .order-summary.is-recalc .order-summary__total span:last-child,
  .page-cart .order-summary.is-recalc #basket-products-price,
  .page-cart .cart-item__qty-value.basket-updated {
    animation: none;
    transition: none;
  }
}

/* Свайп «в избранное / удалить» только на мобилке; на десктопе не ломает сетку */
.cart-item__swipe { display: none; }
.cart-item:has(.cart-item__front) {
  display: block;
  overflow: visible;
}
.cart-item__front {
  display: grid;
  grid-template-columns: 72rem minmax(0, 1fr);
  gap: 14rem;
}

.cart-item__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72rem;
  height: 72rem;
  aspect-ratio: 1 / 1;
  background: #ececf8;
  overflow: hidden;
  border-radius: 6rem;
}
.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__body {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 18rem;
}
.cart-item__remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9C9CB1;
}
.cart-item__remove:hover { color: var(--color-black); }

.cart-item__category {
  font-size: 10rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 4rem;
}
.cart-item__title {
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 2rem;
}
.cart-item__title:hover { opacity: 0.7; }
.cart-item__sku {
  font-size: 12rem;
  color: var(--color-text-light);
  margin-bottom: 12rem;
}
.cart-item__sku--values,
.cart-item__sku--colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6rem;
  color: var(--color-text);
}
.cart-item__sku-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40rem;
  height: 26rem;
  padding: 0 8rem;
  border: 1rem solid #d5d7e0;
  border-radius: 6rem;
  background: var(--color-white);
  font-family: var(--font-family);
  font-size: 11rem;
  line-height: 1;
  color: var(--color-black);
  cursor: pointer;
}
.cart-item__sku-btn.is-selected {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}
.cart-item__sku-btn.is-oos,
.cart-item__sku-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cart-item__sku-unit {
  font-size: 11rem;
  color: var(--color-text-muted);
}
.cart-item__sku--colors {
  gap: 6rem;
}
.cart-item__color {
  width: 18rem;
  height: 18rem;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1rem solid #d8d8d8;
  background: var(--color-white);
  overflow: hidden;
  cursor: pointer;
}
.cart-item__color::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--swatch2, var(--swatch, #ccc)) 50%, var(--swatch, #ccc) 50%);
  pointer-events: none;
}
.cart-item__color.is-selected {
  border-width: 1rem;
  border-color: var(--color-black);
}

.cart-item__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12rem;
  margin-top: auto;
}
.cart-item__qty {
  display: inline-flex;
  align-items: stretch;
  gap: 4rem;
  min-height: 32rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.cart-item__qty-btn {
  width: 32rem;
  height: 32rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1rem solid #d0d0d0;
  border-radius: 6rem;
  background: var(--color-white);
  font-size: 16rem;
  line-height: 1;
  color: var(--color-text);
}
.cart-item__qty-value {
  min-width: 36rem;
  height: 32rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1rem solid #d0d0d0;
  border-radius: 6rem;
  box-sizing: border-box;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--color-text);
  background: var(--color-white);
}
.cart-item__qty-btn:hover { background: #f5f5f5; }

.cart-item__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  text-align: right;
}
.cart-item__benefit {
  font-size: 11rem;
  color: var(--color-sale-note);
  text-transform: lowercase;
}
.cart-item__price-old {
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-price-old);
}
.cart-item__price {
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.cart-drawer__foot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding-top: 20rem;
  display: flex;
  flex-direction: column;
  gap: 20rem;
}

.cart-drawer__promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48rem;
  padding: 12rem 16rem;
  border: 1rem dashed #bdbdbd;
  background: transparent;
  font-family: var(--font-family);
  font-size: 12rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.cart-drawer__promo img { opacity: 0.55; }
.cart-drawer__promo:hover { border-color: var(--color-black); }
.cart-drawer__promo.is-open img { transform: rotate(90deg); }
.cart-drawer__promo[hidden] { display: none !important; }
.cart-drawer__promo-wrap { position: relative; }
.cart-drawer__promo.has-code { padding-right: 92rem; }
.cart-drawer__promo.has-code .cart-drawer__promo-chevron { visibility: hidden; }
.cart-drawer__promo.is-bad span { color: var(--color-sale-note); }
.cart-drawer__promo-wrap > .cart-drawer__promo-remove {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 16rem;
}
.cart-drawer__promo-wrap > .cart-drawer__promo-remove[hidden] { display: none !important; }

.cart-drawer__promo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8rem;
  align-items: center;
}
.cart-drawer__promo-form[hidden] { display: none !important; }
.cart-drawer__promo-field { min-width: 0; }
.cart-drawer__promo-input {
  width: 100%;
  height: 48rem;
  padding: 0 14rem;
  border: 1rem solid #d8d8d8;
  border-radius: 6rem;
  background: var(--color-white);
  font-family: var(--font-family);
  font-size: 14rem;
}
.cart-drawer__promo-input:focus { outline: none; border-color: var(--color-black); }
.cart-drawer__promo-apply {
  min-height: 48rem;
  padding: 0 18rem;
  white-space: nowrap;
}

.cart-drawer__summary-title {
  margin: 0 0 14rem;
  font-size: 16rem;
  font-weight: 400;
  text-transform: lowercase;
}
.cart-drawer__summary-row {
  display: flex;
  align-items: baseline;
  gap: 8rem;
  margin-bottom: 10rem;
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text);
}
.cart-drawer__dots {
  flex: 1 1 auto;
  min-width: 12rem;
  height: 1em;
  align-self: baseline;
  margin: 0 2rem;
  border: 0;
  transform: none;
  color: #9C9CB1;
  background-image: radial-gradient(circle, currentColor 0.85rem, transparent 1rem);
  background-size: 5rem 2rem;
  background-position: left 0.7em;
  background-repeat: repeat-x;
}
.cart-drawer__summary-row--discount {
  color: var(--color-sale-note);
}
.cart-drawer__summary-row--discount .cart-drawer__dots {
  color: var(--color-sale-note);
}
.cart-drawer__summary-row--discount[hidden],
.cart-drawer__summary-row--discount.is-empty { display: none !important; }

.cart-drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16rem;
  margin-top: 16rem;
}
.cart-drawer__total-label {
  font-size: 14rem;
  font-weight: 400;
  text-transform: lowercase;
}
.cart-drawer__total-value {
  font-size: 28rem;
  font-weight: 400;
  line-height: 1;
}

.cart-drawer__checkout {
  min-height: 52rem;
  border-radius: 6rem;
}
.cart-drawer__page-link {
  display: block;
  margin-top: 12rem;
  text-align: center;
  font-size: 13rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.cart-drawer__page-link:hover { color: var(--color-black); }

.cart-drawer__clear-label { display: none; }


.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12rem;
  flex: 1;
  padding: 40rem 0;
}
.cart-drawer__empty[hidden] { display: none !important; }
.cart-drawer__empty-title {
  margin: 0;
  font-size: 18rem;
  font-weight: 400;
  text-transform: lowercase;
}
.cart-drawer__empty-text {
  margin: 0 0 12rem;
  font-size: 14rem;
  color: var(--color-text-muted);
}
.cart-drawer.is-empty .cart-drawer__scroll,
.cart-drawer.is-empty .cart-drawer__foot { display: none; }
.cart-drawer.is-empty .cart-drawer__empty { display: flex; }

@media (max-width: 640px) {
  .cart-drawer__panel {
    width: 100%;
    padding-left: calc(16rem + var(--safe-left));
    padding-right: calc(16rem + var(--safe-right));
  }
  .cart-item {
    grid-template-columns: 64rem minmax(0, 1fr);
    gap: 12rem;
  }
  .cart-item__media { width: 64rem; height: 72rem; }
  .cart-drawer__total-value { font-size: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer__backdrop,
  .cart-drawer__panel { transition: none; }
}


/* ==========================================================================
   Cart page + Checkout
   ========================================================================== */
.page-cart .site-header,
.page-checkout .site-header { background: var(--color-white); }

.cart-page,
.checkout-page { padding-bottom: 64rem; }
.cart-page__crumbs,
.checkout-page__crumbs {
  padding-top: 20rem;
  margin-bottom: 24rem;
  color: var(--color-text-muted);
}
.cart-page__crumbs .breadcrumbs {
  margin: 0;
}
.checkout-page__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
  padding-top: 20rem;
  margin-bottom: 24rem;
}
.checkout-page__top .checkout-page__crumbs,
.checkout-page__top .breadcrumbs {
  padding-top: 0;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}
.page-checkout .checkout-page__crumbs a.breadcrumbs__home,
.page-checkout .checkout-page__crumbs .breadcrumbs__sep--home {
  display: none;
}
.page-checkout .checkout-page__crumbs.is-short .breadcrumbs__ellipsis,
.page-checkout .checkout-page__crumbs .breadcrumbs__ellipsis {
  display: inline;
}

@media (min-width: 801px) {
  .page-checkout .checkout-page__crumbs:hover a.breadcrumbs__home,
  .page-checkout .checkout-page__crumbs:focus-within a.breadcrumbs__home {
    display: inline-block;
  }
  .page-checkout .checkout-page__crumbs:hover .breadcrumbs__sep--home,
  .page-checkout .checkout-page__crumbs:focus-within .breadcrumbs__sep--home {
    display: inline;
  }
  .page-checkout .checkout-page__crumbs:hover .breadcrumbs__ellipsis,
  .page-checkout .checkout-page__crumbs:focus-within .breadcrumbs__ellipsis {
    display: none;
  }
}

.cart-page__layout,
.checkout-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300rem, 360rem);
  gap: 40rem 48rem;
  align-items: start;
}
.page-cart .cart-page,
.page-cart .cart-page__crumbs,
.page-cart .cart-page__layout {
  width: 100%;
}
.page-cart .cart-page__list .cart-item,
.page-cart .cart-drawer__list .cart-item {
  padding-left: 0;
  margin-left: 0;
}

.cart-page__head,
.checkout-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  margin-bottom: 20rem;
}
.cart-page__title,
.checkout-page__title {
  margin: 0;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
}
.checkout-page {
  --checkout-label-width: 88rem;
  --checkout-label-gap: 64rem;
  --checkout-content-offset: calc(var(--checkout-label-width) + var(--checkout-label-gap));
}
.checkout-page__title {
  padding-left: var(--checkout-content-offset);
}
.checkout-page__back { display: none; }
.cart-page__head-actions { display: flex; align-items: center; gap: 14rem; }
.checkout-page__close {
  flex: 0 0 auto;
  width: 32rem; height: 32rem;
  margin-top: -4rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); opacity: 0.7;
}
.checkout-page__close:hover { opacity: 1; }

.cart-page__list .cart-item {
  grid-template-columns: 96rem minmax(0, 1fr);
  gap: 20rem;
  padding: 22rem 0;
}
.cart-page__list .cart-item.is-removed {
  display: flex;
  grid-template-columns: none;
}
.cart-page__list .cart-item__front {
  grid-template-columns: 96rem minmax(0, 1fr);
  gap: 20rem;
}
.cart-page__list .cart-item:first-child { padding-top: 8rem; }
.cart-page__list .cart-item__media {
  width: 96rem;
  height: 108rem;
}
.cart-page__list .cart-item__title { font-size: 16rem; }
.cart-page__list .cart-item__price { font-size: 18rem; }
.cart-page__empty[hidden] { display: none !important; }
.cart-page__empty { padding: 48rem 0; }
.cart-page__warning {
  margin: 0 0 16rem;
  padding: 12rem 16rem;
  background: #fff4f4;
  font-size: 13rem;
}
.cart-page__warning-close {
  float: right;
  border: 0;
  background: none;
  font-size: 18rem;
  cursor: pointer;
}
.cart-item__restore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8rem 16rem;
  width: 100%;
  padding: 4rem 0;
  font-size: 14rem;
  line-height: 1.4;
  color: var(--color-text);
}
.cart-item__restore-text {
  margin: 0;
  flex: 1 1 240rem;
  min-width: 0;
}
.cart-item__restore-name {
  font-weight: 400;
}
.cart-item__restore-btn {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2rem;
  cursor: pointer;
  font: inherit;
  color: var(--color-black);
  text-transform: lowercase;
}
.cart-item__restore-btn:hover { opacity: 0.65; }
.cart-item__restore-close {
  margin-left: auto;
  flex: 0 0 28rem;
  width: 28rem;
  height: 28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--color-text);
}
.cart-item__restore-close:hover { color: var(--color-black); }
.cart-item__restore .basket-items-list-item-overlay {
  display: none;
}
.cart-item__oos {
  margin: 4rem 0 0;
  font-size: 12rem;
  color: #c00;
}
.page-cart input.cart-item__qty-value {
  width: 36rem;
  min-width: 28rem;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 14rem;
  text-align: center;
  color: var(--color-text);
  appearance: textfield;
}
.page-cart input.cart-item__qty-value::-webkit-outer-spin-button,
.page-cart input.cart-item__qty-value::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.page-cart #basket-root {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300rem, 360rem);
  gap: 40rem 48rem;
  align-items: start;
}
.page-cart .basket-items-list-wrapper,
.page-cart .basket-items-list-wrapper-compact,
.page-cart .basket-items-list-container,
.page-cart .basket-items-list {
  height: auto !important;
  max-height: none !important;
  overflow: visible;
  border: 0;
  margin: 0;
  background: transparent;
}
.page-cart .basket-items-list-header[hidden] {
  display: none !important;
}
.page-cart .basket-items-list-overlay { display: none !important; }
.page-cart .order-summary__checkout.is-disabled,
.page-cart .order-summary__checkout:disabled {
  opacity: 0.45;
  pointer-events: none;
}
.cart-drawer__promo-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12rem;
  margin: 0;
  font-size: 13rem;
  line-height: 1.35;
}
.cart-drawer__promo-code {
  min-width: 0;
}
.cart-drawer__promo-code strong {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cart-drawer__promo-status.is-danger {
  color: var(--color-sale-note);
}
.cart-drawer__promo-remove {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.order-summary {
  background: #f5f5fb;
  padding: 28rem 24rem 24rem;
  border-radius: 0;
}
.order-summary--sticky {
  position: sticky;
  top: calc(var(--header-offset) + 16rem);
}
.order-summary--cart {
  display: flex;
  flex-direction: column;
  gap: 22rem;
  background: #f5f5fb;
  padding: 28rem 24rem 24rem;
  border-radius: 0;
}
.order-summary--cart .cart-drawer__promo {
  margin: 0;
  background: var(--color-white);
  border-color: var(--color-black);
}
.order-summary--cart .cart-drawer__promo-form { margin: 0; }
.order-summary--cart .order-summary__block { margin: 0; }
.order-summary--cart .order-summary__total {
  margin: 16rem 0 20rem;
}
.order-summary--cart .order-summary__checkout {
  min-height: 52rem;
  border-radius: 6rem;
}
.order-summary__title {
  margin: 0 0 18rem;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  color: var(--color-black);
}
.order-summary .cart-drawer__promo {
  margin-bottom: 20rem;
  background: var(--color-white);
  border-color: var(--color-black);
}
.order-summary .cart-drawer__promo img { opacity: 0.45; }
.order-summary .cart-drawer__promo-form { margin-bottom: 16rem; }
.checkout-coupons {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin: -4rem 0 16rem;
}
.checkout-coupons:empty,
.checkout-coupons:not(:has(.cart-drawer__promo-status)) { display: none; margin: 0; }
.order-summary__rows { margin-bottom: 4rem; }
.order-summary__row {
  display: flex;
  align-items: baseline;
  gap: 8rem;
  margin-bottom: 12rem;
  font-size: 14rem;
  line-height: 1.3;
  text-transform: lowercase;
  color: var(--color-text);
}
.order-summary__row > span:first-child,
.order-summary__row > span:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}
.order-summary__dots {
  flex: 1 1 auto;
  min-width: 12rem;
  height: 1em;
  align-self: baseline;
  margin: 0 2rem;
  border: 0;
  transform: none;
  color: #9C9CB1;
  background-image: radial-gradient(circle, currentColor 0.85rem, transparent 1rem);
  background-size: 5rem 2rem;
  background-position: left 0.7em;
  background-repeat: repeat-x;
}
.order-summary__row--discount { color: var(--color-sale-note); }
.order-summary__row--discount .order-summary__dots {
  color: var(--color-sale-note);
}
.order-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16rem;
  margin: 16rem 0 20rem;
  font-weight: 400;
}
.order-summary__total > span:first-child {
  font-size: 14rem;
  text-transform: lowercase;
}
.order-summary__total span:last-child {
  font-size: 28rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.order-summary__checkout {
  min-height: 52rem;
  border-radius: 6rem;
  width: 100%;
}

/* Checkout form */
.checkout-form { min-width: 0; }
.checkout-step {
  border-bottom: 1rem solid #eee;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
}
.checkout-step:last-of-type { border-bottom: 0; }
.checkout-step.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}
.checkout-step__toggle {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4rem;
  padding: 22rem 0 22rem var(--checkout-content-offset);
  background: transparent;
  font-family: var(--font-family);
  text-align: left;
  color: var(--color-text);
}
.checkout-step__main {
  display: flex;
  align-items: flex-start;
  gap: 12rem;
  width: 100%;
  min-width: 0;
}
.checkout-step__num {
  flex: 0 0 1.25em;
  width: 1.25em;
  min-width: 1.25em;
  font-size: 18rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.checkout-step__head {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
}
.checkout-step__name {
  font-size: 18rem;
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.25;
}
.checkout-step__name-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  min-width: 0;
  width: 100%;
}
.checkout-step__preview {
  display: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.checkout-step:not(.is-open) .checkout-step__preview { display: block; }
.checkout-step__chevron {
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: 4rem;
  transform: rotate(90deg);
  opacity: 0.55;
  transition: transform 0.25s ease;
}
.checkout-step.is-open .checkout-step__chevron { transform: rotate(-90deg); }
.checkout-step__body {
  display: none;
  padding: 4rem 0 28rem;
}
.checkout-step.is-open .checkout-step__body { display: block; }
.checkout-step__hint {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-light);
  text-align: left;
}
.checkout-step:not(.is-open) .checkout-step__hint { display: none; }

.checkout-field {
  display: grid;
  grid-template-columns: var(--checkout-label-width) minmax(0, 1fr);
  column-gap: var(--checkout-label-gap);
  align-items: start;
  padding: 0;
  border-bottom: 0;
}
.checkout-field__label {
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
  padding-top: 16rem;
  max-width: 78rem;
}
.checkout-field__control {
  display: flex;
  align-items: center;
  gap: 16rem;
  min-width: 0;
  min-height: 52rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #e4e6ed;
}
.checkout-field__control--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 14rem;
}
.checkout-field--delivery .checkout-field__control {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}
.checkout-field__input {
  flex: 1;
  min-width: 0;
  height: 24rem;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-text);
}
.checkout-field__input:focus { outline: none; }
.checkout-field__input::placeholder { color: #9C9CB1; }
.checkout-field__change {
  flex: 0 0 auto;
  min-height: 28rem;
  padding: 0 16rem;
  border-radius: 6rem;
  background: #e9eaf4;
  font-family: var(--font-family);
  font-size: 12rem;
  line-height: 28rem;
  text-transform: lowercase;
  color: var(--color-text);
}
.checkout-field__change:hover { filter: brightness(0.97); }
.checkout-field__value {
  font-size: 14rem;
  line-height: 1.25;
  padding: 0;
}
.checkout-field--comment .checkout-field__control,
.checkout-field--address .checkout-field__control {
  align-items: stretch;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}
.checkout-field--address {
  display: grid;
  margin-bottom: 8rem;
}
.checkout-field--address .checkout-uline,
.checkout-uline--address {
  width: 100%;
  border-bottom: 1rem solid #e4e6ed;
}
.checkout-uline--comment {
  width: 100%;
  border-bottom: 1rem solid #e4e6ed;
}
.checkout-uline--comment .checkout-uline__input,
.checkout-uline--address .checkout-uline__input,
.checkout-field--address .checkout-uline__input {
  text-transform: none;
}
/* Поле адреса всегда видно (не зависит от m/d блоков доставки) */
.page-checkout [data-entity="address-field"] {
  display: grid !important;
}

/* Виджет ПВЗ Яндекса (Boxberry) вешается на body. transform на родителе iframe
   сдвигает клики внутри карты, а ширина 99% экрана оставляет карту в неверном размере. */
.boxberry_overlay {
  z-index: 1000000;
}
.boxberry_container {
  position: fixed !important;
  top: 12rem !important;
  left: max(12rem, calc((100vw - min(1040rem, 100vw - 24rem)) / 2)) !important;
  right: auto !important;
  width: min(1040rem, calc(100vw - 24rem)) !important;
  max-height: calc(100vh - 24rem);
  margin: 0 !important;
  transform: none !important;
  overflow: auto !important;
  z-index: 1000001 !important;
}
.boxberry_content {
  overflow: auto !important;
  max-height: calc(100vh - 56rem);
}
#boxberry_map {
  display: block;
  width: 100% !important;
  height: min(680rem, calc(100vh - 56rem)) !important;
  min-height: 560rem;
}

.checkout-delivery { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
.checkout-delivery__option {
  position: relative;
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr) auto;
  gap: 12rem;
  align-items: center;
  min-height: 52rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #e4e6ed;
  cursor: pointer;
}
.checkout-delivery__option input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-delivery__box {
  width: 16rem;
  height: 16rem;
  border: 1rem solid var(--color-black);
  border-radius: 6rem;
  background: var(--color-white);
}
.checkout-delivery__option input:checked + .checkout-delivery__box {
  background: var(--color-black);
  box-shadow: none;
}
.checkout-delivery__text { font-size: 14rem; font-weight: 400; text-transform: lowercase; min-width: 0; }
.checkout-delivery__note {
  display: block;
  margin: 2rem 0 0;
  font-size: 12rem;
  line-height: 1.3;
  font-weight: 400;
  color: #9c9cb1;
  text-transform: none;
}
.checkout-m-method .checkout-delivery__note {
  margin: -4rem 0 10rem 26rem;
}
.checkout-delivery__option:has(input:checked) .checkout-delivery__note,
.checkout-m-method.is-selected .checkout-delivery__note {
  color: var(--color-sale-note);
}
.checkout-delivery__price {
  font-size: 14rem;
  font-weight: 400;
  text-align: right;
  justify-self: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 4.75em;
}
.checkout-delivery__option:has(input:checked) .checkout-delivery__text,
.checkout-delivery__option:has(input:checked) .checkout-delivery__price { font-weight: 400; }

.checkout-pickup {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
  width: 100%;
}
.checkout-pickup__name {
  margin: 0 0 6rem;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.25;
}
.checkout-pickup__link {
  display: inline-block;
  padding: 0 0 2rem;
  background: none;
  font-family: var(--font-family);
  font-size: 14rem;
  line-height: 1.25;
  color: #9C9CB1;
  text-decoration: none;
  border-bottom: 0;
}

.checkout-uline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8rem;
  border-bottom: 1rem solid #ddd;
  min-height: 40rem;
}
.checkout-uline:focus-within { border-bottom-color: var(--color-black); }
.checkout-uline__req {
  flex: 0 0 auto;
  color: var(--color-sale-note);
  font-size: 14rem;
  line-height: 1;
}
.checkout-field--contacts .checkout-uline__req { color: #9C9CB1; }
.checkout-uline__prefix {
  flex: 0 0 auto;
  font-size: 14rem;
  color: var(--color-text);
}
.checkout-uline__input {
  flex: 1;
  min-width: 0;
  height: 38rem;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
}
.checkout-uline__input:focus { outline: none; }
.checkout-uline__input::placeholder { color: #9C9CB1; text-transform: lowercase; }

.checkout-uline--phone {
  border-bottom: 0;
  gap: 10rem;
}
.checkout-uline--phone .checkout-uline__prefix {
  display: inline-flex;
  align-items: center;
  min-height: 40rem;
  padding-bottom: 1rem;
  border-bottom: 1rem solid #ddd;
}
.checkout-uline--phone .checkout-uline__input {
  height: 40rem;
  padding-bottom: 1rem;
  border-bottom: 1rem solid #ddd;
}
.checkout-uline--phone:focus-within .checkout-uline__prefix,
.checkout-uline--phone:focus-within .checkout-uline__input {
  border-bottom-color: var(--color-black);
}

.checkout-uline-group {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.checkout-uline__hint {
  margin: 0;
  padding-left: 14rem;
  font-size: 12rem;
  line-height: 1.35;
  color: #9C9CB1;
}

.checkout-field--contacts .checkout-field__control,
.checkout-field--data .checkout-field__control {
  border-bottom: 0;
  gap: 18rem;
}
.checkout-field--data .checkout-consent { margin-top: 0; }

.checkout-consent {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 12rem;
  align-items: start;
  margin-top: 0;
  padding: 16rem 0;
  padding-left: var(--checkout-content-offset);
  border-top: 1rem solid #e8e8f0;
  cursor: pointer;
}
.checkout-field--data .checkout-consent {
  padding-left: 0;
  width: 100%;
}
.checkout-field--data .checkout-consent:last-child {
  border-bottom: 1rem solid #e8e8f0;
}
.checkout-consent input { position: absolute; opacity: 0; }
.checkout-consent__box {
  width: 16rem;
  height: 16rem;
  margin-top: 2rem;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background: var(--color-white);
}
.checkout-consent input:checked + .checkout-consent__box {
  background: var(--color-black);
  border-color: var(--color-black);
  box-shadow: none;
}
.checkout-consent__text {
  font-size: 12rem;
  line-height: 1.45;
  text-transform: lowercase;
  color: var(--color-text);
}
.checkout-consent__text a {
  text-decoration: underline;
  text-underline-offset: 2rem;
  color: inherit;
}
.pc-consent {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 12rem;
  align-items: start;
  margin: 16rem 0;
  cursor: pointer;
}
.pc-consent input { position: absolute; opacity: 0; }
.pc-consent__box {
  width: 16rem;
  height: 16rem;
  margin-top: 2rem;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background: var(--color-white);
}
.pc-consent input:checked + .pc-consent__box {
  background: var(--color-black);
  border-color: var(--color-black);
  box-shadow: none;
}
.pc-consent__text {
  font-size: 12rem;
  line-height: 1.45;
  text-transform: lowercase;
  color: var(--color-text);
}
.pc-consent__text a {
  text-decoration: underline;
  text-underline-offset: 2rem;
  color: inherit;
}

.checkout-step[data-step="payment"] .checkout-step__body {
  padding-left: var(--checkout-content-offset);
}

.checkout-pay { display: flex; flex-direction: column; }
.checkout-pay__option {
  position: relative;
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr) auto;
  gap: 14rem;
  align-items: center;
  min-height: 56rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #e4e6ed;
  cursor: pointer;
}
.checkout-pay__option:last-of-type { border-bottom: 1rem solid #e4e6ed; }
.checkout-pay__option input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-pay__box {
  width: 16rem;
  height: 16rem;
  border: 1rem solid var(--color-black);
  border-radius: 6rem;
  background: var(--color-white);
}
.checkout-pay__option input:checked + .checkout-pay__box {
  background: var(--color-black);
  box-shadow: none;
}
.checkout-pay__text {
  font-size: 14rem;
  font-weight: 400;
  text-transform: lowercase;
}
.checkout-pay__logo {
  display: block;
  width: auto;
  height: 28rem;
  object-fit: contain;
}
.checkout-pay__logo--card { height: 22rem; }
.checkout-pay__logo--dolyami { width: 28rem; height: 28rem; }

/* Скидка −3%: уголок внутри иконки карты 32×22, не вылезает за неё */
.checkout-mpay__card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32rem;
  height: 22rem;
  overflow: hidden;
  flex: 0 0 auto;
}
.checkout-mpay__card img {
  display: block;
  width: 32rem;
  height: 22rem;
}
.checkout-mpay__badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: none;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.checkout-mpay__badge::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 16rem 16rem 0;
  border-color: transparent var(--color-sale-note) transparent transparent;
}
.checkout-mpay__badge > span {
  position: absolute;
  top: 1rem;
  right: -4rem;
  width: 22rem;
  color: #fff;
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
  white-space: nowrap;
}

.checkout-form__submit {
  margin-top: 28rem;
  min-height: 52rem;
  border-radius: 6rem;
  max-width: 100%;
}

/* Мобильная плашка — на десктопе скрыта, иначе тянется на всю ширину страницы */
.checkout-sticky-cta {
  display: none;
}
.checkout-m-delivery,
.checkout-pay--mobile,
.checkout-map,
.checkout-addresses {
  display: none;
}
.checkout-d-city {
  display: grid;
  grid-template-columns: var(--checkout-label-width) minmax(0, 1fr);
  column-gap: var(--checkout-label-gap);
  align-items: start;
}
.checkout-field[hidden],
.order-summary__row[hidden],
.checkout-map[hidden],
.checkout-addresses[hidden],
.checkout-m-tariffs[hidden],
.checkout-m-slots[hidden],
.checkout-map__suggest[hidden],
.checkout-map__clear[hidden],
.checkout-mpay__hint[hidden],
.checkout-mpay__save[hidden],
.checkout-m-address__city[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .cart-page__layout,
  .checkout-page__layout,
  .page-cart #basket-root {
    grid-template-columns: minmax(0, 1fr);
    gap: 28rem;
  }
  .order-summary--sticky { position: static; }
  .checkout-field {
    grid-template-columns: 1fr;
    gap: 8rem;
  }
  .checkout-field__label {
    /* padding-top: 0; */
    width: 100%;
    max-width: 100%;
  }
  .checkout-page {
    --checkout-content-offset: 0;
  }
}

@media (max-width: 800px) {
  .cart-page__title,
  .checkout-page__title { font-size: 24rem; }
  .order-summary__total span:last-child { font-size: 24rem; }
}


/* ==========================================================================
   Account / Orders history
   ========================================================================== */
.page-orders .site-header,
.page-profile .site-header,
.page-favorites .site-header { background: var(--color-white); }

.account-page { padding-bottom: 72rem; }
.account-page__crumbs {
  padding-top: 18rem;
  margin-bottom: 36rem;
  color: #9C9CB1;
}
.account-page__layout {
  display: grid;
  grid-template-columns: 200rem minmax(0, 1fr);
  gap: 48rem 56rem;
  align-items: start;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 20rem;
  position: sticky;
  top: calc(var(--header-offset) + 16rem);
}
.account-nav__avatar {
  width: 88rem;
  height: 88rem;
  border-radius: 50%;
  background: #9eb5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18rem;
}
.account-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 14rem;
}
.account-nav__link {
  font-size: 14rem;
  text-transform: lowercase;
  color: #9C9CB1;
  line-height: 1.3;
}
.account-nav__link:hover { color: var(--color-text); }
.account-nav__link.is-active {
  color: var(--color-black);
  font-weight: 400;
}
.account-nav__sep {
  height: 10rem;
  margin: 6rem 0 2rem;
  border: 0;
  background: transparent;
}
.account-nav__sep ~ .account-nav__link {
  color: var(--color-black);
  font-weight: 400;
}
.account-nav__support {
  display: inline-flex;
  align-items: center;
  gap: 10rem;
  margin-top: 40rem;
  font-size: 13rem;
  text-transform: lowercase;
  color: var(--color-text);
  max-width: 140rem;
  line-height: 1.25;
}
.account-nav__support:hover { opacity: 0.7; }
.account-nav__support-icon {
  width: 27rem;
  height: 27rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.account-nav__support-icon img,
.account-nav__support-icon svg {
  width: 27rem;
  height: 27rem;
  display: block;
}

/* Profile */
.profile-panel {
  min-width: 0;
  max-width: 520rem;
}
.profile-panel__title {
  margin: 0 0 36rem;
  font-size: 32rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
}
.profile-form__section {
  margin-bottom: 36rem;
}
.profile-form__section-title {
  margin: 0 0 18rem;
  font-size: 16rem;
  font-weight: 400;
  text-transform: lowercase;
}
.profile-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14rem;
}
.profile-uline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6rem;
  border-bottom: 1rem solid #ddd;
  min-height: 42rem;
}
.profile-uline:focus-within { border-bottom-color: var(--color-black); }
.profile-uline__req {
  color: var(--color-sale-note);
  font-size: 14rem;
  line-height: 1;
}
.profile-uline__prefix {
  font-size: 14rem;
  color: var(--color-text);
}
.profile-uline__input {
  flex: 1;
  min-width: 0;
  height: 40rem;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-text);
}
.profile-uline__input:focus { outline: none; }
.profile-uline__input::placeholder {
  color: #9C9CB1;
  text-transform: lowercase;
}
.profile-uline:has(textarea) {
  align-items: flex-start;
  min-height: 96rem;
}
.profile-uline textarea.profile-uline__input {
  height: auto;
  min-height: 88rem;
  padding: 10rem 0 8rem;
  resize: vertical;
  line-height: 1.4;
}
.profile-uline__hint {
  margin: 8rem 0 16rem;
  font-size: 12rem;
  color: var(--color-text-light);
}

.profile-gender {
  display: flex;
  flex-wrap: wrap;
  gap: 20rem 28rem;
  margin-top: 18rem;
}
.profile-gender__option {
  display: inline-flex;
  align-items: center;
  gap: 10rem;
  font-size: 14rem;
  text-transform: lowercase;
  cursor: pointer;
}
.profile-gender__option input { position: absolute; opacity: 0; pointer-events: none; }
.profile-gender__box {
  width: 18rem;
  height: 18rem;
  border: 1rem solid var(--color-black);
  border-radius: 6rem;
  background: var(--color-white);
}
.profile-gender__option input:checked + .profile-gender__box {
  background: var(--color-black);
  box-shadow: none;
}

.profile-password__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12rem;
  padding: 0;
  background: transparent;
  text-align: left;
}
.profile-password__toggle .profile-form__section-title { margin: 0; }
.profile-password__chevron {
  transform: rotate(90deg);
  opacity: 0.55;
  transition: transform 0.25s ease;
}
.profile-password.is-open .profile-password__chevron { transform: rotate(-90deg); }
.profile-password__body {
  display: none;
  padding-top: 18rem;
}
.profile-password.is-open .profile-password__body { display: block; }

.profile-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18rem;
  margin-top: 8rem;
}
.profile-form__save {
  min-height: 52rem;
  border-radius: 6rem;
}
.profile-form__delete {
  align-self: center;
  padding: 0;
  background: none;
  font-family: var(--font-family);
  font-size: 13rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.profile-form__delete:hover { color: var(--color-black); }

.orders-panel { min-width: 0; }

.orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 36rem;
  border-bottom: 1rem solid #ececec;
  margin-bottom: 22rem;
}
.orders-tabs__btn {
  position: relative;
  padding: 0 0 16rem;
  background: transparent;
  font-family: var(--font-family);
  font-size: 26rem;
  font-weight: 400;
  text-transform: lowercase;
  color: #9C9CB1;
  line-height: 1.2;
}
.orders-tabs__btn.is-active {
  color: var(--color-black);
}

.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12rem 16rem;
  margin-bottom: 8rem;
  min-height: 32rem;
}
.orders-toolbar[hidden] { display: none !important; }
.orders-toolbar--current {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12rem;
}
.orders-toolbar--current .orders-toolbar__count {
  justify-self: start;
  color: var(--color-text-muted);
}
.orders-toolbar--current .orders-toolbar__filter {
  margin-left: 0;
  justify-self: end;
}
.orders-toolbar__count {
  font-size: 13rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.orders-toolbar__count[hidden] { display: none !important; }
.orders-toolbar__filter {
  margin-left: auto;
}
.orders-toolbar__filter[hidden] { display: none !important; }
.orders-toolbar__filter .catalog-filter__btn {
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 13rem;
  color: var(--color-text);
  text-transform: lowercase;
  letter-spacing: 0;
}
.orders-toolbar__filter .catalog-filter__btn:hover,
.orders-toolbar__filter .catalog-filter__btn[aria-expanded="true"] {
  border: 0;
  background: transparent;
  opacity: 0.7;
}
.orders-toolbar__filter .catalog-filter__chevron {
  transform: rotate(90deg);
  opacity: 0.55;
  width: 10rem;
  height: 10rem;
}
.orders-toolbar__filter .catalog-filter__dropdown {
  right: 0;
  left: auto;
  min-width: 160rem;
}

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

.order-card {
  border-bottom: 1rem solid #eee;
}
.order-card[hidden] { display: none !important; }
.order-card__link {
  display: grid;
  grid-template-columns: minmax(160rem, 200rem) minmax(0, 1fr) 120rem;
  gap: 20rem 28rem;
  align-items: center;
  padding: 22rem 12rem;
  margin: 0 -12rem;
  color: inherit;
  border-radius: 6rem;
  background: transparent;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.order-card__link:hover,
.order-card.is-selected .order-card__link {
  background: #fff;
  box-shadow: 0 8rem 28rem rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.order-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6rem;
  min-width: 0;
}
.order-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 20rem;
  padding: 2rem 12rem;
  border-radius: 6rem;
  font-size: 11rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
  color: #fff;
  line-height: 1.2;
}
.order-card__status--delivered,
.order-card__status--received { background: #14d074; }
.order-card__status--cancelled { background: #d21519; }
.order-card__status--current,
.order-card__status--new { background: #2196F3; } /* N — синий */
.order-card__status--paid { background: #A5D6A7; color: #1b1b1b; } /* P — салатовый */
.order-card__status--processing,
.order-card__status--assembly {
  background: #c9a66b; /* A — бежевый (макет «текущие») */
  max-width: 118rem;
  white-space: normal;
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 5rem 12rem;
  min-height: 0;
  border-radius: 6rem;
}
.order-card__status--delivery { background: #FFC107; color: #1b1b1b; } /* D — жёлтый */
.order-card__status--ready { background: #9C27B0; } /* S — фиолетовый */
.order-card__id {
  font-size: 12rem;
  color: var(--color-text-muted);
}
.order-card__date {
  font-size: 20rem;
  font-weight: 400;
  line-height: 1.15;
}

.order-card__thumbs {
  display: flex;
  align-items: center;
  gap: 10rem;
  min-width: 0;
  overflow: hidden;
}
.order-card__thumb {
  flex: 0 0 64rem;
  width: 64rem;
  height: 64rem;
  background: #ebeaf2;
  border-radius: 6rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.order-card__more {
  flex: 0 0 auto;
  opacity: 0.45;
  display: flex;
}

.order-card__sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  text-align: right;
}
.order-card__qty {
  font-size: 13rem;
  color: #9C9CB1;
  margin-bottom: 10rem;
}
.order-card__sum-label {
  font-size: 12rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.order-card__price {
  font-size: 20rem;
  font-weight: 400;
  line-height: 1.15;
}

.orders-products[hidden] { display: none !important; }
.orders-products__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12rem 16rem;
  margin-bottom: 28rem;
  min-height: 32rem;
}
.orders-products__filters {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  padding: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 13rem;
  color: var(--color-text);
}
.orders-products__filters:hover { opacity: 0.7; }
.orders-products__count {
  justify-self: center;
  grid-column: 2;
  margin: 0;
  font-size: 13rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.orders-products__top .catalog-sort {
  justify-self: end;
  grid-column: 3;
  position: relative;
}
.orders-products__top .catalog-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  min-height: 28rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 13rem;
  color: var(--color-text);
  text-transform: lowercase;
  letter-spacing: 0;
}
.orders-products__top .catalog-sort__btn:hover { opacity: 0.7; }

.orders-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40rem 31rem;
  align-items: start;
}

.product-card--orders {
  width: auto;
  max-width: none;
}
.product-card--orders .product-card__media {
  background: var(--color-bg-media);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.12;
}
.product-card--orders .product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card--orders .product-card__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
.product-card--orders.is-oos .product-card__image {
  opacity: 1;
}
.page-orders .product-card--orders .product-card__media {
  overflow: hidden;
}
.product-card--orders .product-card__body {
  padding-top: 14rem;
  gap: 6rem;
}
.product-card--orders .product-card__category {
  font-size: 11rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9C9CB1;
}
.product-card--orders .product-card__title {
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card--orders .product-card__prices {
  margin-top: 4rem;
  gap: 10rem;
}
.product-card--orders .product-card__price {
  font-size: 16rem;
  font-weight: 400;
}
.product-card--orders .product-card__price--old {
  font-size: inherit;
  line-height: inherit;
  color: #9c9cb1;
}
.product-card--orders .product-card__sku { margin-top: 8rem; }
.product-card--orders .product-card__sku-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8rem;
}
.product-card--orders .product-card__sku-btn {
  min-width: 36rem;
  height: 22rem;
  min-height: 22rem;
  padding: 0 8rem;
  border-radius: 6rem;
  font-family: var(--font-family);
  font-size: 11rem;
}
.product-card--orders .product-card__sku-btn.is-selected {
  border-color: var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
}
.product-card--orders .product-card__fav {
  opacity: 0.9;
}
.product-card--orders .product-card__fav.is-active {
  opacity: 1;
}
.product-card--orders .product-card__fav.is-active img {
  filter: brightness(0);
}
/* Макет: белая плашка «нет в наличии» по центру фото */
.product-card__oos {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: calc(100% - 24rem);
  min-height: 0;
  padding: 6rem 18rem;
  border-radius: 6rem;
  background: var(--color-white);
  box-shadow: 0 2rem 12rem rgba(0, 0, 0, 0.08);
  font-family: var(--font-family);
  font-size: 14rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--color-black);
  white-space: nowrap;
  pointer-events: none;
}
.product-card.is-oos .product-card__image {
  opacity: 1;
}
.product-card.is-oos .product-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(236, 236, 248, 0.74);
  z-index: 1;
  pointer-events: none;
}
.product-card--orders .product-card__badge--sale {
  background: transparent;
}
.product-card--orders[hidden] { display: none !important; }
.product-card__cart-btn.is-inactive,
.product-card.is-oos .product-card__cart-btn {
  opacity: 0;
  pointer-events: none;
}

.orders-products__empty {
  padding: 48rem 0;
  font-size: 14rem;
  color: var(--color-text-muted);
}
.orders-products__empty[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Account / Orders — adaptive (на базе desktop-вёрстки + Desktop.pdf)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .account-page { padding-bottom: 56rem; }
  .account-page__crumbs { margin-bottom: 20rem; padding-top: 16rem; }
  .account-page__layout {
    grid-template-columns: 1fr;
    gap: 24rem;
  }

  .account-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14rem 16rem;
    margin: 0 calc(-1 * var(--container-padding, 16rem));
    padding: 0 var(--container-padding, 16rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav__avatar {
    width: 48rem;
    height: 48rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .account-nav__avatar svg { width: 20rem; height: 20rem; }
  .account-nav__menu {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8rem 18rem;
    flex: 1 1 auto;
  }
  .account-nav__link {
    white-space: nowrap;
    font-size: 13rem;
  }
  .account-nav__sep { display: none; }
  .account-nav__support {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: none;
  }

  .orders-tabs {
    gap: 20rem;
    margin: 0 calc(-1 * var(--container-padding, 16rem)) 16rem;
    padding: 0 var(--container-padding, 16rem);
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .orders-tabs::-webkit-scrollbar { display: none; }
  .orders-tabs__btn {
    font-size: 20rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .orders-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10rem 12rem;
    margin-bottom: 4rem;
  }
  .orders-toolbar--current {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    flex-wrap: nowrap;
  }
  .orders-toolbar__count {
    order: 0;
  }
  .orders-toolbar__filter {
    margin-left: auto;
  }
  .orders-toolbar--current .orders-toolbar__filter {
    margin-left: 0;
  }

  .order-card__link {
    grid-template-columns: 120rem minmax(0, 1fr) 88rem;
    gap: 12rem 16rem;
    padding: 18rem 8rem;
  }
  .order-card__date { font-size: 18rem; }
  .order-card__price { font-size: 18rem; }
  .order-card__thumb { flex-basis: 56rem; width: 56rem; height: 56rem; }

  .orders-products__grid.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24rem 16rem;
  }
}

@media (max-width: 800px) {
  .page-orders .container,
  .page-order .container,
  .page-favorites .container {
    --container-padding: 16rem;
  }

  .account-page__crumbs { font-size: 12rem; margin-bottom: 14rem; }

  .account-nav {
    gap: 12rem;
    padding-bottom: 4rem;
  }
  .account-nav__avatar { width: 40rem; height: 40rem; }
  .account-nav__support-icon { width: 27rem; height: 27rem; }
  .account-nav__support { font-size: 12rem; gap: 8rem; }

  .orders-tabs { gap: 16rem; margin-bottom: 14rem; }
  .orders-tabs__btn {
    font-size: 17rem;
    padding-bottom: 12rem;
  }

  .orders-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10rem 12rem;
  }
  .orders-toolbar--current {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8rem 12rem;
  }
  .orders-toolbar__count { margin-right: auto; }
  .orders-toolbar__filter { margin-left: auto; }
  .orders-toolbar--current .orders-toolbar__count {
    margin-right: 0;
    justify-self: center;
  }
  .orders-toolbar--current .orders-toolbar__filter {
    margin-left: 0;
  }

  .order-card__link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "meta sum"
      "thumbs thumbs";
    gap: 10rem 12rem;
    padding: 16rem 4rem;
    margin: 0;
  }
  .order-card__meta { grid-area: meta; gap: 4rem; }
  .order-card__thumbs {
    grid-area: thumbs;
    gap: 8rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
  }
  .order-card__sum { grid-area: sum; align-items: flex-end; }
  .order-card__date { font-size: 16rem; }
  .order-card__price { font-size: 16rem; }
  .order-card__thumb {
    flex: 0 0 52rem;
    width: 52rem;
    height: 52rem;
  }
  .order-card__status {
    font-size: 10rem;
    min-height: 20rem;
    padding: 0 8rem;
  }

  .orders-products__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8rem 12rem;
    margin-bottom: 18rem;
  }
  .orders-products__count { font-size: 13rem; }
  .orders-products__top .catalog-sort__btn { font-size: 13rem; }
  .orders-products__filters { font-size: 12rem; }

  .orders-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem 12rem;
  }
  .orders-products__grid .product-card--orders .product-card__title {
    font-size: 13rem;
  }
  .orders-products__grid .product-card--orders .product-card__price {
    font-size: 14rem;
  }
}

@media (max-width: 480px) {
  .account-nav__support-text {
    position: absolute;
    width: 1rem;
    height: 1rem;
    padding: 0;
    margin: -1rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .account-nav__support { margin-left: 0; }

  .orders-tabs__btn { font-size: 15rem; gap: 12rem; }

  .order-card__date { font-size: 15rem; }
  .order-card__sum-label { display: none; }

  .orders-products__grid {
    gap: 16rem 10rem;
  }
  .orders-products__grid .product-card--orders .product-card__media {
    aspect-ratio: 1 / 1.05;
  }
}


/* ==========================================================================
   Order detail
   ========================================================================== */
.page-order .site-header { background: var(--color-white); }

.order-detail { min-width: 0; max-width: 760rem; }
.order-detail__back {
  display: inline-block;
  margin-bottom: 20rem;
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
}
.order-detail__back:hover { color: var(--color-text); }

.order-detail__head { margin-bottom: 28rem; }
.order-detail__head .order-card__status { margin-bottom: 12rem; }
.order-detail__head .order-card__status--processing,
.order-detail__head .order-card__status--assembly {
  max-width: none;
  white-space: nowrap;
}
.order-detail__title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10rem 14rem;
}
.order-detail__number {
  margin: 0;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
}
.order-detail__number-label {
  font-size: 13rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}

.order-tracker {
  --tracker-progress: 0;
  --tracker-inset: 10%;
  list-style: none;
  margin: 0 0 44rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
}
.order-tracker::before,
.order-tracker::after {
  content: "";
  position: absolute;
  left: var(--tracker-inset);
  right: var(--tracker-inset);
  top: 28rem;
  height: 2rem;
  border-radius: 6rem;
  z-index: 0;
  pointer-events: none;
}
.order-tracker::before {
  background: #e4e4e4;
}
.order-tracker::after {
  right: auto;
  width: calc((100% - 2 * var(--tracker-inset)) * var(--tracker-progress) / 4);
  background: #2a2a2a;
}
.order-tracker__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8rem;
  padding: 0 4rem;
  min-width: 0;
}
.order-tracker__date {
  display: block;
  min-height: 16rem;
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}
.order-tracker__date--empty {
  visibility: hidden;
}
.order-tracker__dot {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: #d8d8d8;
  border: 0 solid #fff;
  box-shadow: 0 0 0 1rem #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.order-tracker__step.is-done .order-tracker__dot,
.order-tracker__step.is-current .order-tracker__dot {
  background: #2a2a2a;
  box-shadow: 0 0 0 1rem #2a2a2a;
}
.order-tracker__step.is-pending .order-tracker__dot {
  background: #ececec;
  box-shadow: 0 0 0 1rem #e0e0e0;
}
.order-tracker__step.is-complete .order-tracker__dot {
  width: 28rem;
  height: 28rem;
  background: #15cf74;
  box-shadow: none;
  margin-top: -9rem;
  margin-bottom: -9rem;
}
.order-tracker__label {
  font-size: 11rem;
  line-height: 1.3;
  color: #9C9CB1;
  text-transform: lowercase;
  max-width: 112rem;
}
.order-tracker__step.is-done .order-tracker__label,
.order-tracker__step.is-current .order-tracker__label,
.order-tracker__step.is-complete .order-tracker__label {
  color: var(--color-text);
}

[data-order-view][hidden] { display: none !important; }

.order-detail__section { margin-bottom: 40rem; }
.order-detail__section-title {
  margin: 0 0 20rem;
  font-size: 20rem;
  font-weight: 400;
  text-transform: lowercase;
}

.order-info { margin: 0; }
.order-info__row,
.order-summary-inline__row {
  display: flex;
  align-items: baseline;
  gap: 8rem;
  margin-bottom: 14rem;
  font-size: 14rem;
}
.order-info__row dt {
  flex: 0 1 auto;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-transform: lowercase;
}
.order-info__dots,
.order-summary-inline__dots {
  flex: 1 1 auto;
  min-width: 12rem;
  height: 1em;
  align-self: baseline;
  margin: 0 2rem;
  border: 0;
  transform: none;
  color: #9C9CB1;
  background-image: radial-gradient(circle, currentColor 0.85rem, transparent 1rem);
  background-size: 5rem 2rem;
  background-position: left 0.7em;
  background-repeat: repeat-x;
}
.order-info__row dd {
  flex: 0 1 auto;
  max-width: 58%;
  text-align: right;
  color: var(--color-text);
  margin: 0;
}

.order-summary-inline__row > span:first-child {
  text-transform: lowercase;
  color: var(--color-text-muted);
}
.order-summary-inline__row--discount > span:first-child,
.order-summary-inline__row--discount > span:last-child {
  color: var(--color-sale-note);
}

.order-summary-inline__row--discount {
  color: var(--color-sale-note);
}
.order-summary-inline__row--discount .order-summary-inline__dots {
  color: var(--color-sale-note);
}
.order-summary-inline__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16rem;
  margin-top: 18rem;
  font-weight: 400;
  text-transform: none;
}
.order-summary-inline__total span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.order-summary-inline__total span:last-child {
  font-size: 28rem;
  line-height: 1;
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-black);
  border: 1rem solid var(--color-black);
}
.btn--outline:hover { background: #f5f5f5; }
.order-detail__receipt {
  margin-top: 20rem;
  min-height: 48rem;
  max-width: none;
  width: 100%;
  border-radius: 6rem;
}

.order-items {
  list-style: none;
  margin: 0 0 28rem;
  padding: 0;
}
.order-item {
  display: grid;
  grid-template-columns: 72rem minmax(0, 1fr) auto;
  gap: 16rem;
  align-items: center;
  padding: 18rem 0;
  border-bottom: 1rem solid #eee;
}
.order-item__media {
  width: 72rem;
  height: 72rem;
  background: #ebeaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6rem;
}
.order-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.order-item__category {
  display: block;
  font-size: 11rem;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-bottom: 4rem;
}
.order-item__title {
  display: block;
  font-size: 14rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 2rem;
}
.order-item__title:hover { opacity: 0.7; }
.order-item__sku {
  font-size: 12rem;
  color: var(--color-text-light);
}
.order-item__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  text-align: right;
}
.order-item__discount {
  font-size: 11rem;
  color: var(--color-sale-note);
  text-transform: lowercase;
}
.order-item__price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8rem;
}
.order-item__price-old {
  font-size: 12rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}
.order-item__price {
  font-size: 16rem;
  font-weight: 400;
}

.order-detail__repeat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  min-height: 52rem;
  border-radius: 6rem;
  margin-bottom: 14rem;
  text-decoration: none;
}
.order-detail__cancel,
.order-detail__question {
  display: block;
  width: 100%;
  padding: 8rem;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.order-detail__cancel:hover,
.order-detail__question:hover { color: var(--color-text); }

@media (max-width: 900px) {
  .order-tracker {
    grid-template-columns: 1fr;
    gap: 18rem;
    padding-left: 4rem;
    --tracker-inset: 14rem;
  }
  .order-tracker::before,
  .order-tracker::after {
    left: var(--tracker-inset);
    right: auto;
    top: 20rem;
    bottom: 20rem;
    width: 2rem;
    height: auto;
    border-radius: 6rem;
  }
  .order-tracker::after {
    right: auto;
    bottom: auto;
    width: 2rem;
    height: calc((100% - 40rem) * var(--tracker-progress) / 4);
  }
  .order-tracker__step {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    gap: 6rem 12rem;
    padding-left: 28rem;
  }
  .order-tracker__date {
    order: 2;
    min-height: 0;
    flex: 1 1 auto;
  }
  .order-tracker__date--empty { display: none; }
  .order-tracker__dot {
    position: absolute;
    left: 9rem;
    order: 0;
  }
  .order-tracker__step.is-complete .order-tracker__dot {
    left: 0;
    margin: 0;
  }
  .order-tracker__label {
    order: 1;
    max-width: none;
    flex: 1 1 100%;
  }
  .order-info__row dd { max-width: 100%; }
  .order-detail__receipt { max-width: 100%; }
}

@media (max-width: 800px) {
  .order-detail__number { font-size: 22rem; }
  .order-detail__back { margin-bottom: 14rem; font-size: 13rem; }
  .order-detail__head { margin-bottom: 20rem; }
  .order-detail__section { margin-bottom: 28rem; }
  .order-detail__section-title { font-size: 16rem; margin-bottom: 14rem; }
  .order-detail__repeat {
    width: 100%;
    justify-content: center;
  }
  .order-item {
    grid-template-columns: 64rem minmax(0, 1fr);
    grid-template-areas:
      "media body"
      "media prices";
  }
  .order-item__media { grid-area: media; width: 64rem; height: 64rem; }
  .order-item__body { grid-area: body; }
  .order-item__prices {
    grid-area: prices;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8rem;
    margin-top: 6rem;
  }
}

@media (max-width: 480px) {
  .order-tracker__label { font-size: 12rem; }
  .order-detail__number { font-size: 20rem; }
}


/* ==========================================================================
   Favorites
   ========================================================================== */
.page-favorites .site-header { background: var(--color-white); }
.favorites-panel { min-width: 0; }
.favorites-panel__title {
  margin: 0 0 28rem;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
  color: var(--color-black);
}
.favorites-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 28rem;
}
.favorites-toolbar__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12rem 16rem;
  min-height: 28rem;
  margin: 0;
  padding: 0 0 18rem;
  border-bottom: 1rem solid #e8e8f0;
}
.favorites-toolbar__count {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
  text-transform: lowercase;
  white-space: nowrap;
}
.favorites-toolbar__sort {
  grid-column: 3;
  justify-self: end;
  position: relative;
}
.favorites-toolbar__sort .catalog-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  min-height: 28rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-black);
  text-transform: lowercase;
  letter-spacing: 0;
}
.favorites-toolbar__sort .catalog-sort__btn:hover { opacity: 0.7; }
.favorites-toolbar__search-row {
  display: flex;
  align-items: center;
  gap: 12rem;
  min-height: 44rem;
  padding: 12rem 0 10rem;
  border-bottom: 1rem solid #e8e8f0;
}
.favorites-toolbar__search {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28rem;
  height: 28rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
}
.favorites-toolbar__search:hover { opacity: 0.7; }
.favorites-toolbar__search img {
  display: block;
  width: 17rem;
  height: 14rem;
}
.favorites-toolbar__field {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.favorites-toolbar__field[hidden] { display: none !important; }
.favorites-toolbar__input {
  width: 100%;
  height: 28rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  line-height: 1.2;
  color: var(--color-black);
  outline: none;
}
.favorites-toolbar__input::placeholder {
  color: #9C9CB1;
}
.favorites-toolbar__input:focus {
  outline: none;
}
.favorites-toolbar__search-row.is-open .favorites-toolbar__search {
  opacity: 0.55;
}
.favorites-empty[hidden] { display: none !important; }
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40rem 31rem;
  align-items: start;
}
.favorites-grid .product-card--orders {
  width: auto;
  max-width: none;
}
.favorites-grid .product-card[hidden] { display: none !important; }

/* legacy catalog-toolbar leftovers on favorites */
.favorites-panel .catalog-toolbar.search-toolbar { display: none; }

/* ==========================================================================
   Cosmetologist calendar
   ========================================================================== */
.page-cosmo .site-header { background: var(--color-white); }
.cosmo-nav .account-nav__avatar { display: none; }
.cosmo-panel { min-width: 0; }
.cosmo-panel .article-detail {
  padding-top: 0;
  padding-bottom: 0;
}
.cosmo-panel .article-detail > .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.cosmo-panel > .cosmo-panel__title { display: none; }
.cosmo-panel .article-detail .breadcrumbs,
.account-page__crumbs .article-detail .breadcrumbs { display: none; }
.cosmo-panel__title {
  margin: 0 0 32rem;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
}
.cosmo-panel__lead,
.cosmo-panel__note {
  margin: 0 0 24rem;
  max-width: 640rem;
  font-size: 16rem;
  line-height: 1.5;
}
.cosmo-panel__note a {
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.cosmo-panel__subtitle {
  margin: 0 0 16rem;
  font-size: 18rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
}
.cosmo-panel.cosmo-ask > .cosmo-panel__title { display: block; }
.cosmo-ask__form { margin: 0 0 40rem; max-width: 480rem; }
.cosmo-ask__fields {
  display: flex;
  flex-direction: column;
  gap: 16rem;
}
.cosmo-ask__field { display: flex; flex-direction: column; gap: 6rem; }
.cosmo-ask__label {
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.cosmo-ask__text {
  min-height: 120rem;
  resize: vertical;
}
.cosmo-ask__file { font-size: 14rem; }
.cosmo-ask__submit {
  align-self: flex-start;
  margin-top: 8rem;
  min-width: 200rem;
}
.cosmo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240rem, 280rem);
  gap: 40rem 56rem;
  align-items: start;
}
.cosmo-aside {
  order: 2;
  min-width: 0;
}
.cosmo-events {
  order: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
}
.cosmo-events:has(.cosmo-events__empty:not([hidden])) {
  min-height: 280rem;
  align-items: center;
  justify-content: center;
}
.cosmo-events__empty {
  margin: 0;
  font-size: 16rem;
  color: #9C9CB1;
  text-transform: lowercase;
  text-align: center;
}
.cosmo-events__empty[hidden] { display: none !important; }
.cosmo-events__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  align-self: stretch;
}
.cosmo-events__list[hidden] { display: none !important; }

.cosmo-event {
  --cosmo-label: 112rem;
  --cosmo-gap: 28rem;
  border-bottom: 1rem solid #ececec;
}
.cosmo-event:first-child {
  border-top: 1rem solid #ececec;
}
.cosmo-event__toggle {
  position: relative;
  display: grid;
  grid-template-columns: var(--cosmo-label) minmax(0, 1fr) 24rem;
  grid-template-areas:
    "type title chevron"
    "city trainer chevron";
  column-gap: var(--cosmo-gap);
  row-gap: 6rem;
  width: 100%;
  padding: 20rem 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-family);
  color: inherit;
  align-items: start;
}
.cosmo-event.is-open .cosmo-event__toggle {
  grid-template-areas: "type title chevron";
  padding-bottom: 14rem;
}
.cosmo-event__type {
  grid-area: type;
  font-size: 13rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: lowercase;
  color: #B3DE3D;
  padding-top: 2rem;
}
.cosmo-event__type--webinar { color: #6A93DA; }
.cosmo-event__type--training { color: #9C9CB1; }
.cosmo-event__title {
  grid-area: title;
  margin: 0;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
}
.cosmo-event__city {
  grid-area: city;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-transform: none;
}
.cosmo-event__trainer {
  grid-area: trainer;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-transform: none;
}
.cosmo-event__chevron {
  grid-area: chevron;
  align-self: start;
  margin-top: 2rem;
  display: inline-flex;
  color: #9C9CB1;
  transition: transform 0.2s ease;
}
.cosmo-event__toggle[aria-expanded="true"] .cosmo-event__chevron {
  transform: rotate(180deg);
}
.cosmo-event.is-open .cosmo-event__city,
.cosmo-event.is-open .cosmo-event__trainer {
  display: none;
}

.cosmo-event__body {
  padding: 0 0 28rem;
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text);
}
.cosmo-event__body[hidden] { display: none !important; }
.cosmo-event__details {
  display: flex;
  flex-direction: column;
  gap: 20rem;
  margin-bottom: 28rem;
}
.cosmo-event__detail {
  display: grid;
  grid-template-columns: var(--cosmo-label) minmax(0, 1fr);
  column-gap: var(--cosmo-gap);
  align-items: start;
}
.cosmo-event__label {
  margin: 0;
  padding-top: 2rem;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.cosmo-event__content {
  min-width: 0;
  max-width: 520rem;
}
.cosmo-event__speaker {
  margin: 0 0 6rem;
  font-size: 14rem;
  font-weight: 400;
  color: var(--color-text);
}
.cosmo-event__bio {
  margin: 0;
  font-size: 13rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.cosmo-event__value {
  margin: 0;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text);
}
.cosmo-event__map {
  display: inline-block;
  margin-top: 6rem;
  font-size: 13rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.cosmo-event__map:hover { color: var(--color-text); }
.cosmo-event__phone { text-decoration: none; }
.cosmo-event__phone:hover { opacity: 0.7; }

.cosmo-event__form {
  display: flex;
  flex-direction: column;
  gap: 22rem;
}
.cosmo-event__form-title {
  margin: 0;
  padding-left: calc(var(--cosmo-label) + var(--cosmo-gap));
  font-size: 16rem;
  font-weight: 400;
  text-transform: lowercase;
}
.cosmo-event__form-row {
  display: grid;
  grid-template-columns: var(--cosmo-label) minmax(0, 1fr);
  column-gap: var(--cosmo-gap);
  align-items: start;
}
.cosmo-event__fields {
  display: flex;
  flex-direction: column;
  gap: 16rem;
  max-width: 320rem;
  width: 100%;
}
.cosmo-event__field { display: block; width: 100%; }
.cosmo-event__field--phone {
  display: flex;
  align-items: center;
  gap: 10rem;
  border-bottom: 0;
}
.cosmo-event__req {
  flex: 0 0 auto;
  color: #9C9CB1;
  font-size: 14rem;
  line-height: 1;
}
.cosmo-event__phone-prefix {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40rem;
  padding-bottom: 1rem;
  border-bottom: 1rem solid #d8d8d8;
  font-size: 14rem;
  color: var(--color-text);
}
.cosmo-event__input {
  width: 100%;
  padding: 10rem 0;
  border: 0;
  border-bottom: 1rem solid #d8d8d8;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-text);
  outline: none;
}
.cosmo-event__input--phone {
  flex: 1;
  min-width: 0;
  height: 40rem;
  padding: 0 0 1rem;
}
.cosmo-event__field--phone:focus-within .cosmo-event__phone-prefix,
.cosmo-event__field--phone:focus-within .cosmo-event__input--phone {
  border-bottom-color: var(--color-black);
}
.cosmo-event__input::placeholder {
  color: #9C9CB1;
  text-transform: lowercase;
}
.cosmo-event__input:focus {
  border-bottom-color: var(--color-black);
}
.cosmo-event__form-actions {
  display: grid;
  grid-template-columns: var(--cosmo-label) minmax(0, 1fr);
  column-gap: var(--cosmo-gap);
}
.cosmo-event__submit {
  margin: 8rem 0 0;
  min-width: 200rem;
  max-width: 320rem;
  width: 100%;
  min-height: 48rem;
  border-radius: 6rem;
  text-transform: lowercase;
  letter-spacing: 0;
}
.cosmo-event__form-actions .cosmo-event__submit {
  grid-column: 2;
}
.page-cosmo .account-nav__link:not(.is-active) {
  color: #9C9CB1;
  font-weight: 400;
}
.page-cosmo .account-nav__sep ~ .account-nav__link {
  color: var(--color-black);
  font-weight: 400;
}
.cosmo-event__form-ok {
  margin: 12rem 0 0;
  font-size: 13rem;
  color: #5cb85c;
  text-transform: lowercase;
}
.cosmo-event__form-ok[hidden] { display: none !important; }
.cosmo-event__form-error {
  margin: 12rem 0 0;
  font-size: 13rem;
  color: #c0392b;
  text-transform: lowercase;
}
.cosmo-event__form-error[hidden] { display: none !important; }

@media (max-width: 800px) {
  .cosmo-event {
    --cosmo-label: 88rem;
    --cosmo-gap: 16rem;
  }
  .cosmo-event__body { padding-right: 0; }
  .cosmo-event__fields { max-width: none; }
  .cosmo-event__submit { max-width: none; width: 100%; }
  .cosmo-panel__title { font-size: 22rem; }
  .cosmo-ask__form { max-width: none; }
  .cosmo-ask__submit { width: 100%; }
}

@media (max-width: 600px) {
  .cosmo-event {
    --cosmo-label: 88rem;
    --cosmo-gap: 16rem;
  }
  .cosmo-event__body { padding-right: 0; }
  .cosmo-event__fields { max-width: none; }
  .cosmo-event__submit { max-width: none; width: 100%; }
}



.cosmo-cal { min-width: 0; }
.cosmo-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  margin-bottom: 16rem;
}
.cosmo-cal__title {
  margin: 0;
  font-size: 16rem;
  font-weight: 400;
  text-transform: lowercase;
}
.cosmo-cal__nav {
  width: 28rem;
  height: 28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text);
}
.cosmo-cal__nav:hover { opacity: 0.65; }
.cosmo-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 12rem;
  color: var(--color-text);
  text-transform: lowercase;
}
.cosmo-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.cosmo-cal__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
  min-height: 48rem;
  padding: 10rem 0 8rem;
  background: transparent;
  font-family: var(--font-family);
  color: var(--color-text);
  border-radius: 0;
  border-bottom: 1rem solid #ececec;
}
.cosmo-cal__day.is-empty { pointer-events: none; min-height: 48rem; }
.cosmo-cal__num {
  width: 18rem;
  height: 18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13rem;
  line-height: 1;
}
.cosmo-cal__day.is-today .cosmo-cal__num {
  background: rgba(207, 21, 24, 0.5);
  color: var(--color-black);
}
.cosmo-cal__day.is-selected:not(.is-today) .cosmo-cal__num {
  background: var(--color-black);
  color: var(--color-white);
}
.cosmo-cal__day:hover:not(.is-empty) .cosmo-cal__num {
  background: #f0f0f0;
}
.cosmo-cal__day.is-today:hover .cosmo-cal__num {
  background: rgba(207, 21, 24, 0.5);
}
.cosmo-cal__day.is-selected:not(.is-today):hover .cosmo-cal__num {
  background: var(--color-black);
}
.cosmo-cal__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-height: 6rem;
}
.cosmo-cal__dot {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #B3DE3D;
}
.cosmo-cal__dot--green { background: #B3DE3D; }
.cosmo-cal__dot--blue { background: #6A93DA; }

.cosmo-filters-block {
  margin-top: 20rem;
}
.cosmo-cal__summary {
  margin: 0 0 14rem;
  font-size: 13rem;
  line-height: 1.35;
  color: #9C9CB1;
  text-transform: lowercase;
  text-align: left;
}

.cosmo-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  margin-top: 0;
}
.cosmo-filters__item {
  position: relative;
  min-width: 0;
}
.cosmo-filters__item .catalog-filter__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 23rem;
  padding: 1rem 14rem;
  border-radius: 6rem;
  border: 1rem solid #e0e0e0;
  background: var(--color-white);
  font-family: var(--font-family);
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #9C9CB1;
  gap: 8rem;
  box-shadow: none;
  white-space: nowrap;
}
.cosmo-filters__item .catalog-filter__btn span {
  flex: 1;
  text-align: left;
}
.cosmo-filters__item .catalog-filter__btn svg {
  position: static;
  flex: 0 0 auto;
  transform: none;
  color: #9C9CB1;
  pointer-events: none;
}
.cosmo-filters__item .catalog-filter__btn[aria-expanded="true"] {
  border-color: #cfcfcf;
  color: var(--color-text);
  background: var(--color-white);
}
.cosmo-filters__item .catalog-filter__dropdown {
  min-width: 100%;
}

/* Cosmetologist before / after */
.cosmo-panel__title--ba {
  margin: 0;
  padding-bottom: 20rem;
  border-bottom: 1rem solid #e8e8e8;
  text-transform: none;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.2;
}
.cosmo-ba {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28rem;
  margin-top: 28rem;
}
.cosmo-ba__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  min-width: 0;
}
.cosmo-ba__pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .cosmo-layout {
    grid-template-columns: 1fr;
    gap: 28rem;
  }
  .cosmo-aside { order: 1; max-width: none; }
  .cosmo-events { min-height: 160rem; order: 2; }
  .cosmo-ba {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem;
  }
  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem 12rem;
  }
  .favorites-panel__title,
  .cosmo-panel__title { font-size: 22rem; }
  .cosmo-ba {
    grid-template-columns: 1fr;
    gap: 16rem;
  }
}

@media (max-width: 767px) {
  .favorites-toolbar {
    margin-bottom: 20rem;
  }
  .favorites-toolbar__meta {
    gap: 8rem 12rem;
    padding-bottom: 14rem;
  }
  .favorites-toolbar__count {
    font-size: 12rem;
  }
  .favorites-toolbar__sort .catalog-sort__btn {
    font-size: 12rem;
  }
  .favorites-toolbar__search-row {
    min-height: 40rem;
    padding: 10rem 0 8rem;
  }
  .favorites-panel__title {
    margin-bottom: 20rem;
    font-size: 22rem;
  }
}

@media (max-width: 480px) {
  .favorites-panel__title { font-size: 20rem; }
  .favorites-grid .product-card--orders .product-card__title { font-size: 13rem; }
}

/* Mobile menu — как goldapple: один список, шапка + подвал */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--header-offset);
  width: 100%;
  max-width: 100%;
  z-index: var(--z-overlay);
  background: var(--color-white);
  overflow: hidden;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .3s ease, visibility .3s;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
body:has(.mobile-menu.is-open) .site-header,
.page-home:has(.mobile-menu.is-open) .site-header {
  background: var(--color-white);
}
.mobile-menu__home,
.mobile-menu__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12rem 20rem calc(32rem + var(--safe-bottom));
  background: var(--color-white);
}
.mobile-menu__home {
  z-index: 1;
}
.mobile-menu__panel {
  z-index: 2;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s ease, visibility .28s;
}
.mobile-menu__panel.is-active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu__list a,
.mobile-menu__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12rem;
  width: 100%;
  padding: 12rem 0;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.35;
  text-transform: lowercase;
  letter-spacing: 0;
  border: 0;
  text-align: left;
  color: var(--color-black);
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.mobile-menu__primary a,
.mobile-menu__primary button {
  padding: 10rem 0;
  font-size: 22rem;
  line-height: 1.25;
}
.mobile-menu__secondary {
  margin-top: 40rem;
}
.mobile-menu__secondary a {
  display: flex;
  padding: 7rem 0;
  font-size: 14rem;
  font-weight: 400;
}
.mobile-menu__chevron {
  flex: 0 0 auto;
  width: 8rem;
  height: 8rem;
  margin-left: auto;
  border-right: 1.5rem solid #b0b0b0;
  border-top: 1.5rem solid #b0b0b0;
  transform: rotate(45deg);
}
.mobile-menu__back {
  display: flex;
  align-items: center;
  gap: 10rem;
  width: 100%;
  margin: 0 0 8rem;
  padding: 4rem 0 16rem;
  border: 0;
  border-bottom: 1rem solid #eee;
  background: none;
  color: var(--color-black);
  font-family: inherit;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: lowercase;
  text-align: left;
  cursor: pointer;
}
.mobile-menu__back-icon {
  flex: 0 0 auto;
  width: 8rem;
  height: 8rem;
  border-left: 1.5rem solid currentColor;
  border-bottom: 1.5rem solid currentColor;
  transform: rotate(45deg);
}
.mobile-menu__item--lead {
  margin-bottom: 20rem;
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* Responsive */
@media (max-width: 1439px) {
  :root {
    --container-padding: 40rem;
    --col-width: calc((100% - 3 * var(--grid-gap)) / 4);
    --brand-width: calc((100% - 6 * var(--brand-gap)) / 7);
  }
  .care-directions--home,
  .care-directions--catalog {
    --care-visible: 6;
  }
  .care-directions__grid { grid-template-columns: repeat(6, 1fr); justify-content: stretch; }
  .care-directions__grid .care-directions__item,
  .care-directions__grid .care-directions__image-wrap { width: 100%; }
  .care-directions__image-wrap { height: auto; aspect-ratio: 1 / 1; }
  .novinki__banner img, .product-card__image, .product-card, .product-card--promo,
  .brands__link, .brands__slide { width: 100%; }
  .brands__link { height: auto; aspect-ratio: 135 / 91; }
}

@media (max-width: 1200px) {
  :root { --container-padding: 32rem; --section-padding: 40rem; }
  .care-directions__grid { grid-template-columns: repeat(3, 1fr); --cat-gap: 16rem; }
  .site-footer__main { grid-template-columns: repeat(3, 1fr); }
  .hero__title { font-size: 28rem; }
  .stories__track { justify-content: flex-start; gap: 20rem; }
  .care-directions--home,
  .care-directions--catalog {
    --care-visible: 5;
    --cat-gap: 16rem;
  }
  .home-fold .care-directions__label {
    font-size: clamp(10rem, 1.1vh, 11rem);
    line-height: 1.3;
  }
  .home-fold .hero {
    min-height: 350px;
  }
}

@media (max-width: 1024px) {
  .site-header__nav { display: none; }
  .site-header__start { display: flex; }
  .site-header__burger { display: flex; }
  .site-header__action--search-mobile { display: flex; }
  .site-header__action--search-desktop,
  .site-header__action--desktop-only { display: none; }
  .novinki__layout { grid-template-columns: 1fr; }
  .novinki__banner { display: none; }
  .product-carousel,
  .novinki__products {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    container-type: inline-size;
  }
  .product-carousel:has(.product-card:hover),
  .product-carousel:has(.product-card:focus-within),
  .product-carousel__track:has(.product-card:hover),
  .product-carousel__track:has(.product-card:focus-within) {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .novinki__products .product-carousel__track,
  .product-carousel__track {
    display: flex;
    width: max-content;
    gap: 12rem;
    transform: none !important;
    justify-content: flex-start;
  }
  .product-carousel__slide {
    flex: 0 0 100cqw;
    width: 100cqw;
    min-width: 100cqw;
    max-width: 100cqw;
    scroll-snap-align: start;
  }
  .page-home .novinki__layout.product-carousel,
  .page-product .product-related .novinki__layout.product-carousel {
    overflow: visible;
    overflow-x: visible;
    scroll-snap-type: none;
    container-type: normal;
  }
  .page-home .product-carousel:not(.novinki__layout),
  .page-home .novinki__products,
  .page-product .product-related .novinki__products {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    container-type: inline-size;
  }
  .page-home .product-carousel:not(.novinki__layout) .product-carousel__slide,
  .page-home .novinki__products .product-carousel__slide,
  .page-home .novinki__products .product-card,
  .page-product .product-related .novinki__products .product-carousel__slide,
  .page-product .product-related .novinki__products .product-card {
    flex: 0 0 calc((100cqw - var(--grid-gap)) / 2);
    width: calc((100cqw - var(--grid-gap)) / 2);
    min-width: calc((100cqw - var(--grid-gap)) / 2);
    max-width: calc((100cqw - var(--grid-gap)) / 2);
    scroll-snap-align: start;
  }
  .section__nav { display: none; }
  .section__controls {
    width: auto;
    max-width: none;
    justify-content: flex-end;
  }
  .section__link::after { content: " ›"; }
  .search-overlay__panel { padding: 28rem 0 48rem; }
  .search-overlay__form { margin-bottom: 36rem; }
  .search-overlay__input { font-size: 22rem; }
  .search-overlay__results { max-width: none; margin-inline: 0; gap: 32rem; grid-template-columns: 1fr; }
  .search-overlay__block-head { font-size: 13rem; margin-bottom: 14rem; }
  .app-banner__inner { flex-wrap: wrap; gap: 16rem; }
  .app-banner__right { display: none; }
  .app-banner__title { font-size: 18rem; }
  .app-banner__meta { flex-wrap: wrap; }
  .news__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: 0 calc(-1 * max(var(--container-padding), var(--safe-right)));
    padding-inline: 0 max(var(--container-padding), var(--safe-right));
  }
  .news__viewport::-webkit-scrollbar { display: none; }
  .news__track {
    gap: 12rem;
    transform: none !important;
  }
  .news__card {
    flex: 0 0 min(280rem, 78vw);
    width: min(280rem, 78vw);
    scroll-snap-align: start;
  }

  /* Каталог: моб. тулбар уже при планшетной шапке */
  .page-catalog .search-toolbar__top--desktop,
  .page-catalog:not(.page-search) .search-toolbar__top--desktop,
  .page-favorites .search-toolbar__top--desktop,
  .page-favorites .favorites-panel .search-toolbar__top--desktop { display: none !important; }
  .page-catalog-root .catalog-toolbar,
  .page-catalog-section .catalog-toolbar {
    padding-top: 0;
    padding-bottom: 10rem;
  }
  .page-catalog .catalog-toolbar__mobile-bar {
    display: grid;
    grid-template-columns: 40rem 1fr 40rem;
    align-items: center;
    gap: 8rem;
    margin-bottom: 12rem;
  }
  .page-catalog .catalog-quick,
  .page-favorites .catalog-quick { display: none; }
  .page-catalog .catalog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-catalog .catalog-filters::-webkit-scrollbar { display: none; }
}

@media (max-width: 800px) {
  :root {
    --container-padding: 16rem;
    --header-height: 56rem;
    --section-padding: 36rem;
    --section-head-gap: 16rem;
    --hero-height: 520rem;
    --grid-gap: 12rem;
    --brand-gap: 10rem;
    --brand-width: 120rem;
  }

  .section__title { font-size: 20rem; line-height: 24rem; font-weight: 400; min-width: 0; }
  .section__link {
    font-size: 12rem;
    color: #000000;
  }
  .section__head { gap: 8rem; align-items: center; }

  /* Hero */
  .hero__title { font-size: 26rem; line-height: 28rem; max-width: none; }
  .hero__subtitle { font-size: 14rem; line-height: 18rem; max-width: none; }
  /* Mobile-креативы с текстом в кадре: чуть смещаем кроп к тексту (слева),
     не уезжая в пустую правую зону фото. */
  .hero__slide-bg,
  .hero__slide-video,
  .hero__slide-poster { object-position: 28% top; }
  .hero__slide-content {
    padding-inline: max(var(--container-padding), var(--safe-left))
      max(var(--container-padding), var(--safe-right));
    padding-bottom: 0;
    top: auto;
    bottom: max(34rem, calc(32rem + var(--safe-bottom)));
    transform: none;
    justify-content: flex-end;
  }
  .hero .btn--primary {
    max-width: none;
    width: 100%;
  }
  .hero--cursor-arrow { cursor: auto; }
  .hero__cursor { display: none !important; }
  .hero__arrow { display: none; }
  .hero__dots { display: none; }
  .hero__sound {
    right: max(16rem, var(--safe-right));
    bottom: max(20rem, calc(12rem + var(--safe-bottom)));
    width: 40rem;
    height: 40rem;
  }
  .hero__sound-icon { width: 20rem; height: 20rem; }
  .hero--cursor-arrow { cursor: auto; }

  /* Care: несколько компактных плиток в ряд, как catalog-cats */
  .care-directions { padding-top: 16rem; }
  .page-home .care-directions .section__head,
  .home-fold .care-directions .section__head,
  .care-directions .section__head {
    margin-bottom: 8rem;
  }
  .care-directions--home,
  .care-directions--catalog {
    --care-visible: 3.35;
    --cat-gap: 12rem;
  }
  .care-directions__grid,
  .care-directions__track,
  .home-fold .care-directions__grid,
  .home-fold .care-directions__track,
  .page-home .care-directions__grid,
  .page-home .care-directions__track {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    justify-content: flex-start;
    gap: var(--cat-gap, 12rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(var(--container-padding), var(--safe-left));
    padding-right: max(12rem, var(--safe-right));
    padding-bottom: 4rem;
    box-sizing: border-box;
  }
  .care-directions__grid::-webkit-scrollbar { display: none; }
  .care-directions__item,
  .home-fold .care-directions__item,
  .page-home .care-directions__item {
    flex: 0 0 var(--cat-width);
    width: var(--cat-width);
    max-width: none;
    scroll-snap-align: start;
  }
  .care-directions__image-wrap,
  .home-fold .care-directions__image-wrap,
  .page-home .care-directions__image-wrap {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-inline: 0;
    margin-bottom: 6rem;
    border-radius: 6rem;
  }
  .care-directions__label,
  .home-fold .care-directions__label,
  .page-home .care-directions__label {
    font-size: 10rem;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .care-directions--catalog {
    padding-top: 16rem;
    padding-bottom: 8rem;
  }
  .care-directions--catalog .care-directions__track {
    gap: 8rem;
    scroll-padding-left: max(var(--container-padding), var(--safe-left));
  }
  .care-directions--catalog .care-directions__item {
    flex: 0 0 auto;
    width: 80rem;
    max-width: 80rem;
  }
  .care-directions--catalog .care-directions__image-wrap {
    margin-bottom: 6rem;
    border-radius: 6rem;
  }

  /* Stories — кружки плотнее, чтобы влезало больше */
  .stories {
    padding-top: 20rem;
    padding-bottom: 20rem;
    overflow: hidden;
  }
  .stories__track {
    justify-content: flex-start;
    gap: 10rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
    margin-inline: calc(-1 * max(var(--container-padding), var(--safe-left)));
    padding-inline: max(var(--container-padding), var(--safe-left))
      max(var(--container-padding), var(--safe-right));
  }
  .stories__track::-webkit-scrollbar { display: none; }
  .stories__item { width: 72rem; }
  .stories__btn { width: 56rem; height: 56rem; }
  .stories__label { max-width: 72rem; font-size: 11rem; line-height: 1.15; }

  /* Новинки / карусели главной: один ряд со свайпом, как разделы каталога */
  .page-home .novinki__layout.product-carousel,
  .page-home .novinki .product-carousel.novinki__layout,
  .page-product .product-related .novinki__layout.product-carousel {
    overflow: visible;
    overflow-x: visible;
    scroll-snap-type: none;
    container-type: normal;
  }
  .page-home .product-carousel:not(.novinki__layout),
  .page-home .novinki__products,
  .page-product .product-related .novinki__products {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    container-type: inline-size;
    margin-inline: 0 calc(-1 * max(var(--container-padding), var(--safe-right)));
    padding-inline: 0 max(var(--container-padding), var(--safe-right));
  }
  .page-home .product-carousel:not(.novinki__layout)::-webkit-scrollbar,
  .page-home .novinki__products::-webkit-scrollbar,
  .page-product .product-related .novinki__products::-webkit-scrollbar {
    display: none;
  }
  .page-home .novinki__products .product-carousel__track,
  .page-home .novinki .product-carousel__track,
  .page-home .product-carousel__track,
  .page-product .product-related .novinki__products .product-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: var(--grid-gap, 12rem);
    transform: none !important;
    justify-content: flex-start;
  }
  .page-home .product-card.product-carousel__slide,
  .page-home .product-carousel__slide,
  .page-home .novinki__products .product-carousel__slide,
  .page-home .novinki__products .product-card,
  .page-home .novinki .product-card,
  .page-product .product-related .novinki__products .product-carousel__slide,
  .page-product .product-related .novinki__products .product-card {
    flex: 0 0 calc((100cqw - var(--grid-gap, 12rem)) / 2);
    width: calc((100cqw - var(--grid-gap, 12rem)) / 2);
    min-width: calc((100cqw - var(--grid-gap, 12rem)) / 2);
    max-width: calc((100cqw - var(--grid-gap, 12rem)) / 2);
    scroll-snap-align: start;
  }
  .product-card__body { padding-top: 10rem; }
  .product-card__title { font-size: 13rem; }
  .product-card__price { font-size: 14rem; }
  .product-carousel .product-card__media,
  .novinki .product-card__media {
    aspect-ratio: 237 / 266;
  }
  .product-carousel .product-card__image,
  .novinki .product-card__image,
  .product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .product-card__fav,
  .product-card__fav--hitarea {
    opacity: 1;
    top: 8rem;
    right: 8rem;
    width: 32rem;
    height: 32rem;
  }
  .product-card__fav:not(:has(img)),
  .product-card__fav--hitarea:not(:has(img)) {
    background: url("/local/templates/personalcare/svg/like.svg") center / 17rem 15rem no-repeat;
  }
  .product-card__fav--hitarea:hover,
  .product-card__fav--hitarea.is-active {
    opacity: 1;
  }
  .product-card__fav.is-active:not(:has(img)),
  .product-card__fav[aria-pressed="true"]:not(:has(img)) {
    background-image: url("/local/templates/personalcare/svg/like-filled.svg");
  }

  /* Brands — скролл на viewport: track с width:max-content сам не скроллится */
  .brands__viewport,
  .page-home .brands__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    container-type: normal;
    width: auto;
    margin-inline: calc(-1 * max(var(--container-padding), var(--safe-left)));
    padding-inline: max(var(--container-padding), var(--safe-left))
      max(var(--container-padding), var(--safe-right));
  }
  .brands__viewport::-webkit-scrollbar,
  .page-home .brands__viewport::-webkit-scrollbar { display: none; }
  .brands__track,
  .page-home .brands__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    transform: none !important;
  }
  .brands__slide,
  .page-home .brands__slide,
  .brands__link,
  .page-home .brands__link {
    flex: 0 0 var(--brand-width);
    width: var(--brand-width);
    min-width: var(--brand-width);
    max-width: var(--brand-width);
    height: 80rem;
    aspect-ratio: auto;
    background: var(--color-bg-brand);
  }

  /* App banner */
  .app-banner { padding-block: 24rem; }
  .app-banner__title {
    font-size: 16rem;
    line-height: 1.25;
  }
  .app-banner__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14rem;
  }
  .app-banner__subtitle {
    max-width: none;
    font-size: 13rem;
    line-height: 1.4;
  }
  .app-banner__stores {
    flex-wrap: wrap;
    gap: 8rem;
  }
  .app-banner__store img { height: 36rem; }

  /* Footer mobile — две независимые колонки + соцсети по центру */
  .site-footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16rem;
    row-gap: 0;
    padding-top: 36rem;
    padding-bottom: 32rem;
  }
  .site-footer__stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .site-footer__stack--info { grid-column: 1; }
  .site-footer__stack--nav { grid-column: 2; }
  .site-footer__stack--info .site-footer__col + .site-footer__col {
    margin-top: 20rem;
  }
  .site-footer__stack--nav .site-footer__col--care,
  .site-footer__stack--nav .site-footer__col--buyer {
    margin-top: 16rem;
    border-top: 0;
    padding-top: 0;
    grid-column: auto;
    grid-row: auto;
  }
  .site-footer__links--caps { gap: 16rem; }
  .site-footer__links { gap: 16rem; }
  .site-footer__heading {
    margin-bottom: 12rem;
    font-size: 12rem;
    font-weight: 400;
  }
  .site-footer__heading:not(:first-child),
  .site-footer__text + .site-footer__heading {
    margin-top: 20rem;
  }
  .site-footer__text { font-size: 12rem; line-height: 1.45; margin-bottom: 4rem; }
  .site-footer__links--caps a { font-size: 12rem; }
  .site-footer__col--desktop-only { display: none; }
  .site-footer__links--mobile-only {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    margin-top: 12rem;
  }
  .site-footer__accordion-btn {
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8rem;
    margin-bottom: 0;
    padding-block: 0;
    font-size: 12rem;
  }
  .site-footer__accordion-btn::after {
    display: block;
    content: "";
    width: 7rem;
    height: 7rem;
    border-right: 1.5rem solid currentColor;
    border-bottom: 1.5rem solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -3rem;
  }
  .site-footer__col--accordion.is-open .site-footer__accordion-btn::after {
    transform: rotate(-135deg);
    margin-top: 3rem;
  }
  .site-footer__col--accordion:not(.is-open) .site-footer__accordion-panel {
    display: none;
  }
  .site-footer__col--accordion.is-open .site-footer__accordion-panel {
    display: block;
    margin-top: 12rem;
  }
  .site-footer__col--accordion.is-open .site-footer__accordion-btn {
    margin-bottom: 0;
  }
  .site-footer__social--main,
  .site-footer__social--bottom { display: none; }
  .site-footer__social-link {
    width: 25rem;
    height: 25rem;
    border-radius: 6rem;
  }
  .site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16rem;
    text-align: center;
    padding-block: 24rem;
    min-height: 0;
  }
  .site-footer__copy,
  .site-footer__partners {
    justify-self: auto;
  }
  .site-footer__copy-wrap {
    align-items: center;
  }
  .site-footer__copy,
  .site-footer__dev {
    text-transform: uppercase;
    color: var(--color-text);
    font-size: 11rem;
    letter-spacing: 0.02em;
  }
  .site-footer__dev {
    text-transform: none;
    letter-spacing: 0;
  }
  .site-footer__policy {
    text-transform: none;
    letter-spacing: 0;
  }
  .site-footer__bottom {
    min-height: 0;
    padding-block: 0;
  }
  .site-footer__partners {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12rem 16rem;
    width: 100%;
  }
  .site-footer__partners img { height: 22rem; }

  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 12rem 0;
  }
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 16rem;
  }
  .cookie-banner__text {
    font-size: 13rem;
    line-height: 1.35;
  }
  .cookie-banner__accept {
    width: auto;
    min-height: 36rem;
  }
}

@media (max-width: 480px) {
  .site-header__actions { gap: 12rem; }
  .site-header__start { gap: 10rem; }
  .stories__item { width: 68rem; }
  .stories__btn { width: 52rem; height: 52rem; }
  .stories__label { max-width: 68rem; }
  .care-directions__item,
  .home-fold .care-directions__item,
  .page-home .care-directions__item {
    flex: 0 0 auto;
    flex-basis: auto;
    width: clamp(84rem, 22vw, 120rem);
    max-width: 120rem;
  }
  .hero__title { font-size: 22rem; line-height: 24rem; }
}

/* ==========================================================================
   Mobile adaptive — экраны < 800px (макеты Mobile)
   ========================================================================== */
@media (max-width: 800px) {
  /* Главная: fold не режет скролл */
  .home-fold {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .home-fold .hero {
    min-height: 350px;
    max-height: none;
    height: max(350px, min(72vh, 560rem));
  }

  /* Header: burger + поиск слева, лого центр, избранное+корзина справа */
  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .site-header__actions { gap: 14rem; }

  /* Фильтр — bottom sheet */
  .filter-drawer {
    align-items: flex-end;
    justify-content: stretch;
  }
  .filter-drawer__panel {
    width: 100%;
    height: auto;
    max-height: min(86dvh, 100%);
    border-radius: 16rem 16rem 0 0;
    transform: translateY(110%);
    box-shadow: 0 -12rem 40rem rgba(0, 0, 0, 0.18);
  }
  .filter-drawer.is-open .filter-drawer__panel { transform: translateY(0); }
  .filter-drawer__handle {
    display: block;
    width: 40rem;
    height: 4rem;
    margin: 10rem auto 0;
    border-radius: 6rem;
    background: #d8d8d8;
  }
  .filter-drawer__head {
    padding: 12rem 20rem 16rem;
    align-items: center;
  }
  .filter-drawer__title { font-size: 20rem; }
  .filter-drawer__close { display: none; }
  .filter-drawer__reset { display: inline !important; margin-top: 0; }
  .filter-drawer__body { padding: 0 20rem; }
  .filter-drawer__foot {
    padding: 12rem 20rem calc(16rem + var(--safe-bottom));
  }
  .filter-drawer__apply {
    min-height: 40rem;
    height: 40rem;
    border-radius: 6rem;
  }
  .filter-drawer__check { gap: 12rem; padding: 12rem 0; }
  .filter-drawer__box {
    width: 18rem;
    height: 18rem;
    border-radius: 6rem;
  }

  /* Карточка товара: sticky CTA */
  .product-page { padding-bottom: calc(72rem + var(--safe-bottom)); }
  .product-info__cart-row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-header) + 5);
    margin: 0;
    padding: 12rem max(16rem, var(--safe-left)) calc(12rem + var(--safe-bottom)) max(16rem, var(--safe-right));
    background: var(--color-white);
    box-shadow: 0 -8rem 24rem rgba(0, 0, 0, 0.08);
  }
  .product-info__buy {
    min-height: 48rem;
    border-radius: 6rem;
  }
  .product-info__qty {
    min-height: 48rem;
    border-radius: 6rem;
  }
  .product-info__market { display: none; }
  .product-page__crumbs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12rem;
    margin-bottom: 16rem;
    padding-top: 12rem;
    font-size: 12rem;
    color: #9C9CB1;
  }
  .product-page__crumbs .breadcrumbs {
    display: contents;
  }
  .product-page__crumbs .breadcrumbs a,
  .product-page__crumbs .breadcrumbs .breadcrumbs__sep,
  .product-page__crumbs .breadcrumbs .breadcrumbs__ellipsis,
  .product-page__crumbs .breadcrumbs [aria-current="page"],
  .product-page__crumbs > a,
  .product-page__crumbs > .breadcrumbs__sep,
  .product-page__crumbs > .breadcrumbs__ellipsis,
  .product-page__crumbs > [aria-current="page"] {
    display: none;
  }
  .product-page__crumbs .breadcrumbs a.breadcrumbs__back,
  .product-page__crumbs > a.breadcrumbs__back {
    display: inline-block;
    color: #9C9CB1;
    text-transform: lowercase;
  }
  .product-page__crumbs .breadcrumbs a.breadcrumbs__back::before,
  .product-page__crumbs > a.breadcrumbs__back::before {
    content: "< ";
  }
  .product-page__crumbs-sku {
    display: inline-block;
    margin-left: auto;
    font-size: 12rem;
    color: #9C9CB1;
    text-transform: none;
    white-space: nowrap;
  }
  .product-info__meta .product-info__sku {
    display: none;
  }
  .product-detail {
    display: flex;
    flex-direction: column;
    grid-template-areas: none;
    row-gap: 12rem;
    column-gap: 0;
  }
  .product-detail::before {
    content: none;
    display: none;
  }
  .product-gallery { grid-area: auto; }
  .product-detail__content,
  .product-info {
    display: contents;
  }
  .product-info__purchase {
    display: contents;
  }
  .product-info__lead { display: none; }
  .product-info__expiry { order: 2; margin: 0 0 8rem; }
  .product-info__category,
  .product-info__title,
  .product-gallery,
  .product-info__prices,
  .product-info__cart-row,
  .product-tabs,
  .product-tabs__nav,
  .product-tabs__panel,
  .product-features {
    width: 100%;
  }
  .product-tabs__col,
  .product-tabs__col--features,
  .product-tabs__col--desc {
    position: static;
    grid-area: auto;
    width: 100%;
  }
  .product-info__category { order: 1; margin: 0; }
  .product-info__title {
    order: 2;
    margin: 0 0 4rem;
    font-size: 22rem;
    line-height: 1.2;
  }
  .product-gallery { order: 3; margin: 0; }
  .product-info__meta {
    order: 3;
    height: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .product-info__meta { display: none; }
  .product-info__icon-btn[data-action="share-product"],
  .product-info__icon-btn[data-entity="favorite-btn"],
  .product-info__actions { display: none; }
  .product-gallery {
    position: relative;
  }
  .product-gallery__fav {
    display: flex;
    position: absolute;
    top: 8rem;
    right: 8rem;
    z-index: 3;
    width: 40rem;
    height: 40rem;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border: 0;
  }
  .product-gallery__fav img {
    display: block;
    width: 17rem;
    height: 15rem;
  }
  .product-info .product-gallery__thumbs {
    display: flex !important;
    order: 4;
    width: auto;
    max-width: calc(100% - 24rem);
    gap: 8rem;
    margin: -44rem 0 16rem;
    padding: 0 16rem;
    position: relative;
    z-index: 2;
    list-style: none;
    pointer-events: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .product-info .product-gallery__thumbs > li {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }
  .product-info .product-gallery__thumbs button,
  .product-gallery__thumb {
    width: 16rem;
    height: 16rem;
    min-width: 16rem;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product-gallery__thumb::after {
    content: "";
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0.55);
  }
  .product-gallery__thumb.is-active::after {
    background: #111;
    box-shadow: none;
  }
  .product-gallery__thumb img,
  .product-gallery__play { display: none !important; }
  .product-gallery__thumb--video {
    background: transparent;
    color: transparent;
  }
  .product-info__prices { order: 5; margin: 8rem 0 0; }
  .product-info__sku-block {
    order: 6;
    width: 100%;
    margin: 8rem 0 0;
    padding-right: 110rem;
    display: flex;
    align-items: center;
    gap: 10rem;
    box-sizing: border-box;
  }
  .product-info__stock {
    order: 6;
    align-self: flex-end;
    margin: -36rem 0 0;
  }
  .product-gallery__main {
    width: 100%;
    height: auto;
    aspect-ratio: 535 / 604;
    border-radius: 0;
  }
  .product-gallery__main .product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  /* Табы как аккордеон: описание → рекомендации → состав → особые значения → все характеристики.
     Сам блок — один flex-элемент, иначе row-gap карточки раздвигает строки и подпись уезжает вверх. */
  .product-tabs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 80;
  }
  .product-tabs__col,
  .product-tabs__col--features,
  .product-tabs__col--desc,
  .product-tabs__nav,
  .product-tabs__stage {
    display: contents;
  }
  .product-tabs__btn[data-tab="description"] { order: 80; }
  .product-tabs__panel[data-tab-panel="desc-description"] { order: 81; }
  .product-tabs__btn[data-tab="usage"] { order: 82; }
  .product-tabs__panel[data-tab-panel="desc-usage"] { order: 83; }
  .product-tabs__btn[data-tab="composition"] { order: 84; }
  .product-tabs__panel[data-tab-panel="desc-composition"] { order: 85; }
  .product-tabs__btn[data-tab="special"] { order: 86; }
  .product-tabs__panel[data-tab-panel="features-special"] { order: 87; }
  .product-tabs__btn[data-tab="all"] { order: 88; }
  .product-tabs__panel[data-tab-panel="features-all"] { order: 89; }
  .product-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    width: 100%;
    min-height: 52rem;
    margin: 0;
    padding: 16rem 0;
    border: 0;
    border-top: 1rem solid #eeeeee;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111;
    font-size: 13rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
  }
  .product-tabs__btn[data-tab="description"] {
    margin-top: 8rem;
  }
  .product-tabs__btn[data-tab="all"] {
    border-bottom: 1rem solid #eeeeee;
  }
  .product-tabs__btn[data-tab="all"][aria-expanded="true"] {
    border-bottom: 0;
  }
  .product-tabs__btn.is-active {
    background: transparent;
    color: #111;
    border-color: #eeeeee;
  }
  .product-tabs__btn::after {
    content: "";
    display: block;
    box-sizing: border-box;
    width: 8rem;
    height: 8rem;
    flex: 0 0 auto;
    margin: -3rem 0 0 auto;
    border-right: 1.5rem solid #111;
    border-bottom: 1.5rem solid #111;
    transform: rotate(45deg);
    opacity: 1;
  }
  .product-tabs__btn[aria-expanded="true"]::after {
    margin-top: 4rem;
    transform: rotate(-135deg);
  }
  .product-tabs__panel,
  .product-tabs__panel.is-active,
  .product-tabs__panel.is-leaving,
  .product-tabs__stage .product-tabs__panel[hidden] {
    position: static !important;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    display: none !important;
    padding: 4rem 0 20rem;
    z-index: auto;
  }
  .product-tabs__panel.is-accordion-open {
    display: block !important;
  }
  .product-tabs__panel[data-tab-panel="features-all"].is-accordion-open {
    border-bottom: 1rem solid #eeeeee;
  }
  .product-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-features__item { gap: 8rem; padding: 6rem 8rem; min-height: 64rem; }
  .product-features__icon { width: 40rem; }
  .product-features__item--wide { grid-column: span 2; }

  /* Корзина: на всю ширину, sticky кнопка */
  .cart-drawer__panel {
    width: 100%;
    max-width: none;
    padding:
      calc(16rem + var(--safe-top))
      max(16rem, var(--safe-right))
      0
      max(16rem, var(--safe-left));
  }
  .cart-drawer__head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title actions"
      ". clear";
    align-items: start;
    column-gap: 12rem;
    row-gap: 2rem;
    margin-bottom: 8rem;
  }
  .cart-drawer__title {
    grid-area: title;
    order: 0;
    width: auto;
    margin: 0;
    font-size: 22rem;
    align-self: center;
  }
  .cart-drawer__head-actions {
    grid-area: actions;
    margin-left: 0;
  }
  .cart-drawer__clear-label {
    grid-area: clear;
    display: block;
    margin: 0;
    justify-self: end;
    font-size: 13rem;
    color: #9C9CB1;
    text-align: right;
    background: transparent;
    border: 0;
    font-family: var(--font-family);
    cursor: pointer;
  }
  .cart-drawer.is-empty .cart-drawer__clear-label { display: none; }
  .cart-drawer__icon-btn[data-action="clear-cart"] { display: none; }
  .cart-drawer__scroll {
    padding-bottom: 8rem;
  }
  .cart-drawer__foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-inline: calc(-1 * max(16rem, var(--safe-left))) calc(-1 * max(16rem, var(--safe-right)));
    padding: 12rem max(16rem, var(--safe-left)) calc(12rem + var(--safe-bottom)) max(16rem, var(--safe-right));
    background: var(--color-white);
    box-shadow: 0 -8rem 24rem rgba(0, 0, 0, 0.06);
  }
  .cart-drawer__checkout {
    min-height: 48rem;
    border-radius: 6rem;
  }
  .cart-drawer__summary-title {
    margin: 0 0 14rem;
    font-size: 17rem;
    font-weight: 400;
    text-transform: lowercase;
  }
  .cart-drawer__dots {
    flex: 1 1 auto;
    min-width: 12rem;
    height: 12rem;
    align-self: baseline;
    margin: 0 2rem;
    border: 0;
    transform: none;
    color: #9C9CB1;
    background-image: radial-gradient(circle, currentColor 0.85rem, transparent 1rem);
    background-size: 5rem 2rem;
    background-position: left 0.7em;
    background-repeat: repeat-x;
  }
  .cart-item__remove {
    width: 28rem;
    height: 28rem;
  }
  .cart-item__remove svg { display: none; }
  .cart-item__remove::before {
    content: "";
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 5rem 0 currentColor, 0 10rem 0 currentColor;
    transform: translateY(-5rem);
  }

  .cart-item {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 88rem minmax(0, 1fr);
    grid-template-areas:
      "media category"
      "media title"
      "sku row";
    column-gap: 12rem;
    row-gap: 6rem;
    align-items: start;
    padding: 16rem 0;
  }
  .cart-item.is-removed {
    display: flex;
    overflow: visible;
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
  }
  .cart-item:has(.cart-item__front) {
    display: block;
    padding: 0;
  }
  .cart-item__front {
    display: grid;
    grid-template-columns: 88rem minmax(0, 1fr);
    grid-template-areas:
      "media category"
      "media title"
      "sku row";
    column-gap: 12rem;
    row-gap: 6rem;
    align-items: start;
    padding: 16rem 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
  }
  .cart-item.is-swiped .cart-item__front {
    transform: translateX(-128rem);
  }
  .cart-item__swipe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 128rem;
    z-index: 0;
  }
  .cart-item:has(.cart-item__front) {
    overflow: hidden;
  }
  .cart-item__swipe-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    border: 0;
    padding: 8rem 4rem;
    font-family: var(--font-family);
    font-size: 10rem;
    line-height: 1.2;
    text-transform: lowercase;
    color: #fff;
  }
  .cart-item__swipe-btn svg {
    display: block;
  }
  .cart-item__swipe-btn--fav {
    background: #7eb6e8;
    color: #111;
  }
  .cart-item__swipe-btn--del {
    background: var(--color-black);
    color: #fff;
  }
  .cart-item__media {
    grid-area: media;
    width: 88rem;
    height: 88rem;
    align-self: start;
  }
  .cart-item__body { display: contents; }
  .cart-item__category {
    grid-area: category;
    padding-right: 32rem;
    margin: 0;
  }
  .cart-item__title {
    grid-area: title;
    padding-right: 32rem;
    margin: 0;
  }
  .cart-item__sku {
    grid-area: sku;
    margin: 4rem 0 0;
    align-self: start;
    position: relative;
    z-index: 2;
  }
  .cart-item__sku--values {
    gap: 4rem;
  }
  .cart-item__sku-btn {
    min-width: 32rem;
    height: 24rem;
    padding: 0 6rem;
  }
  .cart-item__color {
    width: 16rem;
    height: 16rem;
  }
  .cart-item__row {
    grid-area: row;
    margin: 0;
    align-self: end;
  }
  .cart-item__qty {
    gap: 4rem;
    border: 0;
    overflow: visible;
    background: transparent;
    min-height: 0;
  }
  .cart-item__qty-btn,
  .cart-item__qty-value {
    width: 28rem;
    height: 28rem;
    min-width: 28rem;
    border: 1rem solid #d5d7e0;
    border-radius: 6rem;
    background: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cart-item__qty-btn:hover { background: #f5f5f5; }
  .cart-item__remove {
    top: 16rem;
    right: 0;
    z-index: 2;
  }
  .cart-item__prices {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: end;
    justify-items: end;
    align-items: baseline;
    column-gap: 8rem;
    row-gap: 2rem;
    text-align: right;
  }
  .cart-item__benefit {
    grid-column: 1 / -1;
    font-size: 12rem;
    line-height: 1.2;
    color: var(--color-sale-note);
  }
  .cart-item__price-old {
    font-size: 13rem;
    color: #9C9CB1;
  }
  .cart-item__price {
    font-size: 16rem;
    font-weight: 400;
    color: var(--color-black);
  }
  .cart-item__swipe-btn--fav::before,
  .cart-item__swipe-btn--del::before { content: none; }

  .cart-page__head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title actions"
      ". clear";
    align-items: start;
    column-gap: 12rem;
  }
  .cart-page__title { grid-area: title; margin: 0; font-size: 22rem; }
  .cart-page__head-actions { grid-area: actions; }
  .cart-page__clear-label {
    grid-area: clear;
    display: block;
    justify-self: end;
    margin: 0;
    font-size: 13rem;
    color: #9C9CB1;
    background: transparent;
    border: 0;
    font-family: var(--font-family);
  }
  .cart-page__head-actions [data-action="clear-cart-page"] { display: none; }

  /* Bottom sheet действий товара в корзине */
  .cart-sheet {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) + 30);
    display: flex;
    align-items: flex-end;
    pointer-events: none;
  }
  .cart-sheet[hidden] { display: none !important; }
  .cart-sheet.is-open { pointer-events: auto; }
  .cart-sheet__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  .cart-sheet__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    background: var(--color-white);
    border-radius: 16rem 16rem 0 0;
    padding: 10rem 20rem calc(20rem + var(--safe-bottom));
  }
  .cart-sheet__handle {
    width: 40rem;
    height: 4rem;
    margin: 0 auto 16rem;
    border-radius: 6rem;
    background: #d8d8d8;
  }
  .cart-sheet__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16rem;
    min-height: 52rem;
    padding: 12rem 0;
    border: 0;
    border-bottom: 1rem solid #ececec;
    border-radius: 0;
    font-size: 14rem;
    text-transform: lowercase;
    color: var(--color-text);
    background: transparent;
    width: 100%;
    font-family: var(--font-family);
  }
  .cart-sheet__row:last-child { border-bottom: 0; }
  .cart-sheet__icon {
    flex: 0 0 auto;
    width: 18rem;
    height: 18rem;
    display: block;
    color: var(--color-text);
    object-fit: contain;
  }
  .cart-sheet__row img.cart-sheet__icon {
    width: 17rem;
    height: 15rem;
  }
  .cart-sheet__row .cart-item__qty {
    flex: 0 0 auto;
  }

  /* Checkout: мобильные экраны по макетам 1–12 */
  .page-checkout .site-header,
  .page-checkout .mobile-menu,
  .page-checkout .site-footer,
  .page-checkout .cookie-banner {
    display: none;
  }
  .page-checkout .checkout-page {
    padding: calc(12rem + var(--safe-top)) 0 calc(108rem + var(--safe-bottom));
    width: 100%;
  }
  .page-checkout .checkout-page > .container {
    width: 100%;
    max-width: none;
    padding-inline: max(16rem, var(--safe-left)) max(16rem, var(--safe-right));
    box-sizing: border-box;
  }
  .page-checkout .checkout-page__top { display: none; }
  .page-checkout .checkout-page__head {
    display: grid;
    grid-template-columns: 28rem minmax(0, 1fr);
    align-items: center;
    column-gap: 10rem;
    margin: 0 0 16rem;
    width: 100%;
  }
  .page-checkout .checkout-page__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28rem;
    height: 28rem;
    margin: 0;
    color: var(--color-black);
    background: none;
    border: 0;
    padding: 0;
    flex-shrink: 0;
  }
  .page-checkout .checkout-page__title {
    padding-left: 0 !important;
    margin: 0;
    font-size: 22rem;
    font-weight: 400;
    line-height: 1.25;
    max-width: none;
    width: 100%;
    min-width: 0;
  }
  .page-checkout[data-screen="buyer"] .checkout-page__title { display: none; }
  .page-checkout[data-screen="buyer"] .checkout-page__head { margin-bottom: 8rem; }
  .page-checkout .checkout-page__layout {
    display: flex;
    flex-direction: column;
    gap: 24rem;
    width: 100%;
    min-width: 0;
  }
  .page-checkout .checkout-form,
  .page-checkout .order-summary,
  .page-checkout .checkout-step,
  .page-checkout .checkout-step__toggle,
  .page-checkout .checkout-step__head {
    width: 100%;
  }
  .page-checkout .checkout-form { position: relative; }
  .page-checkout .checkout-step {
    position: relative;
    margin: 0;
    padding: 0 0 22rem 22rem;
    border-bottom: 0;
  }
  .page-checkout .checkout-step:last-of-type { padding-bottom: 0; }
  .page-checkout .checkout-step::before {
    content: "";
    position: absolute;
    left: 3rem;
    top: 22rem;
    bottom: 0;
    width: 1rem;
    background: #e6e6e6;
  }
  .page-checkout .checkout-step:last-of-type::before { display: none; }
  .page-checkout .checkout-step__toggle {
    flex-direction: column;
    align-items: stretch;
    gap: 4rem;
    padding: 0;
  }
  .page-checkout .checkout-step__main {
    gap: 0;
    width: 100%;
  }
  .page-checkout .checkout-step__num {
    position: absolute;
    left: 0;
    top: 8rem;
    width: 8rem;
    height: 8rem;
    min-width: 8rem;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: var(--color-black);
    border-radius: 50%;
  }
  .page-checkout .checkout-step.is-disabled .checkout-step__num {
    background: #d4d4d4;
  }
  .page-checkout .checkout-step.is-disabled {
    opacity: 1;
  }
  .page-checkout .checkout-step.is-disabled .checkout-step__name,
  .page-checkout .checkout-step.is-disabled .checkout-step__preview,
  .page-checkout .checkout-step.is-disabled .checkout-step__chevron {
    color: #9C9CB1;
    opacity: 1;
  }
  .page-checkout .checkout-step.is-ready .checkout-step__name,
  .page-checkout .checkout-step.is-ready .checkout-step__preview {
    color: var(--color-black);
  }
  .page-checkout .checkout-step.is-ready .checkout-step__preview {
    color: #9C9CB1;
  }
  .page-checkout .checkout-step__name {
    font-size: 16rem;
    line-height: 1.3;
  }
  .page-checkout .checkout-step__preview {
    margin: 4rem 0 0;
    padding: 0;
    width: 100%;
    font-size: 13rem;
    color: #9C9CB1;
    white-space: pre-line;
  }
  .page-checkout .checkout-step.is-open .checkout-step__preview { display: none; }
  .page-checkout .checkout-step:not(.is-open) .checkout-step__preview { display: block; }
  .page-checkout[data-screen="home"] .checkout-step__body { display: none !important; }
  .page-checkout .checkout-step__chevron {
    width: 12rem;
    height: 12rem;
    margin-top: 4rem;
    transform: none;
    opacity: 0.45;
  }
  .page-checkout .checkout-step.is-open .checkout-step__chevron {
    transform: none;
  }
  .page-checkout .checkout-d-delivery { display: none; }
  .page-checkout .checkout-d-city {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    width: 100%;
    margin: 0 0 16rem;
  }
  .page-checkout .checkout-d-city .checkout-field__label {
    max-width: none;
    padding-top: 0;
    font-size: 14rem;
    font-weight: 400;
  }
  .page-checkout .checkout-d-city .checkout-field__control {
    display: flex;
    align-items: center;
    gap: 12rem;
    width: 100%;
    min-height: 44rem;
    padding: 0;
    border: 0;
    border-bottom: 1rem solid #e4e6ed;
    overflow: visible;
  }
  .page-checkout .checkout-d-city .checkout-field__location {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
  }
  .page-checkout .checkout-d-city .checkout-field__change {
    align-self: center;
    min-height: 36rem;
    line-height: 36rem;
  }
  .page-checkout .checkout-d-city .checkout-field__location .bx-ui-sls-container {
    overflow: visible;
  }
  .page-checkout .checkout-d-city .bx-ui-sls-pane {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 40;
    width: min(100vw - 32rem, 360rem);
    max-height: 240rem;
    overflow-y: auto;
    background: #fff;
  }
  .page-checkout .checkout-m-delivery { display: flex; flex-direction: column; gap: 22rem; }
  .page-checkout .checkout-field {
    align-items: stretch;
    width: 100%;
  }
  .page-checkout .checkout-field__control,
  .page-checkout .checkout-uline {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }
  .page-checkout [data-entity="address-field"],
  .page-checkout .checkout-field--address {
    display: flex !important;
    flex-direction: column;
    gap: 8rem;
    margin: 0 0 12rem;
  }
  .page-checkout .checkout-field--comment {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-top: 4rem;
  }
  .page-checkout .checkout-field--comment .checkout-field__label {
    max-width: none;
    padding-top: 0;
    font-size: 14rem;
  }
  .page-checkout .checkout-field--comment .checkout-field__control {
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .page-checkout .checkout-uline--comment {
    border-bottom-color: #e4e6ed;
  }
  .page-checkout .checkout-pay--desktop { display: none; }
  .page-checkout .checkout-pay--mobile { display: flex; flex-direction: column; }
  .page-checkout .checkout-consent,
  .page-checkout .checkout-step__hint,
  .page-checkout .checkout-form__submit { display: none; }
  .page-checkout .checkout-field--contacts .checkout-field__label,
  .page-checkout .checkout-field--data .checkout-field__label {
    font-size: 20rem;
    font-weight: 400;
    margin-bottom: 8rem;
    max-width: none;
    padding-top: 0;
  }
  .page-checkout .checkout-field--contacts .checkout-field__control,
  .page-checkout .checkout-field--data .checkout-field__control {
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .page-checkout .checkout-field--contacts,
  .page-checkout .checkout-field--data {
    gap: 12rem;
    margin-bottom: 28rem;
  }
  .page-checkout .order-summary {
    background: transparent;
    padding: 0;
    width: 100%;
  }
  .page-checkout .order-summary--sticky { position: static; }
  .page-checkout .order-summary__title {
    margin: 0 0 14rem;
    font-size: 17rem;
    font-weight: 400;
    text-transform: lowercase;
  }
  .page-checkout [data-entity="pickup-field"][hidden] { display: none !important; }
  .page-checkout [data-entity="pickup-field"]:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    gap: 8rem;
    margin: 4rem 0 16rem;
  }
  .page-checkout .checkout-field--pickup .checkout-field__label {
    max-width: none;
    width: 100%;
    padding-top: 0;
    font-size: 14rem;
    font-weight: 400;
  }
  .page-checkout .checkout-field--pickup .checkout-field__control {
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .page-checkout .checkout-pickup {
    flex-direction: column;
    align-items: stretch;
    gap: 10rem;
  }
  .page-checkout .checkout-pickup__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 40rem;
    padding: 0 20rem;
    border-radius: 6rem;
    background: #000;
    color: #fff;
    font-size: 14rem;
    text-transform: lowercase;
  }
  .page-checkout .checkout-pickup__link:active {
    background: #9eb5e9;
  }
  .page-checkout .checkout-field--pickup .checkout-field__change {
    align-self: flex-start;
    margin-top: 0;
  }
  .page-checkout .order-summary .cart-drawer__promo {
    margin-bottom: 18rem;
    width: 100%;
    min-height: 44rem;
    border-color: #c8c8c8;
    background: transparent;
    color: #9C9CB1;
    font-size: 12rem;
    letter-spacing: 0.06em;
  }
  .page-checkout .order-summary .cart-drawer__promo-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8rem;
    margin-bottom: 16rem;
    width: 100%;
  }
  .page-checkout .order-summary__rows {
    display: flex;
    flex-direction: column;
  }
  .page-checkout .order-summary__row--delivery { display: flex; }
  .page-checkout:not(.has-delivery) .order-summary__row--delivery { display: none; }
  .page-checkout .order-summary__dots {
    height: 12rem;
    color: #9C9CB1;
    background-image: radial-gradient(circle, currentColor 0.85rem, transparent 1rem);
    background-size: 5rem 2rem;
    background-position: left 0.7em;
    background-repeat: repeat-x;
  }
  .page-checkout .order-summary__row--discount,
  .page-checkout .order-summary__row--discount .order-summary__dots {
    color: var(--color-sale-note);
  }
  .page-checkout .order-summary__total {
    margin: 16rem 0 0;
  }
  .page-checkout .order-summary__total span:last-child {
    font-size: 22rem;
  }
  .page-checkout .order-summary__checkout,
  .page-checkout .checkout-form__submit {
    display: none;
  }
  .page-checkout .checkout-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-header) + 5);
    padding: 12rem max(16rem, var(--safe-left)) calc(12rem + var(--safe-bottom)) max(16rem, var(--safe-right));
    background: var(--color-white);
  }
  .checkout-sticky-cta .btn {
    width: 100%;
    min-height: 48rem;
    border-radius: 6rem;
  }
  .checkout-sticky-cta .btn.is-disabled,
  .checkout-sticky-cta .btn:disabled {
    background: #c8c8c8;
    color: #fff;
    pointer-events: none;
  }

  .page-checkout[data-screen="delivery"] .order-summary { display: none; }
  .page-checkout[data-screen="delivery"].has-delivery .order-summary { display: block; }
  .page-checkout[data-screen="delivery"] .checkout-step:not([data-step="delivery"]),
  .page-checkout[data-screen="buyer"] .checkout-step:not([data-step="buyer"]),
  .page-checkout[data-screen="payment"] .checkout-step:not([data-step="payment"]) {
    display: none;
  }
  .page-checkout[data-screen="delivery"] .checkout-step[data-step="delivery"],
  .page-checkout[data-screen="buyer"] .checkout-step[data-step="buyer"],
  .page-checkout[data-screen="payment"] .checkout-step[data-step="payment"] {
    padding-left: 0;
  }
  .page-checkout[data-screen="delivery"] .checkout-step[data-step="delivery"]::before,
  .page-checkout[data-screen="buyer"] .checkout-step[data-step="buyer"]::before,
  .page-checkout[data-screen="payment"] .checkout-step[data-step="payment"]::before {
    display: none;
  }
  .page-checkout[data-screen="delivery"] .checkout-step__toggle,
  .page-checkout[data-screen="buyer"] .checkout-step__toggle,
  .page-checkout[data-screen="payment"] .checkout-step__toggle {
    display: none;
  }
  .page-checkout[data-screen="delivery"] .checkout-step__body,
  .page-checkout[data-screen="buyer"] .checkout-step__body,
  .page-checkout[data-screen="payment"] .checkout-step__body {
    display: block !important;
    padding: 0;
  }
  .page-checkout[data-screen="buyer"] .order-summary,
  .page-checkout[data-screen="payment"] .order-summary,
  .page-checkout[data-screen="map"] .checkout-page__layout {
    display: none;
  }
  .page-checkout[data-screen="map"] { padding-bottom: 0; }

  .checkout-m-address {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr) 12rem;
    gap: 12rem;
    align-items: center;
    width: 100%;
    padding: 4rem 0 16rem;
    border: 0;
    background: none;
    text-align: left;
  }
  .checkout-m-address--input {
    grid-template-columns: 18rem minmax(0, 1fr);
    cursor: text;
  }
  .checkout-m-address__field {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14rem;
    line-height: 1.35;
    color: var(--color-black);
    padding: 0;
  }
  .checkout-m-address__field:focus { outline: none; }
  .checkout-m-address__field::placeholder { color: #9C9CB1; }
  .checkout-m-address__radio {
    width: 16rem;
    height: 16rem;
    border: 1rem solid #c8c8c8;
    border-radius: 50%;
  }
  .checkout-m-address.is-selected .checkout-m-address__radio {
    border-color: var(--color-black);
    box-shadow: inset 0 0 0 4rem var(--color-black);
  }
  .checkout-m-address__text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 14rem;
    color: #9C9CB1;
  }
  .checkout-m-address.is-selected .checkout-m-address__text { color: var(--color-black); }
  .checkout-m-address__city {
    font-size: 12rem;
    color: #9C9CB1;
  }
  .page-checkout .checkout-field--address {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-top: 4rem;
  }
  .page-checkout .checkout-field--address .checkout-field__label {
    max-width: none;
    padding-top: 0;
    font-size: 14rem;
  }
  .page-checkout .checkout-field--address .checkout-field__control {
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .checkout-m-methods { display: flex; flex-direction: column; }
  .checkout-m-method {
    border-top: 1rem solid #ececec;
  }
  .checkout-m-method:last-child { border-bottom: 1rem solid #ececec; }
  .checkout-m-method__head {
    display: grid;
    grid-template-columns: 18rem auto minmax(0, 1fr) auto 12rem;
    gap: 8rem;
    align-items: center;
    width: 100%;
    min-height: 56rem;
    padding: 12rem 0;
    border: 0;
    background: none;
    text-align: left;
  }
  .checkout-m-method[data-method="pickup"] .checkout-m-method__head {
    grid-template-columns: 18rem auto minmax(0, 1fr) auto;
  }
  .checkout-m-method__check {
    width: 16rem;
    height: 16rem;
    border: 1rem solid var(--color-black);
    border-radius: 6rem;
  }
  .checkout-m-method.is-selected .checkout-m-method__check {
    background: var(--color-black);
  }
  .checkout-m-method__label {
    font-size: 14rem;
    white-space: nowrap;
  }
  .checkout-m-method__meta {
    font-size: 13rem;
    color: #9C9CB1;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 4.75em;
  }
  .checkout-m-method.is-open .checkout-m-method__chevron { transform: rotate(-90deg); }
  .checkout-m-method__chevron { transform: rotate(90deg); }
  .checkout-kce {
    display: inline-flex;
    align-items: center;
    gap: 6rem;
    min-width: 0;
    font-size: 12rem;
    color: #e85a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .checkout-kce__mark {
    flex: 0 0 auto;
    padding: 1rem 4rem;
    border: 1.5rem solid #e85a1a;
    border-radius: 6rem;
    font-size: 10rem;
    font-weight: 400;
    letter-spacing: 0.04em;
  }
  .checkout-m-tariff {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 10rem;
    align-items: start;
    padding: 10rem 0 10rem 26rem;
    cursor: pointer;
  }
  .checkout-m-tariff input { position: absolute; opacity: 0; pointer-events: none; }
  .checkout-m-tariff__check {
    width: 16rem;
    height: 16rem;
    margin-top: 2rem;
    border: 1rem solid var(--color-black);
    border-radius: 6rem;
  }
  .checkout-m-tariff:has(input:checked) .checkout-m-tariff__check {
    background: var(--color-black);
  }
  .checkout-m-tariff__row {
    display: flex;
    justify-content: space-between;
    gap: 12rem;
    font-size: 14rem;
  }
  .checkout-m-tariff__term {
    display: block;
    margin-top: 2rem;
    font-size: 12rem;
    color: #9C9CB1;
  }
  .checkout-m-comment {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    font-size: 14rem;
  }
  .checkout-m-comment input {
    width: 100%;
    padding: 8rem 0 10rem;
    border: 0;
    border-bottom: 1rem solid #d8d8d8;
    font: inherit;
    background: transparent;
  }
  .checkout-m-comment input:focus { outline: none; border-bottom-color: var(--color-black); }
  .checkout-m-slots { display: flex; flex-direction: column; gap: 12rem; }
  .checkout-m-pills {
    display: flex;
    gap: 8rem;
    overflow-x: auto;
    padding-bottom: 4rem;
    scrollbar-width: none;
  }
  .checkout-m-pills::-webkit-scrollbar { display: none; }
  .checkout-m-pill {
    flex: 0 0 auto;
    min-height: 36rem;
    padding: 8rem 14rem;
    border: 1rem solid #d8d8d8;
    border-radius: 6rem;
    background: var(--color-white);
    font-size: 13rem;
    white-space: nowrap;
  }
  .checkout-m-pill.is-selected {
    background: var(--color-black);
    border-color: var(--color-black);
    color: #fff;
  }

  .checkout-mpay {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 12rem;
    padding: 16rem 0;
    border-bottom: 1rem solid #ececec;
    cursor: pointer;
  }
  .checkout-mpay input { position: absolute; opacity: 0; pointer-events: none; }
  .checkout-mpay__check {
    width: 16rem;
    height: 16rem;
    margin-top: 2rem;
    border: 1rem solid var(--color-black);
    border-radius: 6rem;
  }
  .checkout-mpay:has(input:checked) .checkout-mpay__check { background: var(--color-black); }
  .checkout-mpay__body { display: flex; flex-direction: column; gap: 10rem; min-width: 0; }
  .checkout-mpay__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12rem;
  }
  .checkout-mpay__text { font-size: 14rem; }
  .checkout-mpay__hint {
    font-size: 12rem;
    color: var(--color-sale-note);
  }
  .checkout-mpay__save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12rem;
    font-size: 13rem;
  }
  .checkout-mpay__save small {
    display: block;
    margin-top: 2rem;
    font-size: 11rem;
    color: #9C9CB1;
  }
  .checkout-toggle {
    width: 40rem;
    height: 24rem;
    border: 0;
    border-radius: 6rem;
    background: #d8d8d8;
    position: relative;
  }
  .checkout-toggle::after {
    content: "";
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: #fff;
  }
  .checkout-toggle[aria-pressed="true"] { background: var(--color-black); }
  .checkout-toggle[aria-pressed="true"]::after { left: 18rem; }

  .checkout-map {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-header) + 20);
    background: #fff;
    flex-direction: column;
  }
  .page-checkout[data-screen="map"] .checkout-map {
    display: flex !important;
  }
  .checkout-map__head {
    display: grid;
    grid-template-columns: 28rem minmax(0, 1fr);
    gap: 8rem;
    align-items: start;
    padding: calc(12rem + var(--safe-top)) 16rem 10rem;
  }
  .checkout-map__canvas {
    position: relative;
    flex: 1 1 auto;
    min-height: 240rem;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(210, 205, 190, 0.45) 1rem, transparent 1rem) 0 0 / 48rem 48rem,
      linear-gradient(rgba(210, 205, 190, 0.45) 1rem, transparent 1rem) 0 0 / 48rem 48rem,
      #e4e0d4;
  }
  .checkout-map__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .checkout-map.is-searching .checkout-map__sheet {
    flex: 0 0 auto;
    max-height: 62%;
  }
  .checkout-map__brand {
    position: absolute;
    top: 12rem;
    left: 12rem;
    font-size: 11rem;
    color: #c00;
    background: rgba(255,255,255,0.85);
    padding: 2rem 6rem;
  }
  .checkout-map__pin {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 22rem;
    height: 22rem;
    margin: -22rem 0 0 -11rem;
    background: #111;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
  }
  .checkout-map__zoom {
    position: absolute;
    right: 12rem;
    bottom: 24rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
  }
  .checkout-map__zoom button {
    width: 40rem;
    height: 40rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 20rem;
    line-height: 1;
  }
  .checkout-map__locate::before {
    content: "";
    display: block;
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
    border: 2rem solid #111;
    border-radius: 50%;
    box-shadow: 0 0 0 3rem #111;
  }
  .checkout-map__sheet {
    background: #fff;
    padding: 8rem 16rem calc(88rem + var(--safe-bottom));
  }
  .checkout-map__handle,
  .checkout-addresses .checkout-map__handle {
    display: block;
    width: 40rem;
    height: 4rem;
    margin: 6rem auto 14rem;
    border-radius: 6rem;
    background: #d8d8d8;
  }
  .checkout-map__search {
    position: relative;
    display: block;
  }
  .checkout-map__search input {
    width: 100%;
    padding: 10rem 28rem 10rem 0;
    border: 0;
    border-bottom: 1rem solid #d8d8d8;
    font: inherit;
    font-size: 14rem;
    background: transparent;
  }
  .checkout-map__search input:focus { outline: none; border-bottom-color: #111; }
  .checkout-map__clear {
    position: absolute;
    right: 0;
    top: 6rem;
    width: 28rem;
    height: 28rem;
    border: 0;
    background: none;
    font-size: 20rem;
    color: #9C9CB1;
  }
  .checkout-map__suggest {
    list-style: none;
    margin: 8rem 0 0;
    padding: 0;
    max-height: 240rem;
    overflow: auto;
  }
  .checkout-map__suggest button {
    width: 100%;
    padding: 10rem 0;
    border: 0;
    border-bottom: 1rem solid #f0f0f0;
    background: none;
    text-align: left;
  }
  .checkout-map__suggest strong { color: #5b9bd5; font-weight: 400; }
  .checkout-map__suggest small {
    display: block;
    margin-top: 2rem;
    font-size: 12rem;
    color: #9C9CB1;
  }

  .checkout-addresses {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-header) + 22);
  }
  .checkout-addresses.is-open { display: block !important; }
  .checkout-addresses__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
  }
  .checkout-addresses__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8rem 16rem calc(16rem + var(--safe-bottom));
    background: #fff;
    border-radius: 16rem 16rem 0 0;
  }
  .checkout-addresses__panel h2 {
    margin: 0 0 12rem;
    font-size: 20rem;
    font-weight: 400;
  }
  .checkout-addresses__list {
    list-style: none;
    margin: 0 0 16rem;
    padding: 0;
  }
  .checkout-addresses__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10rem;
    align-items: start;
    padding: 12rem 0;
    border-bottom: 1rem solid #ececec;
  }
  .checkout-addresses__pick {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 10rem;
    align-items: start;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
  }
  .checkout-addresses__radio {
    width: 16rem;
    height: 16rem;
    margin-top: 3rem;
    border: 1rem solid #c8c8c8;
    border-radius: 50%;
  }
  .checkout-addresses__item.is-selected .checkout-addresses__radio {
    border-color: #111;
    box-shadow: inset 0 0 0 4rem #111;
  }
  .checkout-addresses__kind { display: block; font-size: 14rem; }
  .checkout-addresses__line { display: block; font-size: 13rem; }
  .checkout-addresses__city { display: block; font-size: 12rem; color: #9C9CB1; }
  .checkout-addresses__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4rem;
  }
  .checkout-addresses__actions button {
    border: 0;
    background: none;
    font-size: 13rem;
    color: #9C9CB1;
    padding: 0;
  }
  .checkout-addresses__panel .btn--ghost {
    margin-bottom: 8rem;
    border: 1rem solid #111;
  }

  .page-checkout[data-screen="map"] .checkout-sticky-cta { z-index: calc(var(--z-header) + 21); }

  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 12rem 0 calc(12rem + var(--safe-bottom));
  }
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 12rem;
  }
  .cookie-banner__accept {
    width: auto;
  }

  /* Каталог 2 колонки уже есть; усилим промо-tall */
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
  .catalog-promo,
  .product-card--catalog,
  .product-card {
    width: 100%;
  }
  .catalog-quick { display: none; }

  /* Cosmo mobile */
  .cosmo-layout {
    grid-template-columns: 1fr;
  }
  .cosmo-aside { order: -1; }
}

/* ------------------------------------------------------------------
 * Scenarios hub — каталог ссылок на визуальный просмотр
 * ------------------------------------------------------------------ */
.page-scenarios {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(158, 181, 233, 0.28), transparent 55%),
    linear-gradient(180deg, #f5f6fb 0%, #ffffff 42%, #eef1f8 100%);
}

.scenarios {
  padding-block: 72rem 96rem;
  max-width: 920rem;
}

.scenarios__brand {
  margin: 0 0 12rem;
  font-size: 13rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scenarios__title {
  margin: 0 0 12rem;
  font-size: 36rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.scenarios__lead {
  margin: 0 0 48rem;
  max-width: 38em;
  font-size: 15rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.scenarios__lead code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--color-black);
}

.scenarios__section + .scenarios__section {
  margin-top: 40rem;
  padding-top: 36rem;
  border-top: 1rem solid var(--color-border);
}

.scenarios__section-title {
  margin: 0 0 20rem;
  font-size: 18rem;
  font-weight: 400;
}

.scenarios__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.scenarios__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 12rem 24rem;
  align-items: baseline;
  padding: 14rem 0;
  border-bottom: 1rem solid rgba(0, 0, 0, 0.06);
}

.scenarios__name {
  font-size: 15rem;
  line-height: 1.35;
}

.scenarios__link {
  font-size: 13rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.15s ease;
}

.scenarios__link:hover {
  color: var(--color-accent-active);
}

.scenarios__note {
  margin: 0 0 12rem;
  font-size: 14rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 42em;
}

.scenarios__note a {
  color: var(--color-black);
}

.scenarios__note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

@media (max-width: 720px) {
  .scenarios {
    padding-block: 40rem 64rem;
  }

  .scenarios__title {
    font-size: 28rem;
  }

  .scenarios__item {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Внутренние текстовые страницы без собственного hero.
   Только vertical — горизонтальные отступы даёт .container (рабочая область). */
.page-inner {
  padding-block: 32rem 64rem;
}
.page-inner__title {
  margin: 16rem 0 24rem;
  font-size: 32rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.page-inner > h2,
.page-inner > h3,
.page-inner > h4 {
  margin: 32rem 0 12rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-black);
}
.page-inner > h2:first-of-type {
  margin-top: 8rem;
}
.page-inner > h3,
.page-inner > h4 {
  font-size: 18rem;
  margin-top: 28rem;
}
.page-inner > p,
.page-inner > ul,
.page-inner > ol {
  font-size: 16rem;
  line-height: 1.55;
}
.page-inner > ul,
.page-inner > ol {
  margin-bottom: 20rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 48rem 0;
  text-align: center;
}
.catalog-seo {
  padding-block: 24rem 64rem;
  font-size: 14rem;
  line-height: 1.5;
}
.catalog-seo p {
  margin: 0 0 14rem;
}
.catalog-seo p:last-child { margin-bottom: 0; }
.catalog-seo img,
.catalog-seo table,
.catalog-seo iframe {
  max-width: 100%;
}
.catalog-pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16rem;
  padding: 32rem 0;
}
.catalog-pager__pages {
  display: flex;
  gap: 12rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.catalog-pager__pages a,
.catalog-pager__pages span {
  font-size: 14rem;
}

.page-inner img,
.page-inner iframe,
.article-detail img,
.promo-detail__content img,
.brand-detail__content img {
  max-width: 100%;
  height: auto;
}
.page-inner iframe {
  display: block;
  width: 100%;
}
.page-inner p,
.article-detail__content p,
.brand-detail__content p,
.promo-detail__content p {
  margin: 0 0 14rem;
}
.contacts_map {
  margin: 0 0 32rem;
}

.page-contacts .site-header { background: var(--color-white); }
.contacts-page {
  padding-top: 28rem;
  padding-bottom: 80rem;
  background: var(--color-white);
}
.contacts-page .breadcrumbs { margin-bottom: 20rem; }
.contacts-page__title {
  margin: 0 0 40rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--color-black);
}
.contacts-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48rem 72rem;
  align-items: start;
  margin-bottom: 48rem;
}
.contacts-info {
  margin: 0;
  padding: 0;
}
.contacts-info > div {
  display: grid;
  grid-template-columns: 180rem minmax(0, 1fr);
  gap: 12rem 24rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #ececf2;
  font-size: 14rem;
  line-height: 1.45;
}
.contacts-info > div:first-child {
  border-top: 1rem solid #ececf2;
}
.contacts-info dt {
  color: var(--color-text-muted);
  font-weight: 400;
  text-transform: lowercase;
}
.contacts-info dd {
  margin: 0;
  color: var(--color-text);
}
.contacts-info a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.contacts-info a:hover {
  color: var(--color-black);
}
.contacts-page__note {
  margin-top: 28rem;
  padding: 24rem 28rem;
  background: var(--color-news-bg, #e1e4f2);
  border-radius: var(--radius);
  font-size: 14rem;
  line-height: 1.5;
}
.contacts-page__note p {
  margin: 0 0 12rem;
}
.contacts-page__note p:last-child {
  margin-bottom: 0;
}
.contacts-page__note a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.contacts-form {
  scroll-margin-top: calc(var(--header-offset) + 16rem);
}
.contacts-form__title {
  margin: 0 0 24rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.contacts-form__desc {
  margin: 0 0 20rem;
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.contacts-form__status {
  margin: 0 0 20rem;
  font-size: 14rem;
  line-height: 1.45;
}
.contacts-form__status--error { color: #d21519; }
.contacts-form__status--ok { color: #14a85a; }
.contacts-form__body {
  display: flex;
  flex-direction: column;
  gap: 20rem;
}
.contacts-form__field {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.contacts-form__label {
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.contacts-form__req { color: var(--color-text-muted); }
.contacts-form__field input[type="text"],
.contacts-form__field input[type="email"],
.contacts-form__field input[type="tel"],
.contacts-form__field textarea,
.contacts-form .inputtext,
.contacts-form .inputtextarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8rem 0 10rem;
  font-size: 14rem;
  font-family: var(--font-family);
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-bottom: 1rem solid #c8c8c8;
  border-radius: 0;
  outline: none;
  resize: vertical;
}
.contacts-form__field table,
.contacts-form__field tbody,
.contacts-form__field tr,
.contacts-form__field td {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}
.contacts-form__field textarea,
.contacts-form .inputtextarea {
  min-height: 96rem;
}
.contacts-form__field input:focus,
.contacts-form__field textarea:focus {
  border-bottom-color: var(--color-black);
}
.contacts-form__footer {
  margin-top: 28rem;
}
.contacts-form__footer .btn {
  min-width: 200rem;
  text-transform: lowercase;
}
.contacts-form input[type="reset"],
.contacts-form button[name="web_form_apply"],
.contacts-form .btn[name="web_form_apply"] {
  display: none !important;
}
.contacts-page__map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-media, #f0f0f8);
  min-height: 400rem;
}
.contacts-yandex-map,
.contacts-yandex-map__canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.contacts-page__map .bx-yandex-view-layout,
.contacts-page__map .bx-yandex-map,
.contacts-page__map .contacts-yandex-map,
.contacts-page__map .contacts-yandex-map__canvas {
  display: block;
  width: 100% !important;
  height: 480rem !important;
  max-width: 100%;
  border: 0;
}
.contacts-yandex-map__fallback {
  margin: 0;
  padding: 48rem 24rem;
  text-align: center;
  font-size: 14rem;
  color: var(--color-text-muted);
}
/* Яндекс: убрать рекламу «В Карты / Такси / API» (copyright оставляем) */
.contacts-page__map [class*="map-copyrights-promo"],
.contacts-page__map [class*="gototech"],
.contacts-page__map [class*="gotoymaps"],
.contacts-page__map [class*="gototaxi"],
.page-contacts [class*="map-copyrights-promo"],
.page-contacts [class*="gototech"],
.page-contacts [class*="gotoymaps"],
.page-contacts [class*="gototaxi"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

@media (max-width: 800px) {
  .contacts-page {
    padding-top: 16rem;
    padding-bottom: 48rem;
  }
  .contacts-page__title {
    font-size: 28rem;
    margin-bottom: 28rem;
  }
  .contacts-page__grid {
    grid-template-columns: 1fr;
    gap: 40rem;
    margin-bottom: 32rem;
  }
  .contacts-info > div {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  .contacts-page__note {
    padding: 20rem;
  }
  .contacts-page__map .module-map,
  .contacts-page__map .map-wr,
  .contacts-page__map .bx-google-map,
  .contacts-page__map .bx-yandex-view-layout,
  .contacts-page__map .bx-yandex-map,
  .contacts-page__map .contacts-yandex-map,
  .contacts-page__map .contacts-yandex-map__canvas,
  .contacts-page__map iframe,
  .contacts-page__map-frame {
    height: 280rem !important;
  }
  .contacts-form__footer .btn { width: 100%; }
}

.content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40rem 32rem;
}
@media (max-width: 1100px) {
  .content-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32rem 24rem; }
}
.content-card__media {
  display: block;
  margin-bottom: 12rem;
  overflow: hidden;
  border-radius: 6rem;
  background: #f3f4f8;
}
.content-card__media img {
  display: block;
  width: 100%;
  height: auto;
}
.content-card__date {
  display: block;
  margin-bottom: 8rem;
  font-size: 13rem;
  color: #9C9CB1;
}
.content-card__title {
  margin: 0 0 8rem;
  font-size: 20rem;
  font-weight: 400;
  line-height: 1.3;
}
.content-card__title a { color: inherit; }
.content-card__excerpt {
  margin: 0;
  font-size: 14rem;
  line-height: 1.5;
  color: #4a4e5c;
}

.brands-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--brand-gap);
  align-items: stretch;
}
.brands-page__grid .brands__link {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 134 / 91;
  padding: 18rem 16rem;
  box-sizing: border-box;
}
.brands-page__grid .brands__link span {
  padding: 0;
  font-size: 14rem;
  line-height: 1.3;
  color: var(--color-text-muted);
  text-align: center;
}
.brands-page__grid .brands__logo,
.brands-page__grid .brands__logo--photo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
}
.brands-page__grid .brands__logo--hover {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.page-certificates .site-header { background: var(--color-white); }
.page-certificates .site-workarea {
  min-width: 0;
  overflow-x: clip;
}

/* Страница сертификатов (нормальная разметка с .container) */
.certificates-page {
  padding-top: 28rem;
  padding-bottom: 0;
  background: var(--color-white);
}
.certificates-page .breadcrumbs { margin-bottom: 20rem; }
.certificates-page__title {
  margin: 0 0 24rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--color-black);
}
.certificates-page__lead {
  max-width: 760rem;
  margin: 0 0 48rem;
  font-size: 16rem;
  line-height: 1.55;
  color: var(--color-text, #111118);
}
.certificates-page__lead p {
  margin: 0 0 16rem;
}
.certificates-page__lead p:last-child {
  margin-bottom: 0;
}
.certificates-page__lead b,
.certificates-page__lead strong {
  font-weight: 600;
}
.certificates-page__nav {
  margin-top: 64rem;
  padding-bottom: 64rem;
}

/* Fallback: на проде контент иногда без обёртки .certificates-page */
body.page-certificates .site-workarea:not(:has(.certificates-page)) {
  padding-top: 28rem;
  padding-bottom: 64rem;
}
body.page-certificates .site-workarea:not(:has(.certificates-page)) > p {
  max-width: 760rem;
  margin: 0 0 40rem;
  font-size: 16rem;
  line-height: 1.55;
}
body.page-certificates .site-workarea:not(:has(.certificates-page)) > p:first-of-type::before {
  content: 'сертификаты';
  display: block;
  margin: 0 0 20rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  color: var(--color-black);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32rem 28rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.certificates-grid__item {
  display: flex;
  flex-direction: column;
  gap: 14rem;
  min-width: 0;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.certificates-grid__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius, 6rem);
  background: var(--color-bg-media, #ececf8);
  aspect-ratio: 3 / 4;
  padding: 18rem 16rem;
  box-sizing: border-box;
  line-height: 0;
}
.certificates-grid__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease;
}
.certificates-grid__item:hover .certificates-grid__media img,
.certificates-grid__item:focus-visible .certificates-grid__media img {
  transform: scale(1.03);
}
.certificates-grid__meta {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  min-width: 0;
}
.certificates-grid__eyebrow {
  font-size: 12rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--color-text-muted, #8b8b9a);
}
.certificates-grid__name {
  font-size: 15rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-black);
  overflow-wrap: anywhere;
}
.certificates-grid__item:hover .certificates-grid__name,
.certificates-grid__item:focus-visible .certificates-grid__name {
  opacity: 0.65;
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48rem 24rem;
}
.cert-lightbox[hidden] { display: none !important; }
.cert-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(17, 17, 24, 0.72);
  cursor: zoom-out;
}
.cert-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16rem;
  width: min(920rem, 100%);
  max-height: 100%;
}
.cert-lightbox__figure {
  margin: 0;
  width: 100%;
  max-height: calc(100vh - 120rem);
  line-height: 0;
}
.cert-lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160rem);
  width: auto;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: var(--color-white);
  border-radius: var(--radius, 6rem);
}
.cert-lightbox__caption {
  margin: 0;
  max-width: 640rem;
  padding-inline: 8rem;
  font-size: 14rem;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
}
.cert-lightbox__close {
  position: absolute;
  top: calc(16rem + var(--safe-top, 0));
  right: calc(16rem + var(--safe-right, 0));
  z-index: 2;
  width: 44rem;
  height: 44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0.85;
}
.cert-lightbox__close:hover { opacity: 1; }
.cert-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44rem;
  height: 44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 32rem;
  line-height: 1;
  opacity: 0.85;
  transform: translateY(-50%);
}
.cert-lightbox__nav:hover { opacity: 1; }
.cert-lightbox__nav--prev { left: max(8rem, var(--safe-left, 0)); }
.cert-lightbox__nav--next { right: max(8rem, var(--safe-right, 0)); }
.cert-lightbox__nav[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28rem 20rem;
  }
}

@media (max-width: 800px) {
  .certificates-page {
    padding-top: 16rem;
  }
  .certificates-page__title {
    font-size: 28rem;
    margin-bottom: 16rem;
  }
  .certificates-page__lead {
    margin-bottom: 28rem;
    font-size: 14rem;
    line-height: 1.5;
  }
  .certificates-page__nav {
    margin-top: 40rem;
    padding-bottom: 40rem;
  }
  body.page-certificates .site-workarea:not(:has(.certificates-page)) {
    padding-top: 16rem;
    padding-bottom: 40rem;
  }
  body.page-certificates .site-workarea:not(:has(.certificates-page)) > p {
    margin-bottom: 28rem;
    font-size: 14rem;
    line-height: 1.5;
  }
  body.page-certificates .site-workarea:not(:has(.certificates-page)) > p:first-of-type::before {
    font-size: 28rem;
    margin-bottom: 16rem;
  }
  .certificates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20rem 12rem;
  }
  .certificates-grid__media {
    padding: 12rem 10rem;
    border-radius: 10rem;
  }
  .certificates-grid__item {
    gap: 10rem;
  }
  .certificates-grid__eyebrow {
    font-size: 11rem;
  }
  .certificates-grid__name {
    font-size: 13rem;
  }
  .cert-lightbox {
    padding: calc(56rem + var(--safe-top, 0)) 12rem calc(20rem + var(--safe-bottom, 0));
  }
  .cert-lightbox__nav { display: none; }
  .cert-lightbox__figure img {
    max-height: calc(100vh - 140rem);
  }
}

@media (max-width: 480px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 24rem;
    max-width: 360rem;
    margin-inline: auto;
  }
  .certificates-grid__media {
    padding: 16rem 14rem;
  }
}

.page-help .site-header { background: var(--color-white); }
.help-page {
  padding-top: 28rem;
  padding-bottom: 80rem;
  background: var(--color-white);
}
.help-page .breadcrumbs { margin-bottom: 20rem; }
.help-page__title {
  margin: 0 0 40rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--color-black);
}
.help-page--doc .help-page__title {
  margin-bottom: 16rem;
  max-width: 840rem;
}
.help-page__lead {
  margin: 0 0 40rem;
  /* max-width: 840px; */
  font-size: 16rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.help-page--doc .help-page__main h2 {
  margin: 32rem 0 16rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
}
.help-page--doc .help-page__main h2:first-child {
  margin-top: 0;
}
.help-page--doc .help-page__main h3 {
  margin: 28rem 0 12rem;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.3;
}
/* списки help-page--doc — общие стили CMS-контента выше */
.help-page__layout {
  display: grid;
  grid-template-columns: 220rem minmax(0, 1fr);
  gap: 48rem 64rem;
  align-items: start;
}
.help-nav {
  position: sticky;
  top: 96rem;
  display: flex;
  flex-direction: column;
}
.help-nav a {
  display: block;
  padding: 12rem 0;
  font-size: 14rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  border-bottom: 1rem solid #ececf2;
}
.help-nav a:hover {
  color: var(--color-black);
}
.help-nav a.is-current {
  color: var(--color-black);
}
.help-page__main {
  min-width: 0;
  /* max-width: 840px; */
  font-size: 16rem;
  line-height: 1.55;
}
.help-page__main p:not(.help-page__lead) {
  margin: 0 0 14rem;
}
.help-page__main p:last-child {
  margin-bottom: 0;
}
.help-note {
  margin: 0 0 40rem;
  padding: 24rem 28rem;
  background: var(--color-news-bg, #e1e4f2);
  border-radius: var(--radius);
}
.help-note__label {
  margin: 0 0 8rem;
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.help-note p:last-child {
  margin-bottom: 0;
}
.help-section {
  margin: 0 0 40rem;
  padding-bottom: 40rem;
  border-bottom: 1rem solid #ececf2;
}
.help-section:last-of-type {
  margin-bottom: 32rem;
}
.help-section__title {
  margin: 0 0 20rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--color-black);
}
.help-section__lead {
  margin: 0 0 20rem;
}
.help-page__main a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.help-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16rem;
  margin: 0 0 28rem;
  padding: 0;
  list-style: none;
}
.help-section > .help-methods:last-child {
  margin-bottom: 0;
}
.help-method {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 24rem 22rem;
  background: var(--color-news-bg, #e1e4f2);
  border-radius: var(--radius);
}
.help-method__num {
  font-size: 13rem;
  line-height: 1;
  color: var(--color-text-muted);
}
.help-method__title {
  margin: 0;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
}
.help-method__text {
  margin: 0;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.help-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12rem 16rem;
  margin: 0 0 24rem;
  padding: 0;
  list-style: none;
}
.help-rates__item {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 20rem 22rem;
  background: #f7f8fc;
  border-radius: var(--radius);
}
.help-rates__from {
  font-size: 18rem;
  line-height: 1.2;
  color: var(--color-black);
}
.help-rates__text {
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.help-warn {
  margin: 20rem 0 0;
  padding: 16rem 20rem;
  background: #f7f8fc;
  border-radius: var(--radius);
  font-size: 14rem;
  line-height: 1.5;
}
.help-limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24rem 32rem;
}
.help-limits__heading {
  margin: 0 0 12rem;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
  color: var(--color-text-muted);
}
ul.help-list {
  margin: 0 0 20rem;
  padding: 0 0 0 1.15em;
  font-size: 15rem;
  line-height: 1.55;
  list-style: disc;
}
.help-list li + li {
  margin-top: 8rem;
}
.help-steps {
  display: flex;
  flex-direction: column;
  margin: 16rem 0 20rem;
  padding: 0;
  list-style: none;
  border-top: 1rem solid #ececf2;
}
.help-steps__item {
  display: grid;
  grid-template-columns: 180rem minmax(0, 1fr);
  gap: 12rem 24rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #ececf2;
  font-size: 14rem;
  line-height: 1.45;
}
.help-steps__when {
  color: var(--color-text-muted);
}
.help-cta {
  padding: 28rem 32rem;
  background: var(--color-news-bg, #e1e4f2);
  border-radius: var(--radius);
}
.help-cta__title {
  margin: 0 0 8rem;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.help-cta__text {
  margin: 0 0 24rem;
  font-size: 14rem;
  line-height: 1.5;
}
.help-cta .btn {
  min-width: 200rem;
}
.help-section--links {
  margin-top: 40rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.help-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12rem 16rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.help-related a {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 20rem 22rem;
  background: #f7f8fc;
  border-radius: var(--radius);
  color: inherit;
}
.help-related a:hover {
  color: inherit;
  opacity: 0.75;
}
.help-related__title {
  font-size: 16rem;
  line-height: 1.3;
  color: var(--color-black);
}
.help-related__text {
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.info-hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.help-page__main .info-hub a {
  text-decoration: none;
}
.help-page__main--wide {
  max-width: none;
}
.help-page .faq-list {
  max-width: none;
  margin: 0 0 40rem;
}
.help-cta .contacts-form__title,
.help-cta .contacts-form__desc {
  display: none;
}
.help-cta .contacts-form__body {
  display: grid;
  gap: 14rem;
  margin-bottom: 20rem;
}
.help-cta .contacts-form input[type="text"],
.help-cta .contacts-form input[type="email"],
.help-cta .contacts-form input[type="tel"],
.help-cta .contacts-form textarea {
  width: 100%;
  padding: 10rem 0;
  border: 0;
  border-bottom: 1rem solid #c8c8c8;
  background: transparent;
  font: inherit;
  border-radius: 0;
}
.help-cta .contacts-form__label {
  display: block;
  margin-bottom: 4rem;
  font-size: 13rem;
  color: var(--color-text-muted);
}

@media (max-width: 800px) {
  .help-page {
    padding-top: 16rem;
    padding-bottom: 48rem;
  }
  .help-page__title {
    font-size: 28rem;
    margin-bottom: 28rem;
  }
  .help-page__layout {
    grid-template-columns: 1fr;
    gap: 24rem;
  }
  .help-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8rem 20rem;
    padding-bottom: 12rem;
    border-bottom: 1rem solid #ececf2;
  }
  .help-nav a {
    padding: 4rem 0;
    border-bottom: 0;
  }
  .help-nav a.is-current {
    box-shadow: inset 0 -1rem 0 var(--color-black);
  }
  .brands-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brands-page__grid .brands__link {
    width: 100%;
    height: auto;
    aspect-ratio: 134 / 91;
  }
  .help-note {
    padding: 20rem;
    margin-bottom: 32rem;
  }
  .help-section {
    margin-bottom: 28rem;
    padding-bottom: 28rem;
  }
  .help-section__title {
    font-size: 20rem;
    margin-bottom: 16rem;
  }
  .help-methods,
  .help-rates,
  .help-limits,
  .help-related,
  .info-hub {
    grid-template-columns: 1fr;
  }
  .help-section--links {
    margin-top: 28rem;
  }
  .help-steps__item {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .help-cta {
    padding: 20rem;
  }
  .help-cta .btn {
    width: 100%;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  max-width: 840rem;
}
.faq-item {
  border-bottom: 1rem solid #eceff6;
}
.faq-item__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16rem;
  cursor: pointer;
  list-style: none;
  padding: 16rem 0;
  font-size: 16rem;
  line-height: 1.4;
  color: var(--color-black);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__text { min-width: 0; }
.faq-item__chevron {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 4rem;
  color: #9C9CB1;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
  max-width: 720rem;
  padding: 0 28rem 18rem 0;
  font-size: 15rem;
  line-height: 1.55;
  color: var(--color-text);
}
.faq-item__a p { margin: 0 0 12rem; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.faq-item__a ul,
.faq-item__a ol {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin: 0 0 12rem;
  padding: 0;
  list-style: none;
}
.faq-item__a li { position: relative; padding-left: 16rem; }
.faq-item__a ul > li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
}

.article-detail {
  padding-top: 28rem;
  padding-bottom: 64rem;
  background: var(--color-white);
}
.article-detail .breadcrumbs { margin-bottom: 20rem; }
.article-detail__date {
  display: block;
  margin: 0 0 10rem;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-muted, #9C9CB1);
}
.article-detail__title {
  margin: 0 0 28rem;
  max-width: 920rem;
  font-size: 36rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-black);
}
.article-detail[data-entity="article-detail"] .container {
  max-width: 960rem;
}
.article-detail[data-entity="article-detail"] .article-detail__title,
.article-detail[data-entity="article-detail"] .article-detail__content {
  max-width: 760rem;
}
.article-detail__media {
  margin: 0 0 28rem;
  line-height: 0;
}
.article-detail__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius, 6rem);
}
.article-detail__content {
  max-width: none;
  width: 100%;
  font-size: 16rem;
  line-height: 1.55;
}
.article-detail__content h2,
.article-detail__content h3,
.article-detail__content h4 {
  scroll-margin-top: calc(var(--header-offset) + 16rem);
}
.article-detail__content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 16rem auto;
  border-radius: var(--radius, 6rem);
}

.article-gallery {
  margin: 28rem 0 0;
  min-width: 0;
}
.article-gallery__item {
  margin: 0;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 6rem;
  overflow: hidden;
  background: var(--color-bg-media, #ececf8);
}
.article-gallery__link {
  display: block;
  line-height: 0;
  cursor: zoom-in;
}
.article-gallery__item img,
.article-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.article-gallery__item:hover img,
.article-gallery__thumb:hover img {
  transform: scale(1.04);
}
.article-gallery:has(.article-gallery__thumbs) .article-gallery__main {
  display: none;
}
.article-gallery__thumbs,
.article-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10rem;
}
.article-gallery__thumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}
.article-gallery__thumbs > li {
  flex: none;
  width: auto;
  min-width: 0;
}
.article-gallery__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6rem;
  overflow: hidden;
  background: var(--color-bg-media, #ececf8);
  cursor: zoom-in;
}
.article-gallery__main {
  margin: 0;
  max-width: 480rem;
  border-radius: 6rem;
  overflow: hidden;
  background: var(--color-bg-media, #ececf8);
  line-height: 0;
}
.article-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480rem;
  aspect-ratio: auto;
  object-fit: contain;
}
.article-gallery--single {
  max-width: 480rem;
}
.article-gallery--single .article-gallery__item {
  aspect-ratio: auto;
}
.article-gallery--single .article-gallery__grid {
  grid-template-columns: 1fr;
}
.article-gallery--single .article-gallery__link img {
  aspect-ratio: auto;
  max-height: 480rem;
  object-fit: contain;
}

@media (max-width: 800px) {
  .article-detail {
    padding-top: 16rem;
    padding-bottom: 40rem;
  }
  .article-detail__title {
    font-size: 24rem;
    margin-bottom: 20rem;
  }
  .article-gallery {
    margin-top: 20rem;
  }
  .article-gallery__thumbs,
  .article-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8rem;
  }
  .article-detail__content {
    font-size: 14rem;
  }
}
@media (max-width: 520px) {
  .article-gallery__thumbs,
  .article-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand-detail {
  display: grid;
  grid-template-columns: 220rem minmax(0, 1fr);
  gap: 24rem 40rem;
  align-items: start;
  margin-bottom: 0;
}
.brand-detail__logo {
  margin: 0;
  width: 220rem;
  aspect-ratio: 134 / 91;
  background: var(--color-bg-brand);
  border-radius: 6rem;
  overflow: hidden;
}
.brand-detail__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.brand-detail__logo--photo img {
  object-fit: contain;
  padding: 16rem;
  box-sizing: border-box;
}
.brand-detail__content {
  min-width: 0;
}
.brand-detail__site {
  margin: 16rem 0 0;
}
.brand-detail__content > .brand-detail__site:first-child {
  margin-top: 0;
}
@media (max-width: 800px) {
  .brand-detail {
    grid-template-columns: 1fr;
    gap: 20rem;
  }
  .brand-detail__logo {
    width: 160rem;
  }
}

.search-page__form {
  display: flex;
  gap: 12rem;
  margin: 0 0 32rem;
  max-width: 560rem;
}
.search-page__input {
  flex: 1;
  min-width: 0;
  height: 44rem;
  padding: 0 14rem;
  border: 1rem solid #d5d8e6;
  border-radius: 6rem;
  font: inherit;
}
.search-extra {
  margin-top: 40rem;
}
.search-extra__title {
  margin: 0 0 16rem;
  font-size: 20rem;
  font-weight: 400;
}
.search-extra__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16rem;
}
.search-extra__list p {
  margin: 4rem 0 0;
  font-size: 14rem;
  color: #4a4e5c;
}

.auth-page__lead {
  max-width: 480rem;
  margin: 0 auto 8rem;
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-align: center;
}

body.page-auth .site-workarea__inner {
  padding-bottom: 8rem;
  text-align: center;
}
body.page-auth .breadcrumbs,
body.page-auth .bx-breadcrumb,
body.page-auth nav[aria-label="Хлебные крошки"] {
  text-align: left;
}

body.page-auth .auth-modal {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  pointer-events: auto;
  padding: 0 0 64rem;
  background: transparent;
}
body.page-auth .auth-modal__dialog {
  width: min(480rem, 100%);
  height: auto;
  max-height: none;
  padding: 8rem 0 0;
  box-shadow: none;
  overflow: visible;
}
body.page-auth .auth-modal__close {
  display: none;
}
body.page-auth .overlay {
  display: none !important;
}

.auth-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40rem;
  max-width: 840rem;
}
.auth-page__title {
  margin: 0 0 20rem;
  font-size: 22rem;
  font-weight: 400;
}
.auth-page__form {
  display: flex;
  flex-direction: column;
  gap: 14rem;
}
.auth-page__field {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  font-size: 14rem;
}
.auth-page__field input[type="text"],
.auth-page__field input[type="password"] {
  height: 44rem;
  padding: 0 12rem;
  border: 1rem solid #d5d8e6;
  border-radius: 6rem;
  font: inherit;
}
.auth-page__row {
  display: flex;
  justify-content: space-between;
  gap: 12rem;
  font-size: 13rem;
}
.auth-page__remember {
  display: flex;
  align-items: center;
  gap: 8rem;
}
.auth-page__error {
  margin-bottom: 16rem;
  color: #c0392b;
}
.auth-page__text {
  margin: 0 0 16rem;
}

.cosmo-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220rem, 1fr));
  gap: 16rem;
}
.cosmo-hub__link {
  display: block;
  padding: 18rem 20rem;
  border: 1rem solid #eceff6;
  border-radius: 6rem;
  color: inherit;
}
.cosmo-hub__link:hover { border-color: var(--color-black); }

#basket-root {
  padding-bottom: 48rem;
}
.page-cart .bx-basket {
  font-size: 14rem;
}

.form.inline .form_body,
.form.inline .form-control {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-bottom: 12rem;
}
.form.inline input[type="text"],
.form.inline input[type="email"],
.form.inline input[type="tel"],
.form.inline textarea {
  width: 100%;
  max-width: 480rem;
  padding: 10rem 12rem;
  border: 1rem solid #d5d8e6;
  border-radius: 6rem;
  font: inherit;
}
.form.inline textarea { min-height: 120rem; }

@media (max-width: 800px) {
  .content-list {
    grid-template-columns: 1fr;
    gap: 28rem;
  }
  .auth-page__grid {
    grid-template-columns: 1fr;
  }
  .search-page__form { flex-direction: column; }
  .page-inner__title { font-size: 26rem; }
  .page-inner > h2 { font-size: 20rem; }
  .page-inner > h3,
  .page-inner > h4 { font-size: 17rem; }
  .page-inner > p,
  .page-inner > ul,
  .page-inner > ol { font-size: 15rem; }
}

/* Account extras without mockups */
.account-panel { min-width: 0; }
.account-panel__title {
  margin: 0 0 28rem;
  font-size: 28rem;
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.2;
}
.account-alert {
  margin: 0 0 20rem;
  font-size: 14rem;
  line-height: 1.4;
}
.account-alert--error { color: #d21519; }
.account-alert--ok { color: #14a85a; }
.account-empty {
  margin: 24rem 0;
  font-size: 14rem;
  color: var(--color-text-muted);
  list-style: none;
}
.account-dash {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 640rem;
}
.account-dash__hello {
  margin: -12rem 0 24rem;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.account-dash__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
  min-height: 88rem;
  padding: 18rem 20rem;
  border: 1rem solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.account-dash__link:hover {
  border-color: var(--color-black);
  color: var(--color-text);
}
.account-dash__title {
  font-size: 16rem;
  line-height: 1.3;
  text-transform: lowercase;
}
.account-dash__text {
  font-size: 13rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .account-dash {
    grid-template-columns: 1fr;
  }
}
.account-form { max-width: 480rem; }
.account-form__text {
  margin: 0 0 20rem;
  font-size: 14rem;
  line-height: 1.45;
}
.account-form__textarea {
  min-height: 96rem;
  resize: vertical;
  border: 0;
  border-bottom: 1rem solid #d5d8e6;
  border-radius: 0;
  padding: 8rem 0;
}
.account-form .btn { margin-top: 24rem; }
.account-form__back {
  display: inline-block;
  margin-top: 16rem;
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.account-address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16rem;
}
.account-address-card {
  display: flex;
  justify-content: space-between;
  gap: 16rem;
  padding: 18rem 0;
  border-bottom: 1rem solid #ececf2;
}
.account-address-card__name {
  margin: 0 0 6rem;
  font-size: 16rem;
}
.account-address-card__meta {
  margin: 0;
  font-size: 13rem;
  color: var(--color-text-muted);
}
.account-address-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  align-items: flex-end;
  font-size: 13rem;
  text-transform: lowercase;
}
.account-address-card__actions a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3rem; }
.account-address-card__delete {
  padding: 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 13rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3rem;
  cursor: pointer;
}
.account-address-card__delete:hover,
.account-address-card__actions a:hover { color: var(--color-black); }

.site-confirm {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 40);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24rem;
}
.site-confirm[hidden] { display: none !important; }
.site-confirm__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.site-confirm__dialog {
  position: relative;
  width: min(400rem, 100%);
  background: var(--color-white, #fff);
  padding: 36rem 32rem 28rem;
  box-shadow: 0 16rem 48rem rgba(0, 0, 0, 0.12);
}
.site-confirm__title {
  margin: 0 0 28rem;
  font-size: 24rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-transform: lowercase;
  color: var(--color-text);
}
.site-confirm__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16rem;
}
.site-confirm__cancel {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-family);
  font-size: 13rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 3rem;
  cursor: pointer;
}
.site-confirm__cancel:hover { color: var(--color-black); }

.address-panel { max-width: 560rem; }
.address-panel .account-form__back { margin: 0 0 16rem; }
.address-form__lookup { position: relative; }
.address-form__search { position: relative; }
.address-form__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240rem;
  overflow: auto;
  background: #fff;
  border: 1rem solid #ececf2;
  box-shadow: 0 8rem 24rem rgba(0, 0, 0, 0.08);
}
.address-form__suggest[hidden] { display: none; }
.address-form__suggest button {
  width: 100%;
  padding: 10rem 8rem;
  border: 0;
  border-bottom: 1rem solid #f0f0f0;
  background: none;
  text-align: left;
  font-family: inherit;
  font-size: 14rem;
  line-height: 1.35;
  cursor: pointer;
}
.address-form__suggest button:hover,
.address-form__suggest button.is-active { background: #f7f7fa; }
.address-form__suggest strong { color: #5b9bd5; font-weight: 400; }
.address-form__suggest small {
  display: block;
  margin-top: 2rem;
  font-size: 12rem;
  color: #9C9CB1;
}
.address-form__map {
  margin-top: 8rem;
  border: 1rem solid #ececf2;
  border-radius: 6rem;
  overflow: hidden;
}
.address-form__map[hidden] { display: none; }
.address-form__map-canvas {
  width: 100%;
  height: 280rem;
}
.address-form__map-hint,
.address-form__map-status {
  margin: 8rem 0 0;
  font-size: 13rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
.address-form__map-status.is-error { color: #c44747; }
.address-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12rem 16rem;
}
.account-address-add {
  margin: 24rem 0 0;
  max-width: 280rem;
}
@media (max-width: 767px) {
  .address-form__row { grid-template-columns: 1fr; }
  .address-form__map-canvas { height: 220rem; }
  .account-address-add { max-width: none; }
}
.address-form__check {
  position: relative;
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 10rem;
  align-items: start;
  padding: 8rem 0 4rem;
  font-size: 14rem;
  line-height: 1.4;
  cursor: pointer;
}
.address-form__check input[type="checkbox"] {
  position: absolute;
  width: 1rem;
  height: 1rem;
  margin: -1rem;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
}
.address-form__check-box {
  width: 16rem;
  height: 16rem;
  margin-top: 2rem;
  border: 1rem solid #b0b0b0;
  border-radius: 6rem;
  background: var(--color-white);
  box-sizing: border-box;
  flex-shrink: 0;
}
.address-form__check input[type="checkbox"]:checked + .address-form__check-box {
  background: var(--color-black);
  border-color: var(--color-black);
  box-shadow: none;
}
.subscribe-form__rubrics {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.subscribe-form__note {
  margin: 0 0 16rem;
  font-size: 14rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.subscribe-form__confirm { margin-bottom: 32rem; }
.subscribe-form__cancel {
  align-self: center;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-family);
  font-size: 13rem;
  line-height: 1.3;
  color: #9C9CB1;
  text-decoration: underline;
  text-underline-offset: 3rem;
  cursor: pointer;
}
.subscribe-form__cancel:hover {
  color: var(--color-black);
  opacity: 0.85;
}
.page-account .subscribe-edit { max-width: 560rem; }
.address-form__location { display: block; padding-bottom: 8rem; }
.address-form__location-label {
  display: block;
  margin-bottom: 6rem;
  font-size: 12rem;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.address-form .location-block-wrapper,
.address-form .bx-sls,
.address-form .bx-ui-sls-container {
  width: 100%;
}
.address-form .bx-ui-sls-fake,
.address-form .bx-ui-sls-container input,
.address-form .dropdown-block,
.address-form .bx-ui-combobox-input {
  width: 100%;
  border: 0;
  border-bottom: 1rem solid #d8d8e0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  min-height: 36rem;
  padding: 6rem 0;
}
.address-form .bx-ui-sls-fake:focus,
.address-form .bx-ui-sls-container input:focus {
  outline: none;
  border-bottom-color: var(--color-black);
}

.page-account .you-discount,
.page-account .discount-block {
  display: flex;
  flex-direction: column;
  gap: 12rem;
  margin-bottom: 24rem;
}
.page-account .size-discount,
.page-account .desc-discount {
  display: block;
  font-size: 16rem;
  margin-bottom: 8rem;
}
.page-account .size-discount span {
  margin-left: 8rem;
  font-size: 28rem;
}
.page-account .discount-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12rem;
}
.page-account .discount-item {
  padding: 16rem;
  border: 1rem solid #ececf2;
  border-radius: 6rem;
}
.page-account .discount-item.active {
  border-color: var(--color-black);
}
.page-account .discount-item .key {
  display: block;
  font-size: 22rem;
  margin-bottom: 6rem;
}
.page-account .discount-item .value {
  font-size: 13rem;
  color: var(--color-text-muted);
}
.account-discount-note {
  margin-top: 28rem;
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text);
}
.account-discount-note ul {
  margin: 12rem 0 24rem;
  padding-left: 18rem;
}
.account-discount-note .btn { max-width: 280rem; }

.page-account .subscription-form,
.page-account form.main,
.page-account .sale-personal-profile-detail {
  max-width: 560rem;
}
.page-account input[type="text"],
.page-account input[type="email"],
.page-account input[type="password"],
.page-account input[type="tel"],
.page-account select,
.page-account textarea {
  font-family: var(--font-family);
  font-size: 14rem;
}
.page-account table:not(.order-tracker) {
  width: 100%;
  border-collapse: collapse;
}
.page-account table:not(.order-tracker) td,
.page-account table:not(.order-tracker) th {
  padding: 10rem 0;
  border-bottom: 1rem solid #ececf2;
  font-size: 14rem;
  text-align: left;
  background: none;
}
.page-account input[type="submit"],
.page-account button[type="submit"]:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48rem;
  padding: 0 24rem;
  border: 0;
  border-radius: 6rem;
  background: var(--color-black);
  color: #fff;
  text-transform: lowercase;
  cursor: pointer;
}
.page-account .bx_profile,
.page-account .lk-page,
.page-account .module-form-block-wr,
.page-account .border_block {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}
.favorites-panel .account-empty + .btn,
.favorites-panel .btn { max-width: 280rem; margin-top: 8rem; }

@media (max-width: 800px) {
  .account-panel__title { font-size: 22rem; }
  .page-account .discount-block { grid-template-columns: 1fr; }
  .account-address-card { flex-direction: column; }
  .account-address-card__actions { align-items: flex-start; flex-direction: row; }
}

/* О компании — композиция как на rocs.ru/about/, стили шаблона */
.company {
  padding-top: 28rem;
  padding-bottom: 24rem;
  background: var(--color-white);
}
.page-company .breadcrumbs {
  margin-bottom: 32rem;
}
.page-company .breadcrumbs a.breadcrumbs__home {
  display: inline-block;
}
.company-block {
  margin-bottom: 64rem;
}
.company-block--nums {
  margin-bottom: 48rem;
}
.company-block--video {
  margin-bottom: 24rem;
}
.company-block--requisites {
  margin-top: 24rem;
  margin-bottom: 48rem;
}
.company-block__grid {
  display: grid;
  grid-template-columns: var(--col-width) minmax(0, 1fr);
  gap: var(--grid-gap);
  align-items: start;
}
.company-block__title {
  margin: 0;
  font-size: 22rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--color-black);
}
.company-block__body {
  min-width: 0;
}
.company-hero {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12rem 16rem;
  margin: 0 0 28rem;
}
.company-hero__main {
  font-size: 56rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-black);
}
.company-hero__sub {
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-muted);
}
.company-block__text {
  font-size: 16rem;
  line-height: 1.55;
  max-width: 760rem;
}
.company-block__text p {
  margin: 0 0 16rem;
}
.company-block__text p:last-child {
  margin-bottom: 0;
}
.company-block__note {
  margin-top: 24rem;
  max-width: 760rem;
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.company-block__note p {
  margin: 0;
}
.company-media {
  margin: 48rem 0;
}
.company-block--nums .company-block__grid + .container .company-media {
  margin-top: 40rem;
}
.company-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--color-bg-media);
}
.company-nums {
  margin: 0;
  padding: 0;
  list-style: none;
}
.company-nums li {
  margin: 0;
}
.company-nums--stack > li + li {
  margin-top: 32rem;
}
.company-nums--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32rem var(--grid-gap);
}
.company-nums__value {
  display: block;
  font-size: 48rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--color-black);
}
.company-nums__label {
  display: block;
  margin-top: 8rem;
  font-size: 16rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-transform: lowercase;
}
.company-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
}
.company-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.company-requisites__list {
  margin: 0;
  padding: 0;
}
.company-requisites__list > div {
  display: grid;
  grid-template-columns: 180rem minmax(0, 1fr);
  gap: 12rem 24rem;
  padding: 14rem 0;
  border-bottom: 1rem solid #ececf2;
  font-size: 14rem;
  line-height: 1.45;
}
.company-requisites__list dt {
  color: var(--color-text-muted);
  font-weight: 400;
}
.company-requisites__list dd {
  margin: 0;
}
.company-nav {
  padding: 0 0 48rem;
}
.company-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16rem;
}
.company-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72rem;
  padding: 16rem 20rem;
  border: 1rem solid #eceff6;
  border-radius: var(--radius);
  color: inherit;
  text-transform: lowercase;
  font-size: 16rem;
  letter-spacing: 0.04em;
}
.company-nav__link:hover {
  border-color: var(--color-black);
}

@media (max-width: 800px) {
  .company {
    padding-top: 16rem;
  }
  .company-block {
    margin-bottom: 40rem;
  }
  .company-block__grid,
  .company-nav__grid,
  .company-requisites__list > div,
  .company-nums--split {
    grid-template-columns: 1fr;
  }
  .company-block__grid {
    gap: 12rem;
  }
  .company-block--nums .company-block__grid .company-block__title[aria-hidden] {
    display: none;
  }
  .company-hero {
    margin-bottom: 20rem;
  }
  .company-hero__main {
    font-size: 40rem;
  }
  .company-nums__value {
    font-size: 36rem;
  }
  .company-nums--stack > li + li {
    margin-top: 24rem;
  }
  .company-media {
    margin: 28rem 0;
  }
  .company-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkout-soa-engine,
.page-checkout .checkout-soa-engine {
  position: absolute !important;
  width: 1rem !important;
  height: 1rem !important;
  padding: 0 !important;
  margin: -1rem !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.page-checkout.checkout-submitting .order-summary__checkout,
body.checkout-submitting .order-summary__checkout {
  pointer-events: none;
}
#popup-window-overlay-loading_screen {
  background: rgba(255, 255, 255, .45) !important;
  opacity: 1 !important;
}
.checkout-soa-engine #bx-soa-total,
.checkout-soa-engine .bx-soa-cart-total,
.checkout-soa-engine .bx-soa-cart-total-fixed {
  display: none !important;
  position: static !important;
  visibility: hidden !important;
}
.page-checkout .checkout-errors {
  margin: 0 0 16rem;
  padding: 12rem 16rem;
  background: #fff4f4;
  color: #9b1c1c;
  font-size: 13rem;
  line-height: 1.4;
  scroll-margin-top: calc(var(--header-offset, 64rem) + 24rem);
}
.page-checkout .checkout-errors[hidden] { display: none !important; }
.page-checkout .checkout-field__location {
  flex: 1;
  min-width: 0;
}
.page-checkout .checkout-field__location #bx-soa-region,
.page-checkout .checkout-field__location .bx-soa-section,
.page-checkout .checkout-field__location .bx-soa-section-content,
.page-checkout .checkout-field__location .container-fluid,
.page-checkout .checkout-field__location .form-group,
.page-checkout .checkout-field__location .bx-soa-location,
.page-checkout .checkout-field__location .bx-soa-location-input-container,
.page-checkout .checkout-field__location .bx-sls,
.page-checkout .checkout-field__location .dropdown-block {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
.page-checkout .checkout-field__location .bx-soa-section-title-container,
.page-checkout .checkout-field__location .bx-soa-customer-label,
.page-checkout .checkout-field__location .bx-soa-custom-label,
.page-checkout .checkout-field__location .bx-soa-reference,
.page-checkout .checkout-field__location .bx-soa-tooltip,
.page-checkout .checkout-field__location .bx-soa-more,
.page-checkout .checkout-field__location .radio,
.page-checkout .checkout-field__location .checkbox,
.page-checkout .checkout-field__location [data-property-id-row="4"],
.page-checkout .checkout-field__location .bx-soa-pp-company-label {
  display: none !important;
}
.page-checkout .bx-soa-more {
  display: none !important;
}
.page-checkout .checkout-field__location .bx-ui-sls-container {
  position: relative !important;
  height: 24rem !important;
  overflow: visible !important;
}
.page-checkout .checkout-field__location .bx-ui-sls-fake {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 24rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-family) !important;
  font-size: 14rem !important;
  color: var(--color-text) !important;
  width: 100% !important;
  padding: 0 !important;
}
.page-checkout .checkout-field__location .bx-ui-sls-route {
  display: none !important;
}
.page-checkout .checkout-field__location .dropdown-field,
.page-checkout .checkout-field__location .dropdown-icon,
.page-checkout .checkout-field__location .bx-ui-sls-clear,
.page-checkout .checkout-field__location .dropdown-fade2white,
.page-checkout .checkout-field__location .bx-ui-sls-loader,
.page-checkout .checkout-field__location .bx-soa-editstep,
.page-checkout .checkout-field__location .bx-ui-sls-quick-locations,
.page-checkout .checkout-field__location a {
  display: none !important;
}
.page-checkout .checkout-d-city,
.page-checkout .checkout-d-city .checkout-field__control,
.page-checkout .checkout-field__location,
.page-checkout .checkout-field__location .bx-sls,
.page-checkout .checkout-field__location .bx-ui-sls-container {
  overflow: visible;
}
.page-checkout .checkout-field__location .bx-ui-sls-pane {
  z-index: 40;
  background: #fff;
  border: 1rem solid #e4e6ed;
  box-shadow: 0 8rem 24rem rgba(0, 0, 0, .08);
  max-height: 240rem;
  overflow-y: auto;
}
.page-checkout .checkout-pickup__chosen {
  margin-top: 6rem;
  font-size: 13rem;
  line-height: 1.3;
  color: var(--color-text-muted);
}
.page-checkout .checkout-confirm,
.checkout-page--confirm .checkout-confirm {
  width: 100%;
  max-width: 480rem;
  margin: 0 auto;
  font-size: 16rem;
  line-height: 1.5;
  color: var(--color-text);
}
.checkout-page--confirm {
  padding-top: 8rem;
  padding-bottom: 80rem;
}
.page-inner:has(.checkout-page--confirm) > .page-inner__title,
.page-inner:has(.checkout-page--confirm) > .breadcrumbs {
  display: none;
}
.checkout-page--confirm > .container {
  position: relative;
}
.checkout-page--confirm .checkout-page__top {
  display: block;
  padding-top: 20rem;
  margin-bottom: 40rem;
}
.checkout-page--confirm .checkout-page__close {
  position: absolute;
  top: 68rem;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24rem;
  height: 24rem;
  color: var(--color-black);
  opacity: 1;
}
.checkout-page--confirm .checkout-page__close:hover {
  opacity: 0.55;
}
.checkout-page--confirm .checkout-page__head {
  display: block;
  width: 100%;
  max-width: 480rem;
  margin: 0 auto 56rem;
}
.checkout-page--confirm .checkout-page__title {
  padding-left: 0;
  max-width: none;
  margin: 0;
  font-size: 36rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  color: var(--color-black);
}
.checkout-confirm__lead {
  margin: 0 0 40rem !important;
  font-size: 16rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-black);
}
.checkout-confirm__num {
  white-space: nowrap;
  font-weight: 400;
}
.checkout-confirm__text {
  margin: 0 0 48rem !important;
  font-size: 14rem;
  line-height: 1.5;
  color: #9C9CB1;
}
.checkout-confirm__text a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3rem;
}
.checkout-confirm__text a:hover {
  color: var(--color-black);
  opacity: 0.7;
}
.checkout-confirm__error {
  margin: 0 0 24rem;
  font-size: 14rem;
  line-height: 1.45;
  color: #d21519;
}
.checkout-confirm__summary {
  margin: 0;
  max-width: none;
  background: transparent;
  padding: 0;
}
.checkout-page--confirm .checkout-page__crumbs {
  color: #9C9CB1;
}
.checkout-page--confirm .checkout-page__crumbs a.breadcrumbs__home,
.checkout-page--confirm .checkout-page__crumbs .breadcrumbs__sep--home {
  display: inline;
}
.checkout-page--confirm .checkout-page__crumbs .breadcrumbs__ellipsis {
  display: none;
}
.checkout-confirm__summary .order-summary__title {
  margin: 0 0 28rem;
  font-size: 24rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
}
.checkout-confirm__summary .order-summary__rows {
  margin-bottom: 0;
}
.checkout-confirm__summary .order-summary__row {
  margin-bottom: 14rem;
  font-size: 14rem;
  font-weight: 400;
  color: var(--color-black);
}
.checkout-confirm__summary .order-summary__row--discount {
  color: var(--color-sale-note);
}
.checkout-confirm__summary .order-summary__dots {
  color: #9C9CB1;
}
.checkout-confirm__summary .order-summary__row--discount .order-summary__dots {
  color: var(--color-sale-note);
}
.checkout-confirm__summary .order-summary__total {
  margin: 8rem 0 0;
  padding: 18rem 0;
  border-top: 1rem solid #e8e8f0;
  border-bottom: 1rem solid #e8e8f0;
  font-weight: 400;
}
.checkout-confirm__summary .order-summary__total > span:first-child {
  font-size: 14rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-black);
}
.checkout-confirm__summary .order-summary__total span:last-child {
  font-size: 28rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-black);
}
.checkout-confirm__method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  margin: 0;
  padding: 22rem 0 0;
  border-bottom: 0;
  font-size: 14rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: lowercase;
  color: var(--color-black);
}
.checkout-confirm__method-name {
  min-width: 0;
}
.checkout-confirm__method-media {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.checkout-confirm__method .checkout-mpay__card {
  position: relative;
  display: inline-flex;
}
.checkout-confirm__pay-logo img {
  display: block;
  width: auto;
  height: 28rem;
  object-fit: contain;
}
.checkout-confirm__pay-widget {
  margin: 40rem 0 0;
}
.checkout-confirm__pay-widget + .checkout-confirm__actions {
  margin-top: 12rem;
}
.checkout-confirm__method + .checkout-confirm__actions {
  margin-top: 40rem;
}
.checkout-confirm__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12rem;
  margin-top: 40rem;
}
.checkout-confirm__action {
  width: 100%;
  min-width: 0;
  min-height: 48rem;
  border-radius: 6rem;
  font-weight: 400;
}
.checkout-confirm__pdf {
  display: inline-block;
  margin-top: 4rem;
  text-align: center;
  font-size: 13rem;
  color: #9C9CB1;
  text-decoration: underline;
  text-underline-offset: 3rem;
}

.checkout-page--confirm .sale_order_full_table,
.checkout-page--confirm .sale-paysystem-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14rem;
  line-height: 1.5;
  color: var(--color-text);
}
.checkout-page--confirm .sale-paysystem-close { display: none; }
.checkout-page--confirm .sale-paysystem-wrapper .tablebodytext,
.checkout-page--confirm .sale-paysystem-description {
  display: none;
}
.checkout-page--confirm .sale-paysystem-yandex-button { margin: 20rem 0 0; }
.checkout-page--confirm .sale-paysystem-yandex-button-item,
.checkout-page--confirm .sale-paysystem-yandex-checkout-button-item,
.checkout-page--confirm a.btn-success,
.checkout-page--confirm .btn-lg,
.checkout-page--confirm input[type="submit"],
.checkout-page--confirm button[type="submit"]:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48rem;
  padding: 0 32rem;
  border: 0;
  border-radius: 6rem;
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  font-family: var(--font-family);
  font-size: 14rem;
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}
.checkout-page--confirm .sale-paysystem-yandex-button-item:hover,
.checkout-page--confirm .sale-paysystem-yandex-checkout-button-item:hover,
.checkout-page--confirm a.btn-success:hover {
  background: #222 !important;
  color: var(--color-white) !important;
}
.checkout-page--confirm .sale-paysystem-yandex-button-descrition {
  display: block;
  margin: 12rem 0 0;
  font-family: var(--font-family);
  font-size: 12rem;
  color: var(--color-text-muted);
}
.checkout-page--confirm .alert,
.checkout-page--confirm .alert-info {
  margin: 16rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.checkout-page--confirm .widget-payment-checkout-info,
.checkout-page--confirm .paysystem-yookassa,
.checkout-page--confirm #paysystem-yookassa {
  font-family: var(--font-family);
  font-size: 14rem;
  color: var(--color-text);
}
.checkout-page--confirm .widget-paysystem-checkout-sum {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .page-checkout .checkout-page--confirm {
    padding-top: 12rem;
    padding-bottom: calc(48rem + var(--safe-bottom));
  }
  .checkout-page--confirm .checkout-page__top {
    margin-bottom: 24rem;
  }
  .checkout-page--confirm .checkout-page__close {
    top: 52rem;
  }
  .page-checkout .checkout-page--confirm .checkout-page__head {
    display: block;
    margin-bottom: 32rem;
  }
  .page-checkout .checkout-page--confirm .checkout-page__title {
    padding-left: 0;
    max-width: none;
    font-size: 28rem;
    padding-right: 32rem;
  }
  .checkout-confirm__lead {
    margin-bottom: 28rem;
  }
  .checkout-confirm__text {
    margin-bottom: 36rem;
  }
  .checkout-confirm__summary .order-summary__title {
    font-size: 20rem;
    margin-bottom: 20rem;
  }
  .checkout-confirm__actions {
    flex-direction: column;
    margin-top: 28rem;
  }
  .checkout-confirm__action,
  .checkout-confirm__pay-btn {
    width: 100%;
    min-width: 0;
  }
}

.promo-draw {
  padding: 28rem 0 80rem;
}
.promo-draw__title {
  margin: 0 0 12rem;
  font-size: 42rem;
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
}
.promo-draw__lead {
  margin: 0 0 32rem;
  max-width: 640rem;
  font-size: 20rem;
  line-height: 1.4;
}
.promo-form { margin-top: 8rem; }
.promo-form .account-form__text { margin-bottom: 24rem; }
.promo-form .account-form__field {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin: 0 0 16rem;
  font-size: 14rem;
}
.promo-form .account-form__field input,
.promo-form .account-form__field textarea,
.promo-form .account-form__field select {
  width: 100%;
  max-width: 480rem;
  padding: 10rem 0;
  border: 0;
  border-bottom: 1rem solid #d5d8e6;
  border-radius: 0;
  font: inherit;
  background: transparent;
}
.promo-form .btn { margin-top: 8rem; }

.jobs-page__lead {
  max-width: 720rem;
  margin: 0 0 16rem;
  font-size: 16rem;
  line-height: 1.55;
}
.jobs-page__contacts {
  margin: 0 0 32rem;
  font-size: 14rem;
}
.jobs-page__subtitle {
  margin: 0 0 16rem;
  font-size: 20rem;
  font-weight: 400;
  text-transform: lowercase;
}
.jobs-page__list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  max-width: 860rem;
}
.jobs-page__item {
  border-bottom: 1rem solid #eceff6;
}
.jobs-page__summary {
  display: flex;
  justify-content: space-between;
  gap: 16rem;
  align-items: baseline;
  padding: 16rem 0;
  cursor: pointer;
  list-style: none;
}
.jobs-page__summary::-webkit-details-marker { display: none; }
.jobs-page__name {
  font-size: 18rem;
  text-transform: lowercase;
}
.jobs-page__salary {
  font-size: 14rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.jobs-page__body {
  padding: 0 0 20rem;
  font-size: 14rem;
  line-height: 1.55;
}

.cosmo-video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12rem 20rem;
  margin: 0 0 28rem;
}
.cosmo-video-tabs__link {
  font-size: 14rem;
  text-transform: lowercase;
  color: var(--color-text-muted);
  border-bottom: 1rem solid transparent;
}
.cosmo-video-tabs__link:hover,
.cosmo-video-tabs__link.is-active {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}

.cosmo-panel .content-list,
.cosmo-panel .promo-grid {
  margin-top: 8rem;
}
.cosmo-panel:has(.reviews-list) > .cosmo-panel__title { display: block; }
.content-list.reviews-list {
  grid-template-columns: 1fr;
  gap: 0;
}
.reviews-list .review-card {
  padding: 22rem 0;
  border-bottom: 1rem solid #ececf2;
}
.reviews-list .content-card__media {
  display: none;
}
.reviews-list .content-card__title {
  font-size: 16rem;
  line-height: 1.35;
}
.reviews-list .content-card__excerpt {
  max-width: 680rem;
  color: var(--color-text-muted, #9C9CB1);
}
.reviews-pager {
  justify-content: flex-start;
  padding-top: 28rem;
}
.reviews-pager .modern-page-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8rem 14rem;
  font-size: 14rem;
  line-height: 1;
}
.reviews-pager .modern-page-title { display: none; }
.reviews-pager .modern-page-navigation a,
.reviews-pager .modern-page-current {
  color: var(--color-text-muted, #9C9CB1);
  text-decoration: none;
}
.reviews-pager .modern-page-current {
  color: var(--color-black);
  box-shadow: inset 0 -1rem 0 currentColor;
}
.reviews-pager .modern-page-navigation a:hover { color: var(--color-black); }
.cosmo-panel .article-detail__content { font-size: 16rem; line-height: 1.55; color: var(--color-text); }

.cosmo-articles {
  display: block;
}
.cosmo-articles__subs {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem 18rem;
  margin: 0 0 28rem;
}
.cosmo-articles__sub {
  font-size: 14rem;
  line-height: 1.35;
  text-transform: lowercase;
  color: #9C9CB1;
}
.cosmo-articles__sub:hover,
.cosmo-articles__sub.is-active {
  color: var(--color-black);
}
.cosmo-articles__nav {
  display: flex;
  flex-direction: column;
  gap: 12rem;
  position: sticky;
  top: calc(var(--header-offset) + 16rem);
}
.cosmo-articles__link {
  font-size: 14rem;
  line-height: 1.35;
  text-transform: lowercase;
  color: #9C9CB1;
}
.cosmo-articles__link--child {
  padding-left: calc((var(--article-depth, 2) - 1) * 14rem);
  font-size: 13rem;
}
.cosmo-articles__link:hover,
.cosmo-articles__link.is-open { color: var(--color-text); }
.cosmo-articles__link.is-active { color: var(--color-black); }
.cosmo-articles__title {
  margin: 0 0 28rem;
  font-size: 28rem;
  font-weight: 400;
  line-height: 1.15;
  text-transform: lowercase;
}
.cosmo-articles .content-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cosmo-articles-plain {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cosmo-articles__main .content-list + .cosmo-articles-plain { margin-top: 32rem; }
.cosmo-articles-plain li { border-bottom: 1rem solid #ececf2; }
.cosmo-articles-plain a {
  display: block;
  padding: 14rem 0;
  font-size: 16rem;
  line-height: 1.4;
  color: var(--color-text);
}
.cosmo-articles-plain a:hover { color: var(--color-black); }

.article-props {
  display: flex;
  flex-direction: column;
  gap: 16rem;
  margin: 0 0 28rem;
}
.article-props__label {
  margin: 0 0 4rem;
  font-size: 12rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #9C9CB1;
}
.article-props__value {
  font-size: 16rem;
  line-height: 1.5;
  color: var(--color-text);
}
.article-props__value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2rem;
}
.article-props__value p { margin: 0 0 8rem; }
.article-props__value p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .cosmo-articles {
    grid-template-columns: 1fr;
    gap: 20rem;
  }
  .cosmo-articles__nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8rem 18rem;
    margin: 0 calc(-1 * var(--container-padding, 16rem));
    padding: 0 var(--container-padding, 16rem) 4rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cosmo-articles__nav::-webkit-scrollbar { display: none; }
  .cosmo-articles__link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .cosmo-articles__link--child { padding-left: 0; }
  .cosmo-articles__title { font-size: 22rem; margin-bottom: 20rem; }
  .cosmo-articles .content-list { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .promo-draw__title { font-size: 28rem; }
  .jobs-page__summary { flex-direction: column; gap: 6rem; }
}


/* ==========================================================================
   KSE PVZ map — site look (overrides module/default blue Bitrix styles)
   ========================================================================== */
.kse-pvz-open-map {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 24rem !important;
  min-height: 40rem;
  border-radius: 6rem !important;
  background: #000 !important;
  color: #fff !important;
  font-family: var(--font-family, "Osnova Pro", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 14rem !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  line-height: 1.2;
  text-decoration: none !important;
}
.kse-pvz-open-map:hover {
  background: #222 !important;
  color: #fff !important;
}
.kse-pvz-open-map:active {
  background: var(--color-accent-active, #9eb5e9) !important;
  color: #fff !important;
}
.kse-pvz-chosen-label {
  margin-top: 10rem;
  font-family: var(--font-family, "Osnova Pro", "Helvetica Neue", Arial, sans-serif);
  font-size: 13rem;
  color: var(--color-text-muted, #9c9cb1) !important;
}
.kse-pvz-overlay {
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(2rem);
}
.kse-pvz-modal {
  border-radius: 0 !important;
  box-shadow: 0 24rem 64rem rgba(0, 0, 0, 0.18) !important;
  font-family: var(--font-family, "Osnova Pro", "Helvetica Neue", Arial, sans-serif) !important;
  color: #000 !important;
  width: min(1100rem, 96vw);
  height: min(680rem, 92vh);
}
.kse-pvz-head {
  padding: 20rem 24rem !important;
  border-bottom: 1rem solid #e4e6ed !important;
}
.kse-pvz-head h3 {
  margin: 0 !important;
  font-size: 20rem !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  color: #000 !important;
}
.kse-pvz-close {
  width: 32rem;
  height: 32rem;
  font-size: 28rem !important;
  color: #000 !important;
  opacity: 0.45;
}
.kse-pvz-close:hover { opacity: 1; }
.kse-pvz-side {
  width: 360rem;
  border-right: 1rem solid #e4e6ed !important;
  background: #fff;
}
.kse-pvz-search {
  margin: 16rem 20rem 8rem !important;
  padding: 12rem 0 !important;
  border: 0 !important;
  border-bottom: 1rem solid #e4e6ed !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 14rem !important;
  color: #000 !important;
  outline: none;
}
.kse-pvz-search::placeholder {
  color: #9c9cb1;
  text-transform: lowercase;
}
.kse-pvz-search:focus { border-bottom-color: #111 !important; }
.kse-pvz-item {
  padding: 14rem 20rem !important;
  border-bottom: 1rem solid #f0f0f4 !important;
  background: #fff !important;
  font-family: inherit !important;
}
.kse-pvz-item:hover { background: #f7f7fb !important; }
.kse-pvz-item.is-active { background: #e8e8f4 !important; }
.kse-pvz-item b {
  font-size: 14rem !important;
  font-weight: 400 !important;
  color: #000 !important;
}
.kse-pvz-item span {
  margin-top: 6rem;
  color: #9c9cb1 !important;
  font-size: 12rem !important;
  font-weight: 400 !important;
}
.kse-pvz-map { background: #e8e8f4; }
.kse-pvz-pick {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 10rem;
  padding: 0 24rem !important;
  min-height: 40rem;
  border: 0 !important;
  border-radius: 6rem !important;
  background: #000 !important;
  color: #fff !important;
  font-family: var(--font-family, "Osnova Pro", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: 14rem !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
  cursor: pointer;
}
.kse-pvz-pick:hover {
  background: #222 !important;
  color: #fff !important;
}
.kse-pvz-pick:active {
  background: var(--color-accent-active, #9eb5e9) !important;
  color: #fff !important;
}
@media (max-width: 760px) {
  .kse-pvz-modal {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    transform: none !important;
    border-radius: 0 !important;
  }
  .kse-pvz-body { flex-direction: column-reverse; }
  .kse-pvz-side {
    width: 100% !important;
    height: 46%;
    border-right: 0 !important;
    border-top: 1rem solid #e4e6ed;
    min-width: 0;
  }
  .kse-pvz-map { height: 54%; flex: none; }
}

/* Лёгкое появление блоков и заголовков */
@keyframes pc-rise {
  from {
    opacity: 0;
    transform: translateY(14rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js-rise[data-reveal="wait"] {
  opacity: 0;
  transform: translateY(14rem);
}
.js-rise[data-reveal="in"] {
  animation: pc-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--reveal-i, 0) * 55ms);
}
@media (prefers-reduced-motion: reduce) {
  .js-rise[data-reveal="wait"],
  .js-rise[data-reveal="in"] {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Горизонтальный телефон и планшет: фото слева, покупка справа */
@media (max-width: 1100px) and (orientation: landscape) and (max-height: 820px) {
  .product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    grid-template-areas:
      "gallery content"
      "features features"
      "desc desc";
    column-gap: 24rem;
    row-gap: 16rem;
    align-items: start;
  }
  .product-detail::before { display: none; }
  .product-gallery {
    grid-area: gallery;
    order: 0;
    margin: 0;
    width: 100%;
    min-width: 0;
  }
  .product-gallery__main {
    width: 100%;
    height: auto;
    max-height: calc(100svh - var(--header-offset) - 24rem);
    aspect-ratio: 535 / 604;
  }
  .product-detail__content,
  .product-info {
    display: flex;
    flex-direction: column;
    grid-area: content;
    height: auto;
    min-width: 0;
    order: 0;
  }
  .product-info__dock {
    display: flex;
    flex-direction: column;
    margin-top: auto;
  }
  .product-info__purchase {
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
  }
  .product-info__category,
  .product-info__title,
  .product-info__prices,
  .product-info__cart-row {
    order: 0;
    width: 100%;
  }
  .product-info .product-gallery__thumbs {
    order: 0;
    margin: 12rem 0 0;
    max-width: 100%;
  }
  .product-tabs { display: contents; }
  .product-tabs__col--features,
  .product-tabs__col--desc {
    position: static;
    width: 100%;
  }
  .product-tabs__col--features { grid-area: features; }
  .product-tabs__col--desc { grid-area: desc; }
}

/* Телефон горизонтально: аккордеон остаётся одним блоком под фото и покупкой */
@media (max-width: 800px) and (orientation: landscape) and (max-height: 820px) {
  .product-detail {
    grid-template-areas:
      "gallery content"
      "tabs tabs";
  }
  .product-tabs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    grid-area: tabs;
    order: 80;
    width: 100%;
  }
}

.product-partners {
  margin-top: 20rem;
  position: relative;
}
.product-partners__label {
  margin: 0 0 8rem;
  font-size: 14rem;
  line-height: 1.3;
  text-transform: lowercase;
}
.product-partners__field {
  position: relative;
}
.product-partners__input {
  width: 100%;
  padding: 8rem 0 10rem;
  font-size: 14rem;
  font-family: var(--font-family);
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1rem solid #c8c8c8;
  border-radius: 0;
  outline: none;
}
.product-partners__input::placeholder {
  color: #9c9cb1;
  text-transform: lowercase;
}
.product-partners__input:focus {
  border-bottom-color: var(--color-black);
}
.product-detail__content:has(.product-partners__cities:not([hidden])) {
  position: relative;
  z-index: 4;
}
.product-partners__cities {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  max-height: 240rem;
  margin: 4rem 0 0;
  padding: 4rem 0;
  overflow: auto;
  list-style: none;
  background: var(--color-white);
  border: 1rem solid #e6e6e6;
  border-radius: 6rem;
  box-shadow: 0 8rem 24rem rgba(0, 0, 0, 0.08);
}
.product-partners__cities[hidden],
.product-partners__city[hidden],
.product-partners__empty[hidden] {
  display: none !important;
}
.product-partners__cities button {
  width: 100%;
  padding: 8rem 16rem;
  font-size: 14rem;
  line-height: 1.3;
  text-align: left;
  background: none;
}
.product-partners__cities button:hover {
  background: #f4f6fb;
}
.product-partners__empty {
  margin: 12rem 0 0;
  font-size: 13rem;
  line-height: 1.35;
  color: var(--color-text-light);
}
.product-partners__results {
  display: flex;
  flex-direction: column;
  gap: 12rem;
}
.product-partners__city {
  margin-top: 12rem;
}
.product-partners__partner + .product-partners__partner {
  margin-top: 12rem;
}
.product-partners__name {
  margin: 0 0 4rem;
  font-size: 14rem;
  line-height: 1.35;
}
.product-partners__contact {
  display: block;
  font-size: 14rem;
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2rem;
}
@media (max-width: 800px) {
  .product-partners {
    order: 7;
    width: 100%;
    margin-top: 16rem;
  }
}

/* Реклама: хит, новинка и скидка остаются на экране при любом результате и ширине */
.page-reklama .catalog-quick {
  display: flex;
}
@media (max-width: 1024px) {
  .page-reklama .catalog-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .page-reklama .catalog-quick {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .page-reklama .catalog-quick > li,
  .page-reklama .catalog-quick > li:first-child {
    flex: 1 1 0;
    max-width: none;
  }
}

/* Короткий экран: телефон горизонтально и низкое окно.
   Выше 800px баннер фиксирован на 500px и кнопка уезжает за нижний край. */
@media (max-height: 520px) {
  .hero,
  .home-fold .hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: 100vh;
    max-height: 100svh;
  }
  .hero__slide-content {
    padding-bottom: max(16rem, calc(12rem + env(safe-area-inset-bottom, 0px)));
    max-height: calc(100% - var(--header-height, 56rem) - 8rem);
  }
}

/* Ширина карточки особого значения: до 50 символов — 1 столбец, больше 50 — 2, больше 75 — 3. */
.product-features__item--span-2 {
  grid-column: span 2;
}
.product-features__item--span-3 {
  grid-column: span 3;
}
/* Щётки: всегда две карточки в строке, без растягивания длинного текста. */
.product-features.product-features--brush {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-features.product-features--brush > .product-features__item {
  grid-column: auto;
}

/* End */
/* /local/templates/personalcare/styles.css?179391414455 */
/* /local/templates/personalcare/template_styles.css?1794947891428745 */
