:root {
  --paper: #f5efe3;
  --paper-2: #ece4d3;
  --card: #fbf8f2;
  --ink: #1d1b18;
  --ink-2: #4a453d;
  --muted: #847b6c;
  --line: #d9cfbc;
  --accent: #a8331f;
  --accent-ink: #fff;
  --ok: #2f7d4f;
  --radius: 14px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(40, 30, 10, .06), 0 8px 30px rgba(40, 30, 10, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 60ch; }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link:hover { color: var(--accent); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 16px; }
.btn--grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }

/* шапка */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 13px; padding: 8px var(--gutter); letter-spacing: .01em; }
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.header__burger { display: none; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo__name { font: 700 22px/1 var(--serif); letter-spacing: -.01em; }
.logo__name i { color: var(--accent); font-style: normal; }
.logo__tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.header__actions { display: flex; gap: 2px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* шухляди */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer::before { content: ''; position: absolute; inset: 0; background: rgba(20, 16, 10, .45); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; background: var(--paper); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow); }
.drawer--right .drawer__panel { top: 0; right: 0; bottom: 0; width: min(440px, 100%); transform: translateX(100%); }
.drawer--left .drawer__panel { top: 0; left: 0; bottom: 0; width: min(360px, 88%); transform: translateX(-100%); }
.drawer--top .drawer__panel { top: 0; left: 0; right: 0; transform: translateY(-100%); padding: 16px var(--gutter) 24px; max-height: 90vh; overflow: auto; }
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.mnav { display: flex; flex-direction: column; padding: 12px 8px; overflow: auto; }
.mnav a { padding: 12px 14px; text-decoration: none; font-size: 17px; border-radius: 10px; display: flex; justify-content: space-between; }
.mnav a:hover { background: var(--paper-2); }
.mnav small { color: var(--muted); }
.mnav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 14px; }

.search { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); padding: 6px 0; }
.search input { flex: 1; border: 0; background: none; font-size: 20px; padding: 10px 0; outline: none; min-width: 0; }
.search__results { max-width: var(--wrap); margin: 16px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.sr { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; }
.sr:hover { background: var(--paper-2); color: var(--ink); }
.sr img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.sr b { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.sr span { font-size: 13px; color: var(--muted); }

/* кошик */
.cart__items { flex: 1; overflow: auto; padding: 8px 20px; }
.cart__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart__empty .btn { margin-top: 16px; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.ci__name { font-weight: 600; font-size: 14px; line-height: 1.35; text-decoration: none; display: block; }
.ci__var { font-size: 13px; color: var(--muted); }
.ci__price { font-weight: 700; white-space: nowrap; text-align: right; }
.ci__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ci__rm { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.ci__rm:hover { color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 50px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty input { width: 34px; text-align: center; border: 0; background: none; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; font-size: 16px; }
.qty--sm input { width: 26px; font-size: 14px; }
.cart__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--card); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 17px; }
.cart__total b { font-size: 22px; font-family: var(--serif); }
.cart__foot .muted { text-align: center; margin: 10px 0 0; }

/* hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; margin-bottom: 22px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__art { position: relative; aspect-ratio: 1 / 1.05; }
.hero__ph { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); transition: transform .4s; }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.hero__ph:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 3; }
.hero__ph--1 { inset: 0 22% 8% 6%; z-index: 2; transform: rotate(-2deg); }
.hero__ph--2 { width: 40%; aspect-ratio: 4/5; right: 0; top: 4%; transform: rotate(4deg); }
.hero__ph--3 { width: 36%; aspect-ratio: 4/5; right: 6%; bottom: -2%; z-index: 3; transform: rotate(-5deg); }

.quote { border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper-2); }
.quote blockquote { margin: 0; text-align: center; font: italic 500 clamp(22px, 3vw, 32px)/1.3 var(--serif); }
.quote cite { display: block; font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; font-style: normal; }

/* секції */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: 28px 0 clamp(48px, 7vw, 96px); }
.section--alt { background: var(--paper-2); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section__lead { color: var(--ink-2); max-width: 70ch; margin: -10px 0 30px; }

/* картки */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card:hover { color: var(--ink); }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card__img2 { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img img { transform: scale(1.03); }
.card:hover .card__img2 { opacity: 1; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.badge--sale { left: auto; right: 12px; background: var(--accent); color: #fff; }
.badge--inline { position: static; display: inline-block; background: var(--accent); color: #fff; margin-bottom: 14px; }
.card__body { padding: 14px 2px 0; }
.card__title { font: 600 15px/1.35 var(--sans); margin: 0 0 6px; letter-spacing: 0; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__price { font-weight: 700; }
.card__sw { display: flex; align-items: center; gap: 3px; }
.card__sw small { font-size: 11px; color: var(--muted); margin-left: 3px; }
.sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); display: inline-block; flex-shrink: 0; }

/* категорії */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.cat:hover { color: var(--ink); border-color: var(--ink-2); transform: translateY(-2px); }
.cat__img { display: block; aspect-ratio: 1; overflow: hidden; background: #ede5d6; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat--mk .cat__img img { transform: scale(1.12); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat--mk:hover .cat__img img { transform: scale(1.18); }
.cat__body { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 16px 14px; column-gap: 8px; }
.cat__body b { font: 500 22px/1.15 var(--serif); }
.cat__body small { grid-row: 2; color: var(--accent); font-weight: 700; font-size: 14px; }
.cat__body i, .cat-more i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 20px; color: var(--ink-2); transition: transform .2s; }
.cat:hover .cat__body i, .cat-more a:hover i { transform: translateX(4px); }
.cat-suit { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; min-height: 220px; }
.cat-suit:hover { color: #fff; }
.cat-suit__img { display: grid; grid-template-columns: 1fr 1fr; background: #ede5d6; }
.cat-suit__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-suit__body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 22px; }
.cat-suit__body .eyebrow { color: #e9b8a8; margin: 0; }
.cat-suit__body b { font: 500 24px/1.15 var(--serif); }
.cat-suit__body span { font-size: 14px; opacity: .8; }
.cat-suit__body .btn { align-self: flex-start; font-style: normal; padding: 10px 18px; font-size: 14px; margin-top: 6px; background: #fff; color: var(--ink); }
.cat-more { grid-column: span 2; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.cat-more a { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; padding: 12px 18px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.cat-more a:first-child { border-top: 0; }
.cat-more a:hover { background: var(--paper); color: var(--ink); }
.cat-more b { font: 500 20px/1.2 var(--serif); }
.cat-more small { grid-row: 2; color: var(--accent); font-weight: 700; font-size: 13px; }

.perks { border-block: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.perks svg { color: var(--accent); margin-bottom: 12px; }
.perks h4 { margin: 0 0 6px; font-size: 16px; }
.perks p { margin: 0; color: var(--ink-2); font-size: 14px; }

.about__in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.about__text { font-size: 18px; color: var(--ink-2); }
.about__text p:first-child { font: 500 clamp(22px, 2.4vw, 28px)/1.35 var(--serif); color: var(--ink); }

/* каталог */
.page-head { padding: clamp(24px, 4vw, 44px) 0 8px; }
.page-head--slim h1 { font-size: clamp(30px, 4vw, 46px); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs b { font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 24px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--sm { padding: 6px 12px; font-size: 13px; }
.chip.is-off { opacity: .35; text-decoration: line-through; }
.filters { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 16px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters__group--end { margin-left: auto; gap: 16px; }
.filters__label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.chip--sw span:not(.sw) { display: none; }
.chip--sw { padding: 6px; }
.opt .chip--sw { padding: 8px 14px 8px 9px; }
.opt .chip--sw span:not(.sw) { display: inline; }
select { appearance: none; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1b18' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: 999px; padding: 9px 38px 9px 16px; font-size: 14px; }
.empty { text-align: center; padding: 60px 0; color: var(--ink-2); }
.card.is-hidden { display: none; }

/* товар */
.product { padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 6vw, 80px); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery__main { grid-column: 2; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; background: var(--paper-2); aspect-ratio: 4 / 5; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; max-height: 100%; overflow: auto; scrollbar-width: none; }
.gallery__thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4/5; flex-shrink: 0; opacity: .7; transition: opacity .2s; }
.gallery__thumbs button.is-on { border-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery.is-single { grid-template-columns: 1fr; }
.gallery.is-single .gallery__main { grid-column: 1; }
.buy__title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.buy__price { display: flex; align-items: baseline; gap: 12px; font: 500 30px/1 var(--serif); margin-bottom: 28px; }
.buy__price s { font: 500 18px var(--sans); color: var(--muted); }
.opt { margin-bottom: 22px; }
.opt__head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.opt__head b { color: var(--ink); font-weight: 600; }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.buy__row { display: flex; gap: 12px; margin: 28px 0 10px; }
.buy__stock { font-size: 14px; color: var(--ok); min-height: 22px; }
.buy__stock.is-out { color: var(--accent); }
.buy__perks { list-style: none; padding: 18px 0; margin: 10px 0 0; border-block: 1px solid var(--line); display: grid; gap: 10px; }
.buy__perks li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.buy__perks svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.attrs { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; }
.attrs dt { color: var(--muted); }
.attrs dd { margin: 0; font-weight: 600; color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; position: relative; }
.field > span { color: var(--ink-2); font-weight: 500; }
.field input, .field textarea { border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 13px 16px; font-size: 16px; outline: none; transition: border-color .15s; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-error input { border-color: var(--accent); }
.buy .field { margin-top: 4px; }

/* модалка */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .2s; background: rgba(20, 16, 10, .5); }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__panel { background: var(--paper); border-radius: 18px; padding: 32px; max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; position: relative; }
.modal__x { position: absolute; top: 12px; right: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15, 12, 8, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 96vw; max-height: 94vh; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; color: #fff; }

/* текстові сторінки */
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 26px; color: var(--ink); margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { color: var(--ink); font-weight: 600; background: var(--paper-2); }

/* оформлення */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.checkout legend { font: 500 24px var(--serif); margin-bottom: 16px; padding: 0; }
.checkout__summary { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: sticky; top: 96px; }
.checkout__summary .ci { grid-template-columns: 56px 1fr auto; }
.checkout__summary .ci img { width: 56px; height: 70px; }
.checkout__summary .cart__total { margin: 18px 0 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; font-size: 14px; color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg--block { margin-bottom: 18px; }
.seg--block label { flex: 1; }
.seg--block span { width: 100%; text-align: center; border-radius: 12px; padding: 13px 10px; }
.ac { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; margin-top: 4px; max-height: 280px; overflow: auto; display: none; box-shadow: var(--shadow); }
.ac.is-open { display: block; }
.ac button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 11px 16px; font-size: 14px; }
.ac button:hover, .ac button.is-active { background: var(--paper-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-error { color: var(--accent); font-weight: 500; margin-top: 12px; }

.thanks { text-align: center; }
.thanks .lead { margin: 0 auto 32px; }
.thanks__box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; text-align: left; margin: 0 auto 32px; max-width: 520px; }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.line small { color: var(--muted); }
.line--total { border: 0; font-size: 17px; padding-top: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* підвал */
.footer { background: var(--ink); color: #d9d1c2; padding: 64px 0 28px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer .logo--light { color: #fff; display: inline-flex; padding: 0; }
.logo--light .logo__tag { color: #a39a8a; }
.footer__text { margin: 18px 0; font-size: 14px; max-width: 34ch; color: #a39a8a; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #4a453d; border-radius: 50%; }
.footer__bottom { border-top: 1px solid #3a362f; margin-top: 48px; padding-top: 22px; font-size: 13px; color: #8a8172; }

/* адаптив */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; margin-left: -10px; }
  .header__in { gap: 8px; height: 64px; }
  .logo { margin-right: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .product__grid, .checkout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .checkout__summary { position: static; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; aspect-ratio: 1 / .9; margin: 0 4%; }
  .hero h1 { font-size: 40px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-suit, .cat-more { grid-column: 1 / -1; }
  .cat__body { padding: 10px 12px 12px; }
  .cat__body b { font-size: 19px; }
  .cat__body small { font-size: 13px; }
  .cat-suit { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cat-suit__img { aspect-ratio: 2 / 1.15; }
  .cat-suit__body { padding: 16px 18px 18px; }
  .cat-suit__body b { font-size: 21px; }
  .about__in { grid-template-columns: 1fr; gap: 12px; }
  .section__head { flex-wrap: wrap; }
  .filters { gap: 12px; }
  .filters__group--end { margin-left: 0; width: 100%; justify-content: space-between; }
  .gallery { grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)); }
  .gallery__main { grid-column: 1; border-radius: 0; }
  .gallery__thumbs { grid-row: 2; flex-direction: row; padding: 0 var(--gutter); overflow-x: auto; }
  .gallery__thumbs button { width: 56px; }
  .buy__row { position: sticky; bottom: 0; background: var(--paper); margin: 20px calc(-1 * var(--gutter)) 10px; padding: 12px var(--gutter); border-top: 1px solid var(--line); z-index: 5; }
  .perks__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .modal__panel { padding: 24px 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .card__title { font-size: 14px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* автори */
.mono { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--serif); letter-spacing: .02em; flex-shrink: 0; }
.buy__author { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin: -2px 0 22px; padding: 6px 16px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s; }
.buy__author:hover { border-color: var(--ink); color: var(--ink); }
.buy__author .mono { width: 38px; height: 38px; font-size: 14px; }
.buy__author span:last-child { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; font-size: 15px; }
.buy__author small { font-weight: 400; color: var(--muted); font-size: 12px; }
.author { border-top: 1px solid var(--line); }
.author__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.author__head .mono { width: 84px; height: 84px; font-size: 30px; margin-bottom: 18px; background: var(--accent); }
.author__head h2, .author__head h1 { margin-bottom: 6px; }
.author__bio { font-size: 17px; color: var(--ink-2); }
.author__bio p:first-child { font: 500 clamp(19px, 2vw, 23px)/1.45 var(--serif); color: var(--ink); }
.author__in--page { margin-top: 8px; }
.authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.author-card { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--card); transition: border-color .15s, transform .15s; }
.author-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.author-card .mono { width: 56px; height: 56px; font-size: 20px; }
.author-card span:last-child { display: flex; flex-direction: column; }
.author-card b { font: 500 20px/1.2 var(--serif); }
.author-card small { color: var(--muted); font-size: 13px; }

/* розмірні сітки */
.modal__panel--wide { max-width: 860px; }
.sc { margin-bottom: 8px; }
.sc-list .sc { padding: 28px 0; border-top: 1px solid var(--line); }
.sc__title { font-size: 26px; margin-bottom: 18px; padding-right: 40px; }
.sc__grid { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.sc__diagram { color: var(--ink-2); --card: var(--paper-2); }
.sc__diagram svg { width: 100%; height: auto; }
.sc__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.sc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.sc th, .sc td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.sc thead th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.sc tbody th { text-align: left; font-weight: 500; color: var(--ink); white-space: normal; min-width: 140px; }
.sc tbody th small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.sc tbody tr:last-child > * { border-bottom: 0; }
.sc__key { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; margin-right: 8px; vertical-align: 1px; }
.sc .is-sel { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 700; }
.sc thead .is-sel { background: var(--ink); color: var(--paper); }
.sc__tip { margin: 14px 0 6px; padding: 12px 14px; background: var(--paper-2); border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.sc__finder { margin-top: 22px; padding: 18px; border: 1.5px dashed var(--line); border-radius: 14px; }
.sc__finder p { margin: 4px 0 12px; }
.sc__finder-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc__finder-row input { width: 110px; border: 1.5px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 12px; font-size: 16px; }
.sc__finder-row output { font-weight: 600; }
.sc__finder-row output b { color: var(--accent); }
.sc__more { margin: 18px 0 0; }
@media (max-width: 720px) {
  .author__in { grid-template-columns: 1fr; gap: 8px; }
  .sc__grid { grid-template-columns: 1fr; gap: 16px; }
  .sc__diagram { max-width: 180px; margin: 0 auto; }
  .sc th, .sc td { padding: 9px 8px; font-size: 14px; }
  .sc tbody th { min-width: 110px; }
}
@media (max-width: 1240px) and (min-width: 981px) { .nav a { padding: 8px 8px; font-size: 14px; } .header__in { gap: 14px; } }

/* швидке замовлення, дата відправки, блок цінності */
.buy__quick { margin: 0 0 6px; flex-direction: row; gap: 10px; }
.buy__quick small { font-weight: 400; color: var(--muted); font-size: 13px; }
.buy__quick:hover small { color: inherit; }
.buy__ship { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); margin: 4px 0 18px; }
.buy__ship svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.buy__ship b { color: var(--ink); }
.value { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 4px; }
.value__title { display: block; font-size: 15px; margin-bottom: 8px; }
.value ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.value li { padding-left: 24px; position: relative; }
.value li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cart__foot .btn--ghost { margin-top: 8px; }
.modal__panel--quick { max-width: 460px; }
.modal__panel--quick h3 { margin-bottom: 6px; padding-right: 40px; }
.quick__items { margin: 16px 0; }
.quick__line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; background: var(--paper-2); border-radius: 10px; font-size: 14px; }
.quick__line b { white-space: nowrap; }
#quick-form .seg { margin-top: 2px; }
#quick-form .muted.small { margin: 12px 0 0; text-align: center; }

/* оформлення без відволікань */
.header--min .header__in { height: 64px; justify-content: space-between; }
.header--min .logo { margin: 0 auto; align-items: center; }
.back-link, .header__help a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); flex: 1; }
.header__help { flex: 1; text-align: right; }
.back-link:hover, .header__help a:hover { color: var(--accent); }
.footer--min { padding: 22px 0; }
.footer--min .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; }
.footer--min a { display: inline; font-size: 13px; }
.next-steps { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.next-steps ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.field > small { margin-top: 2px; }
@media (max-width: 720px) {
  .header--min .logo__tag { display: none; }
  .back-link { font-size: 13px; }
  .header__help { display: none; }
  .header--min .logo { margin: 0 0 0 auto; }
}

/* портрети авторів */
.mono--photo { object-fit: cover; background: var(--paper-2); padding: 0; }
.author__head .mono--photo { width: 160px; height: 160px; }
.author-card .mono--photo { width: 64px; height: 64px; }
.photo-credit { font-size: 11px; color: var(--muted); margin-top: 10px; }
.photo-credit a { color: inherit; }
@media (max-width: 720px) { .author__head .mono--photo { width: 120px; height: 120px; } }

/* термінове замовлення */
.buy__ship { align-items: flex-start; }
.buy__ship small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.buy__ship small b { color: var(--ink-2); }
.urgent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 24px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; background: var(--card); transition: border-color .15s; }
.urgent:hover, .urgent:has(input:checked) { border-color: var(--accent); }
.urgent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.urgent small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
#quick-form .urgent { margin: 4px 0 16px; }

/* свій принт */
.nav a.nav__accent { color: var(--accent); font-weight: 600; }
.nav a.is-active, .nav a.nav__accent.is-active { background: var(--ink); color: var(--paper); }
.nav a.is-active:hover { background: var(--ink); color: var(--paper); }
.mnav a.is-active { background: var(--ink); color: var(--paper); }
.mnav a.is-active small { color: #cfc6b6; }
.custom-head__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 8px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 15px var(--serif); }
.steps span { color: var(--ink-2); font-size: 14px; }
.cons { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.cons__stage { position: sticky; top: 90px; }
.cons__stage canvas { width: 100%; height: auto; border-radius: 18px; display: block; touch-action: none; cursor: grab; box-shadow: var(--shadow); }
.cons__stage canvas:active { cursor: grabbing; }
.cons__stage p { margin-top: 10px; }
.cons__panel { display: flex; flex-direction: column; gap: 6px; }
.cons__block { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 16px; }
.upload-btn span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px dashed var(--ink-2); font-weight: 600; cursor: pointer; }
.upload-btn:hover span { border-color: var(--accent); color: var(--accent); }
.cons__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cons__row select, .cons-order select { width: 100%; border-radius: 12px; padding: 13px 38px 13px 16px; font-size: 15px; }
.field input[type=color] { height: 50px; padding: 4px; cursor: pointer; }
.field input[type=range] { padding: 0; border: 0; background: none; accent-color: var(--accent); }
.cons-order { max-width: 620px; margin: 40px 0 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.cons-order h3 { margin-bottom: 16px; }
.custom-banner { background: var(--ink); color: var(--paper); }
.custom-banner__in { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.custom-banner h2 { color: #fff; margin-bottom: 10px; }
.custom-banner p { color: #cfc6b6; max-width: 60ch; margin: 0; }
.custom-banner .eyebrow { color: #e6a593; }
.custom-banner .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.custom-banner .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 980px) { .custom-head__in, .cons { grid-template-columns: 1fr; } .cons__stage { position: static; } }

/* шрифти конструктора */
.fonts { display: flex; flex-direction: column; gap: 10px; max-height: 300px; overflow: auto; padding: 4px 2px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); padding: 10px; }
.fonts__group { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.fonts__group > small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); }
.font-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); text-align: left; }
.font-opt span { font-size: 19px; line-height: 1.15; }
.font-opt small { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.font-opt:hover { border-color: var(--ink-2); }
.font-opt.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.font-opt.is-on small { color: #cfc6b6; }
.opt--side .chip { min-width: 96px; justify-content: center; }
.custom-price { font-size: 17px; margin: -4px 0 0; padding: 10px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; display: inline-block; }
.custom-price b { color: var(--accent); }
.cons-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; margin: 4px 0 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.cons-total b { font: 500 24px var(--serif); color: var(--ink); white-space: nowrap; }

/* костюми */
.suits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.suit-card { display: flex; flex-direction: column; text-decoration: none; }
.suit-card:hover { color: var(--ink); }
.suit-card__img { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.suit-card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.suit-card__img2 { position: absolute; inset: 0; opacity: 0; }
.suit-card:hover .suit-card__img2 { opacity: 1; }
.suit-card__body { padding: 14px 2px 0; }
.suit-card__body h3 { font-size: 22px; margin-bottom: 4px; }
.suit-card__price { font-weight: 700; }
.suit__stage { position: sticky; top: 90px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; align-items: start; }
.suit__view { margin: 0; position: relative; cursor: pointer; transition: opacity .2s; }
.suit__view canvas { width: 100%; height: auto; display: block; border-radius: 16px; background: var(--paper-2); }
.suit__view figcaption { position: absolute; left: 12px; top: 12px; background: var(--paper); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.suit__stage[data-active="back"] [data-view="back"], .suit__stage[data-active="front"] [data-view="front"] { order: 0; }
.suit__stage[data-active="back"] [data-view="front"], .suit__stage[data-active="front"] [data-view="back"] { order: 1; opacity: .85; }
.suit__stage[data-active="back"] [data-view="front"]:hover, .suit__stage[data-active="front"] [data-view="back"]:hover { opacity: 1; }
.suit__switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.suit__search { width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 11px 14px; font-size: 15px; margin-bottom: 10px; }
.suit__authors { margin: 0 0 10px; }
.suit__prints { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 360px; overflow: auto; padding: 2px; }
.print-opt { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; }
.print-opt[hidden] { display: none; }
.print-opt:hover { border-color: var(--ink-2); }
.print-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.print-opt__img { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; background: #f1ebde; overflow: hidden; }
.print-opt__img.is-dark { background: #23211e; }
.print-opt__img img { max-width: 86%; max-height: 86%; object-fit: contain; }
.print-opt__t { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.print-opt small { font-size: 11px; color: var(--muted); }
.suit .sc h4 { margin: 14px 0 8px; font-family: var(--sans); font-size: 15px; }
@media (max-width: 980px) { .suit__stage { position: static; } }
.suit__switch .chip--sw { padding: 6px 12px 6px 7px; }
.suit__switch .chip--sw span:not(.sw) { display: inline; font-size: 13px; }
.sc__finder-f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.sc__finder-out { margin: 12px 0 0; }
.sc__finder-out output b { color: var(--accent); }

/* костюм: активний бік — велике фото, інший — мініатюра в кутку; лупа — перегляд на весь екран */
.suit .product__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.suit__stage { display: block; }
.suit__stage .suit__view { opacity: 1 !important; }
.suit__stage[data-active="back"] [data-view="back"] canvas, .suit__stage[data-active="front"] [data-view="front"] canvas { width: auto; max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; cursor: zoom-in; }
.suit__stage[data-active="back"] [data-view="front"], .suit__stage[data-active="front"] [data-view="back"] {
  position: absolute; right: 14px; bottom: 14px; width: 24%; z-index: 2; border: 3px solid var(--paper); border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.18); overflow: hidden; }
.suit__stage[data-active="back"] [data-view="front"] canvas, .suit__stage[data-active="front"] [data-view="back"] canvas { border-radius: 10px; }
.suit__stage[data-active="back"] [data-view="front"] figcaption, .suit__stage[data-active="front"] [data-view="back"] figcaption { left: 50%; top: auto; bottom: 6px; transform: translateX(-50%); font-size: 11px; padding: 2px 8px; white-space: nowrap; }
.suit__zoom { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); cursor: pointer; }
.suit__zoom:hover { background: var(--ink); color: var(--paper); }
.lightbox--suit { flex-direction: column; gap: 14px; overflow: hidden; }
.lightbox--suit .lb__img { max-width: 96vw; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); object-fit: contain; cursor: zoom-in; transition: transform .25s; touch-action: pinch-zoom; }
.lightbox--suit.is-zoom .lb__img { transform: scale(2.4); cursor: zoom-out; }
.lightbox--suit .lb__sides { display: flex; gap: 8px; }
.lightbox--suit .lb__sides button { position: static; color: #fff; border: 1.5px solid rgba(255,255,255,.5); background: transparent; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.lightbox--suit .lb__sides button.is-on { background: #fff; color: #111; border-color: #fff; }
.lightbox--suit .lb__x { position: absolute; top: 16px; right: 16px; color: #fff; background: none; border: 0; cursor: pointer; z-index: 2; }
.lightbox--suit .lb__hint { color: rgba(255,255,255,.6); font-size: 12px; margin: 0; }
@media (max-width: 980px) { .suit .product__grid { grid-template-columns: 1fr; } .suit__stage { position: relative; top: auto; } .suit__stage[data-active="back"] [data-view="back"] canvas, .suit__stage[data-active="front"] [data-view="front"] canvas { max-height: 78vh; } }
@media (max-width: 560px) { .suit__stage[data-active="back"] [data-view="front"], .suit__stage[data-active="front"] [data-view="back"] { width: 28%; right: 10px; bottom: 10px; } .suit__stage[data-active="back"] [data-view="front"] figcaption, .suit__stage[data-active="front"] [data-view="back"] figcaption { font-size: 10px; padding: 1px 6px; } }
/* категорії під заголовком каталогу дублюють верхнє меню — лишаємо їх лише там, де меню сховане (бургер) */
@media (min-width: 981px) {
  .cat-chips { display: none; }
  /* без ряду категорій фільтри стоять одразу під заголовком */
  .page-head:has(.cat-chips) { padding-bottom: 0; }
  .page-head:has(.cat-chips) h1 { margin-bottom: 0; }
  .page-head:has(.cat-chips) + .section--tight { padding-top: 8px; }
  .page-head:has(.cat-chips) + .section--tight .filters { padding-top: 8px; }
}
/* чохли: фото горизонтальні — вписуємо цілком (без обрізання), поля — тлом картки */
/* картка й галерея — у пропорціях самих фото чохлів (1400×1166), тож без полів */
.card--contain .card__img, .gallery--contain .gallery__main, .gallery--contain .gallery__thumbs button { aspect-ratio: 1400 / 1166; }
.card--contain .card__img img, .gallery--contain .gallery__slide img, .gallery--contain .gallery__thumbs img { object-fit: cover; }
.card--contain:hover .card__img img { transform: none; }
.maker-link { display: inline-flex; margin-top: 10px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 14px; }
.maker-link:hover { opacity: .9; }
/* колонки сторінки товару не розтягуються вмістом (стрічка принтів, широкі фото) — інакше на телефоні сторінка ширша за екран */
.product__grid > * { min-width: 0; }
/* телефон: довгі назви варіантів (чохли) переносяться, а не розширюють сторінку */
.opt__vals .chip { max-width: 100%; white-space: normal; text-align: left; line-height: 1.3; }
/* лупа: у збільшеному фото тягнемо пальцем, щоб роздивитись принт */
.lightbox--suit.is-zoom .lb__img { touch-action: none; }
/* телефон: у підсумку лише товари й сума — «Що далі» під формою, щоб до полів не гортати */
.next-steps--mob { display: none; }
@media (max-width: 980px) { .checkout__summary .next-steps { display: none; } .next-steps--mob { display: block; margin-top: 18px; } }
.thanks__box .line b { white-space: nowrap; }
.thanks__box .line span { min-width: 0; }

/* відгуки: колонки-«стіна», картка — цитата + підпис */
.rv-grid { columns: 3 280px; column-gap: 16px; }
.rv { break-inside: avoid; margin: 0 0 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 12px; }
.rv blockquote { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.rv blockquote::before { content: '«'; } .rv blockquote::after { content: '»'; }
.rv figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13px; }
.rv figcaption span { color: var(--muted); }
.reviews .section__head .muted { margin: 4px 0 0; }
/* головна: 9 відгуків; на телефоні — перші 4, решта на сторінці «Відгуки» */
@media (max-width: 640px) { .reviews:not(.reviews--all) .rv-grid .rv:nth-child(n+5) { display: none; } }
/* приховані фільтром картки (display: grid у .rv інакше перебиває [hidden]) */
.rv[hidden], [hidden] { display: none !important; }

/* фото-відгуки зі сторіс */
.rv__img { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; border-radius: 10px; overflow: hidden; max-width: 100%; }
.rv__img img { width: 100%; max-height: 340px; object-fit: cover; object-position: top; display: block; }
.st-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.st { flex: 0 0 auto; width: 150px; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; scroll-snap-align: start; background: var(--paper-2); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); margin: 4px; }
.st img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stories-rv .section__head .muted { margin: 4px 0 0; }
.lightbox--story { flex-direction: column; gap: 12px; padding: 16px; }
.lightbox--story img { max-width: min(96vw, 520px); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); border-radius: 12px; object-fit: contain; }
.lightbox--story p { color: #f3efe8; max-width: 520px; margin: 0; font-size: 14px; line-height: 1.5; text-align: center; max-height: 18vh; overflow: auto; }
.lightbox--story .lb__x { position: absolute; top: 16px; right: 16px; color: #fff; background: none; border: 0; cursor: pointer; }
@media (max-width: 640px) { .st { width: 118px; } }
/* блок відгуків: стрічка фото й текст — одне ціле */
.reviews .st-strip { margin: 0 -4px 18px; }
.reviews .section__head { margin-bottom: 18px; }
.page-head .st-strip { margin: 18px -4px 6px; }
@media (max-width: 1120px) and (min-width: 981px) { .nav { gap: 0; } .nav a { padding: 6px 6px; font-size: 13px; } .header__in { gap: 10px; } }
.hero__trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust li::before { content: '✓'; color: var(--ok); font-weight: 700; }
.hero__trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.collab { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 4vw, 48px); border-radius: 22px; background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.collab:hover { color: #fff; }
.collab__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.collab .eyebrow { color: #e9b8a8; margin: 0; }
.collab__title { font: 500 clamp(28px, 3.6vw, 44px)/1.08 var(--serif); }
.collab__lead { font-size: 15px; line-height: 1.55; opacity: .82; max-width: 46ch; }
.collab .btn { background: #fff; color: var(--ink); margin-top: 4px; }
.collab:hover .btn { background: var(--paper); }
.collab__art { position: relative; aspect-ratio: 1.45; }
.collab__ph { position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #ede5d6; box-shadow: 0 14px 40px rgba(0,0,0,.35); transition: transform .4s; }
.collab__ph--1 { left: 0; top: 14%; transform: rotate(-5deg); }
.collab__ph--2 { left: 27%; top: 0; z-index: 2; width: 48%; }
.collab__ph--3 { right: 0; top: 18%; transform: rotate(5deg); }
.collab:hover .collab__ph--1 { transform: rotate(-8deg) translateX(-6px); }
.collab:hover .collab__ph--3 { transform: rotate(8deg) translateX(6px); }
@media (max-width: 720px) {
  .collab { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 22px; }
  .collab__art { order: -1; aspect-ratio: 1.6; }
  .collab__lead { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .collab .btn { align-self: stretch; text-align: center; }
  .hero__trust { font-size: 13px; gap: 4px 14px; margin-top: 16px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 34px; margin-bottom: 12px; }
  .hero .lead { font-size: 15px; }
  .hero__cta { margin-top: 18px; }
  .hero__cta .btn { flex: 1; text-align: center; }
}
@media (max-width: 720px) {
  .crumbs a { display: inline-block; padding: 10px 0; }
  .opt__head .link { padding: 10px 0 10px 12px; }
  .buy__perks a { display: inline-block; padding: 8px 0; }
}
