/* =========================================================
   Головна Товарки: формована поверхня. Фото лежить у глибокій лунці,
   кадри — у вирізаному лотку, ціна — на циферблаті. Тумблер і повзунки
   справді перемикають вміст, тому тінь тут має сенс, а не лише вигляд.
   ========================================================= */

.section { padding-block: var(--section-y); }
.lead { max-width: 33em; }

/* Повзунок: заглиблена доріжка з кнопкою, що їде до обраного */
.rocker { --n: 3; --i: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); width: fit-content; padding: 6px; border-radius: 20px; background: var(--concave); box-shadow: var(--press-s); }
.rocker::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / var(--n)); border-radius: 15px; background: var(--convex); box-shadow: var(--raise-xs); transform: translateX(calc(var(--i) * 100%)); transition: transform 280ms var(--ease-out); }
.chip { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 15px; background: none; color: var(--ink-2); font-weight: 650; white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: color 160ms ease; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--steel-2); transition: background-color 160ms ease, box-shadow 160ms ease; }
.chip[aria-pressed="true"] { color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--tag); box-shadow: var(--tag-glow); }
@media (hover: hover) { .chip[aria-pressed="false"]:hover { color: var(--ink); } }

/* ---------- Перший екран ---------- */
.hero { padding-top: clamp(26px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(320px, 37vw, 470px)); gap: clamp(28px, 5vw, 76px); align-items: center; }
.hero__lead { margin-top: clamp(16px, 2vw, 22px); color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: clamp(20px, 2.6vw, 30px); }
.hero__note { font-weight: 550; color: var(--ink-2); }

/* Прес: лунка з фото, тумблер і циферблат */
.press { position: relative; padding: clamp(14px, 1.6vw, 20px); border: 1px solid var(--edge); border-radius: 40px; background: var(--convex); box-shadow: var(--raise); }
.well { position: relative; aspect-ratio: 1; padding: 10px; border-radius: 28px; background: var(--concave); box-shadow: var(--press); }
.well__in { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 20px; background: var(--steel); }
.well__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.well__after { background: #fff; clip-path: inset(0 100% 0 0); transition: clip-path 640ms var(--ease-out); }
.press[data-on] .well__after { clip-path: inset(0 0 0 0); }
.press__row { display: flex; align-items: center; gap: 12px; min-height: 104px; padding: 14px 150px 0 6px; }
.flip { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--ink-3); font-weight: 650; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.flip__label { transition: color 200ms ease; }
.press:not([data-on]) .flip__label:first-child, .press[data-on] .flip__label:last-child { color: var(--ink); }
.flip__track { position: relative; width: 84px; height: 44px; flex: none; border-radius: 22px; background: var(--concave); box-shadow: var(--press-s); }
.flip__knob { position: absolute; top: 5px; left: 5px; width: 34px; height: 34px; border-radius: 50%; background: var(--convex); box-shadow: var(--raise-xs); transition: transform 280ms var(--ease-out); }
.flip__knob::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--steel-2); transition: background-color 200ms ease, box-shadow 200ms ease; }
.press[data-on] .flip__knob { transform: translateX(40px); }
.press[data-on] .flip__knob::after { background: var(--tag); box-shadow: var(--tag-glow); }

/* Циферблат: сім поділок — шість кадрів і опис */
.dial { position: absolute; right: clamp(-22px, -1.6vw, -8px); bottom: clamp(-22px, -1.6vw, -8px); display: grid; place-items: center; width: 160px; height: 160px; border-radius: 50%; background: var(--convex); border: 1px solid var(--edge); box-shadow: var(--raise); }
.dial::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: repeating-conic-gradient(from -18deg, var(--tag) 0 36deg, transparent 36deg 51.43deg); -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 87%); mask: radial-gradient(closest-side, transparent 86%, #000 87%); filter: drop-shadow(0 0 3px rgba(255, 106, 43, 0.5)); }
.dial__in { display: grid; justify-items: center; font-family: var(--font-display); }
.dial__price { display: inline-flex; font-weight: 800; font-size: 2.55rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dial__price sup { margin: 3px 0 0 2px; font-size: 0.36em; line-height: 1.1; font-weight: 700; letter-spacing: 0; }
.dial__note { margin-top: 3px; font-family: var(--font-body); font-size: 0.76rem; line-height: 1.15; font-weight: 600; color: var(--ink-2); text-align: center; }

/* Вибір товару й лоток */
.hero__switch { margin-top: clamp(30px, 4vw, 48px); }
.shelf { width: min(100% - var(--gutter) * 2, var(--wrap)); margin: 16px auto 0; padding: 14px; overflow-x: auto; border-radius: 36px; background: var(--concave); box-shadow: var(--press); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 14px; outline-offset: 3px; }
.shelf::-webkit-scrollbar { display: none; }
.shelf__row { display: grid; grid-template-columns: repeat(6, minmax(158px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.shelf__item { min-width: 0; padding: 8px; scroll-snap-align: start; border: 1px solid var(--edge); border-radius: 24px; background: var(--convex); box-shadow: var(--raise-xs); }
.facing { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 17px; background: #fff; }
.facing canvas { width: 100%; height: 100%; object-fit: cover; }
.shelf__rail { padding: 8px 5px 2px; }
.rail-tag { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; }
.rail-tag__name { font-weight: 620; font-size: 0.88rem; line-height: 1.12; }
.rail-tag__price { display: inline-flex; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--tag-deep); font-variant-numeric: tabular-nums; }
.rail-tag__price sup { margin-left: 1px; font-size: 0.46em; line-height: 1.4; vertical-align: top; }
@media (prefers-reduced-motion: no-preference) {
  .shelf__item[data-enter] { animation: rise 520ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 60ms); }
}
/* Кадр виринає з лотка: тінь народжується разом із формою */
@keyframes rise { from { opacity: 0; transform: scale(0.94); box-shadow: none; } }

/* ---------- Майданчики: назви пливуть у вирізаному жолобі ---------- */
.market { padding-top: clamp(28px, 4vw, 48px); }
.market__tray { display: grid; gap: 12px; width: min(100% - var(--gutter) * 2, var(--wrap)); margin: 0 auto; padding: 16px 0; overflow: hidden; border-radius: 36px; background: var(--concave); box-shadow: var(--press); }
.market__row { --gap: 14px; display: flex; gap: var(--gap); width: max-content; padding-block: 8px; }
.market__group { display: flex; flex: none; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.market__group li { display: flex; align-items: center; gap: 11px; height: 60px; padding: 0 22px 0 12px; white-space: nowrap; border: 1px solid var(--edge); border-radius: 20px; background: var(--convex); box-shadow: var(--raise-xs); font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.market__group img { flex: none; width: 36px; height: 36px; object-fit: contain; border-radius: 10px; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .market__group { animation: market-go 30s linear infinite; }
  .market__row--back .market__group { animation-direction: reverse; animation-duration: 36s; }
}
@keyframes market-go { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) {
  .market__row { flex-wrap: wrap; width: auto; padding-inline: 16px; }
  .market__group { flex-wrap: wrap; }
  .market__group[aria-hidden] { display: none; }
}

/* ---------- Готова картка ---------- */
.sample__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.sample__head .lead { margin-top: 10px; color: var(--ink-2); }
.sample__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(22px, 3.6vw, 52px); align-items: center; margin-top: 28px; padding: clamp(14px, 2vw, 26px); border: 1px solid var(--edge); border-radius: 44px; background: var(--convex); box-shadow: var(--raise); }
.sample__well { padding: 10px; border-radius: 30px; background: var(--concave); box-shadow: var(--press); }
.sample__well canvas { display: block; width: 100%; height: auto; border-radius: 21px; background: #fff; }
.sample__side { display: grid; gap: 18px; min-width: 0; }
.sample__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; list-style: none; }
.sample__thumbs button { display: block; width: 100%; padding: 4px; border: 1px solid var(--edge); border-radius: 15px; background: var(--convex); box-shadow: var(--raise-xs); transition: box-shadow 150ms var(--ease-out); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sample__thumbs button[aria-pressed="true"] { background: var(--concave); border-color: transparent; box-shadow: var(--press-s), 0 0 0 2px var(--tag); }
.sample__thumbs canvas { display: block; width: 100%; height: auto; border-radius: 10px; }
.sample__cap { display: grid; gap: 4px; min-height: 3.6em; padding-inline: 6px; color: var(--ink-2); }
.sample__cap b { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* ---------- Порівняння: темна глава ---------- */
.thumbs { margin-inline: clamp(8px, 2vw, 24px); border-radius: 44px; }
.thumbs__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 48px; }
.thumbs__head .h2 { max-width: 11em; }
.thumbs__head .lead { flex: 0 1 25em; color: var(--ink-2); }
.versus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 32px 0 0; padding: 0; list-style: none; }
.pair { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 12px 12px 18px; border-radius: 30px; background: var(--concave); box-shadow: var(--press); }
.pair__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair__shot { min-width: 0; margin: 0; }
.pair__shot img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; }
.pair__shot figcaption { margin-top: 8px; font-size: 0.84rem; line-height: 1.2; text-align: center; color: var(--ink-3); }
.pair__shot--good img { box-shadow: 0 0 0 2px var(--tag), var(--tag-glow); }
.pair__shot--good figcaption { font-weight: 650; color: var(--ink); }
.pair__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding-inline: 6px; }
.pair__name { font-size: 0.95rem; font-weight: 500; line-height: 1.3; }
.pair__price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; white-space: nowrap; }
@media (max-width: 900px) {
  .versus { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Комплект ---------- */
.kit__intro { max-width: 34em; margin-top: 12px; color: var(--ink-2); }
.kit__panel { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 34px); margin-top: 28px; padding: clamp(14px, 2vw, 24px); border: 1px solid var(--edge); border-radius: 44px; background: var(--convex); box-shadow: var(--raise); }
.kit__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 16px); min-width: 0; margin: 0; padding: clamp(10px, 1.2vw, 14px); border-radius: 30px; background: var(--concave); box-shadow: var(--press); list-style: none; }
.kit__tiles li:last-child { grid-column: 1 / -1; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 4px 8px; width: 100%; height: 100%; padding: 8px 10px 12px 8px; border: 1px solid var(--edge); border-radius: 20px; background: var(--convex); box-shadow: var(--raise-xs); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: box-shadow 150ms var(--ease-out), background-color 150ms var(--ease-out); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tile__pic { position: relative; grid-column: 1 / -1; display: block; overflow: hidden; margin-bottom: 6px; border-radius: 13px; background: #fff; transition: opacity 150ms var(--ease-out), filter 150ms var(--ease-out); }
.tile__pic canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.tile__name { min-width: 0; padding-left: 4px; font-weight: 650; line-height: 1.2; }
.tile__price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.tile__why { grid-column: 1 / -1; padding-left: 4px; font-size: 0.86rem; line-height: 1.28; color: var(--ink-3); }
.tile__mark { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tag); color: var(--on-tag); box-shadow: 0 2px 6px rgba(27, 37, 64, 0.3); }
.tile__mark svg { width: 15px; height: 15px; }
.tile[aria-pressed="false"] { background: var(--concave); border-color: transparent; box-shadow: var(--press-s); }
.tile[aria-pressed="false"] .tile__pic { opacity: 0.42; filter: grayscale(1); }
.tile[aria-pressed="false"] .tile__mark { background: #fff; color: transparent; }
.tile[aria-pressed="false"] .tile__price { color: var(--ink-3); text-decoration: line-through; }
.tile--wide { grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 2px 14px; padding: 10px 14px 10px 10px; }
.tile--wide .tile__pic { grid-column: 1; grid-row: 1 / span 2; display: grid; align-content: center; gap: 6px; width: 58px; height: 58px; margin: 0; padding-inline: 13px; }
.tile--wide .tile__pic i { height: 5px; border-radius: 3px; background: var(--steel-2); }
.tile--wide .tile__pic i:first-child { background: var(--tag); }
.tile--wide .tile__pic i:last-child { width: 62%; }
.tile--wide .tile__name { grid-column: 2; align-self: end; padding: 0; }
.tile--wide .tile__why { grid-column: 2; align-self: start; padding: 0; }
.tile--wide .tile__price { grid-column: 3; grid-row: 1 / span 2; }
.tile--wide .tile__mark { position: static; grid-column: 4; grid-row: 1 / span 2; }
.kit__sum { display: grid; align-content: center; gap: 14px; min-width: 0; padding: clamp(8px, 1.4vw, 18px); }
.kit__picked { min-height: 1.5em; font-weight: 650; color: var(--ink-2); }
.kit__total { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -0.035em; color: var(--tag-deep); font-variant-numeric: tabular-nums; }
.kit__total span { font-size: 0.5em; letter-spacing: 0; }
.kit__facts { display: grid; gap: 9px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--ink-2); }
.kit__facts li { position: relative; padding-left: 20px; line-height: 1.36; }
.kit__facts li::before { content: ""; position: absolute; left: 2px; top: 0.46em; width: 8px; height: 8px; border-radius: 50%; background: var(--tag); box-shadow: var(--tag-glow); }
@media (max-width: 1040px) {
  .kit__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .kit__panel { border-radius: 32px; }
  .kit__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; }
  .tile__name, .tile__price { font-size: 0.92rem; }
  .tile__why { font-size: 0.8rem; }
  .tile--wide .tile__pic { width: 46px; height: 46px; padding-inline: 10px; }
}

/* ---------- Послідовність: кроки на спільному жолобі ---------- */
.how__steps { counter-reset: step; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(30px, 4vw, 48px); list-style: none; padding: 0; }
.how__steps::before { content: ""; position: absolute; top: 38px; left: 8px; right: 8px; height: 12px; border-radius: 6px; background: var(--concave); box-shadow: var(--press-s); }
.how__steps li { position: relative; counter-increment: step; }
.how__steps li::before { content: counter(step); display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--edge); border-radius: 50%; background: var(--convex); box-shadow: var(--raise-s); font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; color: var(--tag-deep); }
.how__title { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.15; }
.how__steps p { margin-top: 8px; color: var(--ink-2); max-width: 32em; }
.how__places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(30px, 4vw, 44px); list-style: none; padding: 0; }
.how__places li { padding: 9px 14px; border-radius: 14px; background: var(--concave); box-shadow: var(--press-s); font-size: 0.93rem; color: var(--ink-2); }
.how__places b { color: var(--ink); font-weight: 700; }

/* ---------- Ціни ---------- */
.pricing { padding-bottom: clamp(30px, 4vw, 48px); }
.pricing__lead { margin-top: 12px; }
.pricing__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 30px; list-style: none; padding: 0; }
.plan { display: grid; grid-template-rows: auto 1fr auto auto auto auto; gap: 4px; padding: 20px 16px 16px; border: 1px solid var(--edge); border-radius: 30px; background: var(--convex); box-shadow: var(--raise); }
.plan--popular { background: var(--tag-grad); color: var(--on-tag); border-color: rgba(255, 255, 255, 0.3); box-shadow: 10px 10px 22px rgba(217, 77, 16, 0.32), -10px -10px 22px var(--hi), inset 1px 1px 1px rgba(255, 255, 255, 0.4); }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.12; }
.plan__note { min-height: 1.5em; color: var(--ink-2); font-size: 0.93rem; }
.plan--popular :is(.plan__note, .plan__credits) { color: var(--on-tag); }
.plan__price { display: inline-flex; margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 3.5vw, 3.1rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__period { color: var(--ink-3); font-size: 0.88rem; font-weight: 550; }
.plan--popular .plan__period { color: var(--on-tag); }
.plan__side { display: flex; flex-direction: column; justify-content: space-between; margin-left: 3px; padding-block: 0.16em 0.12em; font-size: 0.38em; font-weight: 700; line-height: 1; letter-spacing: 0; }
.plan__credits { margin-block: 8px 14px; font-size: 0.93rem; color: var(--ink-2); font-weight: 520; }
.plan__save { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--sale); color: #fff; font-weight: 700; }
.plan--popular .plan__save { background: var(--navy); }
.plan--popular .btn { background: linear-gradient(145deg, #2c3859, #182139); color: #fff; box-shadow: 4px 4px 10px rgba(120, 40, 5, 0.4); }
/* Поповнення без підписки: повзунок одразу показує, на скільки товарів вистачить */
.free { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) auto; align-items: center; gap: 16px clamp(18px, 3vw, 40px); margin-top: 22px; padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 30px); border-radius: 32px; background: var(--concave); box-shadow: var(--press); }
.free__title { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.15; }
.free__copy p { margin-top: 3px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.35; }
.free__control { display: grid; gap: 8px; min-width: 0; }
.free__control input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; background: none; cursor: pointer; }
.free__control input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--tag) var(--fill, 0%), #cdd5e3 var(--fill, 0%)); box-shadow: var(--press-s); }
.free__control input[type="range"]::-moz-range-track { height: 12px; border-radius: 6px; background: #cdd5e3; box-shadow: var(--press-s); }
.free__control input[type="range"]::-moz-range-progress { height: 12px; border-radius: 6px; background: var(--tag); }
.free__control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -10px; border: 1px solid var(--edge); border-radius: 50%; background: var(--convex); box-shadow: var(--raise-s); }
.free__control input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border: 1px solid var(--edge); border-radius: 50%; background: #f0f4fb; box-shadow: var(--raise-s); }
.free__read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; color: var(--ink-2); font-size: 0.95rem; }
.free__read output { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--tag-deep); font-variant-numeric: tabular-nums; }
.pricing__note { margin-top: 18px; color: var(--ink-2); font-size: 0.93rem; }

/* ---------- Відгуки ---------- */
.reviews__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.review { padding: 22px; border-radius: 24px; background: var(--convex); box-shadow: var(--raise-s); }
.review figcaption { margin-top: 10px; color: var(--ink-3); font-size: 0.92rem; }

/* ---------- Питання: відкрите запитання втискається ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__aside-note { margin-top: 16px; color: var(--ink-2); }
.faq__list { display: grid; gap: 14px; }
.faq__list details { border: 1px solid var(--edge); border-radius: 22px; background: var(--convex); box-shadow: var(--raise-s); transition: box-shadow 200ms ease; }
.faq__list details[open] { background: var(--concave); box-shadow: var(--press-s); border-color: transparent; }
.faq__list summary { position: relative; padding: 17px 58px 17px 20px; font-weight: 650; font-size: 1.05rem; line-height: 1.28; cursor: pointer; list-style: none; border-radius: 22px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 14px; top: 11px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--convex); box-shadow: var(--raise-xs); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; transition: rotate 200ms var(--ease-out); }
.faq__list details[open] summary::after { rotate: 45deg; color: var(--tag-deep); }
.faq__answer { padding: 0 22px 20px; color: var(--ink-2); max-width: 40em; }

/* ---------- Останній заклик ---------- */
.final { padding-block: clamp(10px, 2vw, 20px) clamp(16px, 3vw, 30px); }
.final__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--edge); border-radius: 40px; background: var(--convex); box-shadow: var(--raise); }
.final .h2 { max-width: 12em; }

/* ---------- Вузькі екрани ---------- */
@media (max-width: 1040px) {
  .pricing__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free { grid-template-columns: minmax(0, 1fr); }
  .free .btn { justify-self: start; }
}
@media (max-width: 860px) {
  .hero__grid, .sample__card, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .sample__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .press { max-width: 480px; }
  .faq__aside { position: static; }
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .how__steps::before { top: 8px; bottom: 8px; left: 38px; right: auto; width: 12px; height: auto; }
  .how__steps li { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; }
  .how__steps li::before { grid-row: 1 / span 2; }
  .how__title { margin-top: 8px; }
  .reviews__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .site-header { margin-inline: 10px; }
  .market__tray { width: calc(100% - 20px); padding-block: 10px; border-radius: 30px; gap: 4px; }
  .market__group li { height: 50px; padding: 0 15px 0 9px; font-size: 1.02rem; border-radius: 16px; }
  .market__group img { width: 30px; height: 30px; border-radius: 8px; }
  .shelf { width: calc(100% - 20px); padding: 10px; border-radius: 30px; }
  .shelf__row { grid-template-columns: repeat(6, 58vw); width: max-content; }
  .thumbs { border-radius: 32px; }
  .sample__card { border-radius: 32px; }
  .sample__thumbs { gap: 6px; }
  .sample__thumbs button { border-radius: 11px; padding: 3px; }
  .sample__thumbs canvas { border-radius: 7px; }
  .pricing__row { grid-template-columns: minmax(0, 1fr); }
  .press__row { padding-right: 128px; min-height: 92px; }
  .dial { width: 132px; height: 132px; right: -6px; bottom: -8px; }
  .dial__price { font-size: 2.05rem; }
  .dial__note { font-size: 0.68rem; }
  .flip { gap: 8px; font-size: 0.9rem; }
  .flip__track { width: 72px; height: 40px; }
  .flip__knob { width: 30px; height: 30px; }
  .press[data-on] .flip__knob { transform: translateX(32px); }
  .flip__knob::after { inset: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .well__after, .rocker::before, .flip__knob { transition: none; }
}
