/*
Theme Name: Cristina Mille
Theme URI: https://cristinamille.ru/
Author: Cristina Mille
Description: Чистая тема Cristina Mille — редизайн 2026 по макетам claude.ai/design. WooCommerce-магазин премиальных анатомических подушек.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cristinamille
*/

/* ============================================================
   БАЗА / ТОКЕНЫ
   ============================================================ */
:root {
    --cm-ink: #141414;
    --cm-ink-soft: #1c1a17;
    --cm-text: #3f3a32;
    --cm-muted: #6d6151;
    --cm-muted2: #8c8c8c;
    --cm-line: #ececec;
    --cm-line-warm: #e2dbcc;
    --cm-cream: #f0efe9;
    --cm-cream2: #fbfaf6;
    --cm-gold: #b39763;
    --cm-gold-soft: #cbb48c;
    --cm-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --cm-sans: "Open Sans", Helvetica, Arial, sans-serif;
    --cm-wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
/* запас под липкую шапку, иначе якорные ссылки уводят цель под неё */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (max-width: 900px) { html { scroll-padding-top: 78px; } }
body {
    margin: 0; background: #fff; color: var(--cm-ink);
    font-family: var(--cm-sans); font-size: 16px; line-height: 1.6;
    /* subpixel-сглаживание системы не отключаем: antialiased утончал штрихи,
       из-за чего засечный Cormorant в заголовках и логотипе выглядел размытым */
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cm-muted); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cm-gold); }
h1, h2, h3, h4 { font-family: var(--cm-serif); font-weight: 600; color: var(--cm-ink); margin: 0; }
button { font-family: inherit; }
.cm-container { max-width: var(--cm-wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   ХЕДЕР
   ============================================================ */
/* шапка липнет к верху на всех разрешениях, включая мобильные */
.cm-hdr { background: #fff; border-bottom: 1px solid var(--cm-line); position: sticky; top: 0; z-index: 120; }
/* админ-бар WordPress: до 600px он не fixed и уезжает со страницей, поэтому там top: 0 */
body.admin-bar .cm-hdr { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .cm-hdr { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .cm-hdr { top: 0; } }
.cm-hdr__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: 0 clamp(16px,4vw,48px); display: flex; align-items: center; gap: clamp(16px,4vw,48px); height: 82px; }
.cm-hdr__logo { flex: 0 0 auto; margin-right: auto; font-family: var(--cm-serif); font-size: clamp(19px,4.4vw,25px); font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--cm-ink); }
.cm-hdr__logo:hover { color: var(--cm-ink); }
.cm-hdr__nav { flex: 0 1 auto; margin-right: auto; display: flex; gap: clamp(16px,2.2vw,34px); }
.cm-hdr__nav a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--cm-text); white-space: nowrap; }
.cm-hdr__nav a:hover, .cm-hdr__nav a.current-menu-item { color: var(--cm-gold); }
.cm-hdr__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.cm-hdr__phone { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid #d8d2c6; border-radius: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--cm-ink-soft); white-space: nowrap; }
.cm-hdr__phone:hover { border-color: var(--cm-ink-soft); color: var(--cm-ink-soft); }
.cm-hdr__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cm-ink-soft); }
.cm-hdr__cart:hover { background: #f3f0ea; color: var(--cm-ink-soft); }
.cm-hdr__badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--cm-gold); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cm-hdr__badge:empty, .cm-hdr__badge[hidden] { display: none; }
.cm-hdr__burger { display: none; }
.cm-hdr__drawer { display: none; }

@media (max-width: 1120px) {
    .cm-hdr__phone span { display: none; }
    .cm-hdr__phone { padding: 0; width: 44px; height: 44px; border: none; border-radius: 50%; justify-content: center; }
    .cm-hdr__phone:hover { background: #f3f0ea; }
}
@media (max-width: 899px) {
    .cm-hdr__inner { height: 68px; gap: 16px; }
    .cm-hdr__nav { display: none; }
    .cm-hdr__phone { display: none; }
    .cm-hdr__burger { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: -10px; background: none; border: none; cursor: pointer; }
    .cm-hdr__burger span { width: 22px; height: 2px; background: var(--cm-ink-soft); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
    .cm-hdr.is-open .cm-hdr__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .cm-hdr.is-open .cm-hdr__burger span:nth-child(2) { opacity: 0; }
    .cm-hdr.is-open .cm-hdr__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .cm-hdr.is-open .cm-hdr__drawer { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 200; background: #fff; border-bottom: 1px solid var(--cm-line); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); padding: 8px clamp(16px,4vw,48px) 18px; }
    .cm-hdr__drawer a { display: block; padding: 15px 0; border-bottom: 1px solid #f2f0ea; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--cm-text); }
    .cm-hdr__drawer a:hover { color: var(--cm-gold); }
    .cm-hdr__drawer-phone { display: inline-flex !important; align-items: center; gap: 9px; margin-top: 16px; padding: 14px 22px !important; background: var(--cm-ink-soft); border: none !important; border-radius: 8px; color: #fff !important; letter-spacing: .08em; }
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.cm-ftr { background: var(--cm-ink); color: #cfc7b6; }
.cm-ftr__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(48px,6vw,72px) clamp(16px,4vw,48px) 0; }
.cm-ftr__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: clamp(30px,5vw,60px); padding-bottom: 48px; border-bottom: 1px solid #2b2823; }
.cm-ftr__logo { font-family: var(--cm-serif); font-size: 24px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.cm-ftr__brand p { font-size: 13.5px; line-height: 1.6; color: var(--cm-muted2); margin: 16px 0 0; max-width: 240px; }
.cm-ftr__h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--cm-muted); margin-bottom: 18px; }
.cm-ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cm-ftr__col a { font-size: 14px; color: #cfc7b6; }
.cm-ftr__col a:hover { color: var(--cm-gold); }
.cm-ftr__bottom { padding: 24px 0 30px; }
.cm-ftr__req { margin: 0; font-size: 12px; line-height: 1.7; color: #7d7565; }

/* ============================================================
   СЛУЖЕБНОЕ (пока WooCommerce на дефолтных шаблонах)
   ============================================================ */
.cm-main { min-height: 40vh; }

/* ============================================================
   ПЛАВНОЕ ПОЯВЛЕНИЕ СТРАНИЦЫ
   Задержки нет: контент приходит так же быстро, но не «выпрыгивает»,
   а проявляется. Ощущение спокойствия даёт не ожидание, а характер
   движения — короткое, замедляющееся к концу, без отскока.
   ============================================================ */

/* Переход между страницами. Браузер сам делает кросс-фейд старой и новой,
   без единой строчки JS. Где не поддерживается — просто обычный переход. */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: cmPageOut .20s ease-in both; }
::view-transition-new(root) { animation: cmPageIn  .38s cubic-bezier(.2,.7,.3,1) both; }

@keyframes cmPageOut { to { opacity: 0; } }
@keyframes cmPageIn  { from { opacity: 0; } to { opacity: 1; } }

/* Первое появление контента: проявление со сдвигом на 10px.
   Сдвиг делаем transform — он не вызывает пересчёт вёрстки и не портит CLS.
   Шапка не анимируется: она должна быть на месте с первого кадра.

   fill-mode строго backwards, НЕ both. С both конечный кадр остаётся
   применённым навсегда, и `transform: none` из кадра вычисляется как
   matrix(1,0,0,1,0,0) — то есть transform формально есть. Тогда .cm-main
   становится точкой отсчёта для position:fixed внутри себя, и модалки
   (калькулятор, консультация) центрируются относительно всей высоты
   страницы, уезжая далеко за экран: видно только затемнение.
   С backwards свойства снимаются по окончании — элемент возвращается
   к обычным opacity:1 и transform:none, а конечный кадр совпадает
   с базовым состоянием, так что мигания нет. */
.cm-main { animation: cmReveal .5s cubic-bezier(.2,.7,.3,1) backwards; }

@keyframes cmReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* Уважаем системную настройку «меньше движения»: анимация выключается целиком,
   контент виден сразу. */
@media (prefers-reduced-motion: reduce) {
    .cm-main { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.cm-page-wrap { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(32px,5vw,64px) clamp(16px,4vw,48px); }
/* body на WC-страницах получает класс .woocommerce — НЕ ограничиваем его (иначе двойной отступ) */
body.woocommerce, body.woocommerce-page { max-width: none !important; margin: 0 !important; padding: 0 !important; }

/* ============================================================
   ВИТРИНА КАТАЛОГА /shop/ (макет «Каталог», 1a Editorial + 1b Quiet)
   ============================================================ */
.cm-shop { background: #fff; }
.cm-shop__inner { max-width: 1240px; margin: 0 auto; padding: clamp(32px,4vw,56px) clamp(20px,5vw,64px) 90px; }
.cm-shop__head { max-width: 720px; }
.cm-shop__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-shop__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(42px,6vw,68px); line-height: 1.02; letter-spacing: .01em; margin: 16px 0 20px; color: var(--cm-ink); }
.cm-shop__intro { font-size: 17px; line-height: 1.7; color: var(--cm-muted); margin: 0; }

.cm-shop__nav { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.cm-shop__nav-chip { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--cm-muted); padding: 10px 18px; border: 1px solid var(--cm-line-warm); border-radius: 40px; background: var(--cm-cream2); transition: all .2s ease; }
.cm-shop__nav-chip:hover { border-color: var(--cm-gold-soft); color: var(--cm-ink-soft); background: #fff; }

.cm-chapter { margin-top: 68px; scroll-margin-top: 24px; }
.cm-chapter__head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--cm-line); margin-bottom: 34px; }
.cm-chapter__icon { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: #a6957a; display: flex; align-items: center; justify-content: center; }
.cm-chapter__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,38px); margin: 0; color: var(--cm-ink); line-height: 1.1; display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cm-chapter__tag { font-family: var(--cm-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold-soft); }
.cm-chapter__rec { font-size: 15px; color: var(--cm-muted2); margin: 7px 0 0; line-height: 1.55; }

.cm-shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.cm-prodcard { display: block; color: inherit; border-radius: 14px; padding: 10px; margin: -10px; background: transparent; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.cm-prodcard:hover, .cm-prodcard:focus-visible { transform: translateY(-5px); background: #fff; box-shadow: 0 24px 50px -30px rgba(70,58,34,.4); outline: none; }
.cm-prodcard:focus-visible { box-shadow: 0 24px 50px -30px rgba(70,58,34,.4), 0 0 0 3px rgba(179,151,99,.16); }
.cm-prodcard__media { position: relative; background: #f6f4ef; border-radius: 12px; overflow: hidden; aspect-ratio: 320/309; }
.cm-prodcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cm-prodcard:hover .cm-prodcard__media img { transform: scale(1.04); }
.cm-prodcard__line { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--cm-gold); width: 0; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.cm-prodcard:hover .cm-prodcard__line { width: 100%; }
.cm-prodcard__body { padding: 18px 4px 4px; }
.cm-prodcard__series { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-prodcard__name { font-family: var(--cm-serif); font-size: 25px; font-weight: 500; color: var(--cm-ink); margin: 6px 0 3px; line-height: 1.15; }
.cm-prodcard__material { font-size: 13px; color: var(--cm-muted2); }
.cm-prodcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.cm-prodcard__price { font-size: 17px; font-weight: 700; color: var(--cm-ink); }
.cm-prodcard__more { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; transition: color .2s ease; }
.cm-prodcard:hover .cm-prodcard__more { color: var(--cm-gold); }

.cm-shop--quiet { background: var(--cm-cream2); }
.cm-shop--quiet .cm-shop__head { max-width: 640px; margin: 0 auto; text-align: center; }
.cm-shop--quiet .cm-shop__title { font-size: clamp(42px,6vw,64px); line-height: 1.04; }
.cm-shop--quiet .cm-shop__nav { display: none; }
.cm-shop--quiet .cm-chapter { margin-top: 64px; display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.cm-shop--quiet .cm-chapter__head { display: block; position: sticky; top: 24px; padding: 0; border: none; margin: 0; }
.cm-shop--quiet .cm-chapter__icon { width: 54px; height: 54px; background: #fff; margin-bottom: 16px; }
.cm-shop--quiet .cm-chapter__title { display: block; font-size: 32px; margin: 0 0 4px; }
.cm-shop--quiet .cm-chapter__tag { display: block; font-size: 11.5px; margin-bottom: 12px; }
.cm-shop--quiet .cm-chapter__rec { font-size: 14px; margin: 0; line-height: 1.6; }
.cm-shop--quiet .cm-shop__grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.cm-shop--quiet .cm-prodcard__media { aspect-ratio: 1/1; }
.cm-shop--quiet .cm-prodcard__line, .cm-shop--quiet .cm-prodcard__material, .cm-shop--quiet .cm-prodcard__more { display: none; }
.cm-shop--quiet .cm-prodcard__body { padding: 15px 2px 2px; }
.cm-shop--quiet .cm-prodcard__series { font-size: 11px; }
.cm-shop--quiet .cm-prodcard__name { font-size: 22px; margin: 5px 0 10px; }
.cm-shop--quiet .cm-prodcard__foot { margin-top: 0; display: block; }
.cm-shop--quiet .cm-prodcard__price { font-size: 16px; }
.cm-shop--quiet .cm-prodcard__price { font-size: 16px; }

@media (max-width: 767px) {
    .cm-shop__title { font-size: 34px; }
    .cm-shop__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    .cm-prodcard__foot { flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 12px; }
    .cm-prodcard__price { white-space: nowrap; }
    .cm-chapter__title { font-size: 26px; }
    .cm-chapter__icon { width: 52px; height: 52px; }
    .cm-shop--quiet .cm-chapter { grid-template-columns: 1fr; gap: 20px; }
    .cm-shop--quiet .cm-chapter__head { position: static; }
    .cm-shop--quiet .cm-shop__head { text-align: left; }
}

/* ============================================================
   КАРТОЧКА ТОВАРА + КОНФИГУРАТОР (макет «Карточка товара»)
   ============================================================ */
.cm-pdp { max-width: 1240px; margin: 0 auto; padding: 34px clamp(16px,4vw,48px) 0; }
.cm-pdp__back { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; margin-bottom: 22px; }
.cm-pdp__back:hover { color: var(--cm-ink); }
.cm-pdp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px,5vw,72px); align-items: start; padding-bottom: 40px; }

/* --- галерея --- */
.cm-pdp__main { position: relative; background: #f2efe9; border-radius: 14px; overflow: hidden; aspect-ratio: 474/541; }
.cm-pdp__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-pdp__badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(255,255,255,.82); backdrop-filter: blur(4px); color: var(--cm-muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 7px 13px; border-radius: 40px; }
.cm-pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.cm-pdp__thumb { padding: 0; border: 1px solid #ece6db; border-radius: 10px; overflow: hidden; background: #f6f4ef; cursor: pointer; aspect-ratio: 114/130; transition: all .2s ease; }
.cm-pdp__thumb:hover { border-color: var(--cm-gold-soft); }
.cm-pdp__thumb.is-active { border-color: var(--cm-gold); box-shadow: 0 0 0 2px rgba(179,151,99,.18); }
.cm-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- правая колонка (конфигуратор) --- */
.cm-cfg { max-width: 560px; }
.cm-pdp__eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-pdp__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px,5vw,46px); line-height: 1.1; letter-spacing: .01em; color: var(--cm-ink); margin: 12px 0 8px; }
/* параметры подбора внутри заголовка: та же строка для поиска, но тише голосом */
.cm-pdp__title-params { display: block; margin-top: 6px; font-size: .5em; font-weight: 400; font-style: italic; color: var(--cm-muted2); letter-spacing: 0; }
.cm-pdp__subtitle { font-family: var(--cm-serif); font-style: italic; font-size: 21px; color: var(--cm-muted2); margin: 0; }
.cm-pdp__specs { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; margin: 26px 0; padding-bottom: 26px; border-bottom: 1px solid var(--cm-line); font-size: 14px; }
.cm-pdp__specs dt { color: #a8a8a8; margin: 0; }
.cm-pdp__specs dd { color: #4a4a4a; margin: 0; }

/* --- шаг --- */
.cm-step { margin-bottom: 26px; }
.cm-step__head { display: flex; align-items: baseline; gap: 9px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; margin-bottom: 13px; }
.cm-step__num { color: var(--cm-gold-soft); font-weight: 600; }
.cm-step__hint { margin-left: auto; letter-spacing: .02em; text-transform: none; font-weight: 400; font-size: 13px; color: var(--cm-muted2); }

.cm-opts { display: grid; gap: 10px; }
.cm-opts--3 { grid-template-columns: repeat(3, 1fr); }
.cm-opts--2 { grid-template-columns: repeat(2, 1fr); }

/* карта-опция (высота/жёсткость/размер) */
.cm-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 15px 8px; border: 1px solid var(--cm-line-warm); border-radius: 10px; background: var(--cm-cream2); color: var(--cm-text); cursor: pointer; transition: all .18s ease; }
.cm-opt:hover { border-color: var(--cm-gold-soft); }
.cm-opt.is-selected { background: var(--cm-ink-soft); border-color: var(--cm-ink-soft); color: #fff; }
.cm-opt__icon { color: #a1906f; display: flex; line-height: 0; }
.cm-opt.is-selected .cm-opt__icon { color: var(--cm-gold); }
.cm-opt__name { font-size: 14px; font-weight: 600; }
.cm-opt__sub { font-size: 11.5px; color: #a6a6a6; letter-spacing: .02em; }
.cm-opt__dots { display: inline-flex; gap: 4px; align-items: center; height: 20px; }
.cm-opt__dots i { width: 7px; height: 7px; border-radius: 50%; background: #e0d8c8; display: block; }
.cm-opt__dots i.on { background: var(--cm-gold); }
.cm-opt.is-selected .cm-opt__dots i { background: rgba(255,255,255,.28); }
.cm-opt.is-selected .cm-opt__dots i.on { background: #fff; }

/* размер */
.cm-opt--size { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 18px; }
/* размер: выбранное = золотая рамка на светлом (не тёмная заливка) */
.cm-opt--size.is-selected { background: #fff; border-color: var(--cm-gold); color: var(--cm-text); box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-opt__pillow { color: #b7ad99; display: flex; align-items: center; flex: none; line-height: 0; }
.cm-opt--size.is-selected .cm-opt__pillow { color: var(--cm-gold); }
.cm-opt__sztext { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.2; }
.cm-opt__szname { font-size: 14px; font-weight: 600; }
.cm-opt__szplus { font-size: 12px; color: var(--cm-gold); }

/* серия (radio-карты) */
.cm-series { display: grid; gap: 12px; }
.cm-serie { display: flex; align-items: center; gap: 15px; text-align: left; padding: 18px 20px; border: 1px solid var(--cm-line-warm); border-radius: 12px; background: var(--cm-cream2); cursor: pointer; transition: all .2s ease; }
.cm-serie:hover { border-color: var(--cm-gold-soft); }
.cm-serie.is-selected { border-color: var(--cm-gold); background: #fff; box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-serie__radio { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cfc7b6; display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.cm-serie.is-selected .cm-serie__radio { border-color: var(--cm-gold); }
.cm-serie.is-selected .cm-serie__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cm-gold); }
.cm-serie__body { flex: 1 1 auto; min-width: 0; }
.cm-serie__name { display: flex; align-items: center; gap: 9px; font-family: var(--cm-serif); font-size: 24px; font-weight: 600; color: var(--cm-ink); }
.cm-serie__tag { font-family: var(--cm-sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--cm-muted2); background: transparent; border: 1px solid var(--cm-line-warm); padding: 3px 8px; border-radius: 4px; }
.cm-serie__tag--silver { color: var(--cm-muted); border-color: var(--cm-gold); background: rgba(179,151,99,.08); }
.cm-serie__desc { display: block; font-size: 13.5px; line-height: 1.5; color: var(--cm-muted2); margin-top: 4px; }
.cm-serie__price { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--cm-muted); white-space: nowrap; }

/* цена + кнопки */
.cm-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--cm-line); }
.cm-price-row__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-price-row__val { font-family: var(--cm-sans); font-size: 34px; font-weight: 700; color: var(--cm-ink); letter-spacing: -.01em; min-width: 170px; }
.cm-cfg__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }
.cm-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all .2s ease; border: 1px solid transparent; border-radius: 8px; }
.cm-btn--dark { flex: 1 1 240px; padding: 19px 28px; background: var(--cm-ink-soft); color: #fff; }
.cm-btn--dark:hover { background: var(--cm-gold); color: #fff; }
.cm-btn--dark[disabled] { opacity: .4; cursor: not-allowed; }
.cm-btn--outline { flex: 0 1 auto; padding: 19px 26px; letter-spacing: .12em; background: transparent; color: var(--cm-ink-soft); border-color: #d8d2c6; }
.cm-btn--outline:hover { border-color: var(--cm-ink-soft); color: var(--cm-ink-soft); }
.cm-cfg__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--cm-muted2); }
.cm-cfg__note svg { color: var(--cm-gold); }

/* --- секция «А ещё вы получите»: список с иконками слева + 2 фото справа --- */
.cm-perks { background: #f8f8f8; margin-top: 30px; }
.cm-perks__inner { max-width: 1080px; margin: 0 auto; padding: clamp(44px,7vw,84px) clamp(16px,4vw,48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(30px,5vw,64px); align-items: center; }
.cm-perks__eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-perks__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(30px,4vw,40px); line-height: 1.12; color: var(--cm-ink); margin: 12px 0 22px; }
.cm-perks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cm-perks__list li { display: flex; gap: 15px; align-items: flex-start; }
.cm-perks__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); display: flex; align-items: center; justify-content: center; color: var(--cm-gold); }
.cm-perks__txt { font-size: 15px; line-height: 1.5; color: var(--cm-text); padding-top: 8px; }
.cm-perks__media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.cm-perks__img { border-radius: 12px; object-fit: cover; display: block; width: 100%; height: 100%; background: #ecebe4; }
.cm-perks__img--l { aspect-ratio: 254/300; }
.cm-perks__img--r { aspect-ratio: 190/300; }
/* когда фото одно: колонка на всю ширину растянула бы кадр, поэтому ограничиваем и центрируем */
.cm-perks__media--solo { grid-template-columns: minmax(0, 420px); justify-content: center; }

/* --- мобилка карточки --- */
@media (max-width: 767px) {
    .cm-cfg__actions { flex-direction: column; align-items: stretch; }
    .cm-btn--outline { padding: 17px 26px; }
    .cm-opt--size { padding: 14px 16px; }
    .cm-serie__price { display: none; }
}

/* ============================================================
   КОРЗИНА (макет «Корзина»)
   ============================================================ */
body.woocommerce-cart .cm-page-wrap { max-width: 1180px; padding-top: clamp(34px, 5vw, 64px); padding-bottom: 100px; }
.cm-cartpage__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-cartpage__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px,5vw,48px); line-height: 1.05; color: var(--cm-ink); margin: 12px 0 34px; }

/* шапка таблицы + строки — grid по точным колонкам макета */
.cm-cart__thead,
.cm-cart__row { display: grid; grid-template-columns: 90px minmax(0,1fr) 120px 120px 120px 40px; gap: 26px; align-items: center; }
.cm-cart__thead { padding: 0 0 16px; border-bottom: 1px solid var(--cm-line); }
.cm-cart__th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a6a6a6; font-weight: 600; }
.cm-cart__th--price, .cm-cart__th--qty, .cm-cart__th--sum { text-align: center; }

/* строка товара */
.cm-cart__row { padding: 26px 0; border-bottom: 1px solid var(--cm-line); transition: background .2s ease; }
.cm-cart__row:hover { background: #fcfbf8; }
.cm-cart__thumb { width: 90px; }
.cm-cart__thumb img { width: 90px; height: 104px; object-fit: cover; border-radius: 10px; background: #f6f4ef; display: block; }
.cm-cart__name { min-width: 0; }
.cm-cart__prodname { display: block; font-family: var(--cm-serif); font-size: 23px; font-weight: 500; letter-spacing: .005em; color: var(--cm-ink); line-height: 1.15; }
.cm-cart__prodname:hover { color: var(--cm-ink); }
.cm-cart__name dl.variation { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 7px; margin: 11px 0 0; font-size: 13.5px; line-height: 1.5; }
.cm-cart__name dl.variation dt { font-weight: 400; color: #a8a8a8; margin: 0; }
.cm-cart__name dl.variation dd { color: #4a4a4a; margin: 0; }
.cm-cart__name dl.variation dd p { margin: 0; }
/* цена в списке характеристик — только для мобильного макета, на десктопе есть колонка */
.cm-cart__dt-price, .cm-cart__dd-price { display: none; }
.cm-cart__price { text-align: center; font-size: 16px; color: var(--cm-ink); white-space: nowrap; }
.cm-cart__qty { display: flex; justify-content: center; }
.cm-cart__sum { text-align: center; font-size: 16px; font-weight: 700; color: var(--cm-ink); white-space: nowrap; }
.cm-cart__remove { text-align: right; }
.cm-cartpage .cm-cart__remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #c4c4c4 !important; font-size: 19px; line-height: 1; text-decoration: none; background: none !important; transition: all .2s ease; }
.cm-cartpage .cm-cart__remove a.remove:hover { color: #111 !important; background: #f3f3f3 !important; }

/* степпер количества − N + */
.cm-cart .quantity { display: inline-flex; align-items: center; height: 44px; border: 1px solid #e2e2e2; border-radius: 9px; overflow: hidden; background: #fff; }
.cm-cart .quantity input.qty { width: 34px; height: 42px; padding: 0; text-align: center; border: none; background: transparent; font-size: 15px; color: var(--cm-ink); -moz-appearance: textfield; }
.cm-cart .quantity input.qty::-webkit-outer-spin-button, .cm-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cm-cart .quantity .cm-qbtn { width: 30px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; font-size: 17px; color: #6d6151; line-height: 1; }
.cm-cart .quantity .cm-qbtn:hover { color: var(--cm-ink); }

/* низ: купон слева / итоги справа */
.cm-cart__bottom { display: flex; flex-wrap: wrap; gap: 44px; justify-content: space-between; align-items: flex-start; padding-top: 44px; }
.cm-cart__left { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cm-cart__right { flex: 0 1 380px; width: 100%; max-width: 420px; }
/* 470px, а не 420: «Введите подарочный сертификат» в поле рядом с кнопкой
   при 420 не помещался и обрезался на последнем слове */
.cm-coupon { width: 100%; max-width: 470px; }
/* свёрнутый вид: только бледное слово-ссылка, форма раскрывается по клику */
.cm-coupon__toggle { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a6a6a6; font-weight: 600; cursor: pointer; list-style: none; transition: color .2s ease; }
.cm-coupon__toggle::-webkit-details-marker { display: none; }
.cm-coupon__toggle::after { content: ' +'; opacity: .7; }
.cm-coupon[open] .cm-coupon__toggle { margin-bottom: 12px; }
.cm-coupon[open] .cm-coupon__toggle::after { content: ' −'; }
.cm-coupon__toggle:hover, .cm-coupon__toggle:focus-visible { color: var(--cm-gold); }
.cm-coupon label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a6a6a6; font-weight: 600; margin-bottom: 12px; }
.cm-coupon__row { display: flex; gap: 12px; }
.cm-coupon input#coupon_code { flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid var(--cm-line-warm); border-radius: 8px; background: var(--cm-cream2); font-size: 15px; color: #2a2620; }
.cm-coupon input#coupon_code:focus { outline: none; border-color: var(--cm-gold); background: #fff; box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-coupon .cm-btn { flex: 0 0 auto; height: 54px; padding: 0 24px; font-size: 12px; letter-spacing: .12em; }
.cm-cart__update { background: none; border: none; padding: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a6a6a6; cursor: pointer; display: none; }
.cm-cart__continue { display: block; text-align: center; margin-top: 18px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-cart__continue:hover { color: var(--cm-ink); }

/* крем-карточка итогов */
.cm-totals { background: var(--cm-cream2); border: 1px solid #ece6db; border-radius: 12px; padding: 28px 28px 30px; }
.cm-totals__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: #4a4a4a; margin-bottom: 14px; }
.cm-totals__row--ship { margin-bottom: 0; padding-bottom: 18px; border-bottom: 1px solid var(--cm-line-warm); }
.cm-totals__val { font-variant-numeric: tabular-nums; }
.cm-totals__val--free { color: #4e7a63; font-weight: 600; }
.cm-totals__row--coupon .cm-totals__val { color: #4e7a63; }
.cm-totals__grand { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; }
.cm-totals__glabel { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a6a6a6; font-weight: 600; }
.cm-totals__gval { font-size: 30px; font-weight: 700; color: var(--cm-ink); letter-spacing: -.01em; }
.cm-totals__gval .amount { font-size: inherit; font-weight: inherit; }
.cm-totals__checkout { margin-top: 24px; }
.cm-totals__checkout a.checkout-button, .cm-totals__checkout .wc-proceed-to-checkout a.checkout-button { display: flex !important; align-items: center; justify-content: center; width: 100%; padding: 18px 24px; border-radius: 8px; background: var(--cm-ink-soft) !important; color: #fff !important; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; border: none; transition: background .2s ease; }
.cm-totals__checkout a.checkout-button:hover { background: var(--cm-gold) !important; }
.cm-totals__checkout .wc-proceed-to-checkout { padding: 0; margin: 0; }
.cm-totals__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 12.5px; color: #8c8c8c; }
.cm-totals__note svg { color: var(--cm-gold); flex: 0 0 auto; }

/* пустая корзина (макет «Пустая корзина») */
.cm-cartempty { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: clamp(48px,8vw,120px) 24px; }
.cm-cartempty__inner { max-width: 460px; text-align: center; }
.cm-cartempty__ic { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: var(--cm-gold); margin-bottom: 30px; }
.cm-cartempty__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-cartempty__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px,5vw,46px); line-height: 1.1; margin: 12px 0 16px; color: var(--cm-ink); }
.cm-cartempty__txt { font-size: 16px; line-height: 1.65; color: var(--cm-muted); margin: 0 0 32px; }
.cm-cartempty__cta { display: inline-block; padding: 18px 40px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--cm-ink-soft); border-radius: 8px; transition: background .2s ease, transform .05s ease; }
.cm-cartempty__cta:hover { background: var(--cm-gold); color: #fff; }
.cm-cartempty__cta:active { transform: translateY(1px); }

/* мобилка корзины */
@media (max-width: 767px) {
    /* строка товара по мобильному макету: фото на две строки слева,
       справа сверху описание и крестик, снизу количество и сумма */
    .cm-cart__thead { display: none; }
    .cm-cart__row {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr) max-content;
        grid-template-areas: "img info del" "img qty sum";
        column-gap: 16px; row-gap: 18px; align-items: center;
        padding: 22px 0;
    }
    .cm-cart__thumb { grid-area: img; align-self: start; width: 84px; }
    .cm-cart__thumb img { width: 84px; height: 100px; }
    .cm-cart__name { grid-area: info; min-width: 0; }
    .cm-cart__qty  { grid-area: qty; justify-content: flex-start; }
    .cm-cart__sum  { grid-area: sum; text-align: right; font-size: 17px; font-weight: 700; white-space: nowrap; }
    .cm-cart__remove { grid-area: del; text-align: right; align-self: start; }
    .cm-cartpage .cm-cart__remove a.remove { width: 44px; height: 44px; color: #111 !important; }
    .cm-cart__qty .quantity { height: 44px; }
    /* цена за штуку живёт в списке характеристик, отдельной колонки нет */
    .cm-cart__price { display: none; }
    .cm-cart__dt-price, .cm-cart__dd-price { display: block; }
    .cm-cart__bottom { flex-direction: column; gap: 28px; }
    /* flex-basis 320px задавался для ширины колонки, но в колоночной раскладке
       главная ось — вертикаль, и он превращался в высоту: блок промокода занимал
       320 px при 26 px содержимого. Высота — строго по содержимому. */
    .cm-cart__left { flex: 0 0 auto; width: 100%; }
    .cm-cart__right { width: 100%; flex: 1 1 auto; max-width: none; }
    /* «Введите подарочный сертификат» не помещается в поле рядом с кнопкой —
       на узких экранах ставим кнопку под полем, поле получает всю ширину */
    .cm-coupon__row { flex-direction: column; align-items: stretch; gap: 10px; }
    .cm-coupon .cm-btn { padding-left: 18px; padding-right: 18px; align-self: flex-start; }
}

/* ==================== ОФОРМЛЕНИЕ ЗАКАЗА (checkout) ==================== */
/* точная сверка с макетом «Оформление заказа.dc.html» */
.cm-hidden { display: none !important; }
body.woocommerce-checkout .cm-page-wrap { max-width: 1180px; padding-top: clamp(30px, 4vw, 52px); padding-bottom: 100px; }

/* шапка: шаги + заголовок */
.cm-co-head { margin: 0; }
.cm-co-steps { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cm-co-steps__i { color: #a6a6a6; text-decoration: none; }
.cm-co-steps__i.is-active { color: var(--cm-ink-soft); }
.cm-co-steps__i.is-next { color: #cfc7b6; }
.cm-co-steps__sep { width: 22px; height: 1px; background: var(--cm-line-warm); }
.cm-co-title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; color: var(--cm-ink); margin: 18px 0 34px; }

.cm-checkout__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cm-checkout__form { min-width: 0; }

/* ---- левая колонка: форма ---- */
.cm-co-sec { margin-bottom: 40px; }
.cm-co-sec:last-child { margin-bottom: 0; }
.cm-co-sec__h { display: flex; align-items: center; gap: 9px; font-family: var(--cm-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a6a6a6; margin: 0 0 18px; }
.cm-co-sec__num { color: var(--cm-gold-soft); font-weight: 600; }

.cm-co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cm-co-fields .form-row { float: none !important; width: auto !important; max-width: none !important; margin: 0; padding: 0; grid-column: 1 / -1; }
.cm-co-fields .form-row-first { grid-column: 1 / 2; }
.cm-co-fields .form-row-last { grid-column: 2 / 3; }
.cm-co-fields .woocommerce-input-wrapper { display: block; width: 100%; }
.cm-co-fields label { display: block; font-size: 13.5px; font-weight: 500; color: var(--cm-muted); margin: 0 0 8px; }
.cm-co-fields label .required { color: #cf6a5a; text-decoration: none; border: 0; margin-left: 2px; }
.cm-co-fields label .optional { display: none; }
.cm-co-fields .input-text,
.cm-co-fields textarea,
.cm-co-fields select { width: 100% !important; box-sizing: border-box; font-family: var(--cm-sans); font-size: 16px !important; line-height: 1.4 !important; color: #2a2620 !important; background: var(--cm-cream2) !important; border: 1px solid var(--cm-line-warm) !important; border-radius: 7px !important; padding: 14px 16px !important; box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease; }
.cm-co-fields textarea { min-height: 96px !important; resize: vertical; line-height: 1.6 !important; }
.cm-co-fields .input-text::placeholder,
.cm-co-fields textarea::placeholder { color: #b3ac9e; }
.cm-co-fields .input-text:focus,
.cm-co-fields textarea:focus,
.cm-co-fields select:focus { outline: none; border-color: var(--cm-gold) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(179,151,99,.16) !important; }
/* Комментарий к заказу — свёрнут, как промокод в корзине: пишут его единицы,
   а раскрытое поле занимает экран и просит заполнения. Заголовок остаётся
   на месте и работает переключателем. */
.cm-co-note__toggle { display: flex; align-items: center; gap: 9px; font-family: var(--cm-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a6a6a6; cursor: pointer; list-style: none; transition: color .2s ease; }
.cm-co-note__toggle::-webkit-details-marker { display: none; }
.cm-co-note__toggle::after { content: "+"; opacity: .7; font-size: 13px; }
.cm-co-note[open] .cm-co-note__toggle { margin-bottom: 18px; }
.cm-co-note[open] .cm-co-note__toggle::after { content: "−"; }
.cm-co-note__toggle:hover,
.cm-co-note__toggle:focus-visible { color: var(--cm-gold); }

/* ---- подсказки адреса ---- */
/* якорь для выпадающего списка: у самой .form-row позиционирования нет */
.cm-co-fields .form-row:has(.cm-sug) { position: relative; }
.cm-sug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 264px; overflow-y: auto; background: #fff; border: 1px solid var(--cm-line-warm); border-radius: 8px; box-shadow: 0 18px 40px -24px rgba(70,58,34,.5); padding: 5px; }
.cm-sug__item { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 9px 11px; font-family: var(--cm-sans); font-size: 14px; line-height: 1.35; color: var(--cm-text); cursor: pointer; }
.cm-sug__item:hover,
.cm-sug__item.is-active { background: var(--cm-cream2); }
.cm-sug__v { display: block; }
.cm-sug__h { display: block; margin-top: 2px; font-size: 12px; color: var(--cm-muted2); }

/* состояния валидации WooCommerce */
.cm-co-fields .woocommerce-invalid .input-text,
.cm-co-fields .woocommerce-invalid textarea { border-color: #cf6a5a !important; background: #fff !important; }
.cm-co-fields .woocommerce-invalid label { color: #cf6a5a; }

/* ---- правая колонка: карточка заказа ---- */
.cm-co-order { background: var(--cm-cream2); border: 1px solid #ece6db; border-radius: 14px; padding: 30px 30px 32px; position: sticky; top: 24px; }
.cm-co-order__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a6a6a6; margin-bottom: 22px; }
.cm-co-order__label--pay { margin: 26px 0 12px; }

.cm-co-items { display: flex; flex-direction: column; }
.cm-co-item { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--cm-line-warm); }
.cm-co-item__media { flex: 0 0 62px; }
.cm-co-item__media img { width: 62px; height: 72px; object-fit: cover; border-radius: 9px; display: block; background: #eceae4; }
.cm-co-item__body { flex: 1 1 auto; min-width: 0; }
.cm-co-item__name { font-family: var(--cm-serif); font-size: 20px; font-weight: 500; color: var(--cm-ink); line-height: 1.15; }
.cm-co-item__meta { font-size: 12.5px; color: var(--cm-muted2); margin-top: 5px; line-height: 1.5; }
.cm-co-item__qty { font-size: 12px; color: #a6a6a6; margin-top: 4px; }
.cm-co-item__price { flex: 0 0 auto; font-size: 14.5px; font-weight: 700; color: var(--cm-ink); white-space: nowrap; }

.cm-co-sums { }
.cm-co-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; color: #4a4a4a; }
.cm-co-sum--items { margin-bottom: 12px; }
.cm-co-sum--ship { padding-bottom: 18px; border-bottom: 1px solid var(--cm-line-warm); }
.cm-co-sum__k { }
.cm-co-sum__v { font-variant-numeric: tabular-nums; }
.cm-co-sum__v--free { color: #4e7a63; font-weight: 600; }

.cm-co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; }
.cm-co-total__k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a6a6a6; }
.cm-co-total__v { font-size: 30px; font-weight: 700; color: var(--cm-ink); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- оплата ---- */
.woocommerce-checkout .cm-co-order #payment,
.woocommerce-checkout .cm-co-order .woocommerce-checkout-payment { background: transparent; border: 0; padding: 0; border-radius: 0; }
.cm-co-order .wc_payment_methods { list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
/* Разделитель WooCommerce между пунктами гасится на самом списке (border: 0 выше).
   Отдельного правила для li тут быть НЕ ДОЛЖНО: .wc_payment_method — это тот же <li>,
   и `li { border-bottom: 0 }` срезал нашу же нижнюю границу, выигрывая по специфичности. */
.cm-co-order .wc_payment_method { position: relative; border: 1px solid var(--cm-line-warm); border-radius: 10px; background: transparent; transition: all .2s ease; }
.cm-co-order .wc_payment_method:has(input:checked) { border-color: var(--cm-gold); background: #fff; box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-co-order .wc_payment_method > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.cm-co-order .wc_payment_method > label { display: flex; align-items: center; gap: 13px; padding: 14px 16px; margin: 0; font-size: 14px; font-weight: 400; color: var(--cm-text); cursor: pointer; }
.cm-co-order .wc_payment_method > label::before { content: ""; flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #cfc7b6; transition: all .2s ease; }
.cm-co-order .wc_payment_method:has(input:checked) > label::before { border-color: var(--cm-gold); background: radial-gradient(circle at center, var(--cm-gold) 0 5px, transparent 5.5px); }
.cm-co-order .wc_payment_method > label img { display: none; }
.cm-co-order .wc_payment_method .payment_box { display: none !important; }

/* Способ один — выбирать не из чего: убираем рамку с переключателем целиком.
   Прячем label, а не сам <li>: radio внутри остаётся в форме и уходит с заказом.
   Заодно гасим оформление выбранного пункта (белый фон с подсветкой) и остатки
   списка от WooCommerce — его отступ и нижнюю границу, иначе от блока остаётся
   пустая полоса с чертой. Селектор с #payment — чтобы перебить woocommerce.css. */
.cm-co-order .wc_payment_method:only-child,
.cm-co-order .wc_payment_method:only-child:has(input:checked) { border: 0; background: transparent; box-shadow: none; }
.cm-co-order .wc_payment_method:only-child > label { display: none; }
.woocommerce-checkout .cm-co-order #payment ul.payment_methods:has(> .wc_payment_method:only-child) { padding: 0; border: 0; }

.cm-co-paynote { margin: 10px 0 0; padding: 12px 14px; border: 1px solid #ece6db; border-radius: 8px; background: #fff; font-size: 12.5px; line-height: 1.55; color: var(--cm-muted); }
/* без списка способов подсказка становится первой — отбиваем её от суммы */
.cm-co-order .wc_payment_methods:has(> .wc_payment_method:only-child) ~ .cm-co-paynote,
.cm-co-order .wc_payment_methods:has(> .wc_payment_method:only-child) + * .cm-co-paynote { margin-top: 18px; }

.cm-co-order .form-row.place-order { margin: 0; padding: 0; overflow: visible; }
.cm-co-order .form-row.place-order::after { content: ""; display: table; clear: both; }
.woocommerce-checkout .cm-co-order #place_order { display: block; width: 100% !important; float: none !important; margin: 24px 0 0; font-family: var(--cm-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--cm-ink-soft); border: 0; border-radius: 8px; padding: 18px 24px; cursor: pointer; transition: background .2s ease, transform .05s ease; }
.woocommerce-checkout .cm-co-order #place_order:hover { background: var(--cm-gold); }
.woocommerce-checkout .cm-co-order #place_order:active { transform: translateY(1px); }

.cm-co-guar { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--cm-muted2); }
.cm-co-guar__ic { color: var(--cm-gold); display: inline-flex; }
.cm-co-consent { text-align: center; margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: #a6a6a6; }

/* сообщения об ошибках WooCommerce на чекауте */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* ---- уведомления WooCommerce (в стиле темы) ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative; font-family: var(--cm-sans); font-size: 14px; line-height: 1.5; font-weight: 400;
    color: var(--cm-text); background: var(--cm-cream2); border: 1px solid var(--cm-line-warm);
    border-radius: 10px; padding: 15px 18px; margin: 0 0 16px; list-style: none;
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; content: none; }
.woocommerce-message { border-color: #cfe0d4; background: #f3f7f3; color: #3f5a48; }
.woocommerce-error { border-color: #e6c6bd; background: #fbf4f2; color: #8a3a2a; }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto; padding: 11px 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: #fff; background: var(--cm-ink-soft); border: 0; border-radius: 8px;
    transition: background .2s ease;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover { background: var(--cm-gold); color: #fff; }

/* Мобилка чекаута. Порог 720px — как в макете: там вся раскладка переключается
   одним признаком narrow, а не тремя разными брейкпоинтами. Раньше колонки
   схлопывались сами по auto-fit, и на 700px оставались две колонки по 330px,
   тогда как макет на этой ширине уже одноколоночный. */
@media (max-width: 720px) {
    body.woocommerce-checkout .cm-page-wrap { padding: 24px 16px 64px; }
    .cm-co-title { font-size: 32px; }
    .cm-checkout__grid { grid-template-columns: 1fr; gap: 34px; }
    .cm-co-fields { grid-template-columns: 1fr; gap: 14px; }
    .cm-co-fields .form-row-first, .cm-co-fields .form-row-last { grid-column: 1 / -1; }
    /* липкая карточка заказа в одной колонке бессмысленна: она и так последняя */
    .cm-co-order { position: static; padding: 22px 18px 24px; }
}

/* ============================================================
   ГЛАВНАЯ (макет «Главная.dc.html»)
   ============================================================ */
@keyframes cmPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cmFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cm-modal__box, .cm-modal__overlay { animation: none !important; } }
.cm-lbl { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-home .cm-btn, .cm-modal .cm-btn { padding: 16px 28px; flex: 0 0 auto; border-radius: 8px; }
.cm-home .cm-btn--dark, .cm-modal .cm-btn--dark { padding: 17px 30px; }
.cm-btn--ghost { background: transparent; color: var(--cm-ink-soft); border: 1px solid #d8d2c6; }
.cm-btn--ghost:hover { border-color: var(--cm-ink-soft); color: var(--cm-ink-soft); }
.cm-btn--light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); margin-top: 30px; }
.cm-btn--light:hover { background: var(--cm-gold); border-color: var(--cm-gold); color: #fff; }
.cm-home section, .cm-home__sec { }

/* HERO */
.cm-hero { position: relative; overflow: hidden; background: var(--cm-ink); display: flex; }
.cm-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transition: opacity .5s ease; }
.cm-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.74) 0%, rgba(20,19,17,.52) 32%, rgba(20,19,17,.16) 64%, rgba(20,19,17,.30) 100%); }
.cm-hero__inner { position: relative; width: 100%; max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,9vw,120px) clamp(20px,5vw,64px); display: flex; align-items: center; min-height: min(82vh, 780px); }
.cm-hero__text { max-width: 640px; }
.cm-hero__eyebrow { letter-spacing: .2em; color: var(--cm-gold-soft); }
/* --cm-hero-lines — сколько строк резервируем под заголовок; бокс фиксирован по высоте,
   текст прижат к низу, длинные цитаты ужимаются по кеглю (см. fitHeroTitle в home.js) */
.cm-hero { --cm-hero-lines: 2; }
.cm-hero__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px,5vw,62px); line-height: 1.06; letter-spacing: .01em; margin: 16px 0 14px; color: #fff; text-wrap: balance; text-shadow: 0 2px 26px rgba(0,0,0,.3); display: flex; align-items: flex-end; overflow: hidden;
    /* высоту резервируем сразу: JS её же и вычисляет, но позже — после загрузки
       шрифта. Без этого блок подпрыгивал, давая скачок вёрстки */
    height: calc(var(--cm-hero-lines) * 1.06em); }
.cm-hero__sub { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #d9d2c4; margin: 0 0 30px; }
.cm-hero__cta { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 40px; background: #fff; color: var(--cm-ink-soft); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transition: all .25s ease; }
.cm-hero__cta:hover { background: var(--cm-gold); color: #fff; }
.cm-hero__dots { display: flex; gap: 9px; margin-top: 40px; }
.cm-hero__dot { width: 9px; height: 9px; border-radius: 9px; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.45); transition: all .3s ease; }
.cm-hero__dot.is-active { width: 26px; background: #fff; }

/* ADVANTAGES */
.cm-adv { border-bottom: 1px solid var(--cm-line); }
.cm-adv__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(40px,5vw,64px) clamp(20px,5vw,64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 26px; }
.cm-adv__item { text-align: center; padding: 8px; }
.cm-adv__ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: #a6957a; margin-bottom: 16px; }
.cm-adv__title { font-size: 14.5px; line-height: 1.5; color: var(--cm-text); font-weight: 600; }
.cm-adv__txt { font-size: 13px; line-height: 1.55; color: var(--cm-muted2); margin-top: 6px; }

/* COMFORT */
.cm-comfort { background: var(--cm-cream2); }
.cm-comfort__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,8vw,100px) clamp(20px,5vw,64px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,72px); align-items: center; }
/* без фото блок возвращается к центрованной колонке, как было в макете */
.cm-comfort__inner--solo { max-width: 900px; grid-template-columns: 1fr; text-align: center; }
.cm-comfort__inner--solo .cm-comfort__txt { margin-left: auto; margin-right: auto; }
.cm-comfort__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(30px,4.4vw,46px); line-height: 1.12; margin: 16px 0 20px; color: var(--cm-ink); text-wrap: balance; }
.cm-comfort__txt { font-size: 17px; line-height: 1.75; color: var(--cm-muted); margin: 0 0 30px; max-width: 560px; }
/* фото портретное (2000×2500) — рамка 4/5, иначе cover срезает голову */
.cm-comfort__media { width: 100%; max-width: 460px; margin: 0 0 0 auto; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: #eceae4; }
@media (max-width: 860px) {
    .cm-comfort__inner { grid-template-columns: 1fr; }
    .cm-comfort__media { margin: 0 auto; }
}
.cm-comfort__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }

/* НАС РЕКОМЕНДУЮТ */
.cm-rec__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); }
.cm-rec__title { font-family: var(--cm-serif); font-weight: 700; font-size: clamp(26px,3.4vw,36px); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 40px; color: #222; }
.cm-rec__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.cm-rec__card { display: block; border-radius: 12px; overflow: hidden; background: #f8f8f8; transition: background .3s ease; }
.cm-rec__ic { display: flex; align-items: center; justify-content: center; height: 180px; color: #a6957a; transition: color .3s ease; }
.cm-rec__name { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--cm-serif); font-size: 20px; font-weight: 600; text-transform: uppercase; padding: 20px 24px; color: #222; transition: color .3s ease; }
.cm-rec__card:hover { background: #222; }
.cm-rec__card:hover .cm-rec__ic, .cm-rec__card:hover .cm-rec__name { color: #fff; }

/* MEDICAL FACT */
.cm-fact { background: var(--cm-ink-soft); color: #fff; }
.cm-fact__inner { max-width: 1000px; margin: 0 auto; padding: clamp(56px,8vw,100px) clamp(20px,5vw,64px); text-align: center; }
.cm-fact__eyebrow { color: var(--cm-gold-soft); }
.cm-fact__num { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(56px,10vw,110px); line-height: 1; margin: 22px 0 10px; color: #fff; }
.cm-fact__txt { font-size: 18px; line-height: 1.7; color: #d8d2c6; margin: 0 auto; max-width: 620px; }

/* FEATURES */
.cm-feat__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 30px; }
.cm-feat__card { border: 1px solid #ece6db; border-radius: 14px; padding: 34px 30px; background: var(--cm-cream2); overflow: hidden; }
/* фото уходит под края карточки: компенсируем её padding отрицательными полями */
.cm-feat__media { margin: -34px -30px 24px; aspect-ratio: 4/3; overflow: hidden; background: #eceae4; }
.cm-feat__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.cm-feat__ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: #fff; color: #a6957a; margin-bottom: 20px; }
.cm-feat__title { font-family: var(--cm-serif); font-weight: 600; font-size: 25px; margin: 0 0 10px; color: var(--cm-ink); }
.cm-feat__txt { font-size: 14.5px; line-height: 1.6; color: var(--cm-muted); margin: 0; }
.cm-feat__stat { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cm-line-warm); display: flex; align-items: baseline; gap: 10px; }
.cm-feat__statnum { font-family: var(--cm-serif); font-size: 34px; font-weight: 600; color: var(--cm-ink); }
.cm-feat__statlbl { font-size: 13px; color: var(--cm-muted2); line-height: 1.4; }

/* КАЛЬКУЛЯТОР */
.cm-calc { background: #f8f8f8; }
.cm-calc__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); }
.cm-calc__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.cm-calc__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(30px,4.4vw,46px); line-height: 1.1; margin: 14px 0 16px; color: var(--cm-ink); }
.cm-calc__txt { font-size: 16px; line-height: 1.7; color: var(--cm-muted); margin: 0; }
.cm-calc__panel { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: clamp(30px,4vw,48px); }
.cm-calc__ranges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(28px,4vw,52px); }
.cm-range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cm-range__label { font-size: 14px; font-weight: 600; color: var(--cm-text); }
.cm-range__cur { color: var(--cm-gold-soft); }
.cm-range__input { width: 100%; accent-color: var(--cm-gold); height: 4px; cursor: pointer; }
.cm-calc__cta { text-align: center; margin-top: 40px; }

/* ОТЗЫВЫ */
.cm-rev__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); }
.cm-rev__title { font-family: var(--cm-serif); font-weight: 700; font-size: clamp(26px,3.4vw,36px); text-transform: uppercase; text-align: center; margin: 0 0 44px; color: var(--cm-ink); }
.cm-rev__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 22px; }
.cm-rev__card { border: 1px solid #ece6db; border-radius: 14px; padding: 30px 28px; background: var(--cm-cream2); display: flex; flex-direction: column; }
.cm-rev__cardhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cm-rev__name { font-weight: 600; font-size: 15px; color: var(--cm-ink); }
.cm-rev__stars { color: var(--cm-gold); letter-spacing: 2px; font-size: 14px; }
.cm-rev__text { font-family: var(--cm-serif); font-size: 21px; line-height: 1.4; color: var(--cm-text); margin: 0 0 18px; font-weight: 500; }
.cm-rev__src { margin-top: auto; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }

/* ПРОБНЫЙ ПЕРИОД */
.cm-trial { background: var(--cm-cream2); }
.cm-trial__inner { max-width: 820px; margin: 0 auto; padding: clamp(48px,6vw,84px) clamp(20px,5vw,64px); text-align: center; }
.cm-trial__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.8vw,40px); line-height: 1.14; margin: 14px 0 18px; color: var(--cm-ink); }
.cm-trial__txt { font-size: 16px; line-height: 1.7; color: var(--cm-muted); margin: 0 auto 28px; max-width: 560px; }

/* ИСТОРИЯ */
.cm-hist__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(30px,5vw,64px); align-items: center; }
.cm-hist__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(30px,4vw,44px); line-height: 1.12; margin: 14px 0 20px; color: var(--cm-ink); }
.cm-hist__text p { font-size: 16px; line-height: 1.75; color: var(--cm-muted); margin: 0 0 16px; }
.cm-hist__text p:last-child { margin-bottom: 0; }
.cm-hist__media { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #eceae4; }
.cm-hist__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CRISTINA MILLE СЕЙЧАС */
.cm-now { background: #f8f8f8; }
.cm-now__inner { max-width: 1000px; margin: 0 auto; padding: clamp(48px,6vw,84px) clamp(20px,5vw,64px); text-align: center; }
.cm-now__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.8vw,40px); line-height: 1.14; margin: 14px 0 16px; color: var(--cm-ink); }
.cm-now__txt { font-size: 16px; line-height: 1.7; color: var(--cm-muted); margin: 0 auto 34px; max-width: 560px; }
.cm-now__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.cm-now__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #eceae4; }
.cm-now__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }

/* ВИДЕО */
.cm-video { max-width: 1080px; margin: 0 auto; padding: clamp(48px,6vw,80px) clamp(20px,5vw,64px); }
.cm-video__frame { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: var(--cm-ink-soft); }
.cm-video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.cm-video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.cm-video__play:hover { transform: scale(1.08); }

/* СТАТЬИ */
.cm-art__inner { max-width: var(--cm-wrap); margin: 0 auto; padding: clamp(48px,6vw,80px) clamp(20px,5vw,64px); }
.cm-art__title { font-family: var(--cm-serif); font-weight: 700; font-size: clamp(26px,3.4vw,36px); text-transform: uppercase; text-align: center; margin: 0 0 44px; color: var(--cm-ink); }
.cm-art__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 26px; }
.cm-art__card { display: block; }
.cm-art__media { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: #f6f4ef; margin-bottom: 16px; }
.cm-art__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cm-art__card:hover .cm-art__media img { transform: scale(1.05); }
.cm-art__cardtitle { font-family: var(--cm-serif); font-size: 20px; font-weight: 600; line-height: 1.25; color: #222; }
.cm-art__more { margin-top: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; transition: color .2s ease; }
.cm-art__card:hover .cm-art__more { color: var(--cm-gold); }
.cm-art__foot { text-align: center; margin-top: 44px; }

/* FAQ */
.cm-faq { background: var(--cm-cream2); }
.cm-faq__inner { max-width: 860px; margin: 0 auto; padding: clamp(56px,7vw,100px) clamp(20px,5vw,64px); }
.cm-faq__title { font-family: var(--cm-serif); font-weight: 700; font-size: clamp(26px,3.4vw,36px); text-transform: uppercase; text-align: center; margin: 0 0 44px; color: var(--cm-ink); }
.cm-faq__list { display: grid; gap: 12px; }
.cm-faq__item { border: 1px solid #ece6db; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s ease; }
.cm-faq__item.is-open { border-color: var(--cm-gold); }
.cm-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; background: transparent; border: none; cursor: pointer; text-align: left; }
.cm-faq__q > span:first-child { font-size: 15.5px; font-weight: 600; color: var(--cm-ink); }
.cm-faq__icon { position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #222; transition: background .2s ease; }
.cm-faq__item.is-open .cm-faq__icon { background: var(--cm-gold); }
.cm-faq__bar1 { position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: #fff; border-radius: 2px; }
.cm-faq__bar2 { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease; }
.cm-faq__item.is-open .cm-faq__bar2 { transform: scaleY(0); }
.cm-faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.cm-faq__item.is-open .cm-faq__body { grid-template-rows: 1fr; }
.cm-faq__bodyin { min-height: 0; overflow: hidden; }
.cm-faq__ans { padding: 0 24px 24px; font-size: 14.5px; line-height: 1.7; color: var(--cm-muted); }
.cm-faq__ans p { margin: 0 0 10px; }
.cm-faq__ans p:last-child { margin-bottom: 0; }
.cm-faq__ans ul, .cm-faq__ans ol { margin: 0 0 10px; padding-left: 20px; }
/* ACF-текст: сброс внутренних <p> в текстовых блоках главной */
.cm-comfort__txt p, .cm-fact__txt p, .cm-feat__txt p, .cm-trial__txt p, .cm-hist__body p, .cm-now__txt p, .cm-qcta__txt p { margin: 0 0 12px; }
.cm-comfort__txt p:last-child, .cm-fact__txt p:last-child, .cm-feat__txt p:last-child, .cm-trial__txt p:last-child, .cm-hist__body p:last-child, .cm-now__txt p:last-child, .cm-qcta__txt p:last-child { margin-bottom: 0; }
.cm-hist__body p { font-size: 16px; line-height: 1.75; color: var(--cm-muted); }
.cm-faq__foot { text-align: center; margin-top: 40px; }

/* ОСТАЛИСЬ ВОПРОСЫ */
/* тёплый коричневый, а не --cm-ink-soft: с чёрным футером под ним тот сливался */
.cm-qcta { background: #342e26; color: #fff; }
.cm-qcta__inner { max-width: 720px; margin: 0 auto; padding: clamp(48px,6vw,84px) clamp(20px,5vw,64px); text-align: center; }
.cm-qcta__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.8vw,42px); line-height: 1.12; margin: 0 0 14px; color: #fff; }
.cm-qcta__txt { font-size: 16px; line-height: 1.7; color: #d8d2c6; margin: 0 auto 28px; max-width: 480px; }

/* КОНТАКТЫ */

/* МОДАЛКИ */
.cm-modal { position: fixed; inset: 0; z-index: 100000; overflow-y: auto; }
.cm-modal[hidden] { display: none; }
.cm-modal__overlay { position: fixed; inset: 0; background: rgba(28,26,23,.55); animation: cmFade .25s ease both; }
.cm-modal__box { position: relative; max-width: 440px; margin: 12vh auto 40px; background: #fff; border-radius: 14px; padding: 40px 38px 32px; box-shadow: 0 30px 80px -28px rgba(0,0,0,.5); animation: cmPop .32s cubic-bezier(.2,.8,.2,1) both; }
.cm-modal__box--wide { max-width: 560px; margin-top: 6vh; padding: clamp(28px,4vw,40px); }
.cm-modal__box--center { max-width: 440px; margin-top: 13vh; text-align: center; }
.cm-modal__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; color: #c4c4c4; font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.cm-modal__x:hover { color: var(--cm-ink); }
.cm-modal__title { font-family: var(--cm-serif); font-size: 30px; font-weight: 700; margin: 0 0 8px; color: #222; }
.cm-modal__box--center .cm-modal__title { margin-bottom: 12px; }
.cm-modal__lead { font-size: 14.5px; line-height: 1.6; color: var(--cm-muted); margin: 0 0 22px; }
.cm-modal__flabel { display: block; font-size: 13.5px; color: var(--cm-muted); font-weight: 500; margin-bottom: 9px; }
.cm-modal__input { width: 100%; padding: 14px 16px; font-size: 16px; color: #2a2620; background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); border-radius: 7px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.cm-modal__input:focus { border-color: var(--cm-gold); background: #fff; box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-modal .cm-btn--wide { width: 100%; margin-top: 20px; }
.cm-modal__consent { font-size: 12px; color: #a6a6a6; text-align: center; margin: 14px 0 0; }
.cm-modal__check { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: #e9f2ec; color: #4e7a63; display: flex; align-items: center; justify-content: center; }
.cm-modal__row2 { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cm-modal__sum { background: var(--cm-cream2); border: 1px solid #ece6db; border-radius: 9px; padding: 14px 16px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm-modal__sum > span:first-child { font-size: 13.5px; color: var(--cm-muted); }
.cm-modal__sumprice { font-weight: 700; font-size: 17px; color: var(--cm-ink); white-space: nowrap; }

/* КОНФИГУРАТОР-РЕЗУЛЬТАТ (в модалке) */
.cm-result__head { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--cm-line); margin-bottom: 24px; }
.cm-result__thumb { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #f6f4ef; }
.cm-result__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cm-result__name { font-family: var(--cm-serif); font-size: 27px; font-weight: 600; color: var(--cm-ink); margin: 6px 0 3px; line-height: 1.1; }
.cm-result__sub { font-family: var(--cm-serif); font-size: 19px; font-style: italic; color: var(--cm-muted2); }
.cm-result__steplbl { margin-bottom: 11px; margin-top: 22px; }
.cm-result__steplbl:first-of-type { margin-top: 0; }
.cm-result__seg { display: grid; gap: 9px; }
.cm-result__seg--3 { grid-template-columns: repeat(3,1fr); }
.cm-result__seg--2 { grid-template-columns: repeat(2,1fr); }
.cm-seg { padding: 13px 6px; border-radius: 9px; cursor: pointer; font-size: 13.5px; font-weight: 600; background: var(--cm-cream2); color: var(--cm-text); border: 1px solid var(--cm-line-warm); transition: all .2s ease; }
.cm-seg.is-selected { background: var(--cm-ink-soft); color: #fff; border-color: var(--cm-ink-soft); }
.cm-seg__plus { color: var(--cm-gold); font-size: 12px; margin-left: 6px; }
.cm-seg.is-selected .cm-seg__plus { color: var(--cm-gold-soft); }
.cm-result__series { display: grid; gap: 10px; }
.cm-serie2 { display: flex; align-items: center; gap: 13px; width: 100%; padding: 14px 16px; border-radius: 10px; cursor: pointer; background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); transition: all .2s ease; text-align: left; }
.cm-serie2.is-selected { background: #fff; border-color: var(--cm-gold); box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-serie2__radio { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #cfc7b6; display: flex; align-items: center; justify-content: center; }
.cm-serie2.is-selected .cm-serie2__radio { border-color: var(--cm-gold); background: radial-gradient(circle at center, var(--cm-gold) 0 5px, transparent 5.5px); }
.cm-serie2__name { flex: 1 1 auto; font-family: var(--cm-serif); font-size: 20px; font-weight: 600; color: var(--cm-ink); }
.cm-serie2__from { font-size: 13px; font-weight: 600; color: var(--cm-muted); white-space: nowrap; }
.cm-result__pricerow { display: flex; align-items: baseline; gap: 12px; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--cm-line); }
.cm-result__price { font-size: 30px; font-weight: 700; color: var(--cm-ink); }
.cm-result__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cm-result__actions .cm-btn--dark { flex: 1 1 180px; }

/* мобилка главной */
@media (max-width: 767px) {
    /* на узком экране в две строки длинные цитаты ужимались до 22px — даём три */
    .cm-hero { --cm-hero-lines: 3; }
    .cm-hero__inner { min-height: 74vh; align-items: flex-end; padding-bottom: clamp(40px,10vw,64px); }
    .cm-hero__scrim { background: linear-gradient(180deg, rgba(20,19,17,.26) 0%, rgba(20,19,17,.64) 76%, rgba(20,19,17,.8) 100%); }
    .cm-hero__bg { background-position: center 20%; }
    .cm-result__head { grid-template-columns: 96px 1fr; gap: 16px; }
    .cm-modal__box { padding: 32px 24px 28px; margin: 8vh auto 24px; }
}

/* ============================================================
   БЛОГ-СПИСОК (макет «Блог-список»)
   ============================================================ */
.cm-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cm-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-blog { background: var(--cm-cream2); }
.cm-blog__inner { max-width: 1240px; margin: 0 auto; padding: clamp(32px,4vw,60px) clamp(18px,5vw,64px) 96px; }
.cm-blog__head { max-width: 720px; }
.cm-blog__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(40px,6vw,66px); line-height: 1.02; letter-spacing: .01em; margin: 16px 0 20px; color: var(--cm-ink); }
.cm-blog__intro { font-size: 17px; line-height: 1.7; color: var(--cm-muted); margin: 0; }

/* поиск */
.cm-blog__search { position: relative; max-width: 320px; margin-top: 34px; }
.cm-blog__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cm-blog__search input { width: 100%; height: 48px; padding: 0 18px 0 42px; font-family: var(--cm-sans); font-size: 14px; color: var(--cm-ink); background: #fff; border: 1px solid var(--cm-line-warm); border-radius: 10px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.cm-blog__search input::placeholder { color: #a6a6a6; }
.cm-blog__search input:focus { border-color: var(--cm-gold); box-shadow: 0 0 0 3px rgba(179,151,99,.14); }

/* чипсы */
.cm-blog__chips { display: flex; gap: 10px; margin-top: 22px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.cm-blog__chips::-webkit-scrollbar { height: 0; }
.cm-chip { flex: 0 0 auto; white-space: nowrap; font-family: var(--cm-sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 11px 20px; border-radius: 40px; border: 1px solid var(--cm-line-warm); background: #fff; color: var(--cm-muted); transition: all .2s ease; }
.cm-chip:hover { border-color: var(--cm-gold); color: var(--cm-gold); }
.cm-chip.is-active, .cm-chip.is-active:hover { background: var(--cm-ink-soft); border-color: var(--cm-ink-soft); color: #fff; }

/* карта (общий hover — как в каталоге) */
.cm-card { position: relative; display: block; color: inherit; border-radius: 16px; padding: 10px; margin: -10px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease; }
.cm-card:hover, .cm-card:focus-visible { transform: translateY(-5px); background: #fff; box-shadow: 0 26px 54px -32px rgba(70,58,34,.42); outline: none; }
.cm-card__line { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--cm-gold); width: 0; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.cm-card:hover .cm-card__line { width: 100%; }

/* featured */
.cm-blog__featured { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px,3vw,44px); align-items: stretch; margin-top: 46px; border-radius: 18px; }
.cm-blog__featimg { position: relative; background: #f6f4ef; overflow: hidden; border-radius: 14px; aspect-ratio: 16/11; }
/* кадр карточки широкий, а снимки часто вертикальные: обрезая по центру, срезали головы */
.cm-blog__featimg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cm-blog__featured:hover .cm-blog__featimg img { transform: scale(1.045); }
.cm-blog__feattext { display: flex; flex-direction: column; justify-content: center; padding: clamp(8px,2vw,28px) clamp(6px,2vw,20px); }
.cm-blog__feattitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,40px); line-height: 1.08; margin: 14px 0 12px; color: var(--cm-ink); }
.cm-blog__featexcerpt { font-size: 15.5px; line-height: 1.7; color: var(--cm-muted); margin: 0; }
.cm-blog__featured .cm-blog__cat, .cm-blog__featured .cm-blog__date { font-size: 11.5px; }
.cm-blog__featured .cm-blog__more { margin-top: 24px; }

/* сетка карточек */
.cm-blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: clamp(24px,3vw,40px) clamp(22px,2.4vw,34px); margin-top: 44px; }
.cm-blog__cardimg { position: relative; background: #f6f4ef; overflow: hidden; border-radius: 12px; aspect-ratio: 3/2; }
.cm-blog__cardimg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cm-blog__card:hover .cm-blog__cardimg img { transform: scale(1.045); }
.cm-blog__cardbody { padding: 17px 4px 4px; }
.cm-blog__cardtitle { font-family: var(--cm-serif); font-weight: 600; font-size: 24px; line-height: 1.14; margin: 11px 0 9px; color: var(--cm-ink); }
.cm-blog__cardexcerpt { font-size: 14px; line-height: 1.65; color: var(--cm-muted2); margin: 0; }

/* мета */
.cm-blog__meta { display: flex; align-items: center; gap: 12px; }
.cm-blog__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-blog__dot { width: 3px; height: 3px; border-radius: 50%; background: #d8d2c6; flex: 0 0 auto; }
.cm-blog__date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-blog__more { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; transition: color .2s ease; }
.cm-card:hover .cm-blog__more { color: var(--cm-gold); }

/* пустое состояние */
.cm-blog__empty { text-align: center; max-width: 460px; margin: 70px auto 30px; }
.cm-blog__empty-ic { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: #fff; color: #a6957a; align-items: center; justify-content: center; margin-bottom: 20px; }
.cm-blog__empty-title { font-family: var(--cm-serif); font-weight: 600; font-size: 28px; margin: 0 0 10px; color: var(--cm-ink); }
.cm-blog__empty-txt { font-size: 15px; line-height: 1.7; color: var(--cm-muted2); margin: 0 0 22px; }
.cm-blog__empty-btn { display: inline-block; padding: 16px 40px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #fff; background: var(--cm-ink-soft); border-radius: 10px; transition: background .25s ease; }
.cm-blog__empty-btn:hover { background: var(--cm-gold); color: #fff; }

/* пагинация */
.cm-blog__pager { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 60px; }
.cm-blog__count { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-blog__nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.cm-blog__nav a, .cm-blog__nav span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--cm-line-warm); background: #fff; font-size: 14px; font-weight: 600; color: var(--cm-muted); }
.cm-blog__nav a:hover { border-color: var(--cm-gold); color: var(--cm-gold); }
.cm-blog__nav .current { background: var(--cm-ink-soft); border-color: var(--cm-ink-soft); color: #fff; }

@media (max-width: 760px) {
    .cm-blog__featured { grid-template-columns: 1fr; gap: 18px; }
    .cm-blog__feattext { padding: 4px 2px; }
}

/* ============================================================
   СТАТЬЯ (макет «Блог-статья»)
   ============================================================ */
.cm-single { background: var(--cm-cream2); }
.cm-single__inner { max-width: 1240px; margin: 0 auto; padding: clamp(28px,3.4vw,52px) clamp(18px,5vw,64px) 0; }
.cm-single__head { max-width: 760px; margin: 0 auto; }
.cm-single__back { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-single__back:hover { color: var(--cm-gold); }
.cm-single__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cm-single__cat { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-single__dot { width: 4px; height: 4px; border-radius: 50%; background: #d8d2c6; flex: 0 0 auto; }
.cm-single__date, .cm-single__rt { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-single__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(36px,5.4vw,60px); line-height: 1.04; letter-spacing: .01em; margin: 18px 0 22px; color: var(--cm-ink); }
.cm-single__lead { font-size: 18px; line-height: 1.66; color: var(--cm-muted); margin: 0; }
.cm-single__hero { margin: clamp(32px,4vw,48px) 0 0; background: #f6f4ef; border-radius: 14px; overflow: hidden; aspect-ratio: 16/8; }
/* Кадр обложки широкий, а снимки бывают вертикальные: обрезая по центру,
   мы срезали людям головы. Смещаем видимую область вверх — там лица и главное. */
.cm-single__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* prose */
.cm-prose { max-width: 720px; margin: clamp(36px,4vw,52px) auto 0; font-size: 17.5px; line-height: 1.78; color: #35312b; }
.cm-prose p { margin: 0 0 22px; }
.cm-prose h2 { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,36px); line-height: 1.12; color: var(--cm-ink); margin: 46px 0 16px; letter-spacing: .01em; }
.cm-prose h3 { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(22px,2.6vw,27px); line-height: 1.2; color: var(--cm-ink); margin: 34px 0 12px; }
.cm-prose ul { margin: 0 0 24px; padding: 0; list-style: none; }
.cm-prose ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.cm-prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border: 1.5px solid var(--cm-gold); border-radius: 50%; }
.cm-prose ol { margin: 0 0 24px; padding-left: 22px; }
.cm-prose ol li { margin-bottom: 12px; }
.cm-prose strong { font-weight: 700; color: var(--cm-ink-soft); }
.cm-prose a { color: #8a7038; text-decoration: underline; text-decoration-color: #d8cba8; text-underline-offset: 3px; }
.cm-prose a:hover { color: var(--cm-gold); }
.cm-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.cm-prose figure { margin: 34px 0; }
.cm-prose figure img { width: 100%; height: auto; display: block; border-radius: 14px; }
.cm-prose figcaption { font-size: 13px; color: #a6a6a6; text-align: center; margin-top: 12px; letter-spacing: .02em; }
/* ролик: до клика показываем обложку, плеер подгружается по нажатию */
.cm-video { margin: 34px 0; }
.cm-video__btn { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #14120f; cursor: pointer; aspect-ratio: 16/9; }
.cm-video__poster { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.cm-video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.cm-video__btn:hover .cm-video__play { transform: scale(1.06); }
.cm-video__btn:hover .cm-video__play path:first-child { fill: #cc0000; fill-opacity: 1; }
.cm-video__frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; display: block; margin: 34px 0; }
.cm-video__cap { font-size: 13px; color: #a6a6a6; text-align: center; margin-top: 12px; letter-spacing: .02em; }

/* таблицы в статьях */
.cm-prose .cm-tblwrap { overflow-x: auto; margin: 0 0 26px; }
.cm-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.cm-prose th, .cm-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #ece6db; vertical-align: top; }
.cm-prose th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #a6957a; border-bottom-color: #ddd4c2; }
.cm-prose blockquote { margin: 34px 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--cm-gold); }
.cm-prose blockquote p { font-family: var(--cm-serif); font-size: clamp(23px,3vw,29px); line-height: 1.34; font-style: italic; color: var(--cm-ink-soft); margin: 0; }
.cm-prose > p:first-of-type::first-letter { font-family: var(--cm-serif); font-size: 68px; line-height: .82; font-weight: 600; float: left; margin: 6px 14px 0 0; color: var(--cm-gold); }

/* share */
.cm-single__share { max-width: 720px; margin: 44px auto 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid #ece6db; }
.cm-single__sharelbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-single__shareicons { display: flex; gap: 10px; }
.cm-single__shareicons a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--cm-muted); transition: all .2s ease; }
.cm-single__shareicons a:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

/* CTA */
.cm-single__cta { margin: clamp(48px,5vw,72px) 0 0; background: var(--cm-ink-soft); border-radius: 18px; padding: clamp(34px,4vw,56px) clamp(24px,4vw,60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px,3vw,48px); align-items: center; }
.cm-single__ctaeyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-single__ctatitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,40px); line-height: 1.08; margin: 12px 0 10px; color: #fff; }
.cm-single__ctap { font-size: 15.5px; line-height: 1.7; color: #a29b8d; margin: 0; max-width: 460px; }
/* строка под кнопками: снимает главное возражение и ведёт на условия гарантии */
.cm-single__ctanote { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: #8b8578; }
.cm-single__ctanote a { color: var(--cm-gold-soft); text-decoration: underline; text-decoration-color: rgba(203,180,140,.4); text-underline-offset: 3px; }
.cm-single__ctanote a:hover { text-decoration-color: var(--cm-gold-soft); }
.cm-single__ctabtns { display: flex; flex-direction: column; gap: 12px; }
.cm-single__ctaprimary, .cm-single__ctasecondary { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transition: all .25s ease; }
.cm-single__ctaprimary { background: #fff; color: var(--cm-ink-soft); }
.cm-single__ctaprimary:hover { background: var(--cm-gold); color: #fff; }
.cm-single__ctasecondary { background: transparent; border: 1px solid #4d483f; color: #cfc7b6; }
.cm-single__ctasecondary:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

/* related */
.cm-single__related { margin: clamp(56px,6vw,84px) 0 0; padding-bottom: 90px; }
.cm-single__relhead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.cm-single__reltitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(26px,3.2vw,36px); margin: 0; color: var(--cm-ink); }
.cm-single__relall { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; white-space: nowrap; }
.cm-single__relall:hover { color: var(--cm-gold); }
.cm-single__relgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: clamp(22px,2.4vw,34px); }

@media (max-width: 760px) {
    .cm-single__cta { grid-template-columns: 1fr; }
    .cm-single__ctabtns { flex-direction: row; flex-wrap: wrap; }
}

/* ==================== Гарантия (активация) ==================== */
@keyframes cmSpin { to { transform: rotate(360deg); } }
.cm-warr { background: var(--cm-cream); }

/* hero */
.cm-warr__hero { padding: clamp(40px,5vw,76px) clamp(18px,5vw,64px) clamp(20px,3vw,34px); text-align: center; }
.cm-warr__shield { display: inline-flex; width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: #fff; color: #a6957a; align-items: center; justify-content: center; margin-bottom: 22px; }
.cm-warr__hero .cm-lbl { letter-spacing: .2em; }
/* max-width: 12ch ломало заголовок: в «Зарегистрируйте» пятнадцать символов,
   и строка рвалась посреди слова-предложения. Ширину задаём по смыслу фразы,
   а ровность строк — text-wrap: balance, он делит их сам. */
.cm-warr__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(36px,5.6vw,60px); line-height: 1.03; letter-spacing: .01em; margin: 16px auto 18px; color: var(--cm-ink); max-width: 18ch; text-wrap: balance; }
.cm-warr__intro { font-size: 18px; line-height: 1.66; color: var(--cm-muted); margin: 0 auto; max-width: 620px; text-wrap: pretty; }
/* сроки гарантии: спокойная строка под лидом, не кричит, но и не прячется */
.cm-warr__terms { font-size: 14px; line-height: 1.6; color: var(--cm-muted); margin: 16px auto 0; max-width: 680px; padding: 14px 18px; border: 1px solid #ece6db; border-radius: 10px; background: var(--cm-cream2); text-wrap: pretty; }
.cm-warr__terms b { font-weight: 600; color: var(--cm-ink); }

/* steps */
.cm-warr__steps { max-width: 940px; margin: clamp(10px,2vw,22px) auto 0; padding: 0 clamp(18px,5vw,64px); display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.cm-warr__step { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 26px 24px; }
.cm-warr__stephead { display: flex; align-items: center; gap: 14px; }
.cm-warr__stepic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: #a6957a; display: flex; align-items: center; justify-content: center; }
.cm-warr__stepn { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--cm-gold-soft); }
.cm-warr__steptitle { font-family: var(--cm-serif); font-weight: 600; font-size: 23px; line-height: 1.15; margin: 16px 0 7px; color: var(--cm-ink); }
.cm-warr__steptxt { font-size: 14px; line-height: 1.6; color: var(--cm-muted2); margin: 0; }

/* form card */
.cm-warr__formwrap { padding: clamp(36px,5vw,68px) clamp(18px,5vw,40px) clamp(56px,7vw,96px); }
.cm-warr__form { width: 100%; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #ece6db; border-radius: 10px; box-shadow: 0 24px 60px -34px rgba(70,58,34,.4); padding: clamp(24px,4vw,44px); }
.cm-warr__formtitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(26px,3.4vw,34px); line-height: 1.1; margin: 0 0 4px; color: var(--cm-ink); }
.cm-warr__formsub { font-size: 13.5px; line-height: 1.6; color: var(--cm-muted2); margin: 0 0 8px; }

.cm-warr__group { margin-top: 32px; }
.cm-warr__group:first-of-type { margin-top: 30px; }
.cm-warr__grouph { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; padding-bottom: 12px; border-bottom: 1px solid var(--cm-line); margin-bottom: 20px; }
.cm-warr__fields { display: grid; gap: 18px; }

.cm-warr__field { display: block; }
.cm-warr__lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--cm-ink-soft); }
.cm-warr__req { color: #cf6a5a; font-weight: 600; }
.cm-warr__field input,
.cm-warr__field textarea { width: 100%; margin-top: 8px; padding: 13px 15px; font-family: inherit; font-size: 15px; color: var(--cm-ink); background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); border-radius: 7px; outline: none; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.cm-warr__field input { resize: none; }
.cm-warr__field textarea { resize: vertical; min-height: 92px; }
.cm-warr__field input::placeholder,
.cm-warr__field textarea::placeholder { color: #b3aa99; }
.cm-warr__field input:focus,
.cm-warr__field textarea:focus { border-color: var(--cm-gold); box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-warr__field.is-invalid input,
.cm-warr__field.is-invalid textarea { border-color: #cf6a5a; box-shadow: none; }
.cm-warr__err { display: none; margin-top: 6px; font-size: 12.5px; color: #cf6a5a; }
.cm-warr__field.is-invalid .cm-warr__err { display: block; }

/* options: chips */
.cm-warr__qlabel { display: block; font-size: 14px; font-weight: 600; color: var(--cm-ink-soft); margin-bottom: 12px; }
.cm-warr__channel .cm-warr__qlabel { font-size: 13px; margin-bottom: 10px; }
.cm-warr__chips { display: flex; gap: 12px; flex-wrap: wrap; }
.cm-warr__channel .cm-warr__chips { gap: 10px; }
.cm-warr__chip { cursor: pointer; font-family: inherit; font-size: 13px; letter-spacing: .04em; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: var(--cm-muted); transition: all .2s ease; }
.cm-warr__chip.is-active { border-color: var(--cm-ink-soft); background: var(--cm-ink-soft); color: #fff; }
.cm-warr__chipdot { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #c9c0ad; display: flex; align-items: center; justify-content: center; }
.cm-warr__chip.is-active .cm-warr__chipdot { border-color: #fff; }
.cm-warr__chip.is-active .cm-warr__chipdot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.cm-warr__channel { margin-top: 18px; animation: cmFade .25s ease both; }
.cm-warr__field--wishes { margin-top: 22px; }

/* consent */
.cm-warr__consent { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin-top: 30px; padding: 0; background: none; border: none; cursor: pointer; text-align: left; }
.cm-warr__cbox { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; border: 1px solid #c9c0ad; background: var(--cm-cream2); display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.cm-warr__cbox svg { opacity: 0; transition: opacity .15s ease; }
.cm-warr__consent.is-checked .cm-warr__cbox { border-color: var(--cm-ink-soft); background: var(--cm-ink-soft); }
.cm-warr__consent.is-checked .cm-warr__cbox svg { opacity: 1; }
.cm-warr__consenttxt { font-size: 13px; line-height: 1.55; color: var(--cm-muted); text-align: left; }
.cm-warr__consenttxt a { color: #8a7038; text-decoration: underline; text-decoration-color: #d8cba8; text-underline-offset: 2px; }
.cm-warr__consenterr { margin-top: 8px; font-size: 12.5px; color: #cf6a5a; }
.cm-warr__consenterr:not([hidden]) { display: block; }

/* submit */
.cm-warr__submit { width: 100%; margin-top: 28px; min-height: 54px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-family: inherit; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border: none; border-radius: 7px; color: #fff; background: var(--cm-ink-soft); transition: background .25s ease; }
.cm-warr__submit:hover:not(:disabled) { background: var(--cm-gold); }
.cm-warr__submit:disabled,
.cm-warr__submit.is-loading { opacity: .8; cursor: default; }
.cm-warr__spin:not([hidden]) { display: inline-block; }
.cm-warr__spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: cmSpin .7s linear infinite; }

/* success modal */
.cm-warr__modal { position: fixed; inset: 0; z-index: 1000; padding: 20px; align-items: center; justify-content: center; }
.cm-warr__modal:not([hidden]) { display: flex; animation: cmFade .2s ease both; }
.cm-warr__overlay { position: absolute; inset: 0; background: rgba(28,26,23,.55); }
.cm-warr__card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 14px; padding: clamp(30px,5vw,46px); text-align: center; box-shadow: 0 40px 90px -40px rgba(28,26,23,.6); animation: cmPop .3s cubic-bezier(.2,.9,.3,1.1) both; }
.cm-warr__ok { display: inline-flex; width: 62px; height: 62px; border-radius: 50%; background: #e9f2ec; color: #4e7a63; align-items: center; justify-content: center; margin-bottom: 20px; }
.cm-warr__oktitle { font-family: var(--cm-serif); font-weight: 600; font-size: 34px; margin: 0 0 12px; color: var(--cm-ink); }
.cm-warr__oktxt { font-size: 15.5px; line-height: 1.66; color: var(--cm-muted); margin: 0 0 26px; }
.cm-warr__okbtns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cm-warr__okprimary,
.cm-warr__oksecondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transition: all .2s ease; }
.cm-warr__okprimary { background: var(--cm-ink-soft); color: #fff; border: none; }
.cm-warr__okprimary:hover { background: var(--cm-gold); color: #fff; }
.cm-warr__oksecondary { background: transparent; color: var(--cm-muted); border: 1px solid var(--cm-line-warm); }
.cm-warr__oksecondary:hover { color: var(--cm-gold); border-color: var(--cm-gold); }

@media (max-width: 720px) {
    .cm-warr__steps { grid-template-columns: 1fr; }
}

/* ==================== Нас рекомендуют ==================== */
.cm-rec { max-width: 1240px; margin: 0 auto; padding: clamp(36px,4.5vw,68px) clamp(18px,5vw,64px) clamp(52px,7vw,96px); }
.cm-rec__head { max-width: 720px; }
.cm-rec__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(40px,6vw,66px); line-height: 1.02; letter-spacing: .01em; margin: 16px 0 20px; color: var(--cm-ink); }
.cm-rec__intro { font-size: 17px; line-height: 1.7; color: var(--cm-muted); margin: 0; text-wrap: pretty; }

.cm-rec__nav { display: flex; gap: 10px; margin-top: 34px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.cm-rec__nav::-webkit-scrollbar { height: 0; }
.cm-rec__tab { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 40px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--cm-line-warm); background: #fff; color: var(--cm-muted); transition: all .2s ease; }
.cm-rec__tab:hover { color: var(--cm-gold); border-color: var(--cm-gold); }
.cm-rec__tab.is-active { background: var(--cm-ink-soft); border-color: var(--cm-ink-soft); color: #fff; }

.cm-rec__people { margin-top: clamp(40px,5vw,64px); display: grid; gap: clamp(44px,6vw,88px); }
.cm-rec__person { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.cm-rec__person:nth-child(even) { grid-template-columns: 1fr 300px; }
.cm-rec__person:nth-child(even) .cm-rec__portrait { order: 2; }
.cm-rec__person:nth-child(even) .cm-rec__ptext { order: 1; }
.cm-rec__portrait { position: relative; background: #f6f4ef; border-radius: 14px; overflow: hidden; aspect-ratio: 235/275; max-width: 300px; display: flex; align-items: center; justify-content: center; }
.cm-rec__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-rec__initials { font-family: var(--cm-serif); font-size: 52px; font-weight: 600; letter-spacing: .04em; color: #b8a67e; }
.cm-rec__pname { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.6vw,40px); line-height: 1.08; color: var(--cm-ink); }
.cm-rec__pregalia { font-size: 12.5px; line-height: 1.55; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: #a6957a; margin: 12px 0 0; max-width: 52ch; }
/* Публичной цитаты нет — имя и регалии подпираем к середине снимка,
   иначе рядом с портретом остаётся пустая половина карточки. */
.cm-rec__person--noquote { align-items: center; }
.cm-rec__pquote { margin-top: 22px; padding-left: clamp(18px,2vw,26px); border-left: 2px solid var(--cm-gold); }
.cm-rec__pquote p { font-family: var(--cm-serif); font-size: clamp(18px,2vw,22px); line-height: 1.5; font-style: italic; color: var(--cm-ink-soft); margin: 0 0 14px; text-wrap: pretty; }
.cm-rec__pquote p:last-child { margin-bottom: 0; }

.cm-rec__cta { margin: clamp(56px,7vw,96px) 0 0; background: var(--cm-ink-soft); border-radius: 18px; padding: clamp(34px,4vw,56px) clamp(24px,4vw,60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px,3vw,48px); align-items: center; }
.cm-rec__ctaeyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-rec__ctatitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,40px); line-height: 1.08; margin: 12px 0 10px; color: #fff; }
.cm-rec__ctap { font-size: 15.5px; line-height: 1.7; color: #a29b8d; margin: 0; max-width: 480px; }
.cm-rec__ctabtns { display: flex; flex-direction: column; gap: 12px; }
.cm-rec__ctaprimary, .cm-rec__ctasecondary { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transition: all .25s ease; }
.cm-rec__ctaprimary { background: #fff; color: var(--cm-ink-soft); }
.cm-rec__ctaprimary:hover { background: var(--cm-gold); color: #fff; }
.cm-rec__ctasecondary { background: transparent; border: 1px solid #4d483f; color: #cfc7b6; }
.cm-rec__ctasecondary:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

.cm-rec__cross { margin-top: 40px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cm-rec__crosslbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; }
.cm-rec__crosslink { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--cm-muted); }
.cm-rec__crosslink:hover { color: var(--cm-gold); }

@media (max-width: 760px) {
    .cm-rec__person, .cm-rec__person:nth-child(even) { grid-template-columns: 1fr; }
    .cm-rec__person:nth-child(even) .cm-rec__portrait { order: 1; }
    .cm-rec__person:nth-child(even) .cm-rec__ptext { order: 2; }
    .cm-rec__cta { grid-template-columns: 1fr; }
}

/* ==================== 404 ==================== */
.cm-404 { min-height: 66vh; display: flex; align-items: center; justify-content: center; padding: clamp(48px,8vw,116px) clamp(20px,5vw,24px); }
.cm-404__in { max-width: 520px; width: 100%; text-align: center; }
.cm-404__badge { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.cm-404__ic { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: var(--cm-gold); flex: 0 0 auto; }
.cm-404__num { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(58px,12vw,86px); line-height: .9; letter-spacing: .02em; color: var(--cm-ink); }
.cm-404__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(32px,5vw,46px); line-height: 1.1; margin: 12px 0 16px; color: var(--cm-ink); }
.cm-404__text { font-size: 16px; line-height: 1.65; color: var(--cm-muted); margin: 0 auto 32px; max-width: 400px; }
.cm-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cm-404__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 40px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--cm-ink-soft); border-radius: 8px; transition: all .25s ease; }
.cm-404__btn:hover { background: var(--cm-gold); color: #fff; }
.cm-404__btn--ghost { padding: 0 34px; color: var(--cm-ink-soft); background: transparent; border: 1px solid #d8d2c6; }
.cm-404__btn--ghost:hover { background: transparent; color: var(--cm-gold); border-color: var(--cm-gold); }
.cm-404__search { position: relative; max-width: 400px; margin: 26px auto 0; }
.cm-404__search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #a6957a; }
.cm-404__search input { width: 100%; height: 52px; padding: 0 18px 0 42px; font-family: inherit; font-size: 14px; color: var(--cm-ink); background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); border-radius: 10px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.cm-404__search input:focus { border-color: var(--cm-gold); box-shadow: 0 0 0 3px rgba(179,151,99,.16); }
.cm-404__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.cm-404__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 40px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--cm-line-warm); background: #fff; color: var(--cm-muted); transition: all .2s ease; }
.cm-404__chip:hover { border-color: var(--cm-gold); color: var(--cm-gold); }
.cm-404__trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 12px; letter-spacing: .06em; color: #a6a6a6; }
.cm-404__trustdot { width: 3px; height: 3px; border-radius: 50%; background: #d8d2c6; }

/* ==================== Контакты ==================== */
.cm-cts { max-width: 1240px; margin: 0 auto; padding: clamp(36px,4.5vw,68px) clamp(18px,5vw,64px) clamp(52px,7vw,96px); }
.cm-cts__head { max-width: 720px; }
.cm-cts__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(40px,6vw,66px); line-height: 1.02; letter-spacing: .01em; margin: 16px 0 20px; color: var(--cm-ink); }
.cm-cts__intro { font-size: 17px; line-height: 1.7; color: var(--cm-muted); margin: 0; text-wrap: pretty; }

.cm-cts__channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(16px,2vw,22px); margin-top: clamp(34px,4vw,48px); }
.cm-cts__card { display: block; background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cm-cts__card--link:hover { transform: translateY(-4px); border-color: var(--cm-line-warm); box-shadow: 0 22px 46px -30px rgba(70,58,34,.42); }
.cm-cts__ic { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: #a6957a; align-items: center; justify-content: center; }
.cm-cts__clabel { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #a6a6a6; margin-top: 20px; }
.cm-cts__cvalue { font-family: var(--cm-serif); font-size: 24px; font-weight: 600; color: var(--cm-ink); margin-top: 6px; line-height: 1.2; word-break: break-word; }
.cm-cts__cnote { font-size: 13px; color: var(--cm-muted2); margin-top: 6px; }
.cm-cts__soc { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.cm-cts__soc a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cm-line-warm); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--cm-muted); transition: all .2s ease; }
.cm-cts__soc a:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

.cm-cts__stores { margin-top: clamp(56px,7vw,92px); }
.cm-cts__storestitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(30px,4vw,46px); line-height: 1.06; margin: 12px 0 8px; color: var(--cm-ink); }
.cm-cts__storesintro { font-size: 16px; line-height: 1.7; color: var(--cm-muted); margin: 0 0 clamp(28px,3vw,40px); max-width: 620px; }
.cm-cts__storesgrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px,3vw,36px); align-items: start; }

.cm-cts__map { position: sticky; top: 24px; background: #f6f4ef; border: 1px solid #ece6db; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; min-height: 320px; }
.cm-cts__mapframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.cm-cts__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px,1.8vw,18px); }
/* мало точек: карта альбомная и не липкая, карточки в одну колонку */
.cm-cts__storesgrid--few { grid-template-columns: 1.15fr 0.85fr; }
.cm-cts__storesgrid--few .cm-cts__map { position: relative; top: auto; aspect-ratio: 4/3; }
.cm-cts__storesgrid--few .cm-cts__cards { grid-template-columns: 1fr; }
.cm-cts__store { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.cm-cts__store:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -30px rgba(70,58,34,.42); }
.cm-cts__storehead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cm-cts__city { font-family: var(--cm-serif); font-size: 25px; font-weight: 600; color: var(--cm-ink); line-height: 1.15; }
.cm-cts__badge { flex: 0 0 auto; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #a6957a; border: 1px solid var(--cm-line-warm); border-radius: 20px; padding: 4px 10px; white-space: nowrap; }
.cm-cts__addr { display: flex; gap: 10px; margin-top: 12px; }
.cm-cts__addr svg { flex: 0 0 auto; margin-top: 2px; color: #c3b590; }
.cm-cts__addr span { font-size: 14.5px; line-height: 1.6; color: var(--cm-muted); }
/* адрес ведёт в карточку организации: подчёркивание проявляем на наведении, чтобы не спорить с адресом-текстом */
.cm-cts__addr--link { text-decoration: none; }
.cm-cts__addr--link span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
.cm-cts__addr--link:hover span,
.cm-cts__addr--link:focus-visible span { color: var(--cm-ink); text-decoration-color: #c3b590; }
.cm-cts__addr--link:hover svg { color: var(--cm-gold, #b39763); }
.cm-cts__place { font-size: 13px; color: var(--cm-muted2); margin-top: 10px; padding-top: 12px; border-top: 1px solid #ece6db; }

.cm-cts__cta { margin: clamp(56px,7vw,92px) 0 0; background: var(--cm-ink-soft); border-radius: 18px; padding: clamp(34px,4vw,56px) clamp(24px,4vw,60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px,3vw,48px); align-items: center; }
.cm-cts__ctaeyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-cts__ctatitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,40px); line-height: 1.08; margin: 12px 0 10px; color: #fff; }
.cm-cts__ctap { font-size: 15.5px; line-height: 1.7; color: #a29b8d; margin: 0; max-width: 480px; }
.cm-cts__ctabtns { display: flex; flex-direction: column; gap: 12px; }
.cm-cts__ctaprimary, .cm-cts__ctasecondary { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 10px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; text-align: center; transition: all .25s ease; }
.cm-cts__ctaprimary { background: #fff; color: var(--cm-ink-soft); }
.cm-cts__ctaprimary:hover { background: var(--cm-gold); color: #fff; }
.cm-cts__ctasecondary { background: transparent; border: 1px solid #4d483f; color: #cfc7b6; }
.cm-cts__ctasecondary:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

.cm-cts__legal { margin-top: 40px; padding-top: 26px; border-top: 1px solid #ece6db; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.cm-cts__legal span { font-size: 13px; color: var(--cm-muted2); }
.cm-cts__pp { font-size: 13px; color: var(--cm-muted); }
.cm-cts__pp:first-of-type { margin-left: auto; }   /* группа ссылок уходит вправо целиком */
.cm-cts__pp:hover { color: var(--cm-gold); }

@media (max-width: 760px) {
    .cm-cts__storesgrid { grid-template-columns: 1fr; }
    .cm-cts__map { position: relative; top: auto; aspect-ratio: 4/3; width: 100%; min-height: 0; }
    .cm-cts__cards { grid-template-columns: 1fr; }
    .cm-cts__cta { grid-template-columns: 1fr; }
    .cm-cts__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cm-cts__pp, .cm-cts__pp:first-of-type { margin-left: 0; }
}

/* ==================== Правовые страницы (политика конфиденциальности) ==================== */
.cm-legal { max-width: 820px; margin: 0 auto; padding: clamp(40px,6vw,84px) clamp(18px,5vw,48px) clamp(56px,8vw,110px); }
.cm-legal__head { margin-bottom: clamp(26px,4vw,44px); padding-bottom: clamp(22px,3vw,34px); border-bottom: 1px solid var(--cm-line); }
.cm-legal__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(34px,5vw,54px); line-height: 1.04; letter-spacing: .01em; margin: 14px 0 16px; color: var(--cm-ink); }
.cm-legal__intro { font-size: 17px; line-height: 1.7; color: var(--cm-muted); margin: 0; max-width: 640px; }
.cm-legal__body { font-size: 15.5px; line-height: 1.75; color: var(--cm-text); }
.cm-legal__body h2 { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(22px,2.6vw,30px); line-height: 1.22; margin: clamp(32px,4vw,50px) 0 14px; color: var(--cm-ink); }
.cm-legal__body h3 { font-size: 17px; font-weight: 600; margin: 26px 0 10px; color: var(--cm-ink-soft); }
.cm-legal__body h4 { font-size: 15.5px; font-weight: 600; margin: 20px 0 8px; color: var(--cm-ink-soft); }
.cm-legal__body p, .cm-legal__body div { margin: 0 0 12px; }
.cm-legal__body ul, .cm-legal__body ol { margin: 0 0 14px; padding-left: 22px; }
.cm-legal__body li { margin: 0 0 7px; }
.cm-legal__body a { color: var(--cm-gold); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.cm-legal__body strong, .cm-legal__body b { color: var(--cm-ink-soft); font-weight: 600; }
.cm-legal__body hr { border: 0; border-top: 1px solid var(--cm-line); margin: clamp(40px,5vw,64px) 0; }
.cm-legal__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.cm-legal__body th, .cm-legal__body td { border: 1px solid var(--cm-line-warm); padding: 10px 12px; text-align: left; vertical-align: top; }

/* ==================== Инфо-страницы: общая обвязка ==================== */
.cm-info { max-width: 1240px; margin: 0 auto; padding: clamp(36px,4.5vw,68px) clamp(18px,5vw,64px) clamp(52px,7vw,96px); }
.cm-info__crumbs { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .06em; color: #a6a6a6; margin-bottom: 26px; flex-wrap: wrap; }
.cm-info__crumbs a { color: #a6a6a6; }
.cm-info__crumbs a:hover { color: var(--cm-gold); }
.cm-info__crumbcur { color: var(--cm-muted); }
.cm-info__head { max-width: 760px; }
.cm-info__title { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(40px,6vw,64px); line-height: 1.02; letter-spacing: .01em; margin: 16px 0 20px; color: var(--cm-ink); }
.cm-info__lede { font-size: 18px; line-height: 1.7; color: var(--cm-muted); margin: 0; text-wrap: pretty; }
.cm-info__prose { font-size: 16.5px; line-height: 1.75; color: #35312b; max-width: 760px; }
.cm-info__prose h2 { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.6vw,40px); line-height: 1.1; letter-spacing: .01em; color: var(--cm-ink); margin: 48px 0 8px; }
.cm-info__prose h3 { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(21px,2.6vw,26px); line-height: 1.2; color: var(--cm-ink); margin: 30px 0 10px; }
.cm-info__prose p { margin: 0 0 20px; text-wrap: pretty; }
.cm-info__prose ul { margin: 0 0 22px; padding: 0; list-style: none; }
.cm-info__prose ul li { position: relative; padding-left: 26px; margin-bottom: 11px; }
.cm-info__prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border: 1.5px solid var(--cm-gold); border-radius: 50%; }
.cm-info__prose ol { margin: 0 0 22px; padding-left: 22px; }
.cm-info__prose ol li { margin-bottom: 10px; }
.cm-info__prose strong { font-weight: 700; color: var(--cm-ink-soft); }
.cm-info__prose a { color: #8a7038; text-decoration: underline; text-decoration-color: #d8cba8; text-underline-offset: 3px; }
.cm-info__prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.cm-info__prose thead th { background: var(--cm-cream2); text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a6957a; font-weight: 600; padding: 13px 16px; border-bottom: 1px solid var(--cm-line-warm); }
.cm-info__prose tbody td { padding: 13px 16px; border-bottom: 1px solid var(--cm-line); color: #35312b; vertical-align: top; }
.cm-info__sec { margin-top: clamp(36px,4vw,52px); }
.cm-info__sec--sm { margin-top: clamp(30px,3.5vw,46px); }
.cm-info__sec h2, .cm-info__sec--sm h2, .cm-info__sec--sm h3 { margin-top: 0; }
.cm-info__lede2 { font-size: 18px; line-height: 1.7; color: var(--cm-muted); }

.cm-info__cta { margin: clamp(48px,6vw,80px) 0 0; background: var(--cm-ink-soft); border-radius: 18px; padding: clamp(34px,4vw,56px) clamp(24px,4vw,60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px,3vw,48px); align-items: center; }
.cm-info__ctaeyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--cm-gold); }
.cm-info__ctatitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(28px,3.4vw,40px); line-height: 1.08; margin: 12px 0 10px; color: #fff; }
.cm-info__ctap { font-size: 15.5px; line-height: 1.7; color: #a29b8d; margin: 0; max-width: 460px; }
.cm-info__ctabtns { display: flex; flex-direction: column; gap: 12px; }
.cm-info__ctaprimary, .cm-info__ctasecondary { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 10px; text-align: center; transition: all .25s ease; }
.cm-info__ctaprimary { background: #fff; color: var(--cm-ink-soft); font-size: 13px; letter-spacing: .06em; font-weight: 700; }
.cm-info__ctaprimary:hover { background: var(--cm-gold); color: #fff; }
.cm-info__ctasecondary { background: transparent; border: 1px solid #4d483f; color: #cfc7b6; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.cm-info__ctasecondary:hover { border-color: var(--cm-gold); color: var(--cm-gold); }

/* ---- Возврат и обмен ---- */
.cm-ret__cards { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2vw,24px); margin-top: clamp(34px,4vw,52px); }
.cm-ret__card { background: var(--cm-cream2); border: 1px solid #ece6db; border-radius: 16px; padding: clamp(26px,3vw,38px) clamp(24px,2.6vw,34px); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cm-ret__card:hover { transform: translateY(-4px); border-color: var(--cm-line-warm); box-shadow: 0 24px 50px -32px rgba(70,58,34,.42); }
.cm-ret__cardhead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cm-ret__ic { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: #fff; color: #a6957a; align-items: center; justify-content: center; flex-shrink: 0; }
.cm-ret__badge { display: inline-flex; align-items: center; height: 30px; padding: 0 15px; background: #fff; border: 1px solid var(--cm-line-warm); border-radius: 40px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8a7038; }
.cm-ret__cardtitle { font-family: var(--cm-serif); font-weight: 600; font-size: clamp(24px,2.8vw,30px); line-height: 1.12; color: var(--cm-ink); margin: 20px 0 12px; }
.cm-ret__cardtext { font-size: 15px; line-height: 1.7; color: var(--cm-muted); margin: 0 0 18px; }
.cm-ret__listlbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #a6957a; margin-bottom: 12px; }
.cm-ret__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.cm-ret__list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.55; color: #35312b; }
.cm-ret__check { position: absolute; left: 0; top: 1px; width: 19px; height: 19px; color: var(--cm-gold); line-height: 0; }
.cm-ret__intro { margin-top: clamp(36px,4.5vw,60px); }
.cm-ret__intro h2 { margin-top: 0; }
.cm-ret__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.8vw,20px); margin-top: 22px; }
.cm-ret__step { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 24px 22px; }
.cm-ret__stepn { font-family: var(--cm-serif); font-size: 34px; font-weight: 600; color: var(--cm-gold); line-height: 1; }
.cm-ret__steptitle { font-family: var(--cm-serif); font-size: 20px; font-weight: 600; color: var(--cm-ink); margin: 14px 0 7px; line-height: 1.2; }
.cm-ret__steptext { font-size: 14px; line-height: 1.6; color: var(--cm-muted2); }

/* ---- шаги (общие для инфо-страниц) ---- */
.cm-info__steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,1.8vw,20px); margin-top: 22px; }
.cm-info__step { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 24px 22px; }
.cm-info__stepn { font-family: var(--cm-serif); font-size: 34px; font-weight: 600; color: var(--cm-gold); line-height: 1; }
.cm-info__steptitle { font-family: var(--cm-serif); font-size: 20px; font-weight: 600; color: var(--cm-ink); margin: 14px 0 7px; line-height: 1.2; }
.cm-info__steptext { font-size: 14px; line-height: 1.6; color: var(--cm-muted2); }

/* ---- врезка «важные условия» ---- */
.cm-callout { background: var(--cm-cream2); border: 1px solid #ece6db; border-left: 2px solid var(--cm-gold); border-radius: 12px; padding: 22px 26px; margin: 28px 0; max-width: 760px; }
.cm-callout__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cm-callout__lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #a6957a; }
.cm-callout ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cm-callout li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.6; color: #35312b; }
.cm-callout li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cm-gold); }

/* ---- Доставка и оплата ---- */
.cm-del__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cm-del__badge { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; background: #fff; border: 1px solid #ece6db; border-radius: 10px; }
.cm-del__badgename { font-family: var(--cm-serif); font-size: 19px; font-weight: 700; letter-spacing: .02em; color: var(--cm-ink-soft); }
.cm-del__badgekind { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #a6a6a6; }
.cm-del__free { display: inline-flex; align-items: center; gap: 12px; background: #e9f2ec; border-radius: 40px; padding: 11px 22px; margin-top: 4px; font-size: 14px; letter-spacing: .04em; font-weight: 700; color: #4e7a63; }
.cm-del__ways { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2vw,22px); margin-top: 22px; max-width: 900px; }
.cm-del__way { background: #fff; border: 1px solid #ece6db; border-radius: 14px; padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cm-del__way:hover { transform: translateY(-4px); border-color: var(--cm-line-warm); box-shadow: 0 22px 46px -30px rgba(70,58,34,.42); }
.cm-del__wayic { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cm-line-warm); background: var(--cm-cream2); color: #a6957a; align-items: center; justify-content: center; }
.cm-del__waytitle { font-family: var(--cm-serif); font-size: 24px; font-weight: 600; color: var(--cm-ink); margin: 18px 0 8px; }
.cm-del__waytext { font-size: 14.5px; line-height: 1.65; color: var(--cm-muted); }
.cm-info__ctaprimary--up { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* ---- Таблица подбора ---- */
.cm-tbl__head { max-width: 820px; }
.cm-tbl__head strong { color: #35312b; font-weight: 600; }
.cm-tbl__legend { display: flex; flex-wrap: wrap; gap: clamp(16px,3vw,40px); margin-top: clamp(28px,3.5vw,40px); }
.cm-tbl__legcol { flex: 1 1 300px; }
.cm-tbl__leglbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #a6957a; margin-bottom: 12px; }
.cm-tbl__leglist { display: grid; gap: 9px; }
.cm-tbl__legitem { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #35312b; }
.cm-tbl__legic { display: inline-flex; width: 42px; height: 30px; color: #a6957a; align-items: center; justify-content: center; flex: 0 0 auto; }
.cm-tbl__legic svg { width: 42px; height: 28px; }
.cm-tbl__legdots { display: inline-flex; width: 42px; justify-content: center; flex: 0 0 auto; }
.cm-tbl__legitem strong { font-family: var(--cm-serif); font-size: 18px; font-weight: 700; color: var(--cm-ink); }
.cm-tbl__dots { display: inline-flex; gap: 5px; }
.cm-tbl__dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #e0d8c8; }
.cm-tbl__dot.is-on { background: var(--cm-gold); }

.cm-tbl__grid { display: grid; grid-template-columns: minmax(120px,0.85fr) repeat(3,1fr); gap: clamp(10px,1.2vw,14px); margin-top: clamp(28px,3.5vw,40px); align-items: stretch; }
.cm-tbl__corner { display: flex; align-items: flex-end; padding: 0 0 14px 4px; }
.cm-tbl__corner span { font-size: 11.5px; letter-spacing: .08em; color: #b0a894; line-height: 1.4; }
.cm-tbl__colhead { text-align: center; padding: 6px 0 14px; }
.cm-tbl__colhead .cm-tbl__dots { margin-bottom: 9px; }
.cm-tbl__coln { font-family: var(--cm-serif); font-size: 22px; font-weight: 700; color: var(--cm-ink); line-height: 1; }
.cm-tbl__coladj { font-size: 12px; color: var(--cm-muted2); margin-top: 4px; }
.cm-tbl__rowhead { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 18px 16px; background: #fff; border: 1px solid #ece6db; border-radius: 14px; }
.cm-tbl__rowic { display: inline-flex; color: #a6957a; margin-bottom: 8px; flex: 0 0 auto; }
.cm-tbl__rowic svg { width: 42px; height: 28px; }
.cm-tbl__rowletter { font-family: var(--cm-serif); font-size: 26px; font-weight: 700; color: var(--cm-ink); line-height: 1; }
.cm-tbl__rowadj { font-size: 12.5px; color: var(--cm-muted2); margin-top: 3px; }
.cm-tbl__rowpose { font-size: 12px; color: #a6957a; margin-top: 8px; line-height: 1.35; }
.cm-tbl__cell { display: flex; flex-direction: column; justify-content: space-between; background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); border-radius: 14px; padding: 20px 18px; min-height: 130px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cm-tbl__cell:hover { transform: translateY(-3px); border-color: var(--cm-gold); box-shadow: 0 20px 40px -26px rgba(70,58,34,.5); }
.cm-tbl__mark { display: block; font-family: var(--cm-serif); font-size: 30px; font-weight: 700; color: var(--cm-ink); line-height: 1; letter-spacing: .01em; }
.cm-tbl__caption { display: block; font-size: 13px; line-height: 1.45; color: var(--cm-muted); margin-top: 8px; }
.cm-tbl__go { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #a6957a; margin-top: 14px; transition: color .2s ease; }
.cm-tbl__cell:hover .cm-tbl__go { color: var(--cm-gold); }

.cm-tbl__stack { display: none; gap: 16px; margin-top: 28px; }
.cm-tbl__scard { background: #fff; border: 1px solid #ece6db; border-radius: 16px; padding: 22px 20px; }
.cm-tbl__shead { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #f0ece3; }
.cm-tbl__stitle { font-family: var(--cm-serif); font-size: 24px; font-weight: 700; color: var(--cm-ink); line-height: 1; }
.cm-tbl__srows { display: grid; gap: 10px; margin-top: 16px; }
.cm-tbl__srow { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--cm-cream2); border: 1px solid var(--cm-line-warm); border-radius: 12px; padding: 16px 18px; min-height: 44px; color: #a6957a; transition: border-color .2s ease; }
.cm-tbl__srow:hover { border-color: var(--cm-gold); }
.cm-tbl__srowl { display: flex; align-items: baseline; gap: 12px; }
.cm-tbl__srow .cm-tbl__mark { font-size: 24px; }
.cm-tbl__srow .cm-tbl__caption { margin-top: 0; }

@media (max-width: 760px) {
    .cm-tbl__grid { display: none; }
    .cm-tbl__stack { display: grid; }
}

/* ---- Технические характеристики ---- */
.cm-tec__facts { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.8vw,20px); margin-top: clamp(34px,4vw,52px); }
.cm-tec__fact { background: #fff; border: 1px solid #ece6db; border-radius: 16px; padding: clamp(24px,2.6vw,32px); }
.cm-tec__factnum { font-family: var(--cm-serif); font-size: clamp(46px,5.5vw,60px); font-weight: 700; color: var(--cm-ink); line-height: .95; letter-spacing: .01em; }
.cm-tec__facttext { font-size: 15px; line-height: 1.6; color: var(--cm-muted); margin-top: 12px; }
.cm-tec__comp { border: 1px solid #ece6db; border-radius: 16px; overflow: hidden; margin-top: 18px; background: #fff; }
.cm-tec__row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; align-items: stretch; border-top: 1px solid #f0ece3; }
.cm-tec__row--head { border-top: none; }
.cm-tec__row--head .cm-tec__cprop { border-bottom: 1px solid #ece6db; }
.cm-tec__cmille { padding: 18px 22px; background: var(--cm-ink-soft); display: flex; align-items: center; gap: 10px; font-family: var(--cm-serif); font-size: 22px; font-weight: 700; color: #fff; }
.cm-tec__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cm-gold); flex: 0 0 auto; }
.cm-tec__cdown { padding: 18px 22px; background: var(--cm-cream2); border-bottom: 1px solid #ece6db; border-left: 1px solid #ece6db; display: flex; align-items: center; font-family: var(--cm-serif); font-size: 22px; font-weight: 600; color: var(--cm-muted2); }
.cm-tec__cprop { padding: 20px 22px; display: flex; align-items: center; gap: 13px; background: var(--cm-cream2); font-size: 14px; font-weight: 600; color: var(--cm-ink-soft); line-height: 1.35; }
.cm-tec__pic { display: inline-flex; color: #a6957a; flex-shrink: 0; }
.cm-tec__cval { padding: 20px 22px; display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.55; color: #35312b; }
.cm-tec__cval svg { flex-shrink: 0; margin-top: 1px; }
.cm-tec__cval--down { border-left: 1px solid #f0ece3; color: var(--cm-muted); }
.cm-tec__form { margin-top: 22px; }

@media (max-width: 760px) {
    .cm-tec__facts { grid-template-columns: 1fr; }
    .cm-tec__row { grid-template-columns: 1.1fr 1fr 1fr; }
    .cm-tec__cmille, .cm-tec__cdown { font-size: 15px; padding: 13px 11px; }
    .cm-tec__cprop { padding: 13px 11px; font-size: 12.5px; gap: 8px; }
    .cm-tec__cval { padding: 13px 11px; font-size: 12.5px; gap: 7px; }
    .cm-tec__pic svg { width: 18px; height: 18px; }
    .cm-tec__cval svg { width: 16px; height: 16px; }
}

@media (max-width: 760px) {
    .cm-ret__cards { grid-template-columns: 1fr; }
    .cm-ret__steps { grid-template-columns: 1fr; }
    .cm-info__steps { grid-template-columns: 1fr; }
    .cm-del__ways { grid-template-columns: 1fr; }
    .cm-info__cta { grid-template-columns: 1fr; }
}

/* honeypot-поле антиспама: скрыто от людей, видно ботам */
.cm-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* пояснения к сочетаниям под таблицей подбора */
.cm-tbl__notes ul { margin: 14px 0 0; padding-left: 20px; }
.cm-tbl__notes li { margin: 0 0 8px; line-height: 1.65; }
.cm-tbl__notes li strong { color: var(--cm-ink); }
