@import url('/fonts/fonts.css');
/* SEPRO — стили сайта. Цвета взяты из логотипа. */
:root {
  --green: #032e1a;
  --green-2: #0a4a2c;
  --emerald: #0e6b4a;
  --sage: #e8efe9;
  --sage-2: #d3e0d6;
  --paper: #ffffff;
  --ink: #15201a;
  --muted: #5b6b61;
  --line: #d9e0db;
  --radius: 6px;
  --font-head: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
  --max: 1160px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 56px 0; }
@media (min-width: 760px) { .section { padding: 88px 0; } }
.section--sage { background: var(--sage); }
.section--green { background: var(--green); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green a { color: #fff; }
.section--green p { color: rgba(255,255,255,.88); }
.lead { font-size: 1.15rem; max-width: 60ch; }
:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }

/* Шапка */
.top { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top__logo img { height: 40px; width: auto; }
.top__nav { display: none; gap: 26px; }
.top__nav a { color: #fff; text-decoration: none; font-size: .98rem; opacity: .9; padding: 6px 0; border-bottom: 2px solid transparent; }
.top__nav a:hover, .top__nav a[aria-current="page"] { opacity: 1; border-bottom-color: #fff; }
.top__burger { background: none; border: 1px solid rgba(255,255,255,.45); color: #fff; border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .95rem; }
@media (min-width: 900px) { .top__nav { display: flex; } .top__burger { display: none; } }
.menu { display: none; background: var(--green-2); color: #fff; }
.menu.is-open { display: block; }
.menu a { display: block; color: #fff; text-decoration: none; padding: 14px var(--gutter); border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .menu { display: none !important; } }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid var(--green);
  background: var(--green); color: #fff; text-decoration: none; font: inherit; font-weight: 500; cursor: pointer;
  line-height: 1.2; min-height: 48px;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.btn--light { background: #fff; color: var(--green); border-color: #fff; }
.btn--light:hover { background: var(--sage); border-color: var(--sage); color: var(--green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--sage); color: var(--green); }
.section--green .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.section--green .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { padding: 9px 14px; min-height: 40px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Первый экран главной */
.hero { display: grid; background: var(--green); color: #fff; }
.hero__photo { aspect-ratio: 4 / 5; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__text { padding: 40px var(--gutter) 48px; display: flex; flex-direction: column; justify-content: center; }
.hero__text h1 { color: #fff; }
.hero__text p { color: rgba(255,255,255,.88); max-width: 46ch; }
.hero__note { font-size: .95rem; margin-top: 18px; color: rgba(255,255,255,.7); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - 64px), 860px); }
  .hero__photo { aspect-ratio: auto; order: 2; }
  .hero__text { order: 1; padding: 64px calc((100vw - var(--max)) / 2 + var(--gutter)) 64px; padding-right: 56px; }
}
@media (min-width: 900px) and (max-width: 1224px) { .hero__text { padding-left: var(--gutter); } }

/* Две двери для бизнеса */
.doors { display: grid; gap: 16px; }
@media (min-width: 760px) { .doors { grid-template-columns: 1fr 1fr; gap: 24px; } }
.door { display: block; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.door:hover { border-color: var(--green); color: var(--ink); }
.door h3 { margin-bottom: 6px; }
.door p { margin: 0 0 12px; color: var(--muted); }
.door span { color: var(--emerald); font-weight: 500; }

/* Почему SEPRO */
.facts { display: grid; gap: 28px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.fact { border-top: 2px solid var(--green); padding-top: 16px; }
.fact strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Плитки моделей */
.grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }
.tile { text-decoration: none; color: var(--ink); display: block; }
.tile__photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sage); }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .tile__photo img { transform: scale(1.03); }
.tile h3 { font-size: 1.02rem; margin: 12px 0 2px; }
.tile .price { font-weight: 600; }
.tile .sizes { color: var(--muted); font-size: .9rem; }

/* Основательница */
.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 2fr 3fr; gap: 56px; } }
.founder__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--sage-2); display: flex; align-items: flex-end; padding: 20px; color: var(--muted); overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Контакты */
.contacts { display: grid; gap: 12px; }
@media (min-width: 760px) { .contacts { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.contact { border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.contact b { font-weight: 500; font-size: .9rem; opacity: .75; }
.contact a.big { color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.15rem; word-break: break-all; }
.contact a.big:hover { text-decoration: underline; }
.copy { align-self: flex-start; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 4px; padding: 5px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,.12); }

/* Подвал */
.foot { background: #f5f7f5; border-top: 1px solid var(--line); padding: 32px 0; font-size: .92rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
.foot a { color: var(--muted); }
.foot p { margin: 0 0 .4em; }

/* Страница каталога и карточка модели */
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.product { display: grid; gap: 28px; }
@media (min-width: 900px) { .product { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } }
.gallery__main { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sage); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: var(--sage); cursor: pointer; aspect-ratio: 3 / 4; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button.is-active { border-color: var(--green); }
.buy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.buy .price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; margin: 4px 0 20px; }
.opt-label { display: block; font-size: .92rem; color: var(--muted); margin: 18px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 4px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; min-width: 46px; }
.chip:hover { border-color: var(--green); }
.chip.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.chip--color { display: inline-flex; align-items: center; gap: 8px; }
.chip--color i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.buy .btns { margin-top: 22px; }
.buy .hint { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.spec { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.spec li span:first-child { color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; background: var(--sage); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Блок «по меркам» и прочие подложки */
.panel { background: var(--sage); border-radius: var(--radius); padding: 28px; }
@media (min-width: 760px) { .panel { padding: 40px; } }
.panel h2 { margin-top: 0; }

/* Шаги (пошив) */
.steps { counter-reset: step; display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { border-top: 2px solid var(--green); padding-top: 14px; }
.steps li::before { counter-increment: step; content: counter(step); display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; margin-bottom: 6px; color: var(--green); }
.steps b { display: block; margin-bottom: 4px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Две колонки текста */
.cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.cols h3 { margin-top: 0; }
ul.plain { padding-left: 1.2em; margin: 0 0 1em; }
ul.plain li { margin-bottom: .4em; }

/* Плашка о cookie — показывается, только когда подключён счётчик */
.cookie { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.12); font-size: .92rem; max-width: 560px; margin: 0 auto; }
.cookie.is-visible { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cookie p { margin: 0; flex: 1 1 260px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--green); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; z-index: 40; }

/* Стопка карточек: перекидываются пальцем или мышью */
.deck { max-width: 420px; margin: 8px auto 0; }
.deck__stage { position: relative; height: 560px; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.deck__stage:focus-visible { outline: 3px solid #f2c94c; outline-offset: 6px; border-radius: var(--radius); }
.deck-card {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: #fff; color: var(--ink);
  text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(3,46,26,.14);
  transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s ease; will-change: transform; cursor: grab;
}
.deck-card.is-dragging { transition: none; cursor: grabbing; }
.deck-card.is-out { pointer-events: none; }
.deck-card img { flex: 1 1 auto; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck-card__text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; background: #fff; }
.deck-card__text b { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.deck-card__text span { color: var(--muted); font-size: .92rem; }
.deck-card--text { padding: 28px 26px 32px; justify-content: flex-start; gap: 10px; background: #fff; }
.deck-card--text h3 { margin: 0; font-size: 1.35rem; color: var(--green); }
.deck-card--text p { margin: 0; max-width: none; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.deck--text .deck__stage { height: 320px; }
.deck--text .deck-card { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.deck__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.deck__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--green); font: inherit; font-size: 1.2rem; cursor: pointer; }
.deck__btn:hover { border-color: var(--green); }
.section--green .deck__btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.section--green .deck__btn:hover { background: rgba(255,255,255,.12); }
.deck__count { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 4.5em; text-align: center; }
.section--green .deck__count { color: rgba(255,255,255,.8); }
.deck__hint { text-align: center; color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
/* без поддержки указателя — обычная сетка */
.deck--grid .deck__stage { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.deck--grid .deck-card { position: relative; inset: auto; transform: none !important; opacity: 1 !important; }
.deck--grid .deck-card img { aspect-ratio: 3 / 4; height: auto; }
.deck--grid .deck__ctrl, .deck--grid .deck__hint { display: none; }

/* Мягкое появление при прокрутке */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .deck-card { transition: none; } }

/* Видео на первом экране */
.hero__photo video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; background: var(--green-2); }

/* Лукбук на главной */
.look { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .look { grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; } .look__cell--big { grid-row: span 2; } }
@media (max-width: 899px) { .look__cell--big { grid-column: span 2; } }
.look__cell { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--sage); }
.look__cell img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .6s ease; }
@media (min-width: 900px) { .look__cell--big img { aspect-ratio: auto; height: 100%; } }
.look__cell:hover img { transform: scale(1.03); }
.look__cell:hover { color: #fff; }
.look__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.look__cap b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.look__cap span { font-size: .88rem; opacity: .92; }
.look__cell--big .look__cap { padding: 24px; }
.look__cell--big .look__cap b { font-size: 1.5rem; }

/* Манифест */
.manifesto { margin-bottom: 40px; }
.manifesto p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 5vw, 3.4rem); line-height: 1.15; margin: 0; color: var(--green); max-width: none; }

/* Как носить */
.looks { display: grid; gap: 16px; }
@media (min-width: 760px) { .looks { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.looks__item { text-decoration: none; color: var(--ink); display: block; }
.looks__item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--sage); }
.looks__item b { display: block; font-family: var(--font-head); font-weight: 600; margin: 12px 0 4px; }
.looks__item span { color: var(--muted); font-size: .95rem; }

/* Витрина каталога: фото листаются в карточке, кружки, плашки, переключатели */
.tile__photo { position: relative; touch-action: pan-y; }
.tile__photo img { position: absolute; inset: 0; }
.tile__img { opacity: 0; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s ease; will-change: transform; border-radius: var(--radius); }
.tile__img.is-cur { opacity: 1; z-index: 2; }
.tile__img.is-dragging { transition: none; }
.tile__img.is-out { pointer-events: none; }
.tile__photo { cursor: grab; }
.tile__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 35; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--green); font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.tile__arrow--prev { left: 8px; } .tile__arrow--next { right: 8px; }
.tile:hover .tile__arrow, .tile__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .tile__arrow { opacity: .85; width: 32px; height: 32px; } }
.tile__dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 35; display: flex; justify-content: center; gap: 4px; }
.tile__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); display: block; }
.tile__dots i.is-cur { background: #fff; width: 14px; border-radius: 3px; }
.tile__tag { position: absolute; top: 10px; left: 10px; z-index: 35; background: #fff; color: var(--green); font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.dots { display: flex; gap: 5px; margin: 4px 0 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.tile .price .sizes { font-weight: 400; }
@media (min-width: 900px) { .grid--shop { grid-template-columns: repeat(4, 1fr); } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .95rem; cursor: pointer; color: var(--ink); }
.filters button:hover { border-color: var(--green); }
.filters button.is-on { background: var(--green); color: #fff; border-color: var(--green); }
.tile[hidden] { display: none; }

/* Подсказка «листайте» для стопок и карточек каталога: плашка с рукой, исчезает после первого листания */
.swipe-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 36; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--green); font-size: .9rem; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.18); pointer-events: none; transition: opacity .3s; }
.swipe-hint svg { width: 22px; height: 22px; animation: hint-hand 1.6s ease-in-out infinite; }
.swipe-hint.is-gone { opacity: 0; }
.deck--text .swipe-hint { bottom: 18px; }
@keyframes hint-hand { 0%, 100% { transform: translateX(-7px) rotate(-8deg); } 50% { transform: translateX(7px) rotate(8deg); } }
/* верхняя карточка один раз «выглядывает» в сторону, когда стопка появляется на экране */
@keyframes peek { 0% { transform: translate(0,0) rotate(0deg); } 35% { transform: translate(22px, 4px) rotate(3deg); } 70% { transform: translate(-10px, 2px) rotate(-1.5deg); } 100% { transform: translate(0,0) rotate(0deg); } }
.is-peeking { animation: peek 1.1s cubic-bezier(.4,0,.2,1) 1; }
@media (prefers-reduced-motion: reduce) { .swipe-hint svg { animation: none; } .is-peeking { animation: none; } }
.tile__photo .swipe-hint { font-size: .78rem; padding: 6px 10px; gap: 6px; bottom: 22px; }
.tile__photo .swipe-hint svg { width: 17px; height: 17px; }

/* Оптовый вид карточки модели (?opt=1): вместо розничной цены и кнопок — таблица опта */
.opt-box { display: none; }
html.is-opt .opt-box { display: block; margin-top: 8px; }
html.is-opt .buy > .price, html.is-opt .buy > .btns, html.is-opt .buy > .hint:not(.opt-box .hint), html.is-opt .buy .opt-label.sizes-label, html.is-opt .buy .chips--size { display: none; }
html.is-opt .opt-box .hint { display: block; }
html.is-opt .spec li.spec--retail { display: none; }
.product > * { min-width: 0; }
.opt-box .table th, .opt-box .table td { white-space: normal; font-size: .9rem; padding: 8px 6px; }
html.is-opt .cols > div:last-child { display: none; }

/* Размерная сетка со схемой мерок */
.sizes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.sizes-grid > * { min-width: 0; }
@media (min-width: 760px) { .sizes-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; } }
.scheme { background: var(--sage); border-radius: var(--radius); padding: 12px; }
.scheme svg { width: 100%; height: auto; display: block; }
.table .letter { display: inline-block; min-width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--emerald); color: var(--green); font-family: var(--font-head); font-size: .75rem; text-align: center; margin-right: 4px; }
.table td:first-child, .table th:first-child { white-space: nowrap; }
.sizes-grid .table th, .sizes-grid .table td { white-space: normal; }

/* Отзывы с фото */
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.review { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.review img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.review figcaption { padding: 12px 14px 16px; }
.review p { font-size: .95rem; margin: 0 0 8px; }
.review b { font-weight: 500; color: var(--muted); font-size: .88rem; }

/* Галерея карточки: фото стопкой, листаются свайпом; миниатюры — для выбора */
.gallery__main { position: relative; touch-action: pan-y; cursor: grab; }
.gallery__main img { position: absolute; inset: 0; }
.gallery__main .tile__dots i { width: 8px; height: 8px; }

/* Наши работы */
.works { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .works { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.work { margin: 0; }
.work img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--sage); }
.work figcaption { font-size: .92rem; color: var(--muted); margin-top: 6px; }
