/* ============================================================
   QINSEN — тема «небо и облака»: Cormorant (дисплей) + Jost (интерфейс)
   Палитра снята с баннера стора (небо) и монограммы QS (умбра).
   ============================================================ */

@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #221e1b;
  --umber: #45362b;
  --umber-2: #6a5546;
  --muted: #7d7469;
  --sky: #d3ebf7;
  --sky-2: #a9d7ec;
  --sky-3: #eaf6fc;
  --sky-deep: #46829f;
  --cloud: #f6fbfd;
  --sand: #f3ece3;
  --line: #e6dfd5;
  --line-2: #efe9e1;
  --white: #fff;
  --shadow: 0 18px 44px -26px rgba(34, 30, 27, .45);
  --shadow-lg: 0 34px 70px -34px rgba(34, 30, 27, .5);
  --wrap: 1200px;
  --rad: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Jost', 'Segoe UI', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Cormorant', 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .004em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap-n { max-width: 940px; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin: 0 0 16px;
}
.eyebrow-u { color: var(--umber-2); }

.lead { font-size: 18.5px; color: var(--umber-2); max-width: 62ch; }

.rise { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--rad);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--umber); border-color: var(--umber); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-sm { padding: 11px 22px; font-size: 11px; }
.btn-wide { width: 100%; text-align: center; }

/* ---------- шапка ---------- */
.topline {
  background: var(--ink);
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(9px);
  border-bottom: 1px solid var(--line-2);
}
.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 26px; height: 34px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word {
  font-family: 'Cormorant', serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: .34em;
}
.logo-tag {
  font-size: 8.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  padding-left: .28em;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--umber-2);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--rad);
  padding: 0;
  cursor: pointer;
  position: relative;
}
.burger span, .burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: .2s;
}
.burger span { top: 20px; }
.burger::before { top: 14px; }
.burger::after { top: 26px; }

/* ---------- герой ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(168deg, var(--sky-3) 0%, var(--sky) 42%, var(--sky-2) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 110px;
  background:
    radial-gradient(60px 34px at 12% 100%, #fff 60%, transparent 62%),
    radial-gradient(84px 46px at 26% 100%, #fff 60%, transparent 62%),
    radial-gradient(62px 32px at 42% 100%, #fff 60%, transparent 62%),
    radial-gradient(96px 50px at 62% 100%, #fff 60%, transparent 62%),
    radial-gradient(68px 36px at 80% 100%, #fff 60%, transparent 62%),
    radial-gradient(58px 30px at 94% 100%, #fff 60%, transparent 62%),
    linear-gradient(180deg, transparent 0%, #fff 82%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 78px 26px 116px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--umber); }
.hero-sub { font-size: 18px; color: var(--umber-2); max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-fact b {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.hero-fact span {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--umber-2);
}

.hero-stack { position: relative; min-height: 430px; }
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--rad);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-card-a { width: 66%; left: 0; top: 0; transform: rotate(-2.4deg); }
.hero-card-b { width: 48%; right: 0; bottom: 0; transform: rotate(2.8deg); }
.hero-card-note {
  padding: 12px 15px 15px;
  border-top: 1px solid var(--line-2);
}
/* Карточка B лежит поверх правого нижнего угла карточки A (66% + 48% > 100%):
   без этого отступа длинный тайтл уезжает под неё и обрывается на полуслове. */
.hero-card-a .hero-card-note { padding-right: 28%; }
.hero-card-note b {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.hero-card-note span {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.hero-seal {
  position: absolute;
  left: 54%;
  top: 44%;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  box-shadow: var(--shadow);
}
.hero-seal b { font-family: 'Cormorant', serif; font-size: 27px; font-weight: 500; line-height: 1; }
.hero-seal span { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .82; margin-top: 4px; }

/* ---------- бегущая строка ---------- */
.marquee {
  background: var(--ink);
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: mq 46s linear infinite;
}
.marquee-track span {
  position: relative;
  padding: 0 34px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '';
  position: absolute;
  right: -2px; top: 50%;
  margin-top: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sky-2);
}
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- секции ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 62px 0; }
.sec-cloud { background: var(--cloud); }
.sec-sand { background: var(--sand); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head-c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--umber-2); margin: 0; }

.rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 38px;
}
.rule h2 { margin: 0; }
.rule a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--umber-2);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.rule a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- «Витрина» — крупные плитки категорий ---------- */
/* Четыре плитки — ровно по числу «ящиков» в заголовке секции; при трёх колонках
   четвёртая уезжала на свою строку и секция выглядела недоделанной. */
.edit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.edit-tile {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.edit-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line); }
.edit-ph { position: relative; background: var(--sky-3); }
.edit-ph img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.edit-num {
  position: absolute;
  left: 18px; top: 14px;
  font-family: 'Cormorant', serif;
  font-size: 46px;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(34, 30, 27, .45);
  line-height: 1;
}
.edit-body { padding: 22px 22px 26px; }
.edit-body h3 { margin: 0 0 8px; }
.edit-body p { font-size: 14.5px; color: var(--umber-2); margin: 0 0 14px; }
.edit-count {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

/* ---------- полоса категорий-чипов ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.chip b { font-family: 'Cormorant', serif; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--sky-deep); }
.chip:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip:hover b { color: var(--sky-2); }

/* ---------- карточка товара ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}
/* Самостоятельный, а не модификатор к .grid: используется для текстовых колонок
   на PDP, где карточек нет. Без display:grid три блока просто ложились друг под друга. */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.card { display: flex; flex-direction: column; }
.card-link { display: block; flex: 1; }
.card-img {
  position: relative;
  background: var(--sky-3);
  border-radius: var(--rad);
  overflow: hidden;
  margin-bottom: 15px;
}
/* ⚠ Квадрата тут быть не может: все 159 исходных снимков вертикальные (w/h от 0.29
   до 0.81), и aspect-ratio:1 с cover вырезал у каждой вещи середину — на карточке
   жёстко оставались одни ноги. 3/4 близко к типовым 2:3, поэтому подрезает мягко. */
.card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .55s ease;
}
.card:hover .card-img img { transform: scale(1.045); }
.card-flag {
  position: absolute;
  left: 10px; top: 10px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.card-cat {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 7px;
}
.card-title {
  font-size: 19px;
  line-height: 1.24;
  margin: 0 0 7px;
}
.card-short { font-size: 14px; color: var(--umber-2); margin: 0 0 12px; }
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.price { font-family: 'Cormorant', serif; font-size: 24px; font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars { color: #c8912f; letter-spacing: .06em; font-size: 12px; }
.card .btn { margin-top: auto; }

/* ---------- спотлайт ---------- */
.spot {
  background: linear-gradient(150deg, var(--ink) 0%, #33291f 60%, #3d3126 100%);
  color: rgba(255, 255, 255, .84);
  position: relative;
  overflow: hidden;
}
.spot::before {
  content: '';
  position: absolute;
  right: -140px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 215, 236, .22) 0%, rgba(169, 215, 236, 0) 68%);
}
.spot-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
  padding: 84px 26px;
}
.spot h2 { color: var(--white); }
.spot .eyebrow { color: var(--sky-2); }
.spot-shot { border-radius: var(--rad); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.spot-shot img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.spot-points { list-style: none; margin: 0 0 28px; padding: 0; }
.spot-points li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15.5px; }
.spot-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky-2);
}
.spot-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.spot-price { font-family: 'Cormorant', serif; font-size: 40px; font-weight: 600; color: var(--white); line-height: 1; }

/* ---------- числа ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--rad); background: var(--white); }
.stat b {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat span { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--umber-2); }

/* ---------- заметки о ткани ---------- */
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.note { background: var(--white); padding: 30px 24px 32px; }
.note-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sky-3);
  border: 1px solid var(--sky-2);
  font-family: 'Cormorant', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 16px;
}
.note h3 { font-size: 20px; margin: 0 0 8px; }
.note p { font-size: 14.5px; color: var(--umber-2); margin: 0; }

/* ---------- коллекции стора ---------- */
.colls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coll {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.coll:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow); }
.coll-thumb { flex: 0 0 78px; border-radius: var(--rad); overflow: hidden; background: var(--sky-3); }
.coll-thumb img { width: 78px; height: 78px; object-fit: cover; }
/* Текст карточки обязан лежать в ОДНОМ флекс-элементе: иначе название, описание и
   счётчик становятся тремя колонками флекса и «Ribbed & Seamless» ломается на три строки. */
.coll-txt { min-width: 0; }
.coll-txt b {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 4px;
}
.coll-blurb { display: block; font-size: 13px; line-height: 1.5; color: var(--umber-2); margin-bottom: 7px; }
.coll-n { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-deep); }

/* ---------- «Fit for Everybody» ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.fit-list { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.fit-list li {
  counter-increment: f;
  position: relative;
  padding: 0 0 20px 58px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.fit-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.fit-list li::before {
  content: '0' counter(f);
  position: absolute;
  left: 0; top: -2px;
  font-family: 'Cormorant', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--sky-deep);
}
.fit-list b { display: block; font-family: 'Cormorant', serif; font-size: 22px; font-weight: 500; margin-bottom: 3px; }
.fit-list span { font-size: 14.5px; color: var(--umber-2); }

/* ---------- баннер бренда ---------- */
.band-img { border-radius: var(--rad); overflow: hidden; box-shadow: var(--shadow); }
.band-img img { width: 100%; height: auto; }

/* ---------- миссия ---------- */
.mission { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.mission-q {
  font-family: 'Cormorant', serif;
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.28;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  padding-left: 26px;
  border-left: 2px solid var(--sky-2);
}
.mission-body p { color: var(--umber-2); }

/* ---------- SEO-блок ---------- */
.seo { background: var(--cloud); }
.seo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
.seo-grid h3 { font-size: 23px; margin-bottom: 8px; }
.seo-grid p { font-size: 15px; color: var(--umber-2); margin: 0; }

/* ---------- отзывы/рейтинги ---------- */
.says { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.say { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--rad); padding: 24px; }
.say-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.say-top b { font-family: 'Cormorant', serif; font-size: 19px; font-weight: 500; }
.say p { font-size: 14.5px; color: var(--umber-2); margin: 0 0 12px; }
.say a { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.say a:hover { border-color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(160deg, var(--sky-3) 0%, var(--sky) 55%, var(--sky-2) 100%);
  text-align: center;
}
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--umber-2); max-width: 60ch; margin: 0 auto 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- шапка внутренних страниц ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--sky-3) 0%, var(--sky) 100%);
  padding: 54px 0 58px;
  border-bottom: 1px solid var(--line-2);
}
.crumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--umber-2); margin-bottom: 16px; }
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { border-color: var(--umber-2); }
.crumbs .sep { padding: 0 8px; opacity: .5; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--umber-2); max-width: 68ch; margin: 0; }
.page-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--umber-2); }

/* ---------- PDP ---------- */
.pdp { padding: 54px 0 20px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.pdp-media { position: relative; border-radius: var(--rad); overflow: hidden; background: var(--sky-3); border: 1px solid var(--line-2); }
/* ⚠ На странице товара — contain, а не cover: здесь вещь и разглядывают, и обрезать
   у неё низ ради ровной сетки нельзя. Часть снимков очень узкие (w/h 0.29), поля по
   бокам закрывает фон .pdp-media. */
.pdp-media img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.pdp-flag {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(255, 255, 255, .95);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.pdp-cat { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 12px; display: block; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.pdp-rate { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); }
.pdp-intro { font-size: 17px; color: var(--umber-2); margin-bottom: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--umber-2);
  background: var(--white);
}
.buy {
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: var(--cloud);
  padding: 24px;
  margin-bottom: 26px;
}
.buy-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.buy-price { font-family: 'Cormorant', serif; font-size: 40px; font-weight: 600; line-height: 1; }
.buy-stock { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-deep); }
.buy-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; margin-bottom: 26px; }
.glance div { background: var(--white); padding: 15px 12px; text-align: center; }
.glance b { display: block; font-family: 'Cormorant', serif; font-size: 21px; font-weight: 500; line-height: 1.1; }
.glance span { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; }
.feat { position: relative; padding-left: 52px; }
.feat-n {
  position: absolute;
  left: 0; top: 0;
  font-family: 'Cormorant', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--sky-deep);
  line-height: 1;
}
.feat h3 { font-size: 21px; margin: 0 0 6px; }
.feat p { font-size: 14.5px; color: var(--umber-2); margin: 0; }

.speclist { list-style: none; margin: 0; padding: 0; }
.speclist li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; color: var(--umber-2); }
.speclist li:last-child { border-bottom: 0; }
.speclist li::before {
  content: '';
  position: absolute;
  left: 0; top: 21px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky-2);
}

/* ---------- служебные страницы ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose h3 { font-size: 21px; margin-top: 26px; }
.prose p, .prose li { color: var(--umber-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--ink); color: var(--ink); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.info-card { border: 1px solid var(--line); border-radius: var(--rad); padding: 22px; background: var(--white); }
.info-card h3 { font-size: 19px; margin: 0 0 6px; }
.info-card p { font-size: 14px; margin: 0; }
.qa { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.qa h3 { margin-top: 0; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 110px 0 96px; }
.nf-num { font-family: 'Cormorant', serif; font-size: clamp(80px, 14vw, 156px); line-height: 1; color: var(--sky-2); margin: 0 0 8px; }

/* ---------- футер ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: 62px; margin-top: 0; }
.foot-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-foot h3 {
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; font-size: 14.5px; }
.site-foot a:hover { color: var(--white); }
.foot-word {
  font-family: 'Cormorant', serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.foot-about { font-size: 14.5px; margin-bottom: 20px; max-width: 34ch; }
.foot-line { font-size: 13px; margin-bottom: 6px; }
.foot-line b { color: var(--white); font-weight: 500; }
.foot-count { color: rgba(255, 255, 255, .42); font-size: 12px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 30px;
  font-size: 12.5px;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-legal a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.disc { font-size: 12.5px; color: rgba(255, 255, 255, .5); max-width: 74ch; margin: 22px auto 0; padding: 0 26px; }

/* ---------- адаптив ---------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .edit, .colls, .says, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .notes, .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 26px 18px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav a::after { display: none; }
  .burger { display: block; }
  .site-head { position: sticky; }
  .head-in { position: relative; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; padding: 52px 26px 96px; }
  .hero-stack { min-height: 360px; }
  .spot-in, .mission, .fit, .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .seo-grid, .feats { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .edit { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 62px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* .grid-3 тут НЕ трогаем: это текстовые колонки PDP, на 500px они остаются в одну
     (правило из блока 860px). Двухколоночными на телефоне становятся только карточки. */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .colls, .says, .info-grid, .notes, .stats { grid-template-columns: 1fr; }
  /* Четыре плитки в одну колонку давали бесконечную прокрутку из картинок 4:5. */
  .edit { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .rule { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-title { font-size: 17px; }
  .hero-seal { width: 78px; height: 78px; left: 50%; }
  .hero-seal b { font-size: 22px; }
  .wrap { padding: 0 18px; }
  .hero-grid { padding: 44px 18px 84px; }
}
