/* ============================================
   Cosmetic Homepage — CSS
   All classes prefixed with cshp- to avoid conflicts.
   ============================================ */

/* ---------- Override Merchant theme container ---------- */
.page-template-cshp-homepage .site-breadcrumb,
.cshp-page .site-breadcrumb {
  display: none !important;
}
.page-template-cshp-homepage .site-content,
.cshp-page .site-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}
.page-template-cshp-homepage .site-content > .container,
.cshp-page .site-content > .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}
.page-template-cshp-homepage #primary,
.cshp-page #primary {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  float: none !important;
}
.page-template-cshp-homepage .entry-content,
.cshp-page .entry-content {
  max-width: none !important;
}
.page-template-cshp-homepage #secondary,
.cshp-page #secondary {
  display: none !important;
}

/* ---------- Tokens ---------- */
.cshp-homepage {
  --cshp-bg:        #efe9df;
  --cshp-bg-2:      #e7e0d3;
  --cshp-surface:   #ffffff;
  --cshp-surface-2: #f6f1e8;
  --cshp-ink:       #1a1612;
  --cshp-ink-2:     #5b5249;
  --cshp-ink-3:     #6f665e;
  --cshp-line:      #d9d0c3;
  --cshp-line-2:    #c9bfaf;
  --cshp-accent:    #af6a7c; /* марсала (было #a35a3a терракота) */
  /* Акцент как ТЕКСТ. Сам --cshp-accent остаётся фирменным цветом заливок
     и декора: #af6a7c даёт всего 3,36:1 на фоне и 4,06 на белом, то есть
     как текст не проходит. Отдельный токен позволяет починить контраст,
     не трогая бренд там, где цвет работает пятном. */
  --cshp-accent-text: #945264;
  --cshp-accent-deep: #5e2a3a; /* тёмный винный (было #3a2418 коричневый) */

  --cshp-serif: "Cormorant Garamond", "Times New Roman", serif;
  --cshp-sans:  "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --cshp-mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --cshp-container: 1320px;
  --cshp-gutter: 32px;

  font-family: var(--cshp-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cshp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Palette variants */
.cshp-homepage[data-palette="sand"]{ --cshp-bg:#efe9df; --cshp-bg-2:#e7e0d3; --cshp-surface:#fff; --cshp-surface-2:#f6f1e8; --cshp-ink:#1a1612; --cshp-ink-2:#5b5249; --cshp-line:#d9d0c3; }
.cshp-homepage[data-palette="bone"]{ --cshp-bg:#f4f1ec; --cshp-bg-2:#ebe6dd; --cshp-surface:#fff; --cshp-surface-2:#f8f5ef; --cshp-ink:#171514; --cshp-ink-2:#56504a; --cshp-line:#e1dad0; }
.cshp-homepage[data-palette="clay"]{ --cshp-bg:#eadfd1; --cshp-bg-2:#dfd1bd; --cshp-surface:#fdf9f2; --cshp-surface-2:#f1e7d6; --cshp-ink:#1d160f; --cshp-ink-2:#5a4d3e; --cshp-line:#cdbfa8; }
.cshp-homepage[data-palette="ash"] { --cshp-bg:#ececeb; --cshp-bg-2:#e1e1df; --cshp-surface:#fff; --cshp-surface-2:#f4f4f2; --cshp-ink:#15171a; --cshp-ink-2:#4f5359; --cshp-line:#d1d2d0; }

.cshp-homepage[data-accent="rust"]    { --cshp-accent:#af6a7c; }
.cshp-homepage[data-accent="bordeaux"]{ --cshp-accent:#7a2d2f; }
.cshp-homepage[data-accent="forest"]  { --cshp-accent:#3e5a44; }
.cshp-homepage[data-accent="ink"]     { --cshp-accent:#1a1612; }

/* ---------- Reset (scoped) ---------- */
.cshp-homepage *, .cshp-homepage *::before, .cshp-homepage *::after { box-sizing: border-box; }
.cshp-homepage img, .cshp-homepage svg { display:block; max-width:100%; }
.cshp-homepage a:not(.cshp-btn):not(.cshp-btn--ghost):not(.cshp-btn--link) { color: inherit; text-decoration: none; }
.cshp-homepage button { font: inherit; cursor: pointer; }

/* ---------- Utilities ---------- */
.cshp-container { width:100%; max-width: var(--cshp-container); margin: 0 auto; padding: 0 var(--cshp-gutter); }
.cshp-eyebrow {
  font-family: var(--cshp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cshp-ink-2);
  font-weight: 500;
}
.cshp-display {
  font-family: var(--cshp-serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--cshp-ink);
}
.cshp-display em { font-style: italic; font-weight: 400; color: var(--cshp-ink); }
.cshp-h1 { font-size: clamp(56px, 7.4vw, 124px); }
.cshp-h2 { font-size: clamp(40px, 4.6vw, 76px); }
.cshp-h3 { font-size: clamp(28px, 2.6vw, 44px); }
.cshp-body-lg { font-size: 17px; line-height: 1.6; color: var(--cshp-ink-2); }
.cshp-rule { height:1px; background: var(--cshp-line); border:0; margin:0; }

/* ---------- Buttons ---------- */
.cshp-btn {
  display:inline-flex; align-items:center; justify-content:center;
  height: 52px; padding: 0 26px;
  background: var(--cshp-accent-deep); color:#f3ecdf;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--cshp-accent-deep); border-radius: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cshp-btn:hover { background: var(--cshp-accent); border-color: var(--cshp-accent); color: #f3ecdf !important; }
.cshp-btn--ghost { background: transparent; color: var(--cshp-ink); border-color: var(--cshp-ink); }
.cshp-btn--ghost:hover { background: var(--cshp-ink); color: var(--cshp-bg); }
.cshp-btn--link {
  display:inline-flex; align-items:center; gap:10px;
  background: transparent; color: var(--cshp-ink); padding: 0; height:auto;
  border: 0; border-bottom: 1px solid var(--cshp-ink);
  border-radius: 0;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 4px;
}
.cshp-btn--link:hover { color: var(--cshp-accent); border-bottom-color: var(--cshp-accent); }

/* Hide Merchant page header on homepage */
.cshp-page .page-header { display: none; }

/* ---------- Promo bar (slider) ---------- */
.cshp-promo {
  background: var(--cshp-accent-deep);
  color: #f3ecdf;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 40px;
}
.cshp-promo__track {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: cshpPromoSlide 9s ease-in-out infinite;
}
.cshp-promo__slide {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 16px;
  white-space: nowrap;
}
.cshp-promo__slide a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(243,236,223,0.3);
}
.cshp-promo__slide a:hover { border-bottom-color: #f3ecdf; }

@keyframes cshpPromoSlide {
  0%, 28%   { transform: translateY(0); }
  33%, 61%  { transform: translateY(-40px); }
  66%, 94%  { transform: translateY(-80px); }
  100%      { transform: translateY(0); }
}

/* ---------- Hero ---------- */
.cshp-hero {
  border-bottom: 1px solid var(--cshp-line);
  background: var(--cshp-bg);
  overflow: hidden;
}
.cshp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  /* 220px — промо-полоса темы, шапка и полоса услуг над героем. Без вычета
     86vh + хром давали больше экрана, и кнопка слайда уезжала под сгиб. */
  min-height: min(820px, calc(100vh - 220px));
}
/* Первый экран считается от высоты окна, а не только от ширины.
   Раньше герой был ровно 1038px при любом экране: на ноутбуке 1440×720 это
   полтора экрана, а полоса «features» оказывалась на 1170px — глубоко под
   сгибом, то есть её никто не видел. Все вертикальные отступы и кегль
   заголовка теперь зажаты в clamp с vh: нижняя граница держит вид на совсем
   маленьких экранах, верхняя — прежние значения на больших. */
.cshp-hero__copy {
  padding: clamp(28px, 6vh, 90px) var(--cshp-gutter) clamp(24px, 5vh, 80px);
  display:flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--cshp-line);
  max-width: 760px;
  margin-left: auto;
  width: 100%;
}
.cshp-hero__meta { display:flex; justify-content: space-between; gap: 24px; }
.cshp-hero__title { margin: clamp(18px, 4vh, 56px) 0 0; }
.cshp-hero__title .cshp-line { display:block; }
/* Кегль слайда: .cshp-h1 (0,1,0) даёт clamp(56px, 7.4vw, 124px) без оглядки
   на высоту — на 1440×720 это 106px и три строки в пол-экрана. Селектор
   квалифицирован .cshp-homepage, чтобы перебить его по специфичности. */
.cshp-homepage .cshp-hero__title { font-size: clamp(40px, min(7.4vw, 9vh), 124px); }
.cshp-homepage .cshp-hero__h1 { font-size: clamp(15px, min(1.9vh, 19px), 19px); }
.cshp-hero__sub { margin-top: clamp(14px, 2.8vh, 36px); max-width: 480px; }
.cshp-hero__cta { display:flex; gap: 14px; margin-top: clamp(16px, 3.2vh, 44px); flex-wrap: wrap; }
.cshp-hero__features {
  margin-top: clamp(24px, 6vh, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--cshp-line);
  padding-top: 24px;
}
/* Полоса «features» показывается, только когда герой целиком влезает в экран,
   иначе уходит вся. Она стоит последней и стоит дорого — ~148px вместе
   с отступами, — поэтому при нехватке места режется именно она, и режется
   наполовину: видно «Girona / Sant Feliu» и обрубок «Barcelona».
   Порог 1150px взят из замера, а не на глаз: при меньшей высоте содержимое
   колонки вместе с 220px хрома над героем перестаёт помещаться. Терять три
   центра здесь не жалко — они же есть ниже в блоке локаций и в футере.
   min-aspect-ratio отсекает телефоны в портрете: там высота тоже «маленькая»,
   но колонки идут одна под другой и место ни с чем не спорит. */
@media (max-height: 1150px) and (min-aspect-ratio: 1/1) {
  .cshp-hero__features { display: none; }
}
/* Ниже 900px не хватает уже без «features». Дожимаем две самые «воздушные»
   величины — интерлиньяж строки-дескриптора (1.7 задан для крупных экранов)
   и кегль подзаголовка. Кегль заголовка не трогаем: ронять его ниже 58px
   ради 14px высоты — плохой размен. */
@media (max-height: 900px) and (min-aspect-ratio: 1/1) {
  .cshp-homepage .cshp-hero__h1 { line-height: 1.4; margin-bottom: 12px; }
  .cshp-hero__sub { font-size: 15px; }
}
.cshp-hero__feature .cshp-label {
  font-family: var(--cshp-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cshp-ink-3); margin-bottom: 6px;
}
.cshp-hero__feature .cshp-value {
  font-family: var(--cshp-serif); font-size: 22px; line-height: 1.1;
}

.cshp-hero__visual {
  position: relative;
  background: var(--cshp-surface-2);
  overflow:hidden;
}
.cshp-hero__caption {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--cshp-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cshp-ink-3); background: rgba(255,255,255,.7);
  padding: 6px 10px; border: 1px solid var(--cshp-line);
}
.cshp-hero__scribe {
  position: absolute; left: 28px; bottom: 28px;
  font-family: var(--cshp-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cshp-ink-3);
}

/* Placeholder */
.cshp-placeholder {
  width:100%; height:100%;
  background-image: repeating-linear-gradient(135deg,
    rgba(0,0,0,0.035) 0 1px, transparent 1px 14px);
  background-color: var(--cshp-surface-2);
  display:flex; align-items:center; justify-content:center;
  color: var(--cshp-ink-3);
  font-family: var(--cshp-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  min-height: 200px;
}
.cshp-placeholder .cshp-label { padding: 6px 10px; border: 1px solid currentColor; }

/* Image cover */
.cshp-img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--cshp-surface-2);
}
.cshp-hero__visual .cshp-img-cover,
.cshp-feature__visual .cshp-img-cover { position: absolute; inset: 0; }
.cshp-cat__img, .cshp-product__img, .cshp-post__img, .cshp-loc__map { position: relative; overflow: hidden; }
.cshp-cat__img .cshp-img-cover,
.cshp-product__img .cshp-img-cover,
.cshp-post__img .cshp-img-cover,

/* Vignette */
.cshp-post__img::after, .cshp-cat__img::after, .cshp-loc__map::after, .cshp-feature__visual::after, .cshp-hero__visual::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(26,22,18,0) 60%, rgba(26,22,18,0.06) 100%);
}
.cshp-hero__visual::after { background: linear-gradient(180deg, rgba(26,22,18,0) 70%, rgba(26,22,18,0.10) 100%); }

/* ---------- Hero slider ---------- */
/* Copy track: slides stacked in one grid cell so height = tallest slide (no layout jump). */
.cshp-hero__slides--copy { display: grid; }
.cshp-hero__slides--copy > .cshp-hero__slide { grid-area: 1 / 1; }
.cshp-hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease;
}
.cshp-hero__slide.is-active { opacity: 1; visibility: visible; }

/* Visual track: fills the visual column, slides cross-fade. */
.cshp-hero__slides--visual { position: absolute; inset: 0; }
.cshp-hero__vslide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.cshp-hero__vslide.is-active { opacity: 1; }
.cshp-hero__caption, .cshp-hero__scribe { z-index: 2; }

/* Controls — overlaid on the visual (bottom-right) */
.cshp-hero__nav {
  position: absolute; right: 24px; bottom: 22px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
}
.cshp-hero__arrow {
  width: 42px; height: 42px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.14); border-radius: 50%;
  background: rgba(255,255,255,.72); color: var(--cshp-ink);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cshp-hero__arrow:hover { background: var(--cshp-ink); color: var(--cshp-bg); border-color: var(--cshp-ink); }
.cshp-hero__dots {
  display: flex; align-items: center; gap: 9px;
  padding: 0 10px; height: 42px; border-radius: 21px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.cshp-hero__dot {
  width: 8px; height: 8px; padding: 0;
  border: 1px solid rgba(0,0,0,.4); border-radius: 50%;
  background: transparent; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cshp-hero__dot:hover { border-color: var(--cshp-accent); }
.cshp-hero__dot.is-active {
  background: var(--cshp-accent); border-color: var(--cshp-accent);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .cshp-hero__slide, .cshp-hero__vslide { transition: none; }
}

/* ---------- Brand strip ---------- */
.cshp-brandstrip {
  border-bottom: 1px solid var(--cshp-line);
  background: var(--cshp-bg);
  overflow: hidden;
}
.cshp-brandstrip__inner {
  display:flex; align-items:center; justify-content: space-between;
  padding: 28px var(--cshp-gutter);
  max-width: var(--cshp-container);
  margin: 0 auto;
  gap: 32px;
}
.cshp-brandstrip__label {
  font-family: var(--cshp-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cshp-ink-3);
  white-space: nowrap;
}
.cshp-brandstrip__list {
  display:flex; gap: clamp(28px, 4vw, 60px); align-items: center;
  flex-wrap: wrap; justify-content: flex-end;
}
.cshp-brandstrip__list span {
  font-family: var(--cshp-serif);
  font-size: 22px; letter-spacing: 0.04em;
  color: var(--cshp-ink);
  text-transform: lowercase;
  font-feature-settings: "smcp";
}
.cshp-brandstrip__list span.cshp-up {
  text-transform: uppercase; font-family: var(--cshp-sans);
  font-size: 14px; letter-spacing: 0.22em; font-weight: 500;
}

/* ---------- Sections ---------- */
.cshp-block { padding: 120px 0; border-bottom: 1px solid var(--cshp-line); }
.cshp-section__head {
  display:grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-bottom: 64px; align-items: end;
}
.cshp-section__head .cshp-title { margin: 12px 0 0; }
.cshp-section__head .cshp-lede { max-width: 520px; }

/* ---------- Manifesto ---------- */
.cshp-manifesto {
  background: var(--cshp-surface);
  padding: 140px 0;
  border-bottom: 1px solid var(--cshp-line);
}
.cshp-manifesto__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 var(--cshp-gutter);
  display:grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: end;
}
.cshp-manifesto__quote {
  font-family: var(--cshp-serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.cshp-manifesto__quote em { font-style: italic; color: var(--cshp-accent); }
.cshp-manifesto__meta { padding-bottom: 8px; }
.cshp-manifesto__meta p { color: var(--cshp-ink-2); font-size: 15px; line-height: 1.65; margin: 0 0 18px; }

/* ---------- Categories ---------- */
.cshp-cats {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cshp-cat {
  background: var(--cshp-surface);
  border: 1px solid var(--cshp-line);
  padding: 0;
  text-align: left;
  display:flex; flex-direction: column;
  transition: transform .35s ease, border-color .25s ease;
}
.cshp-cat:hover { transform: translateY(-4px); border-color: var(--cshp-line-2); }
.cshp-cat__img { aspect-ratio: 3/4; }
.cshp-cat__body { padding: 22px 22px 26px; display:flex; flex-direction: column; gap: 8px; }
.cshp-cat__num { font-family: var(--cshp-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--cshp-ink-3); text-transform: uppercase; }
.cshp-cat__name { font-family: var(--cshp-serif); font-size: 26px; line-height: 1.05; }
.cshp-cat__count { font-size: 12px; color: var(--cshp-ink-3); margin-top: 6px; }
.cshp-cat__arrow {
  margin-top: 14px;
  display:inline-flex; align-items:center; gap:8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cshp-ink);
}

/* ---------- Featured brand ---------- */
.cshp-feature {
  display:grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--cshp-line);
  background: var(--cshp-surface);
}
.cshp-feature + .cshp-feature { border-top: 0; }
.cshp-feature--rev { direction: rtl; }
.cshp-feature--rev > * { direction: ltr; }

.cshp-feature__copy {
  padding: 80px clamp(40px, 5vw, 80px);
  display:flex; flex-direction: column; justify-content: center; gap: 28px;
}
.cshp-feature__brand {
  font-family: var(--cshp-serif);
  font-size: clamp(46px, 5.4vw, 88px);
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.cshp-feature__lede { max-width: 460px; color: var(--cshp-ink-2); font-size: 16px; line-height: 1.6; }
.cshp-feature__meta {
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--cshp-line); border-bottom: 1px solid var(--cshp-line);
  max-width: 460px;
}
.cshp-feature__meta .cshp-k { font-family: var(--cshp-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cshp-ink-3); margin-bottom: 4px; }
.cshp-feature__meta .cshp-v { font-family: var(--cshp-serif); font-size: 22px; }
.cshp-feature__visual { min-height: 560px; position: relative; }

/* ---------- Products (standard WC loop) ---------- */
.cshp-products.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cshp-products.products {
  margin-top: 0 !important;
  overflow: visible !important;
}
.cshp-products.products .product {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* ---------- Treatments ---------- */
.cshp-treatments {
  background: var(--cshp-surface);
}
.cshp-treatments__grid {
  display:grid; grid-template-columns: 1.4fr 1fr; gap: 64px;
  align-items: start;
}
.cshp-treatments__list { display:flex; flex-direction: column; }
.cshp-treatment {
  display:grid; grid-template-columns: 60px 1fr auto auto; gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--cshp-line);
  transition: padding .2s ease;
  cursor: pointer;
  color: var(--cshp-ink);
}
.cshp-treatment:hover { padding-left: 8px; }
.cshp-treatment:first-child { border-top: 1px solid var(--cshp-line); }
.cshp-treatment__num { font-family: var(--cshp-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--cshp-ink-3); }
.cshp-treatment__name { font-family: var(--cshp-serif); font-size: 26px; line-height: 1.1; }
.cshp-treatment__name small { font-family: var(--cshp-sans); display:block; font-size: 13px; color: var(--cshp-ink-2); margin-top: 4px; letter-spacing: 0; text-transform: none; }
.cshp-treatment__duration { font-family: var(--cshp-mono); font-size: 12px; color: var(--cshp-ink-2); letter-spacing: 0.1em; }
.cshp-treatment__price { font-family: var(--cshp-serif); font-size: 22px; min-width: 80px; text-align: right; }

.cshp-treatments__side {
  padding: 40px;
  background: var(--cshp-bg-2);
  border: 1px solid var(--cshp-line);
  display:flex; flex-direction: column; gap: 24px;
  position: sticky; top: 100px;
}
.cshp-treatments__side h3 { font-family: var(--cshp-serif); font-weight: 400; font-size: 32px; margin: 0; line-height: 1.05; }
.cshp-treatments__side p { color: var(--cshp-ink-2); font-size: 15px; line-height: 1.6; margin: 0; }
.cshp-hours { display:flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--cshp-line); }
.cshp-hours div { display:flex; justify-content: space-between; font-size: 13px; }
.cshp-hours .cshp-day { color: var(--cshp-ink-2); }

/* ---------- Locations ---------- */

/* ---------- Journal ---------- */
.cshp-journal {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.cshp-post {
  display:flex; flex-direction: column;
}
.cshp-post__img { aspect-ratio: 4/5; margin-bottom: 22px; display:block; }
.cshp-post__meta { display:flex; gap: 14px; margin-bottom: 10px; font-family: var(--cshp-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cshp-ink-3); }
.cshp-post__title { font-family: var(--cshp-serif); font-size: 28px; line-height: 1.1; margin: 0 0 10px; }
.cshp-post__title a { color: var(--cshp-ink); }
.cshp-post__title a:hover { color: var(--cshp-accent); }
.cshp-post__excerpt { color: var(--cshp-ink-2); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Newsletter ---------- */
.cshp-newsletter {
  background: var(--cshp-accent-deep);
  color: #f3ecdf;
  padding: 120px 0;
  border-bottom: 0;
}
.cshp-newsletter .cshp-container { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.cshp-newsletter h2 { color: #f3ecdf; margin: 12px 0 0; }
.cshp-form { display:flex; gap: 0; border-bottom: 0; padding-bottom: 6px; }
.cshp-form input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: #f3ecdf; font: inherit; font-size: 16px; padding: 14px 0;
}
.cshp-form input::placeholder { color: #a39882; }
.cshp-form button {
  background: transparent; border: 0; color: #f3ecdf;
  font-family: var(--cshp-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0 10px;
}
.cshp-form button:hover { color: #fff; }
.cshp-terms { color: #a39882; font-size: 12px; margin-top: 18px; max-width: 380px; }

/* ---------- USP row (about block) ---------- */
.cshp-utp {
  list-style: none; margin: 48px auto 0; padding: 0;
  max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cshp-utp__item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px;
  background: var(--cshp-bg);
  border: 1px solid var(--cshp-line);
}
/* Иконка стоит над заголовком, а не слева: у карточек разная длина текста,
   и при боковом расположении колонки съезжают друг относительно друга. */
.cshp-utp__icon {
  width: 26px; height: 26px;
  margin-bottom: 4px;
  color: var(--cshp-accent);
  flex: none;
}
.cshp-utp__title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--cshp-ink);
}
.cshp-utp__text { font-size: 14px; line-height: 1.55; color: var(--cshp-ink-2); }

/* ---------- Location rating & reviews ---------- */


/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  /* Tablet kept the full 120px desktop padding — a real chunk of the extra
     scroll length. Step it down here, then again at 640px. */
  .cshp-block { padding: 72px 0; }
  .cshp-manifesto { padding: 72px 0; }
  .cshp-newsletter { padding: 72px 0; }
  .cshp-hero__grid { grid-template-columns: 1fr; }
  .cshp-hero__copy { border-right: 0; border-bottom: 1px solid var(--cshp-line); max-width: none; margin: 0; padding: 60px var(--cshp-gutter); }
  .cshp-hero__visual { min-height: 60vh; }
  .cshp-section__head { grid-template-columns: 1fr; }
  .cshp-cats { grid-template-columns: repeat(2, 1fr); }
  .cshp-feature { grid-template-columns: 1fr; }
  .cshp-feature--rev { direction: ltr; }
  .cshp-feature__visual { min-height: 380px; }
  .cshp-products.products { grid-template-columns: repeat(2, 1fr) !important; }
  .cshp-treatments__grid { grid-template-columns: 1fr; }
  /* С трёх колонок сразу в одну — слишком резко: на планшете 1000px две
     карточки помещаются свободно. Промежуточный шаг добавлен намеренно,
     в эталоне его нет, потому что там макет только под две ширины. */
  .cshp-journal { grid-template-columns: 1fr; }
  .cshp-newsletter .cshp-container { grid-template-columns: 1fr; gap: 40px; }
  .cshp-manifesto__inner { grid-template-columns: 1fr; gap: 40px; }
  .cshp-brandstrip__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cshp-brandstrip__list { justify-content: flex-start; }
}
@media (max-width: 640px){
  /* Compact sections */
  .cshp-block { padding: 48px 0; }
  .cshp-section__head { margin-bottom: 32px; gap: 12px; }

  /* Hero compact */
  .cshp-hero__copy { padding: 32px var(--cshp-gutter); }
  .cshp-hero__visual { min-height: 50vh; }
  .cshp-hero__features { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .cshp-display.cshp-h1 { font-size: clamp(36px, 10vw, 56px); }
  .cshp-display.cshp-h2 { font-size: clamp(28px, 7vw, 40px); }
  .cshp-lede.cshp-body-lg { font-size: 15px; }
  .cshp-hero__subtitle { font-size: 15px; margin-top: 16px; }
  .cshp-hero__cta { margin-top: 24px; gap: 10px; }

  /* Brand strip compact */
  .cshp-brandstrip { padding: 24px 0; }

  /* Manifesto compact */
  .cshp-manifesto { padding: 48px var(--cshp-gutter); }
  .cshp-manifesto__quote { font-size: clamp(22px, 5.5vw, 32px); }
  .cshp-manifesto__meta { margin-top: 24px; }

  /* Categories compact */
  .cshp-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cshp-cat__body { padding: 12px; }
  .cshp-cat__name { font-size: 15px; }

  /* Products compact */
  .cshp-products.products { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* Features compact */
  .cshp-feature__visual { min-height: 280px; }
  .cshp-feature__copy { padding: 32px var(--cshp-gutter); }

  /* Treatments compact */
  .cshp-treatment { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; }
  .cshp-treatment__duration, .cshp-treatment__price { grid-column: 2; }
  .cshp-treatments__sidebar { padding: 24px; }

  /* Locations compact */

  /* Newsletter compact */
  .cshp-newsletter { padding: 48px 0; }

  /* Gutter */
  .cshp-homepage { --cshp-gutter: 20px; }
}

/* ---------- Swipe rails ----------
   Horizontal scroll-snap instead of a JS carousel: native momentum on touch,
   no extra library, and on desktop the grid layout is untouched. */
@media (max-width: 1100px) {
  .cshp-swipe {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding-bottom: 8px;
    margin-right: calc(-1 * var(--cshp-gutter));
    padding-right: var(--cshp-gutter);
    scrollbar-width: none;
  }
  .cshp-swipe::-webkit-scrollbar { display: none; }
  .cshp-swipe > * {
    flex: 0 0 auto;
    width: 72vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .cshp-cats.cshp-swipe > * { width: 58vw; max-width: 230px; }
  .cshp-products.cshp-swipe > * { width: 58vw; max-width: 230px; }

  /* Featured brands become compact cards: image on top, copy below */
  .cshp-features.cshp-swipe > .cshp-feature {
    display: flex; flex-direction: column;
    width: 78vw; max-width: 320px;
    border: 1px solid var(--cshp-line);
    background: var(--cshp-surface);
  }
  .cshp-features.cshp-swipe .cshp-feature__visual { min-height: 0; aspect-ratio: 4/3; order: -1; }
  .cshp-features.cshp-swipe .cshp-feature__copy { padding: 20px; gap: 10px; }
  .cshp-features.cshp-swipe .cshp-feature__meta { display: none; }
  .cshp-features.cshp-swipe .cshp-feature__brand { font-size: 26px; margin: 8px 0 0; }
  .cshp-features.cshp-swipe .cshp-feature__lede { font-size: 13px; line-height: 1.5; }
}

/* H1 главной — строка-дескриптор над каруселью.
   Намеренно негромкий: крупный заголовок в первом экране принадлежит слайдам,
   а H1 нужен для поиска и должен читаться как подпись бренда, не спорить с ними. */
.cshp-hero__h1 {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cshp-ink-3);
  max-width: 40ch;
}

@media (max-width: 640px) {
  .cshp-hero__h1 {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
}
