/* Шрифты оригинала (Söhne, Söhne Breit, Tiempos Headline) — коммерческие и без кириллицы.
   Замены: Inter ← Söhne, Unbounded ← Söhne Breit, Source Serif 4 ← Tiempos Headline. */
:root {
  --sans: "Inter", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wide: "Unbounded", "Inter", sans-serif;
  --grey: #f0f0f0;
  --line: #d8d8d8;
  --beige: #dfdcd0;
  --gap: 10px;
  --side: max(20px, calc((100% - 1135px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: #000; background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { padding-inline: var(--side); }

/* Типографика */
.display { font-family: var(--wide); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 8.6vw, 112px); line-height: .9; letter-spacing: -.01em; }
.serif { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 3.9vw, 56px); line-height: 1; letter-spacing: -.01em; }
.lead { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.5vw, 36px); line-height: 1; }
.body { font-size: 20px; line-height: 24px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; width: 300px; max-width: 100%; height: 40px; padding: 11px 20px; border-radius: 30px; background: #000; color: #fff; font-size: 16px; line-height: 16px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.btn:hover { background: #fff; color: #000; border-color: #000; }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.tag { font-style: normal; font-size: 12px; font-weight: 400; line-height: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 30px; background: var(--grey); white-space: nowrap; }
.pill--dark { background: #222; color: #fff; }

/* Шапка */
.hdr { position: fixed; z-index: 50; top: 10px; left: 10px; right: 10px; transition: transform .35s ease; }
.hdr.is-hidden { transform: translateY(calc(-100% - 20px)); }
.hdr__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; height: 60px; padding-inline: max(20px, calc(var(--side) - 10px)); background: #fff; border-radius: 10px; }
.hdr__logo { margin-right: auto; }
.hdr__logo img { width: 186px; height: auto; }
.hdr__nav { display: flex; gap: 6px; margin-right: 16px; }
.hdr__link { font-size: 16px; font-weight: 300; padding: 8px 10px; transition: color .2s; }
.hdr__nav:has(.hdr__link[aria-expanded="true"]) .hdr__link:not([aria-expanded="true"]) { color: #aaa; }
.hdr__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grey); }
.hdr__burger { display: none; width: 24px; height: 24px; flex-direction: column; justify-content: center; gap: 4px; }
.hdr__burger span { display: block; height: 1.5px; background: #000; transition: transform .25s, opacity .25s; }

.mega { position: absolute; z-index: 1; top: 66px; left: 0; right: 0; max-height: calc(100vh - 86px); overflow: auto; background: #fff; border-radius: 10px; padding: 40px max(30px, calc(var(--side) - 10px)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; display: grid; grid-template-columns: 5fr 7fr; column-gap: 30px; }
.hdr.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__panel { display: none; grid-column: 1 / -1; grid-row: 1; grid-template-columns: subgrid; }
.mega__panel.is-on { display: grid; }
.mega__list { display: flex; flex-direction: column; align-items: flex-start; }
.mega__list a { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; display: flex; align-items: center; gap: 12px; transition: opacity .2s; }
.mega__list:hover a { opacity: .45; }
.mega__list a:hover { opacity: 1; }
.mega__promos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.mega__promos a { font-size: 14px; line-height: 1.3; }
.mega__promos img { aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.mega__promos b { display: block; font-weight: 500; margin-bottom: 8px; }
.mega__promos span { display: block; max-width: 22em; }
.mega__support { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; margin-top: 30px; font-size: 18px; line-height: 1.35; font-weight: 400; }
.mega__support a:hover { text-decoration: underline; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.is-on { opacity: 1; visibility: visible; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 640px; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%); }
.hero__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 260px; padding-bottom: 60px; }
.hero .lead { max-width: 640px; margin-bottom: 30px; }
.hero--evo { margin-bottom: 150px; }
.hero--evo .hero__inner { padding-top: 100px; }
.hero--evo::after { background: none; }

/* Продукты */
.products { margin: 150px 0; }
.products__title { max-width: 753px; margin-bottom: 30px; }
.products .btn { margin-bottom: 70px; }
.track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; margin-right: calc(-1 * var(--side)); padding-right: var(--side); }
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.track.is-drag * { pointer-events: none; }
.card { flex: 0 0 min(467px, 85vw); aspect-ratio: 1; background: var(--grey); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; scroll-snap-align: start; user-select: none; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card__name { font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 8px; }
.card__sub { font-size: 12px; line-height: 16px; max-width: 200px; }
.card__img { flex: 1; min-height: 0; width: 100%; object-fit: contain; -webkit-user-drag: none; }
.card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.price { font-size: 14px; }
.price small { color: #777; font-size: 12px; }
.swatches { display: flex; gap: 4px; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; display: grid; place-items: center; }
.swatches button::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatches button[aria-pressed="true"] { border-color: #000; }
.progress { position: relative; height: 1px; background: var(--line); margin-top: 40px; }
.progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 30%; background: #000; transition: left .1s; }

/* Фичи */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; margin-bottom: 150px; }
.feature__img { grid-column: 1 / 9; aspect-ratio: 16/9; width: 100%; object-fit: cover; border-radius: 10px; }
.feature__text { grid-column: 10 / 13; }
.feature--rev .feature__img { grid-column: 5 / 13; grid-row: 1; }
.feature--rev .feature__text { grid-column: 1 / 4; grid-row: 1; }
.feature__text .body { margin: 30px 0; }

/* О компании */
.about { background: var(--beige); padding: 100px 0; }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.about__big { grid-column: 1 / 8; width: 100%; aspect-ratio: 7/8; object-fit: cover; border-radius: 10px; filter: grayscale(1); }
.about__side { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.about__small { aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; width: 100%; filter: grayscale(1); }
.about .body { margin: 30px 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-bottom: 250px; }
.pillars__title { grid-column: 1 / 4; grid-row: 1 / 3; }
.pillar { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--gap); margin-bottom: 10px; }
.pillar:first-of-type { grid-row: 1; }
.pillar img { grid-column: 1 / 5; aspect-ratio: 3/2; width: 100%; object-fit: cover; border-radius: 10px; }
.pillar > div { grid-column: 6 / 9; }
.pillar h3 { font-size: 24px; line-height: 24px; font-weight: 500; margin-bottom: 30px; }

/* StreamMagic */
.sm { position: relative; background: #000; color: #fff; min-height: 1280px; margin-bottom: 150px; overflow: hidden; }
.sm__img { position: absolute; top: 0; right: 0; width: 50%; height: 100%; object-fit: cover; }
.sm__inner { position: relative; display: flex; flex-direction: column; min-height: 1280px; padding-top: 100px; padding-bottom: 100px; }
.sm__logo { width: 100px; height: 100px; }
.sm__title { margin-top: auto; margin-bottom: 80px; }
.sm__cta { max-width: 470px; margin-bottom: auto; }
.sm__cta .lead { margin-bottom: 30px; }

/* Цитаты */
.quotes { background: #000; color: #fff; padding: 150px 0; overflow: hidden; }
.quotes__ctl { display: flex; align-items: center; gap: 20px; font-size: 12px; margin-bottom: 50px; }
.arrows { display: inline-flex; border: 1px solid #fff; border-radius: 30px; padding: 4px 8px; gap: 6px; }
.arrows button { display: grid; place-items: center; width: 22px; height: 22px; }
.arrows svg { width: 14px; height: 14px; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; opacity: 0; transform: translateX(40px); transition: opacity .5s, transform .5s; pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote h2 { grid-column: 1 / 8; color: #b9b9b9; }
.quote img { grid-column: 11 / 13; max-width: 172px; justify-self: end; }
.progress--dark { background: #444; margin-top: 70px; }
.progress--dark span { background: #fff; width: 50%; transition: left .5s; }

/* UGC */
.ugc { margin: 150px 0; }
.ugc__box { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); background: var(--grey); border-radius: 10px; padding: 30px 35px; }
.ugc__text { grid-column: 1 / 4; font-size: 16px; line-height: 1.35; }
.ugc__text h3 { font-size: 24px; font-weight: 500; margin-bottom: 30px; }
.ugc__grid { grid-column: 5 / 13; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.ugc__grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.ugc__main { grid-row: 1 / 3; }

/* Истории */
.stories { margin-bottom: 150px; }
.stories > h2 { margin-bottom: 70px; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.story { background: var(--grey); border-radius: 10px; overflow: hidden; }
.story img { aspect-ratio: 3/2; width: 100%; object-fit: cover; transition: transform .5s; }
.story:hover img { transform: scale(1.03); }
.story > div { padding: 30px; }
.story h3 { font-size: 24px; line-height: 1.15; font-weight: 500; margin-bottom: 20px; }
.kicker { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }

/* Подвал */
.ftr { background: #000; color: #fff; padding: 80px 0 40px; }
.ftr__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ftr__brand { grid-column: 1 / 6; font-size: 14px; line-height: 1.5; color: #bbb; }
.ftr__brand img { filter: invert(1); margin-bottom: 24px; }
.ftr__brand p { max-width: 340px; }
.field { display: flex; margin: 24px 0; border-bottom: 1px solid #777; }
.field input { flex: 1; background: none; border: 0; color: #fff; font: inherit; padding: 12px 0; outline: none; }
.field input::placeholder { color: #999; }
.field button { width: 40px; }
.check { display: flex; gap: 10px; font-size: 12px; line-height: 1.4; color: #ccc; max-width: 420px; }
.check input { accent-color: #fff; margin: 2px 0 0; }
.ftr__msg { margin-top: 16px; font-size: 14px; }
.ftr__nav { grid-column: 7 / 13; }
.ftr__nav details { border-bottom: 1px solid #333; }
.ftr__nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 16px; cursor: pointer; }
.ftr__nav summary::-webkit-details-marker { display: none; }
.ftr__nav summary svg { width: 14px; height: 14px; transition: transform .25s; }
.ftr__nav details[open] summary svg { transform: rotate(45deg); }
.ftr__nav details a { display: block; font-size: 14px; color: #bbb; padding: 4px 0; }
.ftr__nav details a:last-child { padding-bottom: 16px; }
.ftr__nav a:hover { color: #fff; }
.ftr__social { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 12px; margin-top: 60px; }
.ftr__social .pill { margin-left: auto; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: #bbb; margin-top: 50px; }

/* Планшет и телефон */
@media (max-width: 991px) {
  .hdr__nav, .hdr > .hdr__bar > .pill { display: none; }
  .hdr__burger { display: flex; }
  .hdr__logo { margin: 0 auto; }
  .hdr__logo img { width: 140px; }
  .hdr__bar { padding-inline: 16px; }
  .hdr.is-open .hdr__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .hdr.is-open .hdr__burger span:nth-child(2) { opacity: 0; }
  .hdr.is-open .hdr__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .mega { display: block; padding: 24px 20px; height: calc(100vh - 86px); }
  .mega__panel { display: block !important; margin-bottom: 8px; }
  .mega__panel::before { content: attr(data-title); display: block; font-family: var(--serif); font-size: 32px; padding: 6px 0; cursor: pointer; }
  .mega__panel .mega__list, .mega__panel .mega__promos { display: none; }
  .mega__panel.is-on .mega__list { display: flex; padding: 6px 0 16px 16px; }
  .mega__list a { font-size: 22px; }
  .mega__list:hover a { opacity: 1; }
  .mega__support { margin-top: 24px; }

  .hero__inner { padding-top: 160px; padding-bottom: 40px; }
  .products { margin: 70px 0; }
  .products .btn { margin-bottom: 40px; }
  .feature, .about__grid, .pillars, .quote, .ugc__box, .ftr__grid { grid-template-columns: 1fr; }
  .feature > *, .feature--rev > *, .about__grid > *, .pillars > *, .pillar > *, .quote > *, .ugc__box > *, .ftr__grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .feature { margin-bottom: 70px; row-gap: 30px; }
  .feature--rev .feature__img { order: -1; }
  .about { padding: 50px 0; }
  .about__side { gap: 30px; }
  .pillars { margin-bottom: 150px; }
  .pillars__title { margin-bottom: 30px; }
  .pillar { grid-template-columns: 1fr; margin-bottom: 40px; }
  .pillar h3 { margin: 20px 0 16px; }
  .sm, .sm__inner { min-height: 0; }
  .sm__img { position: static; width: 100%; height: auto; aspect-ratio: 1; }
  .sm__inner { padding-top: 50px; padding-bottom: 50px; }
  .sm__logo { width: 60px; height: 60px; }
  .sm .sm__logo { position: absolute; top: calc(-100vw + 20px); }
  .sm__title { margin: 0 0 30px; font-size: clamp(28px, 8.6vw, 80px); }
  .quotes { padding: 70px 0; }
  .quote img { justify-self: start; margin-top: 30px; }
  .ugc { margin: 70px 0; }
  .ugc__box { padding: 20px; row-gap: 20px; }
  .stories__grid { grid-template-columns: 1fr; }
  .stories > h2 { margin-bottom: 30px; }
  .ftr { padding-top: 50px; }
  .ftr__nav { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ===== Магазин и внутренние страницы ===== */
.inner main { padding-top: 110px; min-height: 70vh; }
.hdr__cart { position: relative; }
.hdr__cart b { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #000; color: #fff; font-size: 10px; font-weight: 500; line-height: 16px; text-align: center; }
.u { text-decoration: underline; text-underline-offset: 3px; }
.btn--sm { width: auto; height: 32px; padding: 8px 14px; font-size: 13px; }
.btn--wide { width: 100%; }
.toast { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 40px); padding: 12px 14px; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.18); font-size: 14px; transform: translateY(20px); opacity: 0; visibility: hidden; transition: .3s; }
.toast.is-on { transform: none; opacity: 1; visibility: visible; }
.toast img { width: 56px; height: 56px; object-fit: contain; background: var(--grey); border-radius: 6px; }

.card { position: relative; }
.card__link { position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.card .swatches { position: relative; z-index: 2; }
.card:hover .card__img { transform: scale(1.03); }
.card__img { transition: transform .4s; }

.page-head { padding-bottom: 40px; }
.page-head .serif { margin: 20px 0 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #777; }
.crumbs > * + *::before { content: "/"; margin-right: 8px; color: #bbb; }
.crumbs a:hover { color: #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line); font-size: 14px; transition: .2s; }
.chip:hover { border-color: #000; }
.chip[aria-current="true"] { background: #000; color: #fff; border-color: #000; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 44px; border-radius: 30px; background: var(--grey); }
.search input { flex: 1; border: 0; background: none; font: inherit; font-size: 15px; outline: none; }
.toolbar__count { font-size: 14px; color: #777; }
.select select { height: 44px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 150px; }
.grid .card { flex: none; width: auto; }
.empty { grid-column: 1 / -1; padding: 40px 0; }

.pdp { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: 100px; }
.pdp__gallery { grid-column: 1 / 8; }
.pdp__main { aspect-ratio: 4/3; background: var(--grey); border-radius: 10px; display: grid; place-items: center; padding: 40px; }
.pdp__main img { max-height: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pdp__thumbs button { width: 84px; height: 84px; padding: 8px; border-radius: 8px; background: var(--grey); border: 1px solid transparent; }
.pdp__thumbs button[aria-pressed="true"] { border-color: #000; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__info { grid-column: 9 / 13; align-self: start; position: sticky; top: 100px; }
.pdp__info .serif { margin: 14px 0 10px; }
.pdp__sub { font-size: 18px; line-height: 1.35; margin-bottom: 30px; }
.pdp__price { font-family: var(--serif); font-size: 36px; }
.pdp__price small { font-family: var(--sans); font-size: 14px; color: #777; }
.pdp__note { font-size: 12px; color: #777; margin: 8px 0 30px; }
.pdp__row { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.label { font-size: 14px; }
.label b { font-weight: 500; }
.swatches--lg button { width: 34px; height: 34px; }
.swatches--lg button::before { width: 24px; height: 24px; }
.pdp__buy { display: flex; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); }
.pdp__buy .btn { height: 44px; }
.qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line); border-radius: 30px; flex: none; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; }
.qty input { width: 32px; border: 0; text-align: center; font: inherit; font-size: 15px; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 2; }
.perks li::before { content: "✓"; margin-right: 10px; }
.pdp-about { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 80px 0; border-top: 1px solid var(--line); margin-inline: var(--side); padding-inline: 0; }
.pdp-about > h2 { grid-column: 1 / 5; }
.pdp-about > div { grid-column: 6 / 12; }
.pdp-about h3, .prose h2 { font-size: 24px; font-weight: 500; margin: 40px 0 20px; }
.feats { margin: 0 0 20px; padding: 0; list-style: none; font-size: 18px; line-height: 1.4; }
.feats li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.related > h2 { margin-bottom: 40px; }

.cart { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: 150px; align-items: start; }
.cart__list { grid-column: 1 / 9; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 110px 1fr auto 130px 32px; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 1; background: var(--grey); border-radius: 8px; padding: 10px; }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #666; }
.line__name { font-family: var(--serif); font-size: 26px; color: #000; }
.line__price { font-weight: 400; text-align: right; }
.line__del { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.line__del:hover { background: var(--grey); }
.summary { grid-column: 9 / 13; background: var(--grey); border-radius: 10px; padding: 30px; position: sticky; top: 100px; font-size: 15px; }
.summary h2 { font-size: 24px; font-weight: 500; margin-bottom: 20px; }
.summary p, .summary li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.summary b { font-weight: 400; text-align: right; }
.summary__items { list-style: none; padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px !important; font-size: 20px; }
.summary__total b { font-weight: 500; }
.summary__note { display: block !important; font-size: 12px; color: #666; }
.summary .btn { margin-top: 20px; height: 48px; }

.checkout { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-bottom: 150px; align-items: start; }
.checkout__form { grid-column: 1 / 8; }
.checkout .summary { grid-column: 9 / 13; }
fieldset { border: 0; padding: 0; margin: 0 0 40px; }
legend { font-size: 24px; font-weight: 500; margin-bottom: 20px; }
.f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 13px; color: #666; }
.f input, .f select, .f textarea { height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 16px; color: #000; background: #fff; }
.f textarea { height: auto; padding: 12px 16px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: #000; }
.f [aria-invalid="true"] { border-color: #c0392b; }
.f[hidden] { display: none; }
.radios { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.radios label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; cursor: pointer; }
.radios label:has(input:checked) { border-color: #000; }
.radios b { font-weight: 500; }
.radios input { accent-color: #000; margin-top: 3px; }
.check--light { color: #333; font-size: 13px; max-width: none; margin-top: 10px; }
.check--light input { accent-color: #000; }
.form-err { color: #c0392b; margin-top: 16px; font-size: 14px; }
.form-ok { margin-top: 16px; font-size: 15px; }
.done .btn { margin-top: 20px; }

.prose { max-width: 820px; margin-bottom: 150px; }
.prose--wide { max-width: none; }
.prose .body { margin-bottom: 20px; }
.prose > .btn, .row-btns { margin-top: 20px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.page-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin: 10px 0 40px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 40px; }
.tiles a { display: flex; flex-direction: column; gap: 10px; padding: 30px; background: var(--grey); border-radius: 10px; font-size: 14px; color: #555; min-height: 160px; transition: background .2s; }
.tiles a:hover { background: #e6e6e6; }
.tiles b { font-size: 22px; font-weight: 500; color: #000; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 20px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; flex: none; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding-bottom: 22px; font-size: 17px; line-height: 1.5; color: #444; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; font-size: 17px; line-height: 1.5; }
.contacts h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #777; margin-bottom: 8px; }
.regform { max-width: 520px; margin-top: 30px; }

@media (max-width: 991px) {
  .inner main { padding-top: 90px; }
  .hdr__region { display: none; }
  .grid, .stories__grid, .tiles { grid-template-columns: 1fr 1fr; }
  .pdp, .pdp-about, .cart, .checkout { grid-template-columns: 1fr; }
  .pdp > *, .pdp-about > *, .cart > *, .checkout > * { grid-column: 1 / -1 !important; }
  .pdp__info, .summary { position: static; }
  .pdp-about { padding: 50px 0; }
  .line { grid-template-columns: 80px 1fr auto; grid-template-areas: "img info del" "img qty price"; gap: 10px 16px; }
  .line__img { grid-area: img; } .line__info { grid-area: info; } .line .qty { grid-area: qty; justify-self: start; } .line__price { grid-area: price; } .line__del { grid-area: del; }
  .line__name { font-size: 20px; }
  .contacts { grid-template-columns: 1fr; gap: 16px; }
  .grid, .cart, .checkout, .prose { margin-bottom: 80px; }
}
@media (max-width: 600px) {
  .grid, .tiles, .stories__grid { grid-template-columns: 1fr; }
  .pdp__main { padding: 20px; }
  .toast { left: 20px; right: 20px; bottom: 20px; }
}
