/* OlarHike — namespace oh-. Палитра снята с лого (сланец на льне) и баннера
   (закатное солнце, зелень долины, дымка дальних гор). */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 500 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/publicsans-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --oh-ink: #26363f;
  --oh-ink-2: #16232a;
  --oh-ink-3: #0e181d;
  --oh-linen: #e2dccf;
  --oh-linen-2: #f0ece3;
  --oh-paper: #fbfaf7;
  --oh-sun: #c8801f;
  --oh-sun-2: #e8a83f;
  --oh-sun-soft: #f6e2bd;
  --oh-valley: #5f8c4e;
  --oh-haze: #6f97a6;
  --oh-line: #d6cfc1;
  --oh-line-2: #e7e1d5;
  --oh-mute: #5e6c73;
  --oh-radius: 4px;
  --oh-wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--oh-paper); color: var(--oh-ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--oh-ink); }
h1, h2, h3, h4 {
  font-family: 'Archivo', 'Public Sans', sans-serif; font-weight: 700;
  line-height: 1.14; letter-spacing: -0.018em; margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1.05em; }
.oh-wrap { width: 100%; max-width: var(--oh-wrap); margin: 0 auto; padding: 0 22px; }
.oh-narrow { max-width: 780px; }

/* eyebrow — маленькая надпись над заголовком, с «горным» штрихом */
.oh-eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .715rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--oh-sun);
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
}
.oh-eyebrow::before {
  content: ''; width: 26px; height: 2px; background: currentColor; flex: none;
}

/* ─────────────── шапка ─────────────── */
.oh-head {
  background: var(--oh-linen); border-bottom: 1px solid var(--oh-line);
  position: sticky; top: 0; z-index: 60;
}
.oh-head-in { display: flex; align-items: center; gap: 26px; height: 66px; }
.oh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.oh-brand svg { width: 26px; height: 26px; flex: none; }
.oh-brand b {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.16rem;
  letter-spacing: .01em; color: var(--oh-ink);
}
.oh-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.oh-nav a {
  text-decoration: none; color: var(--oh-ink); font-size: .9rem; font-weight: 500;
  padding: 8px 11px; border-radius: var(--oh-radius); white-space: nowrap;
}
.oh-nav a:hover { background: rgba(38, 54, 63, .09); }
.oh-nav a.oh-on { box-shadow: inset 0 -2px 0 var(--oh-sun); }
.oh-burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--oh-line);
  border-radius: var(--oh-radius); width: 40px; height: 38px; cursor: pointer; padding: 0;
}
.oh-burger span, .oh-burger span::before, .oh-burger span::after {
  display: block; width: 18px; height: 2px; background: var(--oh-ink); margin: 0 auto; position: relative;
}
.oh-burger span::before { content: ''; position: absolute; top: -6px; }
.oh-burger span::after { content: ''; position: absolute; top: 6px; }

/* ─────────────── герой ─────────────── */
.oh-hero {
  background: var(--oh-ink-2); color: #eef1f0; position: relative; overflow: hidden;
  padding: 62px 0 66px;
}
.oh-topo { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.oh-topo svg { width: 100%; height: 100%; display: block; }
.oh-hero-in { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 46px; align-items: center; }
.oh-hero h1 { color: #fff; }
.oh-hero .oh-eyebrow { color: var(--oh-sun-2); }
.oh-lede { font-size: 1.075rem; color: #c3cdd1; max-width: 46ch; }
.oh-hero-btns { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }

.oh-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .93rem;
  padding: 12px 20px; border-radius: var(--oh-radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .14s, color .14s;
}
.oh-btn-sun { background: var(--oh-sun-2); color: var(--oh-ink-3); }
.oh-btn-sun:hover { background: #f2bb5c; }
.oh-btn-ghost { border-color: rgba(255, 255, 255, .34); color: #fff; }
.oh-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.oh-btn-ink { background: var(--oh-ink); color: #fff; }
.oh-btn-ink:hover { background: var(--oh-ink-2); }
.oh-btn-line { border-color: var(--oh-line); color: var(--oh-ink); background: #fff; }
.oh-btn-line:hover { background: var(--oh-linen-2); }
.oh-btn-wide { width: 100%; justify-content: center; }

/* панель «диапазон в цифрах» */
.oh-glance { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .13); border-radius: 6px; }
.oh-glance-row {
  display: flex; align-items: baseline; gap: 12px; padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.oh-glance-row:last-child { border-bottom: 0; }
.oh-glance-n {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.55rem;
  color: var(--oh-sun-2); min-width: 92px; letter-spacing: -.02em;
}
.oh-glance-t { font-size: .89rem; color: #bcc7cb; }

/* ─────────────── секции ─────────────── */
.oh-sec { padding: 60px 0; }
.oh-sec-linen { background: var(--oh-linen-2); border-top: 1px solid var(--oh-line-2); border-bottom: 1px solid var(--oh-line-2); }
.oh-sec-head { max-width: 640px; margin-bottom: 30px; }
.oh-sec-head p { color: var(--oh-mute); margin: 0; }

/* плитки разделов */
.oh-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.oh-tile {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--oh-line);
  border-radius: 6px; padding: 20px 18px 18px; transition: border-color .14s, transform .14s;
}
.oh-tile:hover { border-color: var(--oh-ink); transform: translateY(-2px); }
.oh-tile-n {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2.1rem;
  color: var(--oh-sun); line-height: 1; letter-spacing: -.03em;
}
.oh-tile-n small { font-size: .82rem; color: var(--oh-mute); font-weight: 600; margin-left: 5px; letter-spacing: 0; }
.oh-tile h3 { margin: 12px 0 5px; font-size: 1.04rem; }
.oh-tile p { margin: 0; font-size: .85rem; color: var(--oh-mute); line-height: 1.5; }

/* фильтр-чипы */
.oh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.oh-chip {
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: .85rem;
  padding: 8px 15px; border: 1px solid var(--oh-line); background: #fff;
  border-radius: 100px; cursor: pointer; color: var(--oh-ink);
}
.oh-chip:hover { border-color: var(--oh-ink); }
.oh-chip[aria-pressed="true"] { background: var(--oh-ink); border-color: var(--oh-ink); color: #fff; }
.oh-chip i { font-style: normal; opacity: .6; margin-left: 5px; }

/* ─────────────── карточки товаров ─────────────── */
.oh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.oh-grid-4 { grid-template-columns: repeat(4, 1fr); }
.oh-card {
  background: #fff; border: 1px solid var(--oh-line); border-radius: 6px;
  display: flex; flex-direction: column; overflow: hidden; transition: border-color .14s, box-shadow .14s;
}
.oh-card:hover { border-color: var(--oh-ink); box-shadow: 0 6px 22px rgba(38, 54, 63, .09); }
/* картинки товаров портретные (962x1200) — картинку делаем абсолютной,
   иначе она тянет карточку в натуральную высоту и ломает сетку */
.oh-card-img { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--oh-line-2); }
.oh-card-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.oh-card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .06em;
  background: var(--oh-ink); color: #fff; padding: 4px 9px; border-radius: 3px; text-transform: uppercase;
}
.oh-card-badge-sun { background: var(--oh-sun); }
.oh-card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.oh-card-cat {
  font-family: 'Archivo', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--oh-mute); margin-bottom: 7px;
}
.oh-card h3 { font-size: 1.01rem; margin: 0 0 8px; }
.oh-card h3 a { text-decoration: none; }
.oh-card h3 a:hover { color: var(--oh-sun); }
.oh-card-short { font-size: .855rem; color: var(--oh-mute); line-height: 1.55; margin: 0 0 12px; }
.oh-card-strip {
  display: flex; gap: 0; border: 1px solid var(--oh-line-2); border-radius: 4px;
  margin: 0 0 13px; overflow: hidden;
}
.oh-card-strip div { flex: 1; padding: 7px 9px; text-align: center; border-right: 1px solid var(--oh-line-2); }
.oh-card-strip div:last-child { border-right: 0; }
.oh-card-strip b { display: block; font-family: 'Archivo', sans-serif; font-size: .92rem; font-weight: 700; }
.oh-card-strip span { display: block; font-size: .655rem; letter-spacing: .07em; text-transform: uppercase; color: var(--oh-mute); }
.oh-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.oh-price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.oh-price s { font-weight: 500; font-size: .82rem; color: var(--oh-mute); margin-left: 6px; }
.oh-stars { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--oh-mute); }
.oh-stars b { color: var(--oh-ink); font-family: 'Archivo', sans-serif; }
.oh-star { color: var(--oh-sun-2); letter-spacing: -1px; }

/* ─────────────── лестница объёмов ─────────────── */
.oh-ladder { display: flex; flex-direction: column; gap: 9px; }
.oh-ladder-row { display: grid; grid-template-columns: 108px 1fr 82px; align-items: center; gap: 14px; }
.oh-ladder-lab { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .87rem; }
.oh-ladder-bar { height: 26px; background: var(--oh-linen); border-radius: 3px; overflow: hidden; }
.oh-ladder-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--oh-haze), var(--oh-valley)); }
.oh-ladder-val { font-size: .82rem; color: var(--oh-mute); text-align: right; }

/* ─────────────── бренд-полоса с фото ─────────────── */
.oh-band { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: center; }
.oh-band-img { border-radius: 6px; overflow: hidden; border: 1px solid var(--oh-line); }
.oh-band h2 { margin-bottom: 14px; }
.oh-band p { color: var(--oh-mute); }
.oh-band p:last-child { margin-bottom: 0; }

/* ─────────────── таблицы ─────────────── */
.oh-tablewrap { overflow-x: auto; border: 1px solid var(--oh-line); border-radius: 6px; background: #fff; }
table.oh-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
.oh-table th, .oh-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--oh-line-2); }
.oh-table th {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--oh-mute); background: var(--oh-linen-2); white-space: nowrap;
}
.oh-table tr:last-child td { border-bottom: 0; }
.oh-table td a { font-weight: 600; }
.oh-table tbody tr:hover td { background: #fcfbf8; }

/* ─────────────── PDP ─────────────── */
.oh-crumbs { font-size: .8rem; color: var(--oh-mute); padding: 16px 0 0; }
.oh-crumbs a { color: var(--oh-mute); text-decoration: none; }
.oh-crumbs a:hover { color: var(--oh-ink); text-decoration: underline; }
.oh-crumbs span { margin: 0 7px; opacity: .5; }

.oh-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 26px 0 10px; align-items: start; }
.oh-pdp-fig {
  position: relative; background: #fff; border: 1px solid var(--oh-line); border-radius: 6px;
  aspect-ratio: 1; overflow: hidden;
}
.oh-pdp-fig img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; }
.oh-pdp h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 12px; }
.oh-pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; }
.oh-pdp-price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2rem; letter-spacing: -.025em; }
.oh-pdp-price s { font-size: .95rem; font-weight: 500; color: var(--oh-mute); margin-left: 9px; }
.oh-save {
  background: var(--oh-sun-soft); color: #7a4d08; font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px;
}
.oh-note {
  font-size: .82rem; color: var(--oh-mute); background: var(--oh-linen-2);
  border-left: 3px solid var(--oh-sun); padding: 9px 13px; border-radius: 0 4px 4px 0; margin: 0 0 16px;
}
.oh-pdp-buy { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 6px; }
.oh-fineprint { font-size: .76rem; color: var(--oh-mute); margin: 0; }

.oh-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.oh-feats li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.oh-feats-n {
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: .78rem; color: var(--oh-sun);
  border: 1.5px solid var(--oh-sun-soft); border-radius: 3px; text-align: center; line-height: 26px; height: 28px;
}
.oh-speclist { list-style: none; padding: 0; margin: 0; }
.oh-speclist li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--oh-line-2); font-size: .9rem; position: relative; }
.oh-speclist li::before { content: ''; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--oh-sun); }
.oh-speclist li:last-child { border-bottom: 0; }

.oh-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.oh-panel { background: #fff; border: 1px solid var(--oh-line); border-radius: 6px; padding: 22px 24px; }
.oh-panel h3 { margin-top: 0; }
.oh-panel-linen { background: var(--oh-linen-2); border-color: var(--oh-line-2); }

/* ─────────────── FAQ ─────────────── */
.oh-faq { border-top: 1px solid var(--oh-line-2); }
.oh-faq-item { border-bottom: 1px solid var(--oh-line-2); padding: 18px 0; }
.oh-faq-item h3 { margin: 0 0 7px; font-size: 1.02rem; }
.oh-faq-item p { margin: 0; color: var(--oh-mute); font-size: .93rem; }

/* ─────────────── помощник по размеру ─────────────── */
.oh-picker { background: #fff; border: 1px solid var(--oh-line); border-radius: 6px; padding: 22px 24px; }
.oh-picker label { display: block; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--oh-mute); margin-bottom: 7px; }
.oh-picker select {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: .95rem; color: var(--oh-ink);
  border: 1px solid var(--oh-line); border-radius: var(--oh-radius); background: #fff; margin-bottom: 16px;
}
.oh-picker-out { border-top: 1px solid var(--oh-line-2); padding-top: 16px; min-height: 78px; }
.oh-picker-out b { display: block; font-family: 'Archivo', sans-serif; font-size: 1.1rem; margin-bottom: 4px; }
.oh-picker-out p { margin: 0 0 10px; font-size: .9rem; color: var(--oh-mute); }

/* ─────────────── подвал ─────────────── */
.oh-foot { background: var(--oh-ink-2); color: #b6c1c6; padding: 46px 0 26px; margin-top: 10px; font-size: .875rem; }
.oh-foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.oh-foot h4 {
  color: #fff; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 13px;
}
.oh-foot a { color: #b6c1c6; text-decoration: none; }
.oh-foot a:hover { color: #fff; text-decoration: underline; }
.oh-foot ul { list-style: none; padding: 0; margin: 0; }
.oh-foot li { margin-bottom: 7px; }
.oh-foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.oh-foot-brand svg { width: 24px; height: 24px; }
.oh-foot-brand b { color: #fff; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.08rem; }
.oh-foot-n { color: #7b8b92; font-size: .78rem; margin-left: 5px; }
.oh-foot-bot {
  border-top: 1px solid rgba(255, 255, 255, .11); margin-top: 32px; padding-top: 18px;
  font-size: .78rem; color: #8b989e;
}
.oh-foot-bot p { margin: 0 0 7px; }

/* ─────────────── статические страницы ─────────────── */
.oh-prose h2 { margin-top: 1.9em; }
.oh-prose h3 { margin-top: 1.5em; }
.oh-prose ul { padding-left: 20px; color: var(--oh-mute); }
.oh-prose li { margin-bottom: 7px; }
.oh-page-head { background: var(--oh-linen-2); border-bottom: 1px solid var(--oh-line-2); padding: 34px 0 30px; }
.oh-page-head h1 { margin-bottom: 10px; }
.oh-page-head p { color: var(--oh-mute); margin: 0; max-width: 62ch; }

.oh-404 { text-align: center; padding: 90px 0; }
.oh-404 .oh-glance-n { font-size: 4.5rem; min-width: 0; }

/* ─────────────── адаптив ─────────────── */
@media (max-width: 1040px) {
  .oh-grid, .oh-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .oh-tiles { grid-template-columns: repeat(2, 1fr); }
  .oh-band { grid-template-columns: 1fr; gap: 26px; }
  .oh-foot-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 900px) {
  .oh-burger { display: block; }
  .oh-nav {
    display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--oh-linen); border-bottom: 1px solid var(--oh-line);
    padding: 8px 22px 16px;
  }
  body.oh-nav-open .oh-nav { display: flex; }
  .oh-nav a { padding: 11px 4px; border-bottom: 1px solid var(--oh-line); }
  .oh-hero-in { grid-template-columns: 1fr; gap: 30px; }
  .oh-pdp, .oh-cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .oh-grid, .oh-grid-4, .oh-tiles { grid-template-columns: 1fr; }
  .oh-sec { padding: 42px 0; }
  .oh-hero { padding: 44px 0 48px; }
  .oh-ladder-row { grid-template-columns: 88px 1fr 62px; gap: 9px; }
  .oh-foot-cols { grid-template-columns: 1fr; }
}
