

/* Start:/local/templates/bonadi/css/fonts.css?17855044362230*/
/* Локальные шрифты. Montserrat и Cormorant Garamond распространяются по SIL
   Open Font License 1.1, Material Symbols — по Apache License 2.0. Тексты
   лицензий находятся рядом с файлами в ../fonts/. */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('/local/templates/bonadi/css/../fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  display: inline-block;
  font-family: 'Material Symbols Outlined' !important;
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga' !important;
  -webkit-font-feature-settings: 'liga' !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: block;
  src: url('/local/templates/bonadi/css/../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: block;
  src: url('/local/templates/bonadi/css/../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: block;
  src: url('/local/templates/bonadi/css/../fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: block;
  src: url('/local/templates/bonadi/css/../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* End */


/* Start:/local/templates/bonadi/css/foundation.css?178550443612439*/
/* =====================================================================
   BONADI — премиальная дизайн-система
   Палитра, типографика и эффекты в духе модных fashion-брендов:
   кремово-бежевые тона, glassmorphism, единый нейтральный шрифт,
   мягкие тени, скруглённые углы и плавные анимации.
   ===================================================================== */

:root {
  --c-milk:      #ffffff;
  --c-cream:     #fbfaf7;
  --c-beige:     #f1eee8;
  --c-champagne: #e7e4dd;
  --c-powder:    #d7d2c8;
  --c-blush:     #bdb6aa;
  --c-rose:      #9c968b;
  --c-warm-gray: rgba(35, 34, 31, 0.56);
  --c-taupe:     rgba(35, 34, 31, 0.72);
  --c-choco:     #1e1d1a;
  --c-dark:      #1e1d1a;
  --c-white:     #ffffff;
  --c-accent:    #8f897f;
  --c-accent-2:  #aaa49a;
  --c-accent-dark: #5f5a52;
  --c-line:      rgba(95, 90, 82, 0.18);
  --c-surface:   rgba(255, 255, 255, 0.74);
  --c-surface-strong: rgba(255, 255, 255, 0.9);
  --c-footer:    #1f1f1c;
  --c-sale:      #b36b50;
  --c-button:    #f5f0e6;
  --c-button-hover: #e2d6c4;
  --c-button-line: rgba(119, 107, 92, 0.14);
  --c-button-text: #4c453b;

  --glass-bg:       rgba(255, 255, 255, 0.7);
  --glass-bg-light: rgba(255, 255, 255, 0.58);
  --glass-border:   rgba(255, 255, 255, 0.72);
  --glass-blur:     blur(22px) saturate(1.05);
  --glass-blur-sm:  blur(14px) saturate(1.04);

  --shadow-xs: 0 2px 10px rgba(31, 29, 26, 0.03);
  --shadow-sm: 0 10px 32px rgba(31, 29, 26, 0.045);
  --shadow-md: 0 18px 54px rgba(31, 29, 26, 0.065);
  --shadow-lg: 0 24px 70px rgba(31, 29, 26, 0.09);
  --shadow-xl: 0 34px 96px rgba(31, 29, 26, 0.13);

  --font-body:    'Montserrat', Arial, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', Arial, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brand-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   36px;
  --r-full: 9999px;

  --max:    1280px;
  --header: 104px;
  --motion-ease: cubic-bezier(0.22, 0.72, 0.18, 1);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-panel: 520ms;
  --motion-slow: 760ms;
  --ease:   var(--motion-ease);
  /* Плавное раздвигание/сдвигание поиска и пилюли сброса: длиннее и с мягким
     ease-in-out, чтобы не было рывка на старте/в конце. */
  --motion-swap: 640ms;
  --ease-swap: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--c-cream);
}

body {
  background: var(--c-cream);
  color: var(--c-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body[data-page="catalog"],
body[data-page="contacts"],
body[data-page="cooperation"] {
  background: var(--c-cream);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-choco);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  user-select: none;
}

/* Пока шрифт иконок не загрузился — не показываем «сырой» текст лигатуры */
html:not(.icons-ready) .material-symbols-outlined {
  visibility: hidden !important;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================================
   ШАПКА — плавающая стеклянная панель
   ===================================================================== */
.site-header {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 9px 26px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 18px 60px rgba(31, 29, 26, 0.075);
  z-index: 1000;
  transition:
    top var(--motion-panel) var(--motion-ease),
    min-height var(--motion-panel) var(--motion-ease),
    padding var(--motion-panel) var(--motion-ease),
    background var(--motion-panel) var(--motion-ease),
    border-color var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease),
    width var(--motion-panel) var(--motion-ease);
}

.site-header.scrolled {
  top: 14px;
  min-height: 56px;
  padding: 6px 24px;
  width: calc(100% - 80px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 48px rgba(31, 29, 26, 0.1);
}

/* Корректировка положения шапки при включенной панели администрирования 1С-Битрикс */
#bx-panel.bx-panel-fixed ~ .site-header {
  top: calc(145px + 28px);
}
#bx-panel.bx-panel-fixed ~ .site-header.scrolled {
  top: calc(145px + 14px);
}

#bx-panel.bx-panel-fixed.bx-panel-folded ~ .site-header {
  top: calc(40px + 28px);
}
#bx-panel.bx-panel-fixed.bx-panel-folded ~ .site-header.scrolled {
  top: calc(40px + 14px);
}

.site-header .brand-logo {
  height: 54px;
  transition: height var(--motion-panel) var(--motion-ease);
}

.site-header.scrolled .brand-logo {
  height: 46px;
}

.brand {
  display: grid;
  gap: 1px;
  width: max-content;
}

.brand-mark {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--c-choco);
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
}

/* В тёмном футере делаем чёрный логотип белым */
.footer-inner .brand-logo {
  height: 44px;
  filter: brightness(0) invert(1);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
}

.top-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-taupe);
  transition: color var(--motion-base) var(--motion-ease);
}

.top-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--motion-base) var(--motion-ease);
}

.top-nav a:hover {
  color: var(--c-choco);
}

.top-nav a:hover::after,
.top-nav a.active::after {
  width: 22px;
}

.top-nav a.active {
  color: var(--c-choco);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--c-choco);
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.nav-toggle .material-symbols-outlined {
  font-size: 28px;
}

.page-main {
  position: relative;
  min-height: 0;
  background: var(--c-cream);
}

body[data-page="catalog"] .page-main,
body[data-page="cooperation"] .page-main,
body[data-page="contacts"] .page-main {
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(48px, 6vw, 88px);
}

body[data-page="cooperation"] .page-main {
  min-height: 100svh;
}

body[data-page="catalog"] .page-main::before,
body[data-page="cooperation"] .page-main::before,
body[data-page="contacts"] .page-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: clamp(320px, 30vw, 480px);
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.35) 0%, rgba(251, 250, 247, 0.55) 50%, var(--c-cream) 100%),
    url('/local/templates/bonadi/css/../images/page-bg-top.webp') top center / cover no-repeat;
  filter: blur(5px);
  transform: scale(1.03);
  transform-origin: top center;
  opacity: 0.5;
}

/* «Сотрудничество» — фоновая картинка справа: крупная, чёткая, без блюра.
   Левый и нижний края растворяются маской в кремовый фон — без резкого стыка. */
body[data-page="cooperation"] .page-main::before {
  height: clamp(600px, 52vw, 860px);
  background: url('/local/templates/bonadi/css/../images/coop-bg-top.webp') top right / auto 100% no-repeat;
  filter: none;
  transform: none;
  opacity: 0.85;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 62%),
    linear-gradient(180deg, #000 50%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 62%),
    linear-gradient(180deg, #000 50%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body[data-page="catalog"] .page-main > *,
body[data-page="cooperation"] .page-main > *,
body[data-page="contacts"] .page-main > * {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   ТИПОГРАФИКА И КНОПКИ
   ===================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--c-accent);
}

.lead {
  color: var(--c-taupe);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  margin-bottom: 22px;
}

.copy {
  color: var(--c-warm-gray);
  font-size: 16px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.btn .material-symbols-outlined {
  font-size: 19px;
}

.btn-dark {
  background: var(--c-button);
  border-color: var(--c-button-line);
  color: var(--c-button-text);
  box-shadow: 0 8px 24px rgba(76, 69, 59, 0.05);
}

.btn-dark:hover {
  background: var(--c-button-hover);
  border-color: rgba(119, 107, 92, 0.2);
  color: var(--c-choco);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(76, 69, 59, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.34);
  color: var(--c-button-text);
  border-color: var(--c-button-line);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.btn-ghost:hover {
  background: var(--c-button);
  color: var(--c-choco);
  border-color: rgba(119, 107, 92, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(76, 69, 59, 0.1);
}

.btn-wb {
  background: var(--c-button);
  border-color: var(--c-button-line);
  color: var(--c-button-text);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(76, 69, 59, 0.05);
}

.btn-wb:hover {
  background: var(--c-button-hover);
  border-color: rgba(119, 107, 92, 0.2);
  color: var(--c-choco);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(76, 69, 59, 0.08);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* End */


/* Start:/local/templates/bonadi/css/home.css?178550443615300*/

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header) + 48px) 24px 80px;
  min-height: 92vh;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.0;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---------- Слоистый hero главной ---------- */
.hero-full {
  /* Точка привязки = центр петли шёлка на фото. И кадрирование картинки,
     и текст в петле используют её, поэтому петля и текст не расходятся
     при разных пропорциях экрана. */
  --loop-x: 29.2%;
  /* Вертикаль центра петли зависит от того, как cover кадрирует фото:
     на широких экранах (шире пропорции фото ~1.78) обрезается верх/низ — центр ниже;
     на «квадратных» — обрезаются бока, центр выше. */
  --loop-y: 49%;
  /* Доводка положения текста в петле (растёт на широких экранах). */
  --loop-shift-x: clamp(0px, 1.2vw, 24px);
  --loop-shift-y: clamp(-8px, -0.7vw, 0px);
  --ring-inner-center-x: calc(var(--loop-x) + var(--loop-shift-x));
  --ring-inner-center-y: calc(var(--loop-y) + var(--loop-shift-y));
  --loop-box-left: 18%;
  --loop-box-top: 30%;
  --loop-box-right: 42.4%;
  --loop-box-bottom: 72.2%;
  /* Диаметр внутреннего «отверстия» петли как доля нарисованного фото
     (замерено по исходнику 1672×941: отверстие ≈410px по обеим осям).
     Используется на телефоне, где текстовый бокс строится по реальному
     размеру петли, а не по фиксированной ширине — чтобы текст никогда
     не вылезал за окружность. */
  --loop-hole-w: 0.245;
  --loop-hole-h: 0.436;
  --ring-inner-width: clamp(360px, 26.5vw, 520px);
  --ring-inner-height: clamp(410px, 42svh, 560px);
  --hero-brand-x: calc(50% + 25px + clamp(18px, 2vw, 34px));
  --hero-brand-top: clamp(112px, 15svh, 184px);
  --hero-brand-max-width: min(780px, calc(100vw - 48px));
  --hero-brand-font-size: clamp(58px, 4.95vw, 108px);
  --hero-brand-letter-spacing: 0.04em;
  --hero-eyebrow-font-size: clamp(10px, 0.82vw, 15px);
  --hero-eyebrow-letter-spacing: clamp(0.16em, 0.24vw, 0.36em);
  --hero-image-scale: 1.055;
  --hero-image-shift-x: -1.8%;
  --hero-image-shift-y: 2.2%;
  --hero-object-x: center;
  --hero-object-y: center;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(90deg, #c99d78 0%, #d8ae87 48%, #d2a176 100%);
}

/* Экран «квадратнее» фото (16:10, 4:3 и т.п.) — петля визуально выше. */
@media (max-aspect-ratio: 16 / 9) {
  .hero-full {
    --loop-y: 58%;
  }
}

.hero-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(211, 161, 120, 0.42), rgba(243, 218, 190, 0.08) 48%, rgba(178, 121, 82, 0.22));
}

.hero-wall-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-object-x) var(--hero-object-y);
  transform: translate(var(--hero-image-shift-x), var(--hero-image-shift-y)) scale(var(--hero-image-scale));
  transform-origin: center;
}

.hero-full-inner {
  position: relative;
  z-index: 7;
  width: 100%;
  max-width: 1480px;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header) + 58px) 24px 0 clamp(32px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  color: var(--c-choco);
  text-align: left;
}

.hero-full .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(760px, calc(100vw - 56px));
  gap: clamp(10px, 1.2vw, 22px);
  color: rgba(76, 69, 59, 0.66);
  font-size: var(--hero-eyebrow-font-size);
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  margin: clamp(12px, 1.35vw, 22px) auto 0;
}

.hero-full .eyebrow::before,
.hero-full .eyebrow::after {
  content: '';
  display: block;
  width: clamp(34px, 4.8vw, 92px);
  height: 1px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(88, 76, 63, 0.22);
}

.hero-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: clamp(7px, 0.6vw, 10px);
  min-width: 0;
  flex: 0 1 auto;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: var(--hero-eyebrow-letter-spacing);
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.hero-eyebrow span::before,
.hero-eyebrow span::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1.5px solid rgba(173, 151, 119, 0.7);
  background: rgba(251, 250, 247, 0.26);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 1px rgba(173, 151, 119, 0.18);
}

.hero-full h1 {
  max-width: 430px;
  font-family: var(--font-display);
  color: rgba(54, 48, 42, 0.92);
  margin: 0;
}

.hero-title-lockup {
  position: absolute;
  left: var(--hero-brand-x);
  top: var(--hero-brand-top);
  z-index: 8;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--hero-brand-max-width);
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.hero-full .hero-title-lockup {
  max-width: var(--hero-brand-max-width);
}

.hero-brand-word {
  display: block;
  width: 100%;
  color: rgba(54, 48, 42, 0.9);
  font-family: var(--font-brand-serif);
  font-size: var(--hero-brand-font-size);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: var(--hero-brand-letter-spacing);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 24px rgba(55, 45, 36, 0.08);
}

/* Текст вписан в овальное «отверстие» шёлка слева — без плашки/фона. */
.hero-glass-panel {
  position: absolute;
  z-index: 7;
  left: var(--ring-inner-center-x);
  top: var(--ring-inner-center-y);
  transform: translate(-50%, -50%) scale(var(--hero-panel-fit-scale, 1));
  transform-origin: center;
  width: var(--ring-inner-width);
  height: var(--ring-inner-height);
  padding: clamp(16px, calc(var(--ring-inner-width) * 0.04), 26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, calc(var(--ring-inner-height) * 0.024), 15px);
  text-align: center;
  container-type: size;
}

/* Положение панели зависит от реального cover-кадрирования hero-фото, а размеры
   заголовка — от загруженного шрифта. При JS скрываем оба блока до первого
   точного расчёта, чтобы посетитель не видел промежуточную позицию и скачок.
   Inline-fallback в header раскроет их при сбое основного скрипта. */
html.js .hero-full:not(.hero-layout-ready) .hero-title-lockup,
html.js .hero-full:not(.hero-layout-ready) .hero-glass-panel {
  visibility: hidden;
}

.hero-full.hero-layout-ready .hero-title-lockup,
.hero-full.hero-layout-ready .hero-glass-panel {
  visibility: visible;
}

.hero-panel-mark,
.hero-panel-title,
.hero-panel-rule,
.hero-panel-copy,
.hero-glass-panel .hero-actions {
  position: relative;
  z-index: 1;
}

.hero-panel-mark {
  color: rgba(54, 48, 42, 0.78);
  font-size: clamp(18px, 1.7vw, 26px);
  font-size: clamp(17px, min(5.4cqw, 5cqh), 25px);
  font-variation-settings: 'OPSZ' 32, 'wght' 260, 'FILL' 0, 'GRAD' 0;
}

.hero-panel-title {
  max-width: min(94cqw, 470px);
  color: rgba(54, 48, 42, 0.88);
  font-family: var(--font-brand-serif);
  font-size: clamp(46px, 3.55vw, 66px);
  font-size: clamp(48px, min(14.5cqw, 12.8cqh), 66px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-panel-rule {
  width: clamp(52px, 5vw, 80px);
  height: 2px;
  background: rgba(173, 151, 119, 0.48);
  border-radius: 999px;
}

.hero-panel-copy {
  max-width: min(84cqw, 360px);
  color: rgba(54, 48, 42, 0.68);
  font-size: clamp(15px, 1.08vw, 18.5px);
  font-size: clamp(15px, min(4.35cqw, 4.4cqh), 18.5px);
  line-height: 1.38;
}

.hero-full .hero-glass-panel .hero-actions {
  justify-content: center;
  margin-top: 6px;
}

@media (min-width: 901px) {
  .hero-full {
    --loop-shift-x: clamp(8px, 1vw, 18px);
  }

  .hero-full .eyebrow {
    margin: 16px auto 0;
    font-size: clamp(10px, 0.72vw, 12px);
    letter-spacing: clamp(0.12em, 0.32vw, 0.24em);
  }

  .hero-eyebrow span {
    gap: 12px;
  }

  .hero-glass-panel .hero-actions {
    width: clamp(230px, 68cqw, 300px);
    flex-direction: column;
    align-items: stretch;
    gap: clamp(8px, 2.2cqh, 12px);
  }

  .hero-glass-panel .hero-actions .btn {
    width: 100%;
    min-height: clamp(46px, 8.8cqh, 54px);
    justify-content: center;
    padding-right: clamp(16px, 4cqw, 22px);
    padding-left: clamp(16px, 4cqw, 22px);
    font-size: clamp(14px, 3.55cqw, 15.5px);
  }
}

@media (max-width: 1280px) {
  .hero-full {
    --hero-brand-top: clamp(96px, 13svh, 142px);
    --hero-brand-font-size: clamp(50px, 4.8vw, 76px);
    --hero-eyebrow-font-size: clamp(9px, 0.9vw, 12px);
    --hero-eyebrow-letter-spacing: 0.22em;
  }
}

@media (max-height: 780px) and (min-width: 900px) {
  .hero-full {
    --hero-brand-top: clamp(116px, 16svh, 128px);
    --hero-brand-font-size: clamp(46px, 4.55vw, 64px);
    --hero-eyebrow-font-size: 10px;
    --hero-eyebrow-letter-spacing: 0.2em;
  }

  .hero-full .eyebrow {
    margin-top: 10px;
  }
}

.hero-full .lead {
  max-width: 560px;
  color: rgba(54, 48, 42, 0.68);
  margin: 0 0 30px;
  text-align: left;
  font-size: 22px;
}

.hero-full .btn-dark {
  background: var(--c-button);
  border-color: var(--c-button-line);
  color: var(--c-button-text);
  box-shadow: 0 14px 34px rgba(76, 69, 59, 0.1);
}

.hero-full .btn-dark:hover {
  background: var(--c-button-hover);
  border-color: rgba(119, 107, 92, 0.28);
  color: var(--c-choco);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(76, 69, 59, 0.14);
}

.hero-full .hero-actions {
  justify-content: flex-start;
}

.btn-milk {
  background: linear-gradient(180deg, #d7b083, #c69762);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--c-button-text);
  box-shadow: 0 18px 34px rgba(145, 94, 46, 0.24);
}

.btn-milk:hover {
  background: linear-gradient(180deg, #dfba8d, #cfa06d);
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--c-choco);
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(145, 94, 46, 0.28);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(236, 228, 215, 0.58);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.btn-outline-light:hover {
  background: var(--c-button);
  color: var(--c-button-text);
  border-color: rgba(236, 228, 215, 0.86);
  transform: translateY(-2px);
}

.hero-full .btn-outline-light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-button-text);
  border-color: rgba(70, 55, 43, 0.45);
}

.hero-full .btn-outline-light:hover {
  background: var(--c-button);
  color: var(--c-choco);
  border-color: rgba(119, 107, 92, 0.3);
}

/* ---------- Лукбук-секция: фото / текст чередуются (как в AURA) ---------- */
.lookbook {
  background: var(--c-cream);
}

/* Когда лукбук — первый блок страницы, отступаем от плавающей шапки */
.lookbook-top {
  padding-top: calc(var(--header) + 8px);
  background: var(--c-cream);
}

.lookbook-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 84vh;
}

.lookbook-row + .lookbook-row {
  border-top: 1px solid var(--c-beige);
}

.lookbook-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--c-cream);
}

.lookbook-row.reverse .lookbook-photo {
  order: 2;
}

.lookbook-row.reverse .lookbook-copy {
  order: 1;
  margin: 0 auto;
}

.lookbook-photo {
  height: 84vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--c-beige);
}

.lookbook-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--motion-slow) var(--motion-ease);
}

.lookbook-row:hover .lookbook-photo img {
  transform: scale(1.05);
}

.lookbook-copy {
  width: min(100%, 720px);
  max-width: none;
  padding: clamp(40px, 4vw, 72px);
}

.lookbook-copy .eyebrow {
  margin-bottom: 16px;
}

.lookbook-copy h1,
.lookbook-copy h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  margin-bottom: 20px;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-wrap: balance;
}

.lookbook-copy .copy + .copy {
  margin-top: 20px;
}

.about-slogan-colon {
  display: inline-block;
  margin-left: 0.28em;
  font-weight: 600;
}

@media (max-width: 1180px) {
  body[data-page="about"] .lookbook-row,
  body[data-page="about"] .lookbook-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body[data-page="about"] .lookbook-row.reverse .lookbook-photo,
  body[data-page="about"] .lookbook-row.reverse .lookbook-copy {
    order: 0;
  }

  body[data-page="about"] .lookbook-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  body[data-page="about"] .lookbook-copy {
    width: min(100%, 820px);
    padding: clamp(42px, 6vw, 64px) 24px;
  }
}

/* Анимация появления лукбук-рядов. Шторка фото намеренно длиннее и драматичнее
   обычного reveal (--motion-slow): медленный заход и выход дают «дорогой» эффект
   распахивания кадра. Текст подъезжает с задержкой, пока фото ещё открывается. */
.lookbook-row .lookbook-photo {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s cubic-bezier(0.77, 0, 0.18, 1);
}

.lookbook-row.reverse .lookbook-photo {
  clip-path: inset(0 0 0 100%);
}

.lookbook-row .lookbook-copy {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--motion-ease) 0.28s,
    transform 0.75s var(--motion-ease) 0.28s;
}

.lookbook-row.revealed .lookbook-photo {
  clip-path: inset(0);
}

.lookbook-row.revealed .lookbook-copy {
  opacity: 1;
  transform: translateY(0);
}

/* End */


/* Start:/local/templates/bonadi/css/components.css?17855044368545*/

/* =====================================================================
   СЕКЦИИ
   ===================================================================== */
.section {
  padding: 92px 0;
}

.features-section {
  padding: 56px 0 72px;
}

.features-section + .home-features-list {
  padding-top: 72px;
}

.section-muted {
  background: var(--c-cream);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.section-head .copy {
  max-width: 480px;
}

/* =====================================================================
   КАРТОЧКА ТОВАРА
   ===================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.catalog-main .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  --card-sheet-width: min(calc(100% - 40px), 84%);
  --card-sheet-pad-x: clamp(16px, 5%, 22px);
  --card-sheet-pad-y: 16px;
  --card-sheet-radius: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 5 / 7;
  min-height: 320px;
  /* Чуть менее скруглённые углы — карточка немного «квадратнее» */
  border-radius: 20px;
  background: var(--c-beige);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(31, 29, 26, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease),
    border-color var(--motion-panel) var(--motion-ease);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 96px rgba(31, 29, 26, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.96);
}

/* На главной неполный ряд (товаров < 4) центрируется без «дыры» справа */
body[data-page="home"] .product-grid {
  justify-content: center;
}

body[data-page="home"] .product-card {
  width: 100%;
  max-width: 320px;
}

.product-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(215, 210, 200, 0.24)), var(--c-beige);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition:
    transform var(--motion-slow) var(--motion-ease),
    filter var(--motion-panel) var(--motion-ease);
}

.product-card:hover .product-image img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.product-image::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 29, 26, 0) 42%, rgba(31, 29, 26, 0.04) 61%, rgba(31, 29, 26, 0.24) 100%);
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--c-accent-dark);
  color: var(--c-milk);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}

.product-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  text-align: left;
  /* Прямая тонкая полоса снизу — без скруглений */
  border-radius: 0;
  border: 0;
  background: #faf8f5;
  overflow: hidden;
}

.product-card-info > * {
  position: relative;
  z-index: 1;
}

.product-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.product-card-text .product-title {
  text-align: left;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.product-card-info .product-card-colors {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  padding: 0;
  min-height: 0;
}

.product-card-info .swatch {
  width: 13px;
  height: 13px;
}

.product-card-info .product-price-line {
  display: block;
  padding: 0;
  margin: 0;
  color: var(--c-taupe);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.product-card > .product-card-colors {
  position: absolute;
  right: calc(((100% - var(--card-sheet-width)) / 2) + var(--card-sheet-pad-x));
  left: calc(((100% - var(--card-sheet-width)) / 2) + var(--card-sheet-pad-x));
  z-index: 3;
  margin: 0;
  opacity: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  justify-content: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(10px);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-panel) var(--motion-ease);
}

.product-card > .product-card-colors {
  bottom: 52px;
  padding: 0;
}

.product-card:hover > .product-card-colors,
.product-card:focus-visible > .product-card-colors,
.product-card:hover > .product-price-line,
.product-card:focus-visible > .product-price-line {
  opacity: 1;
  transform: translateY(0);
}

.product-card > .size-line {
  display: none;
}

.product-card-info .size-line {
  display: block;
  margin-top: 1px;
  color: var(--c-warm-gray);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card > .product-price-line {
  position: absolute;
  right: calc(((100% - var(--card-sheet-width)) / 2) + var(--card-sheet-pad-x));
  bottom: 22px;
  left: calc(((100% - var(--card-sheet-width)) / 2) + var(--card-sheet-pad-x));
  z-index: 3;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  text-align: center;
  transform: translateY(10px);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-panel) var(--motion-ease);
}

.product-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-choco);
  letter-spacing: 0;
  text-transform: none;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-choco);
  white-space: nowrap;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 22px;
}

.product-card-colors {
  min-height: 18px;
  padding: 0;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(31, 29, 26, 0.12);
  background: var(--swatch-color);
}

.size-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 10px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.38);
  color: var(--c-accent-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.product-price-line {
  display: block;
  padding: 0;
  margin-top: 2px;
  color: var(--c-choco);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

/* Свотчи на странице товара: выровнены по левому краю (как текст), больше воздуха */
#product-colors {
  padding: 0;
  gap: 16px;
}

button.swatch {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease);
}

button.swatch:hover {
  transform: scale(1.1);
}

/* Тонкое кольцо выбора с небольшим отступом (белый зазор + тонкая тёмная линия) */
button.swatch.active {
  outline: none;
  box-shadow: 0 0 0 2px var(--c-cream), 0 0 0 3px var(--c-choco);
}

/* =====================================================================
   ЗАГОЛОВОК СТРАНИЦЫ
   ===================================================================== */
.page-title {
  padding: calc(var(--header) + 18px) 24px 26px;
}

.page-title h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  margin-bottom: 14px;
}

.page-title .copy {
  max-width: 640px;
}

/* End */


/* Start:/local/templates/bonadi/css/delivery.css?178550443612066*/

/* =====================================================================
   ДОСТАВКА — список способов доставки
   ===================================================================== */
body[data-page="delivery"] .page-main {
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  padding-bottom: clamp(38px, 5vw, 72px);
  background: var(--c-cream);
}

body[data-page="delivery"] .page-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.02) 0%, rgba(251, 250, 247, 0.08) 42%, rgba(251, 250, 247, 0.76) 63%, var(--c-cream) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(251, 250, 247, 0.36) 44%, var(--c-cream) 100%),
    url('/local/templates/bonadi/css/../images/delivery-bg.webp') left bottom / min(62vw, 1040px) auto no-repeat;
}

body[data-page="delivery"] .page-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(219, 184, 144, 0.13), transparent 32%),
    radial-gradient(circle at 42% 100%, rgba(255, 255, 255, 0.72), transparent 38%);
}

body[data-page="delivery"] .page-main > * {
  position: relative;
  z-index: 1;
}

.delivery-page {
  padding: calc(var(--header) + 22px) 0 0;
}

.delivery-dispatch,
.delivery-card,
.delivery-benefits {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(119, 107, 92, 0.12);
  box-shadow: 0 16px 46px rgba(31, 29, 26, 0.045);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.delivery-dispatch {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(100px, 0.26fr);
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  min-height: clamp(126px, 8vw, 144px);
  padding: clamp(14px, 1.4vw, 22px) clamp(14px, 1.4vw, 22px) clamp(14px, 1.4vw, 22px) 8px;
  border-radius: 22px;
}

.delivery-dispatch-icon {
  width: clamp(52px, 3.6vw, 66px);
  height: clamp(52px, 3.6vw, 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  border: 1px solid rgba(205, 166, 117, 0.3);
  background: rgba(255, 255, 255, 0.54);
  color: rgba(132, 105, 74, 0.82);
}

.delivery-dispatch-icon .material-symbols-outlined {
  font-size: clamp(34px, 3vw, 44px);
  font-variation-settings: 'OPSZ' 40, 'wght' 260, 'FILL' 0, 'GRAD' 0;
}

.delivery-dispatch-icon img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}

.delivery-dispatch-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.delivery-dispatch-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.6vw, 30px);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
}

.delivery-dispatch-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 12px 0 10px;
  background: rgba(143, 137, 127, 0.28);
}

.delivery-dispatch-copy p {
  max-width: 360px;
  color: rgba(52, 49, 44, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  line-height: 1.45;
}

.delivery-card {
  display: grid;
  grid-template-columns: clamp(52px, 3.6vw, 66px) minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.4vw, 20px);
  align-items: center;
  min-height: clamp(84px, 5.8vw, 102px);
  padding: 8px clamp(16px, 1.4vw, 24px) 8px 8px;
  border-radius: 20px;
  transition:
    transform var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease),
    border-color var(--motion-panel) var(--motion-ease);
}

.delivery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(119, 107, 92, 0.22);
  box-shadow: 0 18px 54px rgba(31, 29, 26, 0.06);
}

.delivery-icon {
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  border: 1px solid rgba(205, 166, 117, 0.2);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.8), transparent 58%),
    rgba(245, 240, 230, 0.72);
  color: rgba(132, 105, 74, 0.78);
}

.delivery-icon .material-symbols-outlined {
  font-size: clamp(34px, 3vw, 46px);
  font-variation-settings: 'OPSZ' 40, 'wght' 260, 'FILL' 0, 'GRAD' 0;
}

.delivery-icon img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}

.delivery-card-body {
  min-width: 0;
}

.delivery-title {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.5vw, 28px);
  font-weight: 600;
  color: var(--c-choco);
  line-height: 1.16;
  margin-bottom: 6px;
}

.delivery-text {
  color: rgba(52, 49, 44, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.delivery-text + .delivery-text {
  margin-top: 4px;
}

.delivery-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 78px;
  padding: 14px 12px;
  border-radius: 22px;
}

.delivery-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 12px;
}

.delivery-benefit + .delivery-benefit {
  border-left: 1px solid rgba(119, 107, 92, 0.14);
}

.delivery-benefit .material-symbols-outlined {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: rgba(250, 247, 241, 0.78);
  border: 1px solid rgba(205, 166, 117, 0.24);
  color: rgba(132, 105, 74, 0.78);
  font-size: 25px;
  font-variation-settings: 'OPSZ' 32, 'wght' 260, 'FILL' 0, 'GRAD' 0;
}

.delivery-benefit p {
  color: rgba(52, 49, 44, 0.58);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.delivery-benefit strong {
  color: rgba(52, 49, 44, 0.78);
  font-weight: 700;
}

@media (max-width: 1060px) {
  body[data-page="delivery"] .page-main::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.08) 0%, rgba(251, 250, 247, 0.44) 46%, var(--c-cream) 100%),
      url('/local/templates/bonadi/css/../images/delivery-bg.webp') left bottom / min(92vw, 900px) auto no-repeat;
    opacity: 0.76;
  }
}

@media (max-width: 720px) {
  body[data-page="delivery"] .page-main::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.06) 0%, rgba(251, 250, 247, 0.58) 40%, var(--c-cream) 84%),
      url('/local/templates/bonadi/css/../images/delivery-bg.webp') left bottom / 980px auto no-repeat;
    opacity: 0.62;
  }

  .delivery-page {
    padding-top: calc(var(--header) + 22px);
  }

  .delivery-dispatch {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 20px;
    border-radius: 24px;
  }

  .delivery-card {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 0;
    padding: 14px;
    border-radius: 22px;
  }

  .delivery-icon {
    grid-row: 1 / span 3;
  }

  .delivery-title {
    font-size: 21px;
    margin-bottom: 8px;
  }

  .delivery-benefits {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px;
  }

  .delivery-benefit {
    padding: 16px 0;
  }

  .delivery-benefit + .delivery-benefit {
    border-left: 0;
    border-top: 1px solid rgba(119, 107, 92, 0.14);
  }
}

@media (max-width: 560px) {
  .delivery-dispatch {
    grid-template-columns: 1fr;
  }

  .delivery-dispatch-icon {
    width: 72px;
    height: 72px;
  }

  .delivery-card {
    grid-template-columns: 1fr;
  }

  .delivery-icon {
    grid-row: auto;
    width: 72px;
    min-height: 72px;
  }
}

@media (max-height: 800px) and (min-width: 901px) {
  .delivery-page {
    padding-top: calc(var(--header) + 22px);
    padding-bottom: 36px;
  }

  .delivery-dispatch {
    min-height: 150px;
    padding: 22px 26px;
  }

  .delivery-dispatch-icon {
    width: 68px;
    height: 68px;
  }

  .delivery-dispatch-copy h2 {
    font-size: 25px;
  }

  .delivery-dispatch-rule {
    margin: 10px 0 8px;
  }

  .delivery-dispatch-copy p,
  .delivery-text {
    font-size: 13px;
    line-height: 1.42;
  }

  .delivery-card {
    grid-template-columns: 74px minmax(0, 1fr) auto auto;
    min-height: 108px;
    padding: 10px 18px 10px 10px;
  }

  .delivery-icon {
    width: 74px;
  }

  .delivery-title {
    font-size: 21px;
    margin-bottom: 6px;
  }

  .delivery-text + .delivery-text {
    margin-top: 5px;
  }

  .delivery-benefits {
    min-height: 92px;
    padding: 16px 22px;
  }

  .delivery-benefit .material-symbols-outlined {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }

  .delivery-benefit p {
    font-size: 12px;
  }
}

/* =====================================================================
   ДОСТАВКА — композиция первого экрана
   Шапка здесь использует базовые стили сайта. Ниже — только локальная
   сетка и визуальная сцена страницы доставки.
   ===================================================================== */
.delivery-dispatch-art {
  display: none;
}

@media (min-width: 1061px) {
  body[data-page="delivery"] .page-main::before {
    background:
      linear-gradient(90deg, rgba(251, 250, 247, 0) 0%, rgba(251, 250, 247, 0.02) 36%, rgba(251, 250, 247, 0.7) 59%, var(--c-cream) 78%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(251, 250, 247, 0.16) 58%, rgba(251, 250, 247, 0.42)),
      url('/local/templates/bonadi/css/../images/delivery-bg-v7.webp') center top -50px / cover no-repeat;
  }

  .delivery-page {
    min-height: 100svh;
    /* Такая же стартовая высота, как у .page-title на странице контактов. */
    padding: calc(var(--header) + 18px) 0 56px;
  }

  .delivery-dispatch {
    position: relative;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 22px 26px;
    border-radius: 20px;
    isolation: isolate;
  }

  .delivery-dispatch-icon,
  .delivery-dispatch-copy {
    position: relative;
    z-index: 1;
  }

  .delivery-dispatch-icon {
    width: 72px;
    height: 72px;
  }

  .delivery-dispatch-icon .material-symbols-outlined {
    font-size: 38px;
  }

  .delivery-dispatch-copy h2 {
    font-size: clamp(20px, 1.42vw, 24px);
    line-height: 1.22;
  }

  .delivery-dispatch-rule {
    width: 28px;
    margin: 10px 0 8px;
  }

  .delivery-dispatch-copy p {
    max-width: 330px;
    font-size: 13px;
    line-height: 1.5;
  }

  .delivery-dispatch-art {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    display: block;
    width: 57%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
  }

  .delivery-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 0;
    padding: 12px 22px 12px 12px;
    border-radius: 20px;
  }

  .delivery-icon {
    width: 72px;
  }

  .delivery-icon .material-symbols-outlined {
    font-size: 38px;
  }

  .delivery-title {
    font-size: clamp(19px, 1.38vw, 23px);
    line-height: 1.18;
    margin-bottom: 7px;
  }

  .delivery-text {
    font-size: 12px;
    line-height: 1.48;
  }

  .delivery-text + .delivery-text {
    margin-top: 3px;
  }
}

@media (min-width: 1061px) and (max-height: 820px) {
  .delivery-page {
    padding-bottom: 30px;
  }

  .delivery-dispatch,
  .delivery-card {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .delivery-dispatch-icon,
  .delivery-icon {
    width: 62px;
    height: 62px;
  }

  .delivery-dispatch-icon .material-symbols-outlined,
  .delivery-icon .material-symbols-outlined {
    font-size: 32px;
  }

  .delivery-dispatch-copy h2 {
    font-size: 20px;
  }

  .delivery-title {
    font-size: 19px;
  }
}

@media (max-width: 1060px) {
  body[data-page="delivery"] .page-main::before {
    inset: 0 0 auto;
    height: min(100svh, 780px);
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.08) 0%, rgba(251, 250, 247, 0.44) 46%, var(--c-cream) 100%),
      url('/local/templates/bonadi/css/../images/delivery-bg-v7.webp') center top / cover no-repeat;
    opacity: 0.84;
  }
}

/* End */


/* Start:/local/templates/bonadi/css/legal.css?1785504436692*/

.legal-title {
  padding-bottom: 16px;
}

.legal-page {
  padding-bottom: 72px;
}

.legal-document {
  max-width: 860px;
  color: #2e2b27;
}

.legal-document h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 34px 0 12px;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  color: var(--c-taupe);
  font-size: 16px;
  line-height: 1.75;
}

.legal-document p {
  margin-bottom: 12px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0 0 18px;
}

.legal-document a {
  color: var(--c-choco);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* End */


/* Start:/local/templates/bonadi/css/cooperation.css?178550443610847*/

.coop-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 18px) 0 64px;
  background: transparent;
}

.coop-showcase::before {
  display: none;
}

.coop-showcase::after {
  display: none;
}

.coop-hero {
  padding: 0 24px;
  max-width: 980px;
}

.coop-hero .copy {
  max-width: 720px;
  font-size: 17px;
}
.coop-card-kicker {
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coop-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.coop-audience-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 0;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: var(--c-surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.coop-audience-card h2 {
  font-size: 27px;
  margin: 2px 0 7px;
}

.coop-audience-card .copy {
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
}

.coop-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.coop-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.72);
  color: var(--c-accent-dark);
  border: 1px solid rgba(95, 90, 82, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.coop-audience-card ul {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.coop-audience-card li {
  position: relative;
  padding-left: 26px;
  color: var(--c-taupe);
  font-size: 14px;
  line-height: 1.55;
}

.coop-audience-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  background-color: var(--c-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.55 17.3-5.1-5.1 1.4-1.4 3.7 3.7 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.55 17.3-5.1-5.1 1.4-1.4 3.7 3.7 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.coop-request-block {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(300px, 0.86fr) auto minmax(86px, 118px);
  column-gap: clamp(20px, 2.6vw, 38px);
  align-items: center;
  min-height: 118px;
  margin-top: 22px;
  padding: 18px 28px 18px 36px;
  border-radius: 26px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 248, 241, 0.88) 62%, rgba(248, 239, 227, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 22px 58px rgba(72, 58, 42, 0.12);
}

.coop-request-block::after {
  display: none;
}

.coop-request-block::before {
  display: none;
}

.coop-request-copy,
.coop-request-benefits,
.coop-request-actions,
.coop-request-flower {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.coop-request-block h2 {
  font-size: clamp(27px, 2.2vw, 34px);
  line-height: 1.02;
  margin: 0 0 10px;
}

.coop-request-block .copy {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(35, 34, 31, 0.72);
}

.coop-request-copy strong {
  color: rgba(30, 29, 26, 0.9);
  font-weight: 800;
}

.coop-request-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: center;
  min-width: 0;
}

.coop-request-benefit {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--c-accent-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.coop-request-benefit + .coop-request-benefit::before {
  display: none;
}

.coop-request-benefit > span:last-child {
  white-space: nowrap;
}

.coop-benefit-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #746e65;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(116, 110, 101, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 16px rgba(72, 58, 42, 0.06);
}

.coop-benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coop-request-actions {
  display: grid;
  justify-items: end;
  align-content: center;
}

.coop-request-actions .btn {
  min-width: 216px;
  min-height: 54px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #d6ad78 0%, #bd884f 100%);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 14px 30px rgba(130, 93, 51, 0.2);
}

.coop-request-actions .btn:hover {
  background: linear-gradient(135deg, #c99a61 0%, #aa7441 100%);
  color: var(--c-white);
}

.coop-request-flower {
  width: auto;
  height: 142px;
  justify-self: end;
  align-self: center;
  margin: -18px -10px -18px 0;
  object-fit: contain;
  opacity: 0.58;
  filter: saturate(0.82) sepia(0.12);
  transform: rotate(-22deg);
  transform-origin: 50% 86%;
  pointer-events: none;
}

.coop-card-icon {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Фото-обрезка по кругу + обводка и мягкие тени = эффект левитации */
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 24px rgba(55, 45, 36, 0.16),
    0 4px 8px rgba(55, 45, 36, 0.08);
  transition:
    transform var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease);
}

.coop-audience-card:hover .coop-card-icon {
  transform: translateY(-5px);
  box-shadow:
    0 18px 32px rgba(55, 45, 36, 0.2),
    0 6px 12px rgba(55, 45, 36, 0.1);
}

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

@media (max-width: 1024px) {
  .coop-audience-grid {
    grid-template-columns: 1fr;
  }

  .coop-hero h1 {
    white-space: normal;
  }
}

/* Узкий блок: copy сверху, под ним список и кнопка */
@media (max-width: 1180px) {
  .coop-request-block {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 28px;
    padding: 22px 28px;
  }

  .coop-request-copy {
    grid-column: 1 / -1;
  }

  .coop-request-benefits {
    justify-self: start;
  }

  .coop-request-actions {
    justify-items: end;
  }

  .coop-request-flower {
    display: none;
  }
}

@media (max-width: 640px) {
  body[data-page="cooperation"] .page-main::before {
    height: 420px;
    background-position: top right -170px;
    opacity: 0.48;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 34%),
      linear-gradient(180deg, #000 22%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 34%),
      linear-gradient(180deg, #000 22%, transparent 100%);
  }

  .coop-showcase {
    padding: calc(var(--header) + 22px) 0 52px;
  }

  .coop-showcase .container,
  .coop-hero,
  .coop-audience-card > div,
  .coop-request-copy,
  .coop-request-benefits {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="cooperation"] .coop-showcase .container {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    padding-right: 0;
    padding-left: 0;
  }

  .coop-hero {
    padding: 0 18px;
  }

  .coop-hero h1 {
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .coop-hero .copy {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .coop-audience-card {
    grid-template-columns: 1fr;
    padding: 24px;
    overflow: hidden;
  }

  .coop-audience-card h2,
  .coop-audience-card .copy,
  .coop-audience-card li {
    overflow-wrap: break-word;
  }

  .coop-card-icon {
    width: 84px;
    height: 84px;
  }

  .coop-request-block {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px;
  }

  .coop-request-actions {
    justify-items: stretch;
  }

  .coop-request-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .coop-request-benefit > span:last-child {
    white-space: normal;
  }
}

@media (max-height: 800px) and (min-width: 1025px) {
  .coop-showcase {
    padding: calc(var(--header) + 10px) 0 36px;
  }

  .coop-hero h1 {
    font-size: clamp(32px, 3.5vw, 50px);
    margin-bottom: 8px;
  }

  .coop-hero .copy {
    font-size: 15px;
    line-height: 1.5;
  }

  .coop-audience-grid {
    gap: 18px;
    margin-top: 16px;
  }

  .coop-audience-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 22px;
  }

  .coop-card-icon {
    width: 76px;
    height: 76px;
  }

  .coop-audience-card h2 {
    font-size: 23px;
    margin-bottom: 5px;
  }

  .coop-audience-card .copy {
    font-size: 13px;
    line-height: 1.42;
  }

  .coop-metrics {
    gap: 6px;
    margin-top: 9px;
  }

  .coop-metrics span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .coop-audience-card ul {
    gap: 6px;
    margin-top: 9px;
  }

  .coop-audience-card li {
    padding-left: 22px;
    font-size: 12px;
    line-height: 1.36;
  }

  .coop-audience-card li::before {
    top: 1px;
    width: 16px;
    height: 16px;
  }

  .coop-request-block {
    grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.86fr) auto;
    column-gap: 22px;
    min-height: 92px;
    margin-top: 14px;
    padding: 14px 22px 14px 28px;
    border-radius: 24px;
  }

  .coop-request-block .copy {
    font-size: 14px;
    line-height: 1.34;
  }

  .coop-request-benefits {
    gap: 6px;
  }

  .coop-request-benefit {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    font-size: 12px;
  }

  .coop-benefit-icon {
    width: 28px;
    height: 28px;
  }

  .coop-benefit-icon svg {
    width: 18px;
    height: 18px;
  }

  .coop-request-actions .btn {
    min-width: 190px;
    min-height: 46px;
    padding: 10px 20px;
    font-size: 13px;
  }

  .coop-request-flower {
    display: none;
  }
}

/* Заголовки внутренних страниц в одном размере и начертании. */
body[data-page="cooperation"] .page-title h1,
body[data-page="contacts"] .page-title h1,
body[data-page="cooperation"] .coop-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 12px;
  white-space: normal;
}

/* End */


/* Start:/local/templates/bonadi/css/catalog.css?178550443635502*/

/* =====================================================================
   КАТАЛОГ
   ===================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-top: calc(var(--header) + 18px);
  padding-bottom: 86px;
}

/* Пустая выдача не должна схлопывать страницу: после AJAX-подмены сетка
   становится короче, но каталог всё равно сохраняет спокойный ритм до футера. */
.catalog-layout--empty {
  min-height: max(680px, calc(100svh + 140px));
}

#bx-panel.bx-panel-fixed ~ .page-main .catalog-layout {
  padding-top: calc(145px + var(--header) + 18px);
}

#bx-panel.bx-panel-fixed.bx-panel-folded ~ .page-main .catalog-layout {
  padding-top: calc(40px + var(--header) + 18px);
}

.catalog-sidebar {
  position: relative;
  z-index: 160;
  align-self: start;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 0;
  padding: 12px 14px;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 32px -8px #e4ded5,
    0 8px 14px -6px #e4ded5;
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    filter var(--motion-slow) var(--motion-ease),
    min-height var(--motion-panel) var(--motion-ease);
  will-change: opacity;
}

body[data-page="catalog"] .catalog-sidebar {
  animation: none;
}

/* Фильтр и первая карточка должны иметь один и тот же верхний anchor. На
   каталоге убираем раздельный входной сдвиг: иначе панель и сетка заметно
   расходятся даже на долю секунды после загрузки. */
body[data-page="catalog"] .catalog-main {
  animation: none;
}

.catalog-filter-panel .catalog-category-section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.catalog-filter-panel .catalog-category-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  border-radius: var(--r-full);
  background:
    linear-gradient(
      180deg,
      rgba(119, 107, 92, 0) 0%,
      rgba(119, 107, 92, 0.1) 18%,
      rgba(172, 141, 112, 0.42) 50%,
      rgba(119, 107, 92, 0.1) 82%,
      rgba(119, 107, 92, 0) 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(172, 141, 112, 0.18);
}

.catalog-layout.is-catalog-loading .catalog-sidebar,
.catalog-sidebar.catalog-sidebar-enter {
  opacity: 0.18;
  filter: saturate(0.98);
  pointer-events: none;
}

.catalog-category-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  transition: opacity var(--motion-fast) var(--motion-ease);
}

.catalog-category-section.is-category-measuring {
  opacity: 0;
}

.catalog-category-section.is-dropdown-open {
  z-index: 8;
}

.catalog-sidebar > .btn {
  width: 100%;
}

.category-list {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 3px;
  overflow: visible;
  border: 1px solid rgba(119, 107, 92, 0.2);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 10px rgba(52, 44, 34, 0.045);
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-list [hidden] {
  display: none;
}
.category-list a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 20px;
  border-bottom: 0;
  background: transparent;
  color: var(--c-taupe);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}
.category-list a:last-child {
  border-bottom: 0;
}

.category-list a.active {
  cursor: default;
  pointer-events: none;
}


.category-list-label {
  min-width: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: inherit;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}

.category-list-meta {
  display: none;
  grid-column: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: rgba(132, 95, 70, 0.66);
}

.category-list a:not(:has(.category-list-label)) > span:first-child {
  grid-column: 1;
  min-width: 0;
  color: var(--c-choco);
  font-family: var(--font-display);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}

.category-list a:not(:has(.category-list-count)) > span:last-child {
  grid-column: 2;
  min-width: 22px;
  color: rgba(132, 95, 70, 0.66);
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  line-height: 1;
}

.category-list-count {
  min-width: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.category-list a:hover,
.category-list a.active,
.category-list a.is-pending {
  background: rgba(255, 255, 255, 0.68);
  color: var(--c-accent-dark);
}

.category-list a.active {
  background: linear-gradient(180deg, rgba(230, 197, 158, 0.62), rgba(216, 178, 133, 0.5));
  color: var(--c-choco);
  box-shadow: 0 6px 16px rgba(54, 48, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.category-list a.active .category-list-count,
.category-list a.is-pending .category-list-count {
  color: var(--c-choco);
}

.category-more {
  flex: 0 0 auto;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(119, 107, 92, 0.22);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.64);
  color: var(--c-accent-dark);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 10px rgba(52, 44, 34, 0.045);
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.category-more[hidden] {
  display: none;
}

.category-more:hover {
  background: rgba(255, 255, 255, 0.82);
  color: var(--c-choco);
}

.category-more .material-symbols-outlined {
  display: block;
  font-size: 22px;
  line-height: 1;
  transition: transform var(--motion-base) var(--motion-ease);
}

.category-more[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}

.category-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 170px;
  max-width: min(240px, calc(100vw - 40px));
  padding: 6px;
  border: 1px solid rgba(119, 107, 92, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(1.04);
  box-shadow: 0 16px 42px rgba(31, 29, 26, 0.08);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.category-dropdown[hidden] {
  display: none;
}

.category-dropdown [hidden] {
  display: none;
}

.category-dropdown.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.category-dropdown-item {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 11px;
  color: var(--c-taupe);
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease);
}

.category-dropdown-item:hover,
.category-dropdown-item.active {
  background: rgba(143, 137, 127, 0.12);
  color: var(--c-choco);
}


.catalog-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  transition: min-height var(--motion-panel) var(--motion-ease);
}

.catalog-filter-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(230px, 270px) minmax(360px, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.catalog-filter-top {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 0;
}

.catalog-search {
  display: block;
  /* Сужается, когда справа появляется круг сброса */
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.catalog-search .field {
  min-height: 44px;
  height: 44px;
  padding-left: 66px;
  padding-right: 38px;
  border-radius: var(--r-full);
  border: 2px solid #ecdcc7;
  background: rgba(255, 255, 255, 0.85);
  color: var(--c-choco);
  font-size: 14px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(52, 44, 34, 0.06);
}

.search-wrap.catalog-search .field:focus {
  border-color: #d9bd98;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 3px rgba(236, 220, 199, 0.7),
    0 5px 18px rgba(52, 44, 34, 0.09);
}

.search-wrap.catalog-search .field:focus-visible {
  outline: none;
}

.catalog-search .material-symbols-outlined {
  left: 19px;
  color: var(--c-accent-dark);
  font-size: 22px;
  line-height: 1;
}

.catalog-search .search-clear {
  right: 15px;
}

.catalog-sort-strip {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0;
  margin-top: 0;
  padding: 3px;
  overflow: visible;
  border: 1px solid rgba(119, 107, 92, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 10px rgba(52, 44, 34, 0.045);
}

.catalog-sort-strip::before {
  display: none;
}

.catalog-sort-strip::after {
  display: none;
}

.filter-chip {
  --chip-accent: var(--c-accent-dark);
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: rgba(35, 34, 31, 0.64);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  box-shadow: none;
  transform: none;
  cursor: pointer;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.filter-chip + .filter-chip {
  border-left: 1px solid rgba(119, 107, 92, 0.08);
}

.filter-chip::before {
  display: none;
}

.filter-chip::after {
  display: none;
}

.filter-chip[data-sort="sale"] {
  --chip-accent: var(--c-accent-dark);
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.58);
  color: var(--chip-accent);
  transform: none;
}

.filter-chip.active {
  background: linear-gradient(180deg, rgba(230, 197, 158, 0.62), rgba(216, 178, 133, 0.5));
  color: var(--c-choco);
  box-shadow: 0 10px 24px rgba(54, 48, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.filter-chip.active:hover {
  transform: none;
}

.filter-chip .filter-chip-text {
  min-width: 0;
  display: block;
  text-align: center;
  white-space: normal;
}

.filter-chip .filter-chip-text::before {
  display: none;
}

.filter-chip[data-sort="sale"] .filter-chip-text::before {
  display: none;
}

/* Пилюля сброса справа от поиска: «× Сбросить фильтры». Сразу раскрыта, когда
   активен фильтр (.is-visible); появляется/исчезает плавным выездом-заездом
   вправо (max-width + opacity + transform). Прижата к правому краю строки. */
.catalog-filter-reset {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(119, 107, 92, 0.12);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.82);
  color: var(--c-accent-dark);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 6px 18px rgba(52, 44, 34, 0.05);
  /* скрытое состояние — «заехала» вправо */
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  border-width: 0;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  will-change: max-width, padding, opacity, transform;
  transition:
    max-width var(--motion-swap) var(--ease-swap),
    padding var(--motion-swap) var(--ease-swap),
    border-width var(--motion-swap) var(--ease-swap),
    opacity var(--motion-base) var(--ease-swap),
    transform var(--motion-swap) var(--ease-swap),
    background var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease);
}

.catalog-filter-reset.is-visible {
  max-width: 240px;
  padding: 0 14px 0 12px;
  border-width: 1px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Два класса (.icon.material-symbols-outlined) — чтобы перебить базовое правило
   шрифта Material Symbols (display:inline-block; font-size:24px) той же
   специфичности, что грузится из Google Fonts. */
.catalog-filter-reset-icon.material-symbols-outlined {
  flex: 0 0 auto;
  width: 18px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 300;
  transition: width var(--motion-swap) var(--ease-swap);
}

.catalog-filter-reset-label {
  display: inline-block;
  max-width: 150px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding-left: 8px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-width var(--motion-swap) var(--ease-swap),
    opacity var(--motion-base) var(--ease-swap),
    padding-left var(--motion-swap) var(--ease-swap);
}

.catalog-filter-reset:hover,
.catalog-filter-reset:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(95, 90, 82, 0.24);
  color: var(--c-choco);
}

/* Сброс свёрнут в кружок-крестик: когда пользователь раскрыл поиск строкой.
   Симметрично поиску-лупе; ширина анимируется так же плавно. */
.catalog-filter-top.is-reset-collapsed .catalog-filter-reset.is-visible {
  max-width: 44px;
  padding: 0;
}

.catalog-filter-top.is-reset-collapsed .catalog-filter-reset-icon.material-symbols-outlined {
  width: 44px;
}

.catalog-filter-top.is-reset-collapsed .catalog-filter-reset-label {
  max-width: 0;
  padding-left: 0;
  opacity: 0;
  overflow: hidden;
}

.catalog-filter-top.is-reset-armed .catalog-filter-reset.is-visible {
  max-width: 240px;
  padding: 0 14px 0 12px;
}

.catalog-filter-top.is-reset-armed .catalog-filter-reset-icon.material-symbols-outlined {
  width: 18px;
}

.catalog-filter-top.is-reset-armed .catalog-filter-reset-label {
  max-width: 150px;
  padding-left: 8px;
  opacity: 1;
}

/* Свёрнутый поиск-кружок (когда активен фильтр): строка ужимается до круга,
   видна только лупа; клик по нему разворачивает поиск обратно (JS). */
.catalog-filter-top.is-search-collapsed .catalog-search {
  flex: 0 0 44px;
  width: 44px;
  cursor: pointer;
}

.catalog-filter-top .catalog-search {
  /* плавное сворачивание/разворачивание строки поиска (синхронно с пилюлей) */
  overflow: visible;
  will-change: flex-basis, width;
  transition:
    flex-basis var(--motion-swap) var(--ease-swap),
    width var(--motion-swap) var(--ease-swap);
}

.catalog-filter-top .catalog-search .field {
  transition:
    padding var(--motion-swap) var(--ease-swap),
    border-color var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease);
}

.catalog-filter-top .catalog-search .material-symbols-outlined {
  transition:
    left var(--motion-swap) var(--ease-swap),
    transform var(--motion-swap) var(--ease-swap),
    color var(--motion-base) var(--motion-ease);
}

.catalog-filter-top.is-search-collapsed .catalog-search .field {
  /* прячем текстовое поле, оставляем круг с лупой */
  padding-left: 0;
  padding-right: 0;
  color: transparent;
  cursor: pointer;
}

.catalog-filter-top.is-search-collapsed .catalog-search .field::placeholder {
  color: transparent;
}

.catalog-filter-top.is-search-collapsed .catalog-search .search-clear {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.82);
}

/* Лупу — по центру кружка; сохраняем вертикальное центрирование */
.catalog-filter-top.is-search-collapsed .catalog-search .material-symbols-outlined {
  left: 50%;
  transform: translate(-50%, -50%);
}

.catalog-filter-panel .filter-apply {
  height: 48px;
  margin-top: 2px;
}

.search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.search-wrap .material-symbols-outlined {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-warm-gray);
  font-size: 22px;
  pointer-events: none;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--c-choco);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), var(--shadow-xs);
  transition:
    border-color var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease);
}

.search-wrap .field {
  padding-left: 52px;
  padding-right: 48px;
  min-height: 44px;
  height: 44px;
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--c-accent);
  caret-color: var(--c-choco);
}

.search-wrap .material-symbols-outlined {
  left: 18px;
  font-size: 20px;
}

.search-wrap.catalog-search .field {
  min-height: 44px;
  height: 44px;
  padding-left: 66px;
  padding-right: 38px;
  font-size: 14px;
}

.search-wrap.catalog-search .material-symbols-outlined {
  left: 19px;
  color: var(--c-accent-dark);
  font-size: 22px;
  line-height: 1;
}

.search-wrap .field::-webkit-search-decoration,
.search-wrap .field::-webkit-search-cancel-button,
.search-wrap .field::-webkit-search-results-button,
.search-wrap .field::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

.search-wrap .field::selection {
  background: rgba(143, 137, 127, 0.22);
  color: var(--c-choco);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: rgba(76, 69, 59, 0.72);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.82);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease);
}

.search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.search-clear[hidden] {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.82);
}

.search-clear::before,
.search-clear::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.7px;
  border-radius: var(--r-full);
  background: currentColor;
}

.search-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.search-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.search-clear:hover {
  background: rgba(143, 137, 127, 0.12);
  color: var(--c-choco);
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(95, 90, 82, 0.34);
  background: var(--c-milk);
  box-shadow: 0 0 0 4px rgba(143, 137, 127, 0.1), var(--shadow-sm);
}

.field::placeholder,
.textarea::placeholder {
  color: rgba(101, 93, 82, 0.7);
}

.select {
  min-width: 180px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c7871' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 46px;
}

.textarea {
  min-height: 130px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  resize: vertical;
}

/* Скрытый нативный select (синхронизация с JS) */

.filter-reset {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 11px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--c-warm-gray);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  box-shadow: var(--shadow-xs);
  transition:
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease);
}

/* Когда скрыта — полностью убираем (иначе display:inline-flex перебивает [hidden]) */
.filter-reset[hidden] {
  display: none;
}

/* Текст плавно «выезжает» через max-width + прозрачность; ширина кнопки тянется сама, без рывков */

.filter-reset .material-symbols-outlined {
  font-size: 18px;
  flex: 0 0 auto;
}

.filter-reset:hover {
  color: var(--c-accent-dark);
  border-color: rgba(95, 90, 82, 0.32);
}

/* =====================================================================
   Десктоп: сайдбар и шапка зафиксированы, скроллится только сетка товаров
   ===================================================================== */
@media (min-width: 1025px) {
  .catalog-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: clamp(32px, 3vw, 48px);
    row-gap: 0;
  }

  .catalog-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header) + 22px);
    width: 300px;
    max-width: none;
    min-width: 300px;
    margin: 0;
    padding: 22px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 237, 0.78)),
      var(--c-surface);
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.9) inset,
      0 24px 48px rgba(72, 56, 39, 0.08),
      0 5px 12px rgba(72, 56, 39, 0.04);
  }

  .catalog-filter-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin: 0;
  }

  .catalog-filter-top {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .catalog-filter-top .catalog-search {
    flex: 1 1 auto;
    width: auto;
  }

  /* Пока сброс не активен — не держим его в потоке (иначе gap флекса
     укорачивает поле поиска, и оно не совпадает по ширине с «Новинки/
     Распродажа» строкой ниже). */
  .catalog-filter-top .catalog-filter-reset:not(.is-visible) {
    display: none;
  }

  .catalog-filter-top .catalog-search .field,
  .catalog-filter-reset {
    height: 46px;
    min-height: 46px;
  }

  .catalog-filter-reset.is-visible,
  .catalog-filter-top.is-reset-armed .catalog-filter-reset.is-visible {
    max-width: 240px;
  }

  .catalog-filter-reset-label,
  .catalog-filter-top.is-reset-armed .catalog-filter-reset-label {
    max-width: 160px;
    font-size: 11px;
  }

  .catalog-filter-reset-icon.material-symbols-outlined {
    height: 46px;
  }

  .catalog-sort-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
  }

  .filter-chip {
    min-height: 40px;
    justify-content: center;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 12px;
  }

  .filter-chip + .filter-chip {
    border-left: 0;
  }

  .catalog-filter-panel .catalog-category-section {
    display: block;
    margin-top: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(119, 107, 92, 0.13);
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .catalog-filter-panel .catalog-category-section::before {
    display: none;
  }

  .category-list {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 2px;
    min-height: 0;
    padding: 4px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }
  .category-list a {
    justify-content: space-between;
    min-height: 40px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 12px;
  }

  .category-list .category-list-label {
    font-size: 12px;
  }

  .category-list-meta {
    display: flex;
  }

  .category-list-count {
    min-width: 20px;
    font-size: 10px;
  }

  .category-more,
  .category-dropdown {
    display: none !important;
  }

  .catalog-category-section.is-category-measuring {
    opacity: 1;
  }

  .catalog-main {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
  }

  /*
   * Визуальная верхняя граница каталога проходит по первой карточке.
   * У фильтров есть собственная рамка, а у карточек — изображение с
   * округлым верхом, поэтому одинаковый grid-start визуально давал
   * ощущение, что карточки начинаются выше. Сводим именно видимые края.
   */
  body[data-page="catalog"] .catalog-main {
    padding-top: 8px;
  }

  .catalog-main [data-products-grid],
  .catalog-main .product-grid {
    margin-top: 0;
  }

  .catalog-main .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-content: start;
  }
}

@media (min-width: 1025px) and (max-width: 1179px) {
  .catalog-main .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* AJAX-фильтр: плавное затухание сетки на время подгрузки — без мигания */
.catalog-main [data-products-grid] {
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    filter var(--motion-slow) var(--motion-ease);
  will-change: opacity;
}

.catalog-main.is-filtering [data-products-grid],
.catalog-main [data-products-grid].catalog-grid-enter {
  opacity: 0.18;
  filter: saturate(0.98);
  pointer-events: none;
}

/* Появление каталога при первом заходе на страницу: фильтр и сетка плавно
   проявляются снизу вверх с лёгким сдвигом по времени — тот же язык движения,
   что у reveal на других вкладках. Анимация чисто на CSS и «заряжена» с первого
   кадра (никакого JS-класса после загрузки — иначе контент успевает мигнуть до
   старта). .catalog-main при AJAX-фильтрации НЕ пересоздаётся (меняется только
   вложенная сетка), поэтому вход проигрывается один раз и фильтр его не повторяет.
   Боковая колонка при навигации по категориям пересоздаётся заново (это НОВЫЙ
   DOM-узел) — без явного глушения вход проигрался бы при каждом клике по
   фильтру; глушится постоянным классом catalog-sidebar-ajax (см. ниже). */
.catalog-sidebar,
.catalog-main {
  /* fill: backwards — держим начальный кадр ДО старта (анимация с задержкой
     не мигает), но после завершения отпускаем элемент в обычное состояние. */
  animation: catalog-enter-rise var(--motion-slow) var(--motion-ease) backwards;
}

.catalog-main {
  animation-delay: 90ms;
}

/* Пересозданная AJAX-ом колонка не переигрывает вход. Метка постоянная (не
   снимается) — animation, в отличие от transition, при снятии временного
   подавления запускается заново с нуля, а не продолжается, поэтому кратким
   классом (типа catalog-sidebar-enter) её погасить нельзя. */
.catalog-sidebar.catalog-sidebar-ajax {
  animation: none;
}

@keyframes catalog-enter-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-sidebar,
  .catalog-main {
    animation: none;
  }
}

.catalog-empty {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 11px;
  min-height: clamp(520px, 58svh, 660px);
  overflow: hidden;
  padding: 52px 24px 58px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 52% 36%, rgba(255, 255, 255, .94), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(241, 238, 232, .72));
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 22px 62px rgba(31, 29, 26, .055);
}

.catalog-empty::before,
.catalog-empty::after {
  content: '';
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(143, 137, 127, .12);
  border-radius: 50%;
  pointer-events: none;
}

.catalog-empty::before {
  width: 470px;
  height: 470px;
  top: -265px;
  right: -115px;
}

.catalog-empty::after {
  width: 270px;
  height: 270px;
  bottom: -190px;
  left: -80px;
  border-color: rgba(179, 107, 80, .13);
}

.catalog-empty-art {
  position: relative;
  width: min(100%, 360px);
  height: 184px;
  margin-bottom: 6px;
  isolation: isolate;
}

.catalog-empty-art__label {
  position: absolute;
  top: 7px;
  left: 8px;
  color: var(--c-accent-dark);
  font-size: 9px;
  letter-spacing: .2em;
  opacity: .7;
}

.catalog-empty-art__loop {
  position: absolute;
  border: 1px solid rgba(143, 137, 127, .28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.catalog-empty-art__loop--one {
  inset: 18px 48px 12px 40px;
}

.catalog-empty-art__loop--two {
  inset: 37px 70px 28px 63px;
  border-color: rgba(179, 107, 80, .22);
  transform: rotate(13deg);
}

.catalog-empty-art__thread {
  position: absolute;
  z-index: 3;
  inset: 16px -8px auto;
  width: calc(100% + 16px);
  overflow: visible;
  transform: rotate(-6deg);
}

.catalog-empty-art__thread path {
  stroke: var(--c-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 8;
}

.catalog-empty-art__thread .catalog-empty-art__thread-detail {
  stroke: rgba(255, 255, 255, .78);
  stroke-width: 1.2;
  stroke-dasharray: 1 13;
}

.catalog-empty-art__needle {
  position: absolute;
  z-index: 4;
  right: 61px;
  bottom: 10px;
  width: 3px;
  height: 96px;
  border-radius: 5px;
  background: linear-gradient(var(--c-choco), var(--c-accent));
  box-shadow: 0 8px 18px rgba(31, 29, 26, .12);
  transform: rotate(-42deg);
}

.catalog-empty-art__needle::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-choco);
  border-bottom: 2px solid var(--c-choco);
  transform: translateX(-50%) rotate(45deg);
}

.catalog-empty-art__dot {
  position: absolute;
  z-index: 5;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-sale);
  border-radius: 50%;
  background: var(--c-cream);
}

.catalog-empty-art__dot--one { top: 45px; left: 67px; }
.catalog-empty-art__dot--two { right: 47px; top: 53px; }

.catalog-empty-art__icon {
  position: absolute;
  z-index: 6;
  top: 76px;
  left: 50%;
  color: var(--c-sale);
  font-size: 30px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'opsz' 32;
  transform: translateX(-50%) rotate(-8deg);
}

.catalog-empty-kicker {
  margin: 0;
  color: var(--c-sale);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.catalog-empty-title {
  font-family: var(--font-brand-serif, Georgia, serif);
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--c-choco);
  margin: 0;
}

.catalog-empty-text {
  max-width: 430px;
  margin: 0;
  color: var(--c-warm-gray);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-empty-query {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(100%, 380px);
  margin-top: 3px;
  padding: 8px 13px;
  overflow: hidden;
  border: 1px solid rgba(143, 137, 127, .16);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .54);
  color: var(--c-accent-dark);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-empty-query .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--c-accent);
}

.catalog-empty-reset {
  margin-top: 10px;
}

.filter-apply {
  width: 100%;
  height: 54px;
  border-radius: var(--r-full);
}

/* End */


/* Start:/local/templates/bonadi/css/product.css?17855044367063*/

/* =====================================================================
   СТРАНИЦА ТОВАРА
   ===================================================================== */
.product-back {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: calc(var(--header) + 18px);
  padding-bottom: 4px;
}

.crumb-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: var(--r-full);
  color: var(--c-choco);
  transition:
    background var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.crumb-back:hover {
  background: rgba(17, 4, 2, 0.06);
  transform: translateX(-2px);
}

.crumb-back .material-symbols-outlined {
  font-size: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-warm-gray);
}

.breadcrumbs a {
  color: var(--c-warm-gray);
  transition: color var(--motion-base) var(--motion-ease);
}

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

.breadcrumbs .sep {
  color: var(--c-blush);
}

.breadcrumbs .current {
  color: var(--c-taupe);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 80px;
}

.gallery {
  display: grid;
  grid-template-columns: clamp(96px, 8vw, 128px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.thumbs {
  display: grid;
  align-content: start;
  gap: 14px;
  max-height: min(72vh, 690px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(146, 140, 129, 0.4) transparent;
}

.thumbs::-webkit-scrollbar {
  width: 4px;
}

.thumbs::-webkit-scrollbar-thumb {
  background: rgba(146, 140, 129, 0.4);
  border-radius: 999px;
}

.thumb {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--c-beige);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.thumb:hover {
  border-color: var(--c-accent);
}

.thumb.active {
  border-color: var(--c-choco);
}

.main-product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 540px;
  max-height: min(72vh, 690px);
  width: 100%;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(232, 230, 225, 0.5)), var(--c-beige);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.main-product-image img.is-changing {
  opacity: 0;
  transform: scale(1.015);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-choco);
  cursor: pointer;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition:
    opacity var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.main-product-image:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background: var(--c-white);
}

.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

.gallery-nav .material-symbols-outlined {
  font-size: 26px;
}

@media (hover: none) {
  .gallery-nav {
    opacity: 1;
    background: rgba(255, 255, 255, 0.82);
  }
}

.product-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.2vw, 34px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 64px rgba(55, 45, 36, 0.07);
}

/* Надстрочник: КАТЕГОРИЯ / АРТ. */

.product-panel h1 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.2;
  margin: 0 0 5px;
}

.product-color {
  font-size: 15px;
  color: var(--c-taupe);
}

.option-label {
  color: var(--c-warm-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Размерный ряд — одной строкой «Размерный ряд: 46 – 52» (выбора размера нет) */
.size-range {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-choco);
  margin-bottom: 0;
}

.size-range-value {
  font-weight: 700;
}

.product-specs {
  display: grid;
  gap: 0;
}

.spec-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid rgba(30, 28, 25, 0.1);
}

.spec-row:last-child {
  border-bottom: 1px solid rgba(30, 28, 25, 0.1);
}

.spec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-warm-gray);
}

.spec-value {
  color: #2e2b27;
  font-size: 16px;
  line-height: 1.6;
}

.purchase-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-body);
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 700;
  color: var(--c-choco);
}

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Две равные кнопки в один ряд: текст не должен вылезать за рамки. */
.purchase-actions .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 12px;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.purchase-actions .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 18px;
}

@media (max-width: 420px) {
  .purchase-actions .btn {
    padding-inline: 6px;
    gap: 5px;
    font-size: 11px;
  }

  .purchase-actions .material-symbols-outlined {
    font-size: 16px;
  }
}

.btn-ask {
  background: transparent;
  color: var(--c-choco);
  border-color: rgba(30, 28, 25, 0.2);
}

.btn-ask:hover {
  background: var(--c-choco);
  color: var(--c-milk);
  border-color: var(--c-choco);
  transform: translateY(-2px);
}

/* End */


/* Start:/local/templates/bonadi/css/cooperation-cards.css?17855044361445*/

/* =====================================================================
   КАРТОЧКИ-СПЛИТЫ (сотрудничество и т.п.)
   ===================================================================== */
.split-card {
  padding: 36px;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  box-shadow: var(--shadow-md);
  transition:
    transform var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    background var(--motion-base) var(--motion-ease);
}

.split-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.split-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.split-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.split-card li {
  position: relative;
  padding-left: 30px;
  color: var(--c-taupe);
  font-size: 15px;
  line-height: 1.6;
}

.split-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--c-milk);
  box-shadow: inset 0 0 0 5px var(--c-accent);
}

/* Панели «Для магазинов» и «Для брендов» — одинаковой высоты */

/* End */


/* Start:/local/templates/bonadi/css/home-sections.css?17855044364627*/

/* =====================================================================
   БЛОК ПРЕИМУЩЕСТВ (главная)
   ===================================================================== */
.home-features-list {
  padding: 40px 0;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

.feature {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 4px 18px;
}

.feature:first-child {
  padding-left: 0;
}

.feature:last-child {
  padding-right: 0;
}

.feature + .feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(30, 28, 25, 0) 0%, rgba(30, 28, 25, 0.12) 50%, rgba(30, 28, 25, 0) 100%);
}

.feature-icon {
  width: 84px;
  height: 84px;
  flex: none;
  object-fit: contain;
  object-position: center top;
  filter: none;
}

.feature-copy {
  min-width: 0;
  padding-top: 2px;
}

.feature-title {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(30, 28, 25, 0.78);
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.feature-text {
  color: rgba(101, 93, 82, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }
  .feature {
    padding: 8px 24px;
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .feature:nth-child(odd)::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 8px 0;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 16px;
  }
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  .feature-title {
    font-size: 17px;
  }
  .feature-text {
    font-size: 14px;
  }
  .feature::before {
    display: none !important;
  }
}

/* =====================================================================
   ДОМАШНИЙ БЛОК «О НАС» — большая панель 50/50 как в референсе
   ===================================================================== */
.home-about-section {
  padding: 48px 0 76px;
}

.home-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 80px rgba(55, 45, 36, 0.08);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}

.home-about-copy {
  display: flex;
  align-items: center;
  padding: clamp(48px, 5vw, 72px);
}

.home-about-copy-inner {
  width: min(100%, 560px);
}

.home-about-copy .eyebrow {
  margin-bottom: 14px;
}

.home-about-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 18px;
}

.home-about-copy .copy {
  max-width: 520px;
}

.home-about-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--c-champagne);
}

.home-about-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: 52% center;
  filter: sepia(0.24) saturate(1.02) contrast(0.98) brightness(1.02);
  transition: transform var(--motion-slow) var(--motion-ease);
}

.home-about-media:hover img {
  transform: scale(1.035);
}

.home-about-stamp {
  position: absolute;
  top: 34px;
  right: 44px;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(95, 90, 82, 0.78);
  border: 1px solid rgba(95, 90, 82, 0.26);
  background: rgba(248, 245, 240, 0.18);
}

.home-about-stamp span {
  position: absolute;
  width: 72%;
  left: 14%;
  text-align: center;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}

.home-about-stamp span:first-child {
  top: 26px;
}

.home-about-stamp span:last-child {
  bottom: 26px;
}

.home-about-stamp svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .home-about-section {
    padding: 64px 0;
  }

  .home-about-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-about-copy {
    padding: 44px 28px;
  }

  .home-about-media {
    order: -1;
  }

  .home-about-media img {
    min-height: 380px;
    max-height: 58vh;
  }
}

/* End */


/* Start:/local/templates/bonadi/css/contacts-forms.css?17855044368802*/

/* =====================================================================
   КОНТАКТЫ
   ===================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding-bottom: clamp(32px, 5vw, 72px);
}

/* Левая колонка тянется на высоту формы: карта растёт (между ней и плашками
   есть зазор gap), плашки внизу — низ блока совпадает с низом панели заявки. */
.contacts-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-left .map-card {
  flex: 1 1 auto;
  min-height: 240px;
}

.contacts-left .map-card img,
.contacts-left .map-card iframe {
  height: 100%;
  aspect-ratio: auto;
}

.contacts-left .contact-list {
  margin-top: 0;
  flex: none;
}

.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-beige);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

/* Плейсхолдер на время загрузки iframe-карты (сама карта грузится не
   мгновенно) — текст лежит под iframe и скрывается, как только тот
   отрисуется поверх; ничего лишний раз не показывается, если карты нет
   вовсе (img-вариант), т.к. текст всё равно перекрыт картинкой. */
.map-card::before {
  content: 'Загрузка карты…';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--c-taupe);
}

/* Контакты: выравниваем низ формы по низу левой колонки
   (карта + контакты) — компактнее поле «Комментарий» и шаг формы. */
.contacts-grid .form-grid {
  gap: 14px;
}

.contacts-grid .textarea {
  min-height: 96px;
}

.map-card img {
  width: 100%;
  aspect-ratio: 2.1;
  object-fit: cover;
  filter: sepia(0.16) saturate(0.82) brightness(1.06);
}

.map-card iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 2.1;
  border: 0;
}

/* Контакты под картой — плашки на одном уровне, но с наложением друг на друга.
   При наведении плашка выезжает вправо «из-под» соседней и встаёт поверх. */
.contact-list {
  display: flex;
  margin-top: 18px;
}

.contact-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  /* Левый отступ больше величины наложения (28px + запас), чтобы соседняя
     плашка не перекрывала текст; иконка/подпись/значение смещены правее. */
  padding: 14px 14px 16px 44px;
  border-radius: var(--r-md);
  background: var(--c-button);
  border: 1px solid var(--c-button-line);
  /* Тень вправо: правый край плашки (она выше по z-index) ложится тенью на
     следующую — эффект «лежит сверху». */
  box-shadow: 10px 0 24px rgba(31, 29, 26, 0.1);
  transition:
    transform var(--motion-panel) var(--motion-ease),
    box-shadow var(--motion-panel) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease);
}

/* Наложение: каждая следующая наезжает на предыдущую; левая лежит поверх правой.
   Первая плашка не перекрыта слева — ей обычный левый отступ. */
.contact-item:nth-child(1) { z-index: 3; padding-left: 18px; }
.contact-item:nth-child(2) { margin-left: -28px; z-index: 2; }
.contact-item:nth-child(3) { margin-left: -28px; z-index: 1; }

/* Наведение — плашка выезжает ВПРАВО из-под предыдущей, скользя вбок.
   z-index НЕ меняется: наведённая остаётся под левым соседом, поэтому её левый
   край по-прежнему перекрыт (лежит в тени предыдущей) — три карточки читаются
   как единое целое, просто одна выдвинулась. */
.contact-item:hover {
  transform: translateX(18px);
  border-color: rgba(167, 123, 85, 0.3);
}

/* Первая плашка (Адрес) не двигается при наведении */
.contact-item:nth-child(1):hover {
  transform: none;
}

/* Узкие экраны: наложение убирается (иначе плашки слишком узкие и текст
   ломается под соседнюю). Плашки в столбик во всю ширину, hover тоже вправо. */
@media (max-width: 1024px) {
  .contact-list {
    flex-direction: column;
    gap: 10px;
  }

  .contact-item,
  .contact-item:nth-child(1),
  .contact-item:nth-child(2),
  .contact-item:nth-child(3) {
    margin-left: 0;
    padding-left: 18px;
    box-shadow: var(--shadow-sm);
  }
}

.contact-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: rgba(167, 123, 85, 0.1);
  border: 0;
  box-shadow: none;
  color: var(--c-accent);
}

.contact-icon .material-symbols-outlined {
  font-size: 21px;
  font-variation-settings: 'OPSZ' 22, 'wght' 380, 'FILL' 0, 'GRAD' 0;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-choco);
}

.contact-value {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-taupe);
}

a.contact-value {
  transition: color var(--motion-base) var(--motion-ease);
}

a.contact-value:hover {
  color: var(--c-accent-dark);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Скрытые поля формы (формат/компания вне сотрудничества). display label
   перебивает атрибут hidden, поэтому прячем классом с !important. */
.form-grid .is-hidden {
  display: none !important;
}

.form-grid h2 {
  font-size: 22px;
  margin-bottom: 2px;
}

.form-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(153, 55, 45, 0.08);
  color: #8a2f29;
  font-size: 13px;
  line-height: 1.45;
}

.form-error-icon {
  flex: 0 0 auto;
  padding-top: 1px;
  font-size: 18px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'opsz' 20;
}

.form-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 12px 8px;
  animation: form-done-in var(--motion-base, 320ms) var(--motion-ease, ease) both;
}

.form-done-icon {
  font-size: 56px;
  line-height: 1;
  color: var(--c-accent);
  font-variation-settings: 'FILL' 1, 'wght' 500, 'opsz' 48;
}

.form-done-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--c-choco);
  margin: 0;
}

.form-done-text {
  color: var(--c-warm-gray, #7a746c);
  font-size: 15px;
  line-height: 1.55;
  max-width: 340px;
  margin: 0;
}

@keyframes form-done-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-grid label {
  display: grid;
  gap: 5px;
  color: var(--c-taupe);
  font-size: 13px;
  font-weight: 600;
}

/* Компактные поля формы (только здесь, не трогая фильтр каталога) */
.form-grid .field,
.form-grid .select {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.form-grid .textarea {
  min-height: 60px;
  padding: 11px 16px;
  font-size: 14px;
  border-radius: var(--r-md);
}

.form-grid .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-warm-gray);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.consent-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--c-choco);
}

.consent-field a {
  color: var(--c-choco);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-grid .btn {
  min-height: 44px;
}

/* End */


/* Start:/local/templates/bonadi/css/footer.css?17855044363331*/

/* =====================================================================
   ФУТЕР — тёмный, премиальный
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--c-footer);
  color: var(--c-milk);
  padding: 26px 0 14px;
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
}

/* Фоновая фактура вязки слева + плавное растворение вправо */
.footer-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('/local/templates/bonadi/css/../images/footer-knit.webp');
  background-size: cover;
  background-position: left center;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner .brand-mark {
  color: var(--c-white);
  font-size: 30px;
}

.footer-about {
  margin: 8px 0 12px;
  max-width: 300px;
  color: var(--c-blush);
  font-size: 13px;
  line-height: 1.5;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.footer-links {
  display: grid;
  gap: 7px;
  list-style: none;
}

.footer-links a {
  color: var(--c-blush);
  font-size: 13px;
  transition: color var(--motion-base) var(--motion-ease);
}

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

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-milk);
  font-size: 13px;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.social-link.wide {
  width: auto;
  padding: 0 18px;
  gap: 8px;
}

.social-link:hover {
  background: var(--c-milk);
  color: var(--c-choco);
  transform: scale(1.06);
}

.footer-contact {
  display: grid;
  gap: 6px;
  color: var(--c-blush);
  font-size: 13px;
}

.footer-contact a:hover {
  color: var(--c-white);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color var(--motion-base) var(--motion-ease),
    text-decoration-color var(--motion-base) var(--motion-ease);
}

.footer-legal-links a:hover {
  color: var(--c-white);
  text-decoration-color: currentColor;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.5;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

/* End */


/* Start:/local/templates/bonadi/css/utilities.css?17855044364519*/

/* =====================================================================
   МОДАЛКИ
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 4, 2, 0.4);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-panel) var(--motion-ease),
    visibility 0s linear var(--motion-panel);
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--motion-panel) var(--motion-ease),
    visibility 0s linear 0s;
}

.modal-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--c-cream);
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
  padding: 36px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity var(--motion-panel) var(--motion-ease),
    transform var(--motion-panel) var(--motion-ease);
}

.modal.open .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-head h2 {
  font-size: 28px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  border: 0;
  background: rgba(17, 4, 2, 0.05);
  color: var(--c-choco);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.icon-button:hover {
  transform: rotate(90deg);
  background: rgba(17, 4, 2, 0.1);
}

.size-table-wrap {
  overflow: auto;
  border-radius: var(--r-md);
}

.size-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.size-table th,
.size-table td {
  border: 1px solid var(--c-champagne);
  padding: 12px 10px;
  text-align: center;
}

.size-table th {
  background: var(--c-beige);
  font-weight: 700;
  color: var(--c-choco);
}

.size-table th:first-child,
.size-table td:first-child {
  text-align: left;
  font-weight: 700;
  background: var(--c-beige);
}

.toast {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 10px;
  left: 50%;
  bottom: 28px;
  z-index: 3000;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  border-radius: var(--r-full);
  background: var(--c-choco);
  color: var(--c-milk);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.toast-icon {
  flex: 0 0 auto;
  font-size: 19px;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'opsz' 20;
}

.toast-message {
  max-width: min(74vw, 560px);
}

.toast--success { background: #435448; }
.toast--error { background: #8a2f29; }

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.back-to-top {
  position: fixed;
  left: auto;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 950;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-button-text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease);
}

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

.back-to-top:hover {
  color: var(--c-choco);
  transform: translateY(-2px);
}

.back-to-top-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  border: 1px solid rgba(119, 107, 92, 0.16);
  border-radius: 50%;
  background: var(--c-button);
  box-shadow: 0 16px 36px rgba(31, 29, 26, 0.14);
}

.back-to-top-arrow {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  opacity: 0.9;
  transform: translateX(-50%) rotate(45deg);
}

.back-to-top-dot {
  display: none;
}

/* End */


/* Start:/local/templates/bonadi/css/responsive-legacy.css?178550443636485*/

/* =====================================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--motion-slow) var(--motion-ease),
    transform var(--motion-slow) var(--motion-ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.catalog-main .product-card.reveal {
  opacity: 1;
  transform: none;
}

/* Лукбук-ряд анимирует свои части (фото/текст), а не себя целиком */
.lookbook-row.reveal {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1024px) {
  .product-grid,
  .catalog-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header: 84px;
  }

  .nav-toggle {
    display: flex;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--r-md);
    background: rgba(250, 249, 246, 0.92);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .top-nav.open {
    display: flex;
  }

  .top-nav a {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 16px;
  }

  .top-nav a:hover,
  .top-nav a.active {
    background: rgba(17, 4, 2, 0.05);
  }

  .top-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    min-height: auto;
    padding-top: calc(var(--header) + 36px);
  }

  .hero-full-inner {
    min-height: 100svh;
    padding-top: calc(var(--header) + 44px);
    padding-right: 24px;
    padding-bottom: 0;
    padding-left: 24px;
  }

  .hero-full {
    --ring-inner-width: clamp(340px, 44vw, 430px);
    --ring-inner-height: clamp(390px, 48svh, 520px);
  }

  .hero-title-lockup {
    top: var(--hero-brand-top);
  }

  .hero-glass-panel {
    min-height: 0;
  }

  .lookbook-row,
  .lookbook-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lookbook-row.reverse .lookbook-photo {
    order: 0;
  }

  .lookbook-row.reverse .lookbook-copy {
    order: 0;
  }

  .lookbook-photo {
    height: 60vh;
    min-height: 420px;
  }

  body[data-page="about"] .lookbook-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .lookbook-copy {
    max-width: 720px;
    padding: 52px 24px 64px;
  }
  .catalog-layout,
  .product-layout,
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

	  .gallery {
	    grid-template-columns: 1fr;
  }

  .thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 72px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 6px;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: calc(var(--header) + 18px);
  }

  .catalog-sidebar {
    align-self: start;
  }

  .catalog-filter-panel {
    width: 100%;
    grid-template-columns: minmax(220px, 1fr) minmax(210px, 270px);
  }

  .catalog-filter-panel .catalog-category-section {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .catalog-filter-panel .catalog-category-section::before {
    display: none;
  }

  .catalog-main .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .hero-full {
    --loop-shift-x: clamp(0px, 1.4vw, 34px);
    --loop-shift-y: 0px;
    --hero-image-scale: 1;
    --hero-image-shift-x: 0%;
    --hero-image-shift-y: 0%;
    --hero-brand-x: 50%;
    --hero-brand-top: 96px;
    --hero-brand-max-width: calc(100vw - 32px);
    --hero-brand-font-size: clamp(44px, 14vw, 64px);
    --hero-brand-letter-spacing: 0.035em;
    --hero-eyebrow-font-size: 9px;
    --hero-eyebrow-letter-spacing: 0.14em;
  }

  .hero-full .eyebrow {
    gap: 8px;
    max-width: calc(100vw - 36px);
  }

  .hero-full .eyebrow::before,
  .hero-full .eyebrow::after {
    width: 24px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero,
  .page-title,
  .product-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .catalog-layout {
    gap: 22px;
    padding-top: calc(var(--header) + 18px);
    /* Убираем двойной отступ до футера на телефоне: у .page-main уже есть
       свой padding-bottom, поэтому здесь обнуляем — иначе снизу зияет пустота
       (особенно на страницах пагинации с малым числом карточек). */
    padding-bottom: 0;
  }

  .catalog-sidebar {
    position: relative;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
    padding: 8px;
    border-radius: 20px;
  }

  .catalog-filter-panel {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  /* Поиск и таблетка «Новинки/Распродажа» на телефоне идут вплотную:
     подтягиваем таблетку под поиск (осн. причина большого зазора — пустая
     строка грида под скрытым сбросом — устранена ниже, display:none). */
  .catalog-filter-top + .catalog-sort-strip {
    margin-top: -4px;
  }

  .catalog-filter-panel .catalog-category-section {
    margin-top: 0;
    padding: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .catalog-filter-panel .catalog-category-section::before {
    display: none;
  }

  .catalog-filter-top {
    margin-bottom: 0;
  }

  .search-wrap.catalog-search .field,
  .catalog-search .field {
    min-height: 32px;
    height: 32px;
    padding-left: 34px;
    padding-right: 30px;
    font-size: 12px;
  }

  .search-wrap.catalog-search .material-symbols-outlined,
  .catalog-search .material-symbols-outlined {
    left: 13px;
    font-size: 16px;
  }

  .catalog-search .search-clear {
    right: 10px;
  }

  .catalog-filter-reset {
    height: 40px;
  }

  .catalog-filter-reset.is-visible {
    padding: 0 14px 0 12px;
  }

  .catalog-filter-reset-icon.material-symbols-outlined {
    width: 20px;
    height: 40px;
    font-size: 16px;
  }

  .catalog-filter-reset-label {
    max-width: 132px;
    padding-left: 8px;
    font-size: 12px;
  }

  .catalog-filter-top.is-reset-collapsed .catalog-filter-reset.is-visible {
    max-width: 40px;
  }

  .catalog-filter-top.is-reset-collapsed .catalog-filter-reset-icon.material-symbols-outlined {
    width: 40px;
  }

  .catalog-filter-top.is-reset-armed .catalog-filter-reset.is-visible {
    max-width: 220px;
    padding: 0 14px 0 12px;
  }

  .catalog-filter-top.is-reset-armed .catalog-filter-reset-icon.material-symbols-outlined {
    width: 20px;
  }

  .catalog-filter-top.is-reset-armed .catalog-filter-reset-label {
    max-width: 132px;
    padding-left: 8px;
  }

  .catalog-filter-top.is-search-collapsed .catalog-search {
    flex-basis: 32px;
    width: 32px;
  }

  .catalog-sort-strip {
    gap: 0;
    padding: 3px;
    border-radius: 15px;
    box-shadow: none;
  }

  .filter-chip {
    gap: 5px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
    letter-spacing: 0;
    transform: none;
    box-shadow: none;
  }

  .filter-chip.active {
    box-shadow: none;
  }

  .filter-chip .filter-chip-text {
    display: block;
  }

  .filter-chip .filter-chip-text::before {
    display: none;
  }

  .filter-chip[data-sort="sale"] .filter-chip-text::before {
    display: none;
  }

  .filter-chip:hover,
  .filter-chip.active:hover {
    transform: none;
  }

  .category-list {
    min-height: 38px;
    padding: 3px;
    border-radius: 15px;
  }
  .category-list a {
    gap: 6px;
    min-height: 30px;
    padding: 0 12px;
  }

  .category-list-label,
  .category-list a:not(:has(.category-list-label)) > span:first-child {
    font-size: 12px;
  }

  .category-list-count,
  .category-list a:not(:has(.category-list-count)) > span:last-child {
    min-width: 18px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-full h1 {
    max-width: min(100%, 410px);
    margin-left: 0;
    margin-right: 0;
  }

  .hero-full {
    --hero-brand-top: 96px;
    --hero-brand-max-width: calc(100vw - 32px);
    --hero-brand-font-size: clamp(44px, 14vw, 64px);
    --hero-brand-letter-spacing: 0.035em;
    --hero-eyebrow-font-size: 9px;
    --hero-eyebrow-letter-spacing: 0.14em;
    --hero-object-x: 24%;
    --loop-x: 50%;
    --loop-y: clamp(500px, 63svh, 540px);
    --ring-inner-width: min(calc(100vw - 42px), 340px);
    --ring-inner-height: clamp(300px, 42svh, 380px);
    min-height: 100svh;
  }

  .hero-title-lockup {
    top: var(--hero-brand-top);
    width: var(--hero-brand-max-width);
  }

  .hero-brand-word {
    font-size: var(--hero-brand-font-size);
    line-height: 0.86;
  }

  .hero-glass-panel {
    left: var(--ring-inner-center-x);
    top: var(--ring-inner-center-y);
    width: var(--ring-inner-width);
    height: var(--ring-inner-height);
    min-height: 0;
    padding: clamp(10px, calc(var(--ring-inner-width) * 0.035), 16px);
    gap: clamp(7px, calc(var(--ring-inner-height) * 0.024), 10px);
  }

  .hero-panel-title {
    font-size: clamp(26px, min(9.5cqw, 8.8cqh), 34px);
    line-height: 1.06;
    letter-spacing: 0;
  }

  .hero-panel-copy {
    max-width: min(82cqw, 300px);
    font-size: clamp(12px, min(3.8cqw, 3.4cqh), 14px);
    line-height: 1.45;
  }

  .hero-full .lead {
    max-width: min(100%, 360px);
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-full .eyebrow {
    justify-content: center;
    max-width: calc(100vw - 36px);
    gap: 8px;
    font-size: var(--hero-eyebrow-font-size);
    letter-spacing: 0;
  }

  .hero-full .eyebrow::before,
  .hero-full .eyebrow::after {
    width: 24px;
    height: 1px;
  }

  .hero-eyebrow span {
    gap: 6px;
    letter-spacing: var(--hero-eyebrow-letter-spacing);
  }

  .hero-eyebrow span::before,
  .hero-eyebrow span::after {
    width: 6px;
    height: 6px;
  }

  .hero-full .hero-actions {
    width: min(100%, 260px);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
  }

  .hero-full .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .page-title h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

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

  .section {
    padding: 64px 0;
  }

  .features-section {
    padding: 54px 0 48px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal-dialog {
    padding: 24px;
  }

  .product-card-info {
    gap: 0;
  }

  .product-card {
    --card-sheet-pad-x: 14px;
    --card-sheet-pad-y: 14px;
    --card-sheet-radius: 22px;
  }
}

@media (max-width: 420px) {
  .hero-full {
    --hero-brand-font-size: clamp(38px, 13vw, 52px);
    --ring-inner-width: min(calc(100vw - 30px), 320px);
    --ring-inner-height: clamp(280px, 42svh, 360px);
  }

  .hero-full .eyebrow::before,
  .hero-full .eyebrow::after {
    display: none;
  }

  .hero-eyebrow span {
    white-space: normal;
    line-height: 1.35;
  }

  .hero-panel-title {
    font-size: clamp(25px, min(9.5cqw, 8.8cqh), 32px);
  }

  /* Карточки товаров оставляем в 2 колонки — так каталог выглядит полнее.
     Плитки категорий (крупнее) — в одну колонку. */

  .product-grid,
  .catalog-main .product-grid {
    gap: 10px;
  }

  .product-card-info {
    gap: 0;
  }

  .product-card {
    --card-sheet-pad-x: 12px;
    --card-sheet-pad-y: 12px;
    --card-sheet-radius: 20px;
  }

  .product-title {
    font-size: 15px;
  }

  .product-price-line {
    font-size: 18px;
  }
}

@media (max-width: 340px) {
  .product-grid,
  .catalog-main .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   КОМПАКТНЫЙ РЕЖИМ ДЛЯ НИЗКИХ МОНИТОРОВ (ноутбуки ~768px и ниже по высоте).
   Раньше адаптации по высоте не было — отсюда «контент уходит вниз и нужно
   скроллить» на невысоких экранах. Здесь поджимаем вертикальные отступы и
   снимаем жёсткие vh-высоты, чтобы первый экран не переполнялся.
   ===================================================================== */
@media (max-height: 800px) {
  .page-title {
    padding-top: calc(var(--header) + 10px);
    padding-bottom: 16px;
  }

  .page-title h1 {
    margin-bottom: 8px;
  }

  body[data-page="contacts"] .page-title .copy {
    font-size: 14px;
  }

  /* Контакты: поджимаем карту, список и форму, чтобы блок влезал в один экран */
  .map-card img,
  .map-card iframe {
    aspect-ratio: 2.6;
  }

  .contact-list {
    margin-top: 14px;
    gap: 10px;
  }

  body[data-page="contacts"] .contact-item {
    padding: 14px 14px 16px 44px;
    gap: 8px;
  }

  body[data-page="contacts"] .contact-item:nth-child(1) {
    padding-left: 18px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .contacts-grid .form-grid {
    gap: 12px;
  }

  .form-grid h2 {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .contacts-grid .textarea {
    min-height: 64px;
  }

  /* Лукбук на главной не должен занимать почти весь экран по высоте */
  body[data-page="home"] .lookbook-row {
    min-height: 0;
  }

  body[data-page="home"] .lookbook-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 78vh;
  }
}

@media (max-height: 680px) {
  .page-title {
    padding-top: calc(var(--header) + 4px);
  }
}

@media (max-width: 1024px) and (max-height: 800px) {
  body[data-page="contacts"] .contact-list {
    flex-direction: column;
    gap: 10px;
  }

  body[data-page="contacts"] .contact-item,
  body[data-page="contacts"] .contact-item:nth-child(1),
  body[data-page="contacts"] .contact-item:nth-child(2),
  body[data-page="contacts"] .contact-item:nth-child(3) {
    margin-left: 0;
    padding-left: 18px;
    box-shadow: var(--shadow-sm);
  }
}

/* =====================================================================
   ПАГИНАЦИЯ КАТАЛОГА. Ссылки перехватывает AJAX в bonadi.js.
   ===================================================================== */
.catalog-pagination {
  --pagination-size: 42px;
  --pagination-gap: 8px;
  display: flex;
  justify-content: center;
  margin-top: 28px;
  transition: opacity var(--motion-slow) var(--motion-ease);
}

.catalog-main.is-filtering .catalog-pagination {
  opacity: 0.18;
  pointer-events: none;
}

.catalog-pagination .bx-pagination {
  width: 100%;
  margin: 0;
}

.catalog-pagination .bx-pagination-container {
  display: flex;
  justify-content: center;
}

.catalog-pagination .bx-pagination-container ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--pagination-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-pagination .bx-pagination-container li {
  margin: 0;
}

/* !important перебивает синюю тему round-pager Bitrix (#0083d1 в style.css). */
.catalog-pagination .bx-pagination-container li > a,
.catalog-pagination .bx-pagination-container li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--pagination-size);
  height: var(--pagination-size);
  padding: 0 14px;
  border: 1px solid var(--c-button-line) !important;
  border-radius: 12px;
  background: transparent !important;
  color: var(--c-accent-dark) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none !important;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease);
}

.catalog-pagination .bx-pagination-container li > a > span,
.catalog-pagination .bx-pagination-container li > a:hover > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1 !important;
  box-shadow: none !important;
  pointer-events: none;
  transition: none;
}

.catalog-pagination .bx-pagination-container li > a:hover {
  background: var(--c-button) !important;
  border-color: var(--c-button-hover) !important;
  color: var(--c-choco) !important;
}

.catalog-pagination .bx-pagination-container li > a:focus-visible {
  outline: 0;
  border-color: rgba(179, 107, 80, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(179, 107, 80, 0.16) !important;
}

.catalog-pagination .bx-pagination-container li.bx-active > span {
  cursor: default;
  background: var(--c-choco) !important;
  border-color: var(--c-choco) !important;
  color: var(--c-white) !important;
}

.catalog-pagination .bx-pagination-container li.bx-pag-prev > span,
.catalog-pagination .bx-pagination-container li.bx-pag-next > span,
.catalog-pagination .bx-pagination-container li.bx-pag-all > span {
  cursor: not-allowed;
  opacity: 0.36 !important;
  color: var(--c-rose) !important;
}

/* Текст/цифры строго по центру пилюль пагинации: перебиваем line-height
   round-pager Bitrix (он даёт line-height ≈ высоте кнопки и глиф съезжает).
   Высокая специфичность (body …) гарантированно бьёт стили компонента. */
body .catalog-pagination .bx-pagination-container li > a,
body .catalog-pagination .bx-pagination-container li > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle;
}

body .catalog-pagination .bx-pagination-container li > a > span {
  line-height: 1 !important;
}

.catalog-pagination-desktop {
  display: none;
}

.catalog-pagination-mobile {
  width: 100%;
}

/* Мобильная пагинация: компактная строка из двух действий и ровно трёх
   страниц. Окно страниц формируется в PHP вокруг текущей страницы, поэтому
   оно одинаково работает при обычной загрузке и после AJAX-фильтрации. */
.catalog-pagination-mobile__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.catalog-pagination-mobile__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}

.catalog-pagination-mobile__control,
.catalog-pagination-mobile__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 42px;
  border: 1px solid var(--c-button-line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.42);
  color: var(--c-accent-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--motion-base) var(--motion-ease),
    color var(--motion-base) var(--motion-ease),
    border-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease);
}

.catalog-pagination-mobile__control {
  flex: 0 0 60px;
  padding: 0 6px;
}

.catalog-pagination-mobile__page {
  width: 38px;
  padding: 0;
}

.catalog-pagination-mobile__control:hover,
.catalog-pagination-mobile__page:not(.is-active):hover {
  border-color: rgba(75, 69, 61, 0.26);
  background: rgba(255, 255, 255, 0.8);
  color: var(--c-choco);
  box-shadow: 0 6px 16px rgba(31, 29, 26, 0.06);
}

.catalog-pagination-mobile__control:focus-visible,
.catalog-pagination-mobile__page:focus-visible {
  outline: 0;
  border-color: rgba(179, 107, 80, 0.5);
  box-shadow: 0 0 0 4px rgba(179, 107, 80, 0.14);
}

.catalog-pagination-mobile__page.is-active {
  border-color: var(--c-choco);
  background: var(--c-choco);
  color: var(--c-white);
  box-shadow: 0 7px 16px rgba(31, 29, 26, 0.12);
}

.catalog-pagination-mobile__control.is-disabled {
  opacity: 0.36;
  pointer-events: none;
}

@media (min-width: 901px) {
  .catalog-pagination {
    --pagination-arrow-size: 42px;
    --pagination-gap: 38px;
    margin-top: 56px;
  }

  .catalog-pagination-mobile {
    display: none;
  }

  .catalog-pagination-desktop {
    display: inline-grid;
    grid-template-columns: var(--pagination-arrow-size) minmax(98px, max-content) var(--pagination-arrow-size);
    align-items: center;
    justify-content: center;
    column-gap: var(--pagination-gap);
    min-height: var(--pagination-arrow-size);
  }

  .catalog-pagination-arrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    width: var(--pagination-arrow-size);
    height: var(--pagination-arrow-size);
    padding: 0;
    border: 1px solid rgba(75, 69, 61, 0.15) !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18) !important;
    color: rgba(70, 64, 56, 0.58) !important;
    line-height: 1 !important;
    text-decoration: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 4px 12px rgba(31, 29, 26, 0.04) !important;
    transition:
      color var(--motion-base) var(--motion-ease),
      background var(--motion-base) var(--motion-ease),
      border-color var(--motion-base) var(--motion-ease),
      box-shadow var(--motion-base) var(--motion-ease),
      transform var(--motion-base) var(--motion-ease);
  }

  .catalog-pagination-arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-color: currentColor;
    border-style: solid;
    transition: transform var(--motion-base) var(--motion-ease);
  }

  .catalog-pagination-arrow-prev::before {
    border-width: 0 0 1.5px 1.5px;
    transform: translateX(2px) rotate(45deg);
  }

  .catalog-pagination-arrow-next::before {
    border-width: 1.5px 1.5px 0 0;
    transform: translateX(-2px) rotate(45deg);
  }

  .catalog-pagination-arrow:hover {
    border-color: rgba(75, 69, 61, 0.25) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    color: rgba(70, 64, 56, 0.78) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 7px 16px rgba(31, 29, 26, 0.07) !important;
  }

  .catalog-pagination-arrow-prev:hover::before {
    transform: translateX(-1px) rotate(45deg);
  }

  .catalog-pagination-arrow-next:hover::before {
    transform: translateX(1px) rotate(45deg);
  }

  .catalog-pagination-arrow:focus-visible {
    outline: 0;
    border-color: rgba(179, 107, 80, 0.48) !important;
    box-shadow: 0 0 0 4px rgba(179, 107, 80, 0.14) !important;
  }

  .catalog-pagination-arrow.is-disabled {
    color: rgba(70, 64, 56, 0.36) !important;
    pointer-events: none;
  }

  .catalog-pagination-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 98px;
    height: var(--pagination-arrow-size);
    color: rgba(60, 55, 48, 0.72);
    font-family: var(--font-brand-serif);
    font-size: 20px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    line-height: var(--pagination-arrow-size);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .catalog-pagination-separator {
    color: rgba(60, 55, 48, 0.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 1ms !important;
  }

  .catalog-pagination,
  .catalog-pagination-arrow,
  .catalog-pagination-arrow::before,
  .catalog-pagination .bx-pagination-container li > a,
  .catalog-pagination .bx-pagination-container li.bx-active > span,
  .catalog-pagination .bx-pagination-container li.bx-pag-prev > a::before,
  .catalog-pagination .bx-pagination-container li.bx-pag-next > a::after {
    animation: none;
    transition: none;
  }
}

/* =====================================================================
   МОБИЛЬНАЯ НАДЁЖНОСТЬ
   Эти правила завершают адаптацию витрины: они снимают жёсткие минимальные
   ширины, которые на телефонах и небольших планшетах приводили к обрезанию
   элементов или визуальному наложению карточек.
   ===================================================================== */

/* В диапазоне 641–900px фильтр каталога больше не пытается уместить три
   колонки с суммарной минимальной шириной около 850px. */
@media (max-width: 900px) {
  .catalog-filter-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-filter-panel .catalog-category-section {
    padding-left: 0;
    border-left: 0;
  }

  .catalog-filter-panel .catalog-category-section::before {
    display: none;
  }

  .product-grid,
  .catalog-main .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* На планшете четыре преимущества уже не помещаются в безопасную ширину
   одной строки: перестраиваем блок раньше, чем начинает сжиматься текст. */
@media (min-width: 901px) and (max-width: 1180px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .feature {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 8px 24px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
  }

  .feature:nth-child(odd)::before {
    display: none;
  }
}

/* Телефон: карточка не должна задавать ширину треку сетки и оставаться
   искусственно высокой при двух небольших колонках. */
@media (max-width: 640px) {
  body[data-page="home"] .product-card {
    justify-self: center;
  }

  .product-card {
    min-width: 0;
    min-height: 0;
  }

  .product-card-info {
    min-width: 0;
  }

  .product-card-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .product-card-info .product-card-colors {
    flex: 0 1 45%;
    min-width: 0;
    max-width: 45%;
    flex-wrap: wrap;
    align-content: center;
  }

  /* Фотография товара сохраняет правильную пропорцию вместо минимальной
     высоты 540px, которая на телефоне занимала почти весь экран. */
  .main-product-image {
    min-height: 0;
    max-height: none;
    border-radius: var(--r-lg);
  }

  /* Возвращаем безопасные для пальца высоты элементов фильтра. */
  .search-wrap.catalog-search .field,
  .catalog-search .field {
    min-height: 40px;
    height: 40px;
    padding-left: 40px;
    padding-right: 34px;
    font-size: 13px;
  }

  .search-wrap.catalog-search .material-symbols-outlined,
  .catalog-search .material-symbols-outlined {
    left: 14px;
    font-size: 18px;
  }

  .catalog-filter-top.is-search-collapsed .catalog-search {
    flex-basis: 40px;
    width: 40px;
  }

  .catalog-sort-strip {
    min-height: 44px;
  }

  .filter-chip {
    min-height: 38px;
  }

  .category-list {
    min-height: 44px;
  }
  .category-list a {
    min-height: 38px;
  }

  /* В мобильной композиции центр петли должен оставаться процентом: JS
     рассчитывает эту точку относительно изображения. Ранее px-значение
     уводило панель с CTA за правый/нижний край hero. */
  .hero-full {
    --loop-x: 31%;
    --loop-y: 57%;
    --loop-shift-x: 0px;
    --loop-shift-y: 0px;
    --ring-inner-height: clamp(300px, 42svh, 340px);
  }
}

/* На узких телефонах название, цена и цвета располагаются отдельными
   строками. Так любое число свотчей не сжимает текст до нуля. */
@media (max-width: 420px) {
  .product-grid,
  .catalog-main .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 164px), 1fr));
    gap: 10px;
  }

  /* Любой длинный ряд фильтров остаётся внутри собственной области прокрутки,
     а не растягивает всю страницу по горизонтали. */
  body[data-page="catalog"] .catalog-layout,
  body[data-page="catalog"] .catalog-sidebar,
  body[data-page="catalog"] .catalog-filter-panel,
  body[data-page="catalog"] .catalog-main,
  body[data-page="catalog"] .catalog-main [data-products-grid],
  body[data-page="catalog"] .catalog-main .product-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .catalog-filter-top,
  .catalog-search {
    width: 100%;
    max-width: 100%;
  }

  .catalog-sort-strip,
  .category-list {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .catalog-sort-strip::-webkit-scrollbar,
  .category-list::-webkit-scrollbar {
    display: none;
  }

  .product-card-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 4px;
    padding: 8px 10px;
  }

  .product-card-info .product-card-colors {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 3px;
  }

  .product-card-info .swatch {
    width: 11px;
    height: 11px;
  }

  .product-card-text .product-title {
    font-size: 13px;
  }

  .product-card-info .product-price-line {
    font-size: 12px;
  }

  .product-card-info .size-line {
    font-size: 10px;
  }

  .purchase-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .purchase-actions .btn {
    min-height: 48px;
    padding-inline: 14px;
    gap: 8px;
    font-size: 13px;
    white-space: normal;
  }

  .purchase-actions .material-symbols-outlined {
    font-size: 18px;
  }
}

/* Фильтр каталога на планшетах и телефонах — один понятный блок без скрытых
   пунктов категорий и горизонтального переполнения. */
@media (max-width: 1024px) {
  body[data-page="catalog"] .catalog-layout {
    gap: 18px;
  }

  body[data-page="catalog"] .catalog-sidebar {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 12px;
  }

  body[data-page="catalog"] .catalog-filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body[data-page="catalog"] .catalog-filter-top,
  body[data-page="catalog"] .catalog-filter-top .catalog-search {
    width: 100%;
    min-width: 0;
  }

  body[data-page="catalog"] .catalog-filter-reset.is-visible,
  body[data-page="catalog"] .catalog-filter-top.is-reset-armed .catalog-filter-reset.is-visible {
    max-width: 240px;
  }

  body[data-page="catalog"] .catalog-filter-reset-label,
  body[data-page="catalog"] .catalog-filter-top.is-reset-armed .catalog-filter-reset-label {
    max-width: 160px;
  }

  body[data-page="catalog"] .catalog-sort-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    overflow: visible;
  }

  body[data-page="catalog"] .filter-chip {
    justify-content: center;
    min-height: 40px;
    padding: 0 8px;
  }

  body[data-page="catalog"] .catalog-filter-panel .catalog-category-section {
    display: block;
    margin-top: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(119, 107, 92, 0.13);
    border-left: 0;
  }

  body[data-page="catalog"] .category-list {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 3px;
    min-height: 0;
    padding: 4px;
    overflow: visible;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.44);
  }
  body[data-page="catalog"] .category-list a {
    justify-content: space-between;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
  }

  body[data-page="catalog"] .category-list-meta {
    display: flex;
  }

  body[data-page="catalog"] .category-more,
  body[data-page="catalog"] .category-dropdown {
    display: none !important;
  }

  body[data-page="catalog"] .catalog-category-section.is-category-measuring {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  body[data-page="catalog"] .catalog-sidebar {
    padding: 10px;
    border-radius: 18px;
  }

  body[data-page="catalog"] .catalog-main .product-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  body[data-page="catalog"] .catalog-filter-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body[data-page="catalog"] .catalog-filter-reset.is-visible,
  body[data-page="catalog"] .catalog-filter-top.is-reset-armed .catalog-filter-reset.is-visible,
  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset.is-visible {
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 40px;
  }

  body[data-page="catalog"] .catalog-filter-reset-label,
  body[data-page="catalog"] .catalog-filter-top.is-reset-armed .catalog-filter-reset-label,
  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset-label {
    max-width: none;
    padding-left: 8px;
    opacity: 1;
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset-icon.material-symbols-outlined {
    width: 18px;
  }
}

/* На коротких и горизонтальных телефонах лучше увеличить область hero
   вертикально, чем обрезать контент внутри overflow:hidden. */
@media (max-width: 900px) and (max-height: 620px) and (orientation: landscape) {
  .hero-full {
    min-height: 620px;
    --loop-x: 31%;
    --loop-y: 57%;
    --loop-shift-x: 0px;
    --loop-shift-y: 0px;
    --ring-inner-width: min(360px, 60vw);
    --ring-inner-height: 300px;
    --hero-brand-top: 64px;
  }
}

/* Touch-браузеры могут сохранять :hover после тапа. Убираем подъём карточек
   и карточек контактов, чтобы соседние блоки не выглядели наложенными. */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(31, 29, 26, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .product-card:hover .product-image img {
    transform: none;
    filter: none;
  }

  .contact-item:hover {
    transform: none;
  }
}

/* End */


/* Start:/local/templates/bonadi/css/delivery-overrides.css?178550443615433*/

/* =====================================================================
   ДОСТАВКА — полноэкранная сцена передачи заказа.
   ===================================================================== */
body[data-page="delivery"] .page-main {
  min-height: 100svh;
  padding-bottom: 0;
  background: #f5eee5;
}

body[data-page="delivery"] .page-main::before {
  inset: 0;
  height: auto;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(248, 241, 232, 0.18) 0%, rgba(248, 241, 232, 0.03) 42%, rgba(248, 241, 232, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.06), rgba(255, 250, 243, 0.18) 72%, rgba(230, 215, 196, 0.2)),
    url('/local/templates/bonadi/css/../images/delivery-handover.webp') center 50% / cover no-repeat;
}

body[data-page="delivery"] .page-main::after {
  display: none;
}

.delivery-handover-copy {
  max-width: 470px;
}

.delivery-handover-copy h1 {
  margin: 0;
  color: #25211c;
  font-family: var(--font-brand-serif);
  font-size: clamp(52px, 4.3vw, 76px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.delivery-handover-rule {
  display: block;
  width: 40px;
  height: 2px;
  margin: 24px 0 20px;
  background: rgba(197, 143, 88, 0.74);
}

.delivery-handover-copy > p {
  margin: 0;
  color: rgba(54, 47, 39, 0.78);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.delivery-handover-payment {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 54px rgba(68, 52, 32, 0.14);
}

.delivery-handover-payment-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 166, 117, 0.28);
  border-radius: 50%;
  background: rgba(253, 249, 243, 0.84);
  color: rgba(142, 105, 69, 0.82);
  font-size: 34px;
  font-variation-settings: 'OPSZ' 34, 'wght' 260, 'FILL' 0, 'GRAD' 0;
}

.delivery-handover-payment-icon img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 50%;
}

.delivery-handover-payment h2 {
  margin: 0;
  color: #29231d;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 21px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.delivery-handover-payment p {
  margin: 11px 0 0;
  color: rgba(64, 55, 46, 0.68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  body[data-page="delivery"] .page-main::before {
    inset: 0;
    height: auto;
    background-position: center 48%;
  }
}

@media (max-width: 720px) {
  .delivery-handover-copy {
    max-width: 330px;
  }

  .delivery-handover-copy h1 {
    font-size: clamp(44px, 13.6vw, 60px);
  }

  .delivery-handover-rule {
    margin: 16px 0 14px;
  }

  .delivery-handover-copy > p {
    font-size: 13px;
    line-height: 1.5;
  }

  .delivery-handover-payment {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    border-radius: 18px;
  }

  .delivery-handover-payment-icon {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .delivery-handover-payment h2 {
    font-size: 16px;
  }

  .delivery-handover-payment p {
    margin-top: 7px;
    font-size: 11px;
  }
}

/* Двухколоночная версия: фотография — самостоятельная левая половина,
   а не фон всей страницы. */
body[data-page="delivery"] .page-main {
  overflow: hidden;
  background: var(--c-cream);
}

body[data-page="delivery"] .page-main::before {
  display: none;
}

.delivery-page--split {
  min-height: 100svh;
  padding: calc(var(--header) + 8px) 0 0;
}

.delivery-page--split .delivery-split-shell {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--header) - 8px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 1.5vw, 24px);
  align-items: stretch;
  padding: 0;
}

.delivery-split-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(38px, 2.5vw, 48px) clamp(60px, 5.2vw, 95px) clamp(28px, 3.2vw, 46px) clamp(80px, 9vw, 170px);
  overflow: hidden;
  background: url('/local/templates/bonadi/css/../images/delivery-handover.webp') center 48% / cover no-repeat;
}

/* Главная фотография растворяется справа в фоне страницы, без резкого среза. */
.delivery-split-visual::after {
  display: none;
}

.delivery-split-visual > .delivery-handover-copy,
.delivery-split-visual > .delivery-benefits {
  position: relative;
  z-index: 1;
}

.delivery-split-visual .delivery-handover-copy {
  max-width: 430px;
  margin-left: clamp(34px, 3vw, 64px);
}

.delivery-split-visual .delivery-handover-copy h1 {
  color: var(--c-choco);
  font-family: var(--font-body);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

.delivery-split-visual .delivery-handover-rule {
  margin: 22px 0 18px;
}

.delivery-split-visual .delivery-handover-copy > p {
  color: rgba(48, 42, 35, 0.78);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.delivery-split-visual .delivery-handover-payment {
  width: min(440px, 100%);
  position: relative;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  margin-top: auto;
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.delivery-split-visual .delivery-handover-payment-icon {
  width: 58px;
  height: 58px;
  font-size: 30px;
}

.delivery-split-visual .delivery-handover-payment h2 {
  font-size: clamp(16px, 1.1vw, 18px);
  letter-spacing: -0.01em;
}

.delivery-split-visual .delivery-handover-payment p {
  margin-top: 8px;
  font-size: 11px;
}

.delivery-split-content {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px clamp(20px, 2.3vw, 44px) 0 0;
}

.delivery-split-content .delivery-dispatch {
  flex: 0 0 clamp(168px, 11vw, 182px);
  min-height: 0;
  isolation: isolate;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.delivery-split-content .delivery-dispatch-art {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  z-index: 0;
  width: 104%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 50%;
  filter: none;
  transform: none;
}

.delivery-split-content .delivery-dispatch::after {
  display: none;
}

.delivery-split-content .delivery-dispatch-icon,
.delivery-split-content .delivery-dispatch-copy {
  z-index: 2;
}

.delivery-split-content .delivery-dispatch-copy h2 {
  font-size: clamp(20px, 1.34vw, 23px);
}

.delivery-split-content .delivery-dispatch-copy p {
  font-size: 12px;
  line-height: 1.42;
}

.delivery-split-list {
  display: grid;
  gap: 10px;
}

.delivery-split-content .delivery-card {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 108px;
  padding: 10px 18px;
}

.delivery-split-content .delivery-dispatch-icon,
.delivery-split-content .delivery-icon,
.delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon {
  position: relative;
  width: 72px;
  height: 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
  flex: 0 0 72px;
  border: 1px solid rgba(205, 166, 117, 0.3);
  border-radius: 50%;
  background: rgba(253, 249, 243, 0.84);
}

.delivery-split-content .delivery-dispatch-icon::after,
.delivery-split-content .delivery-icon::after,
.delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 6px;
  pointer-events: none;
  border: 1px solid rgba(205, 166, 117, 0.28);
  border-radius: inherit;
}

.delivery-split-content .delivery-dispatch-icon img,
.delivery-split-content .delivery-icon img,
.delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon img {
  position: relative;
  z-index: 1;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 0 60%, transparent 62%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 0 60%, transparent 62%);
}

.delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon img {
  transform: translateY(-6%);
}

.delivery-split-content .delivery-dispatch-icon img,
.delivery-split-content .delivery-card:nth-child(3) .delivery-icon img,
.delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon img {
  width: 130%;
  height: 130%;
}

/* У сгенерированных иллюстраций оптический центр чуть ниже геометрического.
   Поднимаем только сам рисунок — кольца бейджа остаются строго по центру. */
.delivery-split-content .delivery-dispatch-icon img,
.delivery-split-content .delivery-icon img {
  transform: translateY(-8%);
}

/* Буквы имеют более высокий оптический центр, чем предметные иллюстрации. */
.delivery-split-content .delivery-card:nth-child(1) .delivery-icon img,
.delivery-split-content .delivery-card:nth-child(2) .delivery-icon img {
  transform: translateY(-3%);
}

.delivery-split-content .delivery-title {
  font-size: clamp(18px, 1.42vw, 22px);
  margin-bottom: 5px;
}

.delivery-split-content .delivery-text {
  font-size: 12px;
  line-height: 1.42;
}

.delivery-split-content > .delivery-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-height: 112px;
  margin-top: 0;
  padding: 16px 12px;
  border-radius: 18px;
}

.delivery-split-content > .delivery-benefits .delivery-benefit {
  gap: 10px;
  padding: 0 10px;
}

.delivery-split-content > .delivery-benefits .delivery-benefit .material-symbols-outlined {
  width: 50px;
  height: 50px;
  font-size: 25px;
}

.delivery-split-content > .delivery-benefits .delivery-benefit p {
  font-size: 11px;
  line-height: 1.4;
}

.delivery-split-content > .delivery-benefits .delivery-benefit strong {
  font-size: 12px;
}

.delivery-split-visual > .delivery-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(680px, 100%);
  min-height: 112px;
  margin-top: auto;
  padding: 16px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.delivery-split-visual > .delivery-benefits .delivery-benefit {
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.delivery-split-visual > .delivery-benefits .delivery-benefit .material-symbols-outlined {
  align-self: center;
  margin-top: 0;
  width: 46px;
  height: 46px;
  font-size: 24px;
}

.delivery-split-visual > .delivery-benefits .delivery-benefit p {
  align-self: center;
  font-size: 11px;
  line-height: 1.4;
}

.delivery-split-visual > .delivery-benefits .delivery-benefit:last-child p {
  font-size: 10px;
  letter-spacing: -0.01em;
}

.delivery-split-visual > .delivery-benefits .delivery-benefit strong {
  font-size: 12px;
}

.delivery-split-content > .delivery-handover-payment {
  position: relative;
  width: 100%;
  min-height: 108px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 10px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(68, 52, 32, 0.08);
}

.delivery-split-content > .delivery-handover-payment h2 {
  font-size: clamp(15px, 1.15vw, 19px);
}

.delivery-split-content > .delivery-handover-payment p {
  margin-top: 8px;
  font-size: 12px;
}

@media (max-width: 1060px) {
  .delivery-page--split .delivery-split-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 780px;
    gap: 22px;
  }

  .delivery-split-visual {
    min-height: 740px;
  }

  .delivery-split-content {
    padding-top: 0;
  }

  .delivery-split-content .delivery-dispatch {
    flex-basis: 176px;
  }
}

@media (max-width: 640px) {
  .delivery-page--split {
    padding-top: calc(var(--header) + 16px);
  }

  .delivery-page--split .delivery-split-shell {
    min-height: 0;
    padding: 0 14px;
  }

  .delivery-split-visual {
    min-height: 700px;
    padding: 32px 22px 22px;
  }

  .delivery-split-visual .delivery-handover-copy h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .delivery-split-visual .delivery-handover-copy {
    margin-left: 0;
  }

  .delivery-split-visual .delivery-handover-copy > p {
    font-size: 14px;
  }

  .delivery-split-visual .delivery-handover-payment {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
  }

  .delivery-split-visual .delivery-handover-payment-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .delivery-split-visual .delivery-handover-payment h2 {
    font-size: 15px;
  }

  .delivery-split-visual .delivery-handover-payment p {
    font-size: 10px;
  }

  .delivery-split-content .delivery-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 14px;
  }

  .delivery-split-content .delivery-dispatch {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 14px;
  }

  .delivery-split-content .delivery-dispatch-icon,
  .delivery-split-content .delivery-icon,
  .delivery-split-content > .delivery-handover-payment .delivery-handover-payment-icon {
    width: 56px;
    height: 56px;
    min-height: 56px;
    flex-basis: 56px;
  }

  .delivery-split-content > .delivery-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .delivery-split-content > .delivery-benefits .delivery-benefit {
    padding: 0;
  }

  .delivery-split-content > .delivery-benefits .delivery-benefit + .delivery-benefit {
    padding-top: 10px;
    border-top: 1px solid rgba(119, 107, 92, 0.14);
    border-left: 0;
  }

  .delivery-split-visual > .delivery-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 16px;
  }

  .delivery-split-visual > .delivery-benefits .delivery-benefit {
    align-items: center;
    padding: 0;
  }

  /* На телефоне пункты идут в столбик: иконка и текст должны быть
     по центру строки, а не прижаты к верху (десктопная раскладка). */
  .delivery-split-visual > .delivery-benefits .delivery-benefit .material-symbols-outlined,
  .delivery-split-visual > .delivery-benefits .delivery-benefit p {
    align-self: center;
    margin-top: 0;
  }

  .delivery-split-visual > .delivery-benefits .delivery-benefit + .delivery-benefit {
    padding-top: 10px;
    border-top: 1px solid rgba(119, 107, 92, 0.14);
    border-left: 0;
  }

  .delivery-split-content > .delivery-handover-payment {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 14px;
  }

  .delivery-split-content > .delivery-handover-payment h2,
  .delivery-split-content > .delivery-handover-payment p {
    white-space: normal;
  }
}

/* End */


/* Start:/local/templates/bonadi/css/responsive.css?178550443629137*/

/* =====================================================================
   ЕДИНЫЙ RESPONSIVE-СЛОЙ
   Финальные правила для общих компонентов и всех публичных страниц.
   Они намеренно расположены в конце файла, чтобы старые локальные media
   queries не возвращали десктопные размеры на планшетах и телефонах.
   ===================================================================== */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: clip;
}

.page-main,
.page-main > *,
.container,
.section,
.section > *,
.product-layout,
.catalog-layout,
.contacts-grid {
  min-width: 0;
}

.container {
  padding-right: clamp(18px, 2.4vw, 24px);
  padding-left: clamp(18px, 2.4vw, 24px);
}

.btn,
.field,
.select,
.textarea {
  max-width: 100%;
}

.btn {
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

a:focus-visible,
button:focus-visible,
.field:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 2px solid rgba(95, 90, 82, 0.72);
  outline-offset: 3px;
}

.contacts-intro {
  max-width: none;
}

.not-found-page {
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found-page .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.not-found-page .copy {
  max-width: 480px;
}

.not-found-page .hero-actions {
  justify-content: center;
}

/* Футер по референсу: три спокойные колонки, вертикальные разделители и
   самостоятельная нижняя строка с документами. */
.site-footer {
  padding: clamp(34px, 3.2vw, 54px) 0 max(18px, env(safe-area-inset-bottom));
  background: #181816;
}

.footer-bg {
  width: 100%;
}

.footer-inner,
.footer-bottom {
  width: min(100%, 1500px);
}

.footer-inner {
  grid-template-columns: 1.12fr 0.96fr 0.92fr;
  gap: 0;
  align-items: stretch;
  padding: 0 24px clamp(28px, 2.6vw, 40px);
  border-bottom-color: rgba(200, 165, 120, 0.22);
}

.footer-column {
  min-width: 0;
  padding: 0 clamp(20px, 3vw, 48px);
}

.footer-brand-column {
  padding-left: clamp(14px, 2.8vw, 44px);
}

.footer-nav-column,
.footer-contact-column {
  border-left: 1px solid rgba(200, 165, 120, 0.22);
}

.footer-inner .brand-logo {
  height: clamp(44px, 3vw, 58px);
}

.footer-about {
  max-width: 390px;
  margin: 14px 0 16px;
  color: rgba(226, 218, 207, 0.72);
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.6;
}

.footer-col-title {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-links {
  gap: 10px;
}

.footer-links a,
.footer-contact {
  color: rgba(226, 218, 207, 0.7);
  font-size: clamp(13px, 0.9vw, 14px);
}

.footer-contact {
  gap: 8px;
}

.socials {
  gap: 8px;
  margin-top: 0;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 165, 120, 0.24);
  background: rgba(255, 255, 255, 0.025);
}

.social-link.wide {
  padding: 0 18px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 32px;
  padding: 14px 24px 0;
  color: rgba(226, 218, 207, 0.62);
  font-size: 12px;
}

.footer-meta,
.footer-legal-links {
  gap: 8px 0;
}

.footer-meta span,
.footer-legal-links a {
  padding: 0 22px;
}

.footer-meta span:first-child,
.footer-legal-links a:first-child {
  padding-left: 0;
}

.footer-meta span + span,
.footer-legal-links a + a {
  border-left: 1px solid rgba(200, 165, 120, 0.28);
}

.footer-legal-links {
  flex-wrap: nowrap;
}

.footer-legal-links a {
  color: rgba(226, 218, 207, 0.68);
  font-size: 12px;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .footer-inner {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
  }

  .footer-column {
    padding-right: clamp(22px, 3vw, 42px);
    padding-left: clamp(22px, 3vw, 42px);
  }

  .footer-inner .brand-logo {
    height: 76px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

/* Планшеты и компактные ноутбуки: меню превращается в раскрывающуюся панель,
   а шапка больше не меняет ширину после скролла. */
@media (max-width: 960px) {
  :root {
    --header: 78px;
  }

  .site-header,
  .site-header.scrolled {
    top: max(10px, env(safe-area-inset-top));
    width: calc(100% - 24px);
    min-height: 60px;
    gap: 14px;
    padding: 7px 12px 7px 16px;
    border-radius: 18px;
  }

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 46px;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.42);
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--header) - 34px);
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 18px;
    background: rgba(250, 249, 246, 0.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px) saturate(1.04);
    -webkit-backdrop-filter: blur(20px) saturate(1.04);
  }

  .top-nav.open {
    display: flex;
  }

  .top-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .top-nav a::after {
    display: none;
  }

  .top-nav a.active {
    background: rgba(143, 137, 127, 0.1);
  }

  .page-title {
    padding-top: calc(var(--header) + 24px);
  }

  .section {
    padding-top: clamp(56px, 8vw, 76px);
    padding-bottom: clamp(56px, 8vw, 76px);
  }

  .section-head {
    margin-bottom: 32px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 56px;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 76px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 6px;
  }

  .main-product-image {
    min-height: 0;
    max-height: none;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 42px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(200, 165, 120, 0.2);
  }

  .footer-nav-column {
    padding-top: 34px;
    border-left: 0;
  }

  .footer-contact-column {
    padding-top: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 70px;
  }

  .container,
  .hero,
  .page-title,
  .product-layout {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header,
  .site-header.scrolled {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 16px);
    min-height: 56px;
    padding: 6px 8px 6px 13px;
    border-radius: 16px;
  }

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 42px;
  }

  .nav-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .page-title {
    padding-top: calc(var(--header) + 22px);
    padding-bottom: 22px;
  }

  .page-title h1,
  .legal-title h1 {
    font-size: clamp(29px, 9vw, 42px);
    line-height: 1.08;
  }

  .copy,
  .legal-document p,
  .legal-document li {
    font-size: 15px;
    line-height: 1.68;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .eyebrow::before {
    width: 28px;
  }

  .btn {
    min-height: 46px;
    padding: 11px 18px;
    font-size: 13px;
  }

  .field,
  .select,
  .textarea,
  .form-grid .field,
  .form-grid .select,
  .form-grid .textarea,
  .search-wrap.catalog-search .field,
  .catalog-search .field {
    font-size: 16px;
  }

  .section-head {
    align-items: stretch;
    gap: 20px;
    margin-bottom: 26px;
  }

  .section-head h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .section-head > .btn {
    align-self: flex-start;
  }

  .home-about-section {
    padding: 36px 0 54px;
  }

  .home-about-panel {
    border-radius: 24px;
  }

  .home-about-copy {
    padding: 34px 22px 38px;
  }

  .home-about-copy h2 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .home-about-media img {
    min-height: 320px;
    max-height: 52svh;
  }

  .home-about-stamp {
    top: 20px;
    right: 20px;
    width: 132px;
    height: 132px;
  }

  /* Текст печати не должен вылезать за окружность: сужаем строку (у краёв
     круга по вертикали ширина хорды меньше) и уменьшаем кегль. */
  .home-about-stamp span {
    width: 74%;
    left: 13%;
    font-size: 7.5px;
    letter-spacing: 0.04em;
    line-height: 1.12;
  }

  .home-about-stamp span:first-child {
    top: 20px;
  }

  .home-about-stamp span:last-child {
    bottom: 20px;
  }

  .lookbook-copy {
    padding: 34px 18px 46px;
  }

  .lookbook-copy h1,
  .lookbook-copy h2 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.1;
  }

  body[data-page="about"] .lookbook-photo {
    aspect-ratio: 1 / 1;
  }

  .product-back {
    padding-top: calc(var(--header) + 18px);
  }

  .breadcrumbs {
    min-width: 0;
    font-size: 12px;
  }

  .breadcrumbs .current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-layout {
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 44px;
  }

  .main-product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
    opacity: 1;
  }

  .product-panel,
  .split-card {
    padding: 22px;
    border-radius: 24px;
  }

  .product-panel h1 {
    font-size: clamp(22px, 7vw, 28px);
  }

  #product-colors {
    gap: 14px;
  }

  button.swatch {
    width: 34px;
    height: 34px;
  }

  .spec-value {
    font-size: 15px;
    line-height: 1.55;
  }

  .catalog-layout {
    padding-top: calc(var(--header) + 18px);
  }

  body[data-page="catalog"] .catalog-sidebar {
    padding: 10px;
  }

  body[data-page="catalog"] .catalog-filter-panel {
    gap: 10px;
  }
  body[data-page="catalog"] .category-list a {
    min-height: 42px;
  }

  .product-card {
    min-height: 0;
  }

  .product-card-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    padding: 10px 12px;
  }

  .product-card-info .product-card-colors {
    justify-content: flex-start;
    max-width: 100%;
  }

  .product-card-text .product-title {
    font-size: 13px;
  }

  .product-card-info .product-price-line {
    font-size: 12px;
  }

  .product-card-info .size-line {
    font-size: 10px;
  }

  .contacts-grid {
    gap: 22px;
    padding-bottom: 52px;
  }

  .contacts-left .map-card {
    min-height: 280px;
  }

  .contact-item,
  .contact-item:nth-child(1),
  .contact-item:nth-child(2),
  .contact-item:nth-child(3) {
    padding: 14px 16px;
  }

  .contact-value {
    overflow-wrap: anywhere;
  }

  .coop-showcase {
    padding-top: calc(var(--header) + 18px);
  }

  .coop-audience-card {
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
  }

  .coop-metrics span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .coop-request-block {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .legal-page {
    padding-bottom: 52px;
  }

  .legal-document h2 {
    margin-top: 28px;
    font-size: clamp(21px, 6.6vw, 27px);
  }

  .modal {
    place-items: end center;
    padding: 8px;
  }

  .modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 16px 16px;
  }

  .modal-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .modal-head h2 {
    font-size: 24px;
  }

  .size-table {
    min-width: 620px;
    font-size: 13px;
  }

  .back-to-top {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .back-to-top-arrow {
    top: 20px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-bg {
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/bonadi/css/../images/footer-knit-mobile.webp');
    background-position: top center;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 18px 34px;
  }

  .footer-column,
  .footer-brand-column,
  .footer-nav-column,
  .footer-contact-column {
    grid-column: auto;
    padding: 26px 0;
    border-left: 0;
  }

  .footer-brand-column {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .footer-nav-column,
  .footer-contact-column {
    border-top: 1px solid rgba(200, 165, 120, 0.2);
  }

  .footer-inner .brand-logo {
    height: 70px;
  }

  .footer-about {
    max-width: 360px;
    margin: 20px 0 24px;
    font-size: 14px;
  }

  .footer-col-title {
    margin-bottom: 20px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .footer-links a,
  .footer-contact {
    font-size: 14px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 18px 0;
  }

  .footer-meta,
  .footer-legal-links {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-meta span,
  .footer-legal-links a {
    padding: 0;
    border-left: 0 !important;
  }
}

@media (max-width: 520px) {
  .button-row,
  .not-found-page .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .btn,
  .not-found-page .hero-actions .btn {
    width: 100%;
  }

  .purchase-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .purchase-actions .btn {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .delivery-page--split {
    padding-top: calc(var(--header) + 14px);
  }

  .delivery-page--split .delivery-split-shell {
    gap: 16px;
    padding: 0 14px;
  }

  .delivery-split-visual {
    min-height: 560px;
    padding: 28px 18px 20px;
    border-radius: 24px;
  }

  .delivery-split-visual .delivery-handover-copy h1,
  .delivery-split-visual .delivery-handover-copy > p,
  .delivery-handover-payment h2,
  .delivery-handover-payment p {
    white-space: normal;
  }

  .delivery-split-content {
    gap: 10px;
    padding: 0;
  }

  .delivery-split-content .delivery-dispatch,
  .delivery-split-content .delivery-card,
  .delivery-split-content > .delivery-handover-payment {
    min-height: 0;
    border-radius: 20px;
  }

  .delivery-split-content .delivery-title {
    overflow-wrap: anywhere;
  }

  .toast {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    text-align: center;
    transform: translateY(20px);
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .product-grid,
  .catalog-main .product-grid {
    gap: 8px;
  }

  .product-card-info {
    padding: 9px 10px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 340px) {
  .product-grid,
  .catalog-main .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (hover: none) {
  .btn:hover,
  .social-link:hover,
  .split-card:hover,
  .coop-audience-card:hover .coop-card-icon,
  .delivery-card:hover,
  .thumb:hover,
  button.swatch:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================================
   МОБИЛЬНАЯ ПОЛИРОВКА КЛЮЧЕВЫХ СТРАНИЦ
   Финальные правила для дефектов, заметных в реальном мобильном браузере.
   ===================================================================== */
@media (max-width: 640px) {
  /* Главная: отделяем верхний логотип от окружности и делаем содержимое
     окружности компактнее, сохраняя удобный размер CTA. */
  body[data-page="home"] .hero-full {
    /* Логотип чуть меньше; опущен чуть ниже по просьбе. */
    --hero-brand-top: clamp(84px, 12svh, 108px);
    --hero-brand-font-size: clamp(40px, 12.5vw, 50px);
    --hero-brand-max-width: calc(100vw - 36px);
    --hero-eyebrow-font-size: 9px;
    --hero-eyebrow-letter-spacing: 0.11em;
    /* На телефоне фото масштабируется ниже отдельным правилом по реальному
       диаметру окружности. Координаты бокса остаются в долях исходника и
       используются initHeroLoopText при каждом resize. */
    --loop-x: 28.05%;
    --loop-y: 46.8%;
    /* Текстовый бокс вписан в петлю по разметке (4 угла внутренней стенки).
       Значения — доли нарисованного фото; подобраны замером. */
    --loop-hole-w: 0.15;
    --loop-hole-h: 0.30;
    /* Доводка текста в петле только на телефоне (десктоп не трогаем):
       чуть поднять вверх. */
    --loop-box-shift-y: -22px;
    --hero-object-x: center;
    --hero-image-scale: 1;
    --hero-image-shift-x: 0%;
    --hero-image-shift-y: 0%;
    --loop-shift-x: 0px;
    --loop-shift-y: 0px;
  }

  /* Исходник горизонтальный, поэтому cover на высоком телефоне неизбежно
     увеличивал окружность сильнее ширины экрана и обрезал её справа.
     Здесь ширина изображения вычисляется из фактического диаметра окружности
     в исходнике (~29.2% ширины фото): круг получает по 16px с боков и
     дополнительно ограничивается высотой экрана на широких телефонах.
     translateX привязывает центр окружности (~29.45% фото) к центру viewport. */
  body[data-page="home"] .hero-wall-image {
    position: absolute;
    top: clamp(56px, 8svh, 84px);
    left: 50%;
    width: min(calc(342.5vw - 109.6px), 198.7svh);
    max-width: none;
    height: auto;
    object-fit: fill;
    object-position: center;
    transform: translateX(-29.45%);
    transform-origin: top left;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
  }

  body[data-page="home"] .hero-full .eyebrow {
    max-width: calc(100vw - 52px);
    gap: 6px;
    margin-top: 9px;
    line-height: 1.25;
  }

  body[data-page="home"] .hero-eyebrow span {
    gap: 5px;
  }

  body[data-page="home"] .hero-glass-panel {
    padding: 6px 12px;
    gap: 6px;
  }

  body[data-page="home"] .hero-panel-mark {
    font-size: clamp(18px, 5cqw, 22px);
  }

  body[data-page="home"] .hero-panel-title {
    max-width: 94cqw;
    font-size: clamp(28px, min(10cqw, 9.5cqh), 36px);
    line-height: 1.0;
  }

  body[data-page="home"] .hero-panel-rule {
    width: 48px;
  }

  body[data-page="home"] .hero-panel-copy {
    max-width: 90cqw;
    font-size: clamp(12px, min(3.7cqw, 3.5cqh), 14px);
    line-height: 1.34;
  }

  body[data-page="home"] .hero-full .hero-actions {
    width: min(86cqw, 280px);
    gap: 7px;
    margin-top: 3px;
  }

  body[data-page="home"] .hero-full .hero-actions .btn {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 13.5px;
  }

  /* Каталог на телефоне: поиск и сброс стоят в одном flex-ряду. Сброс
     показывается понятной подписанной кнопкой, а при раскрытии поиска
     компактно сжимается до крестика, не перекрывая поле ввода. */
  body[data-page="catalog"] .catalog-filter-top,
  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
  }

  body[data-page="catalog"] .catalog-filter-top .catalog-filter-reset:not(.is-visible) {
    display: none;
  }

  body[data-page="catalog"] .catalog-filter-top .catalog-filter-reset.is-visible {
    position: static;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 174px;
    height: 48px;
    min-height: 48px;
    margin: 0 0 0 auto;
    padding: 0 16px 0 12px;
    border-width: 1px;
    border-radius: var(--r-full);
    opacity: 1;
    transform: none;
    transition-duration: 320ms;
  }

  body[data-page="catalog"] .catalog-filter-top .catalog-search {
    display: block;
    flex: 1 1 100%;
    min-width: 0;
    width: auto;
    max-width: 100%;
    transition-duration: 320ms;
  }

  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed .catalog-search {
    flex: 0 0 48px;
    width: 48px;
  }

  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed .catalog-search .field {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding-left: 0;
    padding-right: 0;
    color: transparent;
    cursor: pointer;
  }

  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed .catalog-search .field::placeholder {
    color: transparent;
  }

  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed .catalog-search .material-symbols-outlined {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  body[data-page="catalog"] .catalog-filter-top .catalog-search .field {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding-left: 60px;
    padding-right: 60px;
  }

  body[data-page="catalog"] .catalog-filter-top .catalog-search .field::placeholder {
    text-align: center;
  }

  body[data-page="catalog"] .catalog-filter-top.is-search-collapsed .catalog-search .field {
    padding-left: 0;
    padding-right: 0;
  }

  /* Раскрытый поиск занимает свободную ширину, а сброс становится отдельной
     круглой кнопкой справа — без абсолютного наложения на поле. */
  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-search .field {
    padding-left: 60px;
    padding-right: 60px;
    color: var(--c-choco);
    cursor: text;
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-search .field::placeholder {
    color: rgba(119, 107, 92, 0.62);
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-search .material-symbols-outlined {
    left: 19px;
    transform: translateY(-50%);
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset.is-visible {
    flex-basis: 48px;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
  }

  body[data-page="catalog"] .catalog-filter-reset-icon.material-symbols-outlined {
    width: 20px;
    height: 46px;
    font-size: 18px;
    transition-duration: 320ms;
  }

  body[data-page="catalog"] .catalog-filter-reset-label {
    display: inline-block;
    max-width: 126px;
    padding-left: 8px;
    opacity: 1;
    font-size: 11px;
    transition-duration: 240ms;
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset-icon.material-symbols-outlined {
    width: 46px;
  }

  body[data-page="catalog"] .catalog-filter-top.is-reset-collapsed .catalog-filter-reset-label {
    max-width: 0;
    padding-left: 0;
    opacity: 0;
  }

  /* На телефоне активное поле обозначается тёплой рамкой без толстой
     внешней окружности, которая визуально удваивала контур. */
  body[data-page="catalog"] .search-wrap.catalog-search .field:focus {
    border-color: #d9bd98;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      0 4px 14px rgba(52, 44, 34, 0.08);
  }

  /* Модальное окно: кнопка закрытия не сжимается от длинного заголовка. */
  .modal-head .icon-button {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    aspect-ratio: 1;
    border-radius: 50%;
  }

  /* Контакты: карта занимает компактный экранный блок и не перехватывает
     несколько экранов прокрутки до контактных данных и формы. */
  body[data-page="contacts"] .contacts-left .map-card {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(260px, 75vw, 340px);
    min-height: 0;
    border-radius: 22px;
  }

  body[data-page="contacts"] .contacts-left .map-card iframe,
  body[data-page="contacts"] .contacts-left .map-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  /* Доставка: текст уходит с лица модели в светлую центральную область,
     а после последней плашки остаётся воздух перед футером. */
  body[data-page="delivery"] .delivery-page--split {
    padding-bottom: clamp(44px, 12vw, 68px);
  }

  body[data-page="delivery"] .delivery-split-visual {
    /* Больше высоты + кадр чуть ниже: коробка с логотипом BONADI
       поднимается над карточкой преимуществ и не перекрывается ею. */
    min-height: 640px;
    background-position: center 38%;
  }

  /* Карточка преимуществ чуть компактнее и не липнет к нижнему краю. */
  body[data-page="delivery"] .delivery-split-visual > .delivery-benefits {
    margin-bottom: 4px;
    padding: 12px 14px;
  }

  body[data-page="delivery"] .delivery-split-visual > .delivery-benefits .delivery-benefit p {
    font-size: 12.5px;
    line-height: 1.35;
  }

  body[data-page="delivery"] .delivery-split-visual > .delivery-benefits .delivery-benefit strong {
    font-size: 14px;
  }

  /* Телефон: убираем серую плашку под заголовком — оставляем только текст.
     Лёгкая тень/подложка нужна лишь для читаемости поверх фото. */
  body[data-page="delivery"] .delivery-split-visual .delivery-handover-copy {
    width: min(84%, 320px);
    max-width: 320px;
    margin-right: 0;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-copy h1 {
    max-width: 260px;
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.08;
    white-space: normal;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.9);
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-rule {
    box-shadow: 0 1px 6px rgba(255, 255, 255, 0.7);
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-rule {
    margin: 15px 0 13px;
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-copy > p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-choco);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.95);
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-copy > p br {
    display: none;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .hero-full {
    --hero-brand-top: 70px;
    --hero-brand-font-size: 38px;
    --hero-eyebrow-letter-spacing: 0.08em;
  }

  body[data-page="home"] .hero-eyebrow span::before,
  body[data-page="home"] .hero-eyebrow span::after {
    display: none;
  }

  body[data-page="delivery"] .delivery-split-visual .delivery-handover-copy {
    width: min(88%, 300px);
    padding: 0;
  }
}

/* End */
/* /local/templates/bonadi/css/fonts.css?17855044362230 */
/* /local/templates/bonadi/css/foundation.css?178550443612439 */
/* /local/templates/bonadi/css/home.css?178550443615300 */
/* /local/templates/bonadi/css/components.css?17855044368545 */
/* /local/templates/bonadi/css/delivery.css?178550443612066 */
/* /local/templates/bonadi/css/legal.css?1785504436692 */
/* /local/templates/bonadi/css/cooperation.css?178550443610847 */
/* /local/templates/bonadi/css/catalog.css?178550443635502 */
/* /local/templates/bonadi/css/product.css?17855044367063 */
/* /local/templates/bonadi/css/cooperation-cards.css?17855044361445 */
/* /local/templates/bonadi/css/home-sections.css?17855044364627 */
/* /local/templates/bonadi/css/contacts-forms.css?17855044368802 */
/* /local/templates/bonadi/css/footer.css?17855044363331 */
/* /local/templates/bonadi/css/utilities.css?17855044364519 */
/* /local/templates/bonadi/css/responsive-legacy.css?178550443636485 */
/* /local/templates/bonadi/css/delivery-overrides.css?178550443615433 */
/* /local/templates/bonadi/css/responsive.css?178550443629137 */
