/* Surprise Guru — фирменный стиль
   Палитра со скрина: белый фон, розовый акцент #FF296A */

:root {
    --pink: #FF296A;
    --pink-dark: #E31355;
    --pink-soft: #FFF0F5;
    --ink: #14121A;
    --ink-60: #5C5866;
    --ink-40: #8B8795;
    --line: #ECEAF0;
    --bg: #FFFFFF;
    --bg-soft: #F7F6F9;
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;
    --shadow: 0 18px 50px -24px rgba(20, 18, 26, .28);
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* якорные секции не прячутся под липкой шапкой */
[id] { scroll-margin-top: 84px; }

/* страница не едет вбок ни при каких условиях */
body { overflow-x: hidden; }

body {
    margin: 0;
    font-family: 'Commissioner', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 0;
}

h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */

.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
}

.header__row {
    display: flex; align-items: center; gap: 14px;
    height: 68px;
}

.logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800; font-size: 21px; letter-spacing: -.04em;
    color: var(--pink); white-space: nowrap;
}
.logo span { color: var(--ink); }

/* выбор города */
.city { position: relative; flex: 0 0 auto; }
.city__btn {
    display: inline-flex; align-items: center; gap: 5px;
    height: 40px; padding: 0 12px;
    border: 1px solid var(--line); background: #fff; border-radius: 999px;
    font-size: 14px; color: var(--ink); max-width: 140px;
}
.city__btn svg { width: 16px; height: 16px; color: var(--pink); flex: 0 0 auto; }
.city__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city__chev { color: var(--ink-40) !important; width: 14px !important; height: 14px !important; transition: transform .18s; }
.city.is-open .city__chev { transform: rotate(180deg); }
.city__drop {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
    min-width: 208px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow);
}
.city.is-open .city__drop { display: block; }
.city__title { font-size: 12px; color: var(--ink-40); margin: 2px 6px 8px; }
.city__drop a {
    display: block; padding: 10px 10px; border-radius: var(--r-sm);
    font-size: 14.5px; color: var(--ink);
}
.city__drop a:hover { background: var(--bg-soft); }
.city__drop a.is-active { color: var(--pink); font-weight: 600; background: var(--pink-soft); }

.nav { display: none; margin-left: auto; gap: 26px; align-items: center; }
.nav a { font-size: 15px; color: var(--ink-60); transition: color .18s; }
.nav a:hover, .nav a.is-active { color: var(--pink); }

.header__side { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; font-weight: 600; font-size: 15px; white-space: nowrap; }

.burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line);
    background: #fff; border-radius: 999px; color: var(--ink);
}
.burger svg { width: 22px; height: 22px; }

.mobile-menu {
    display: none; border-top: 1px solid var(--line);
    background: #fff; padding: 12px 0 20px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
    display: block; padding: 13px 4px; font-size: 17px;
    border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px;
    border-radius: 999px; border: 0;
    font-weight: 600; font-size: 15px;
    background: var(--pink); color: #fff;
    transition: transform .16s ease, background .16s ease, box-shadow .16s;
    box-shadow: 0 10px 26px -12px rgba(255, 41, 106, .9);
}
.btn:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-soft); border-color: #DCD8E4; }

.btn--white { background: #fff; color: var(--pink); box-shadow: none; }
.btn--white:hover { background: #fff; opacity: .9; }

.btn--wide { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- Hero ---------- */

.hero { padding: 26px 0 8px; }

.hero__card {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, #FF296A 0%, #FF5C8D 52%, #FF8FB0 100%);
    color: #fff;
    padding: 34px 22px 30px;
    box-shadow: var(--shadow);
}
.hero__card::after {
    content: ''; position: absolute; right: -90px; top: -90px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}
.hero__card::before {
    content: ''; position: absolute; left: -60px; bottom: -120px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}
.hero__inner { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero__text { font-size: clamp(1rem, 2.2vw, 1.15rem); opacity: .94; margin-bottom: 22px; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; position: relative; z-index: 2; }
.hero__stat b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; line-height: 1; }
.hero__stat span { font-size: 13px; opacity: .85; }

/* ---------- Category pills (как на скрине) ---------- */

.pills {
    display: flex; gap: 14px; overflow-x: auto; padding: 22px 18px 6px;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    margin: 0 auto; max-width: var(--max);
}
.pills::-webkit-scrollbar { display: none; }

.pill { flex: 0 0 auto; width: 78px; text-align: center; scroll-snap-align: start; }
.pill__img {
    width: 72px; height: 72px; border-radius: 50%;
    padding: 3px; border: 2px solid var(--pink);
    margin: 0 auto 7px; background: #fff;
}
.pill__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pill span { font-size: 12.5px; line-height: 1.25; color: var(--ink-60); display: block; }
.pill:hover span { color: var(--pink); }

/* ---------- Sections ---------- */

.section { padding: 30px 0; }
.section__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 14px; margin-bottom: 16px;
}
.section__head a { font-size: 14px; color: var(--pink); font-weight: 600; white-space: nowrap; }
.section__sub { color: var(--ink-60); margin: -6px 0 18px; max-width: 60ch; }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.grid > * { min-width: 0; }

.card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--pink); color: #fff;
    font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.badge--dark { background: rgba(20, 18, 26, .72); backdrop-filter: blur(4px); }
.badge--right { left: auto; right: 12px; }

.card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: 12px; color: var(--pink); font-weight: 600; margin-bottom: 5px; }
.card__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 7px; }
.card__excerpt { font-size: 13.5px; color: var(--ink-60); margin-bottom: 12px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--ink-40); margin-bottom: 12px; }
.card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.card__meta svg { width: 14px; height: 14px; }
.card__price { margin-top: auto; display: flex; align-items: baseline; gap: 9px; }
.card__price b { font-family: 'Bricolage Grotesque', sans-serif; color: var(--pink); font-size: 19px; }
.card__price s { color: var(--ink-40); font-size: 13px; }

/* карточка-категория с фото на весь блок */
.tile {
    position: relative; border-radius: var(--r-md); overflow: hidden;
    aspect-ratio: 1 / 1; display: block;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile__label {
    position: absolute; inset: auto 0 0 0; padding: 34px 14px 14px;
    background: linear-gradient(transparent, rgba(14, 12, 18, .82));
    color: #fff;
}
.tile__label b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; display: block; letter-spacing: -.02em; }
.tile__label span { font-size: 12px; opacity: .82; }

/* ---------- Promo блоки ---------- */

.promo {
    border-radius: var(--r-lg); padding: 26px 22px;
    background: var(--pink); color: #fff; position: relative; overflow: hidden;
}
.promo::after {
    content: ''; position: absolute; right: -50px; bottom: -80px;
    width: 220px; height: 220px; border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}
.promo h2, .promo h3 { color: #fff; margin-bottom: 8px; }
.promo p { opacity: .92; margin-bottom: 18px; max-width: 46ch; }
.promo > * { position: relative; z-index: 2; }

.promo--soft { background: var(--pink-soft); color: var(--ink); }
.promo--soft::after { background: rgba(255, 41, 106, .08); }
.promo--soft h2, .promo--soft h3 { color: var(--ink); }
.promo--soft p { color: var(--ink-60); }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: step; }
.step {
    background: var(--bg-soft); border-radius: var(--r-md);
    padding: 20px 18px; position: relative;
}
.step b {
    font-family: 'Bricolage Grotesque', sans-serif; display: block;
    font-size: 15px; margin-bottom: 6px;
}
.step p { font-size: 14px; color: var(--ink-60); margin: 0; }
.step__num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--pink);
    display: block; margin-bottom: 10px;
}

/* ---------- Reviews ---------- */

.review {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 20px 18px;
    display: flex; flex-direction: column; gap: 10px;
}
.review__stars { color: var(--pink); display: flex; gap: 2px; }
.review__stars svg { width: 15px; height: 15px; fill: currentColor; }
.review p { font-size: 14.5px; color: var(--ink-60); margin: 0; }
.review__author { font-weight: 600; font-size: 14px; }
.review__author span { color: var(--ink-40); font-weight: 400; }

/* ---------- Форма ---------- */

.form { display: grid; gap: 11px; }
.form__row { display: grid; gap: 11px; grid-template-columns: 1fr; }
.field label { display: block; font-size: 13px; color: var(--ink-60); margin-bottom: 5px; }
.field input, .field textarea, .field select {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    background: #fff; font: inherit; color: var(--ink);
    transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 41, 106, .13);
}
.form__note { font-size: 12px; color: var(--ink-40); margin: 0; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.alert {
    background: var(--pink-soft); border: 1px solid rgba(255, 41, 106, .25);
    border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; color: var(--pink-dark);
}

/* ---------- Detail page ---------- */

.detail { display: grid; gap: 22px; grid-template-columns: 1fr; }
.detail__gallery { display: grid; gap: 10px; }
.detail__main { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.detail__main img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.detail__thumbs img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; cursor: pointer; }

.specs { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.specs div { background: #fff; padding: 13px 15px; display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.specs dt, .specs span:first-child { color: var(--ink-60); }
.specs span:last-child { font-weight: 600; text-align: right; }

.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.includes li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.includes svg { width: 19px; height: 19px; color: var(--pink); flex: 0 0 auto; margin-top: 1px; }

.order-box {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 20px 18px; background: #fff; box-shadow: var(--shadow);
}
.order-box__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.order-box__price b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; color: var(--pink); letter-spacing: -.03em; }
.order-box__price s { color: var(--ink-40); }

/* ---------- Breadcrumbs ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13px; color: var(--ink-40); padding: 16px 0 4px; }
.crumbs a:hover { color: var(--pink); }

/* ---------- Article ---------- */

.article { font-size: 16.5px; line-height: 1.7; }
.article h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 28px 0 10px; }
.article p { color: var(--ink-60); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 16px 18px; background: #fff;
}
.faq summary {
    cursor: pointer; font-weight: 600; font-size: 15.5px;
    list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; color: var(--ink-60); font-size: 14.5px; }

/* ---------- Footer ---------- */

.footer {
    margin-top: 40px; background: var(--ink); color: #fff;
    padding: 34px 0 calc(28px + env(safe-area-inset-bottom));
}
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.footer__grid h4 { font-size: 14px; margin-bottom: 12px; }
.footer__links { display: grid; gap: 9px; font-size: 14px; }
.footer__bottom {
    margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px; color: rgba(255, 255, 255, .5);
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ---------- Pagination ---------- */

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 26px; padding: 0; list-style: none; }
.pagination li span, .pagination li a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 999px; font-size: 14px;
}
.pagination .active span { background: var(--pink); border-color: var(--pink); color: #fff; }
.pagination .disabled span { opacity: .4; }

/* ---------- Filters ---------- */

.chips {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    max-width: 100%; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto; padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--line); font-size: 14px; background: #fff; color: var(--ink-60);
}
.chip.is-active { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 600; }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    display: flex; gap: 10px; align-items: center;
}
.sticky-cta .btn { flex: 1; }
.sticky-cta__price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; color: var(--pink); font-size: 18px; }
body.has-sticky { padding-bottom: 96px; }
body.has-sticky .sticky-cta { box-shadow: 0 -8px 24px -18px rgba(20,18,26,.5); }

/* ---------- Desktop ---------- */

@media (min-width: 760px) {
    .wrap { padding: 0 28px; }
    .nav { display: flex; }
    .burger { display: none; }
    .header__phone { display: block; }
    .city__btn { max-width: none; }
    .hero { padding: 34px 0 10px; }
    .hero__card { padding: 56px 48px 50px; }
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
    .section { padding: 44px 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .form__row { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .promo { padding: 40px 38px; }
    .pills { padding: 26px 28px 8px; }
    .pill { width: 96px; }
    .pill__img { width: 88px; height: 88px; }
    .pill span { font-size: 13.5px; }
    .sticky-cta { display: none; }
    body.has-sticky { padding-bottom: 0; }
}

@media (min-width: 1000px) {
    .steps { grid-template-columns: repeat(4, 1fr); }
    .detail { grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
    .detail__sticky { position: sticky; top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Фильтры подбора ---------- */

.filters { display: grid; gap: 12px; margin-bottom: 20px; }
.filters__row { display: grid; gap: 7px; }
.filters__label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--ink-40); font-weight: 600;
}

.empty {
    border: 1px dashed var(--line); border-radius: var(--r-lg);
    padding: 32px 22px; text-align: center; background: var(--bg-soft);
}
.empty b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; margin-bottom: 8px; }
.empty p { color: var(--ink-60); font-size: 14.5px; max-width: 44ch; margin: 0 auto 18px; }

/* ---------- CTA ---------- */

.cta-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.cta-form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; }

@media (min-width: 900px) {
    .cta-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}

/* ---------- Сторис-фильтр по поводам ---------- */

.stories {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding: 4px 18px 8px;
    margin: 0 -18px;
    max-width: 100vw;
    scrollbar-width: none; -ms-overflow-style: none;
}
.stories::-webkit-scrollbar { display: none; }

.story {
    flex: 0 0 auto; width: 92px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    scroll-snap-align: start; text-align: center;
}

.story__ring {
    width: 76px; height: 76px; border-radius: 50%;
    padding: 3px; background: #fff;
    border: 2px solid var(--line);
    display: block; position: relative;
    transition: border-color .18s ease, transform .18s ease;
}
.story__ring img {
    width: 100%; height: 100%;
    border-radius: 50%; object-fit: cover; display: block;
}

.story__all {
    width: 100%; height: 100%; border-radius: 50%;
    background: var(--pink-soft); color: var(--pink);
    display: flex; align-items: center; justify-content: center;
}
.story__all svg { width: 30px; height: 30px; }

.story__title {
    font-size: 12.5px; line-height: 1.25; color: var(--ink-60);
    overflow-wrap: normal; word-break: keep-all; hyphens: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

.story:hover .story__ring { border-color: var(--pink); transform: translateY(-2px); }
.story:hover .story__title { color: var(--ink); }

.story.is-active .story__ring {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 41, 106, .16);
}
.story.is-active .story__title { color: var(--pink); font-weight: 600; }

@media (min-width: 760px) {
    .stories { margin: 0; padding-left: 0; padding-right: 0; gap: 18px; }
    .story { width: 108px; }
    .story__ring { width: 90px; height: 90px; }
    .story__title { font-size: 13.5px; }
}

/* ---------- Пошаговое оформление ---------- */

.steps-bar {
    display: flex; gap: 8px; list-style: none; padding: 0; margin: 14px 0 18px;
    overflow-x: auto; scrollbar-width: none;
}
.steps-bar::-webkit-scrollbar { display: none; }
.steps-bar li {
    display: flex; align-items: center; gap: 7px;
    flex: 0 0 auto; font-size: 13px; color: var(--ink-40);
    padding: 7px 13px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
}
.steps-bar li span {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--bg-soft); color: var(--ink-40);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.steps-bar .is-done { color: var(--ink); border-color: var(--line); }
.steps-bar .is-done span { background: var(--pink-soft); color: var(--pink); }
.steps-bar .is-current { color: #fff; background: var(--pink); border-color: var(--pink); font-weight: 600; }
.steps-bar .is-current span { background: rgba(255,255,255,.25); color: #fff; }

/* карточка дополнения */
.addon {
    position: relative; display: flex; flex-direction: column;
    scroll-margin-top: 90px;
    border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; background: #fff; cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.addon:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.addon__check { position: absolute; opacity: 0; pointer-events: none; }

.addon__media { position: relative; aspect-ratio: 3/2; background: var(--bg-soft); display: block; }
.addon__media img { width: 100%; height: 100%; object-fit: cover; }

.addon__body { padding: 13px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.addon__title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -.02em; margin-bottom: 5px; }
.addon__text { font-size: 13px; color: var(--ink-60); margin-bottom: 12px; }
.addon__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.addon__foot b { font-family: 'Bricolage Grotesque', sans-serif; color: var(--pink); font-size: 16px; }

.addon__mark {
    width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--line); color: transparent;
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
    transition: background .16s, border-color .16s, color .16s;
}
.addon__mark svg { width: 15px; height: 15px; }

.addon:has(.addon__check:checked) { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,41,106,.14); }
.addon:has(.addon__check:checked) .addon__mark { background: var(--pink); border-color: var(--pink); color: #fff; }
.addon__check:focus-visible + .addon__media { outline: 3px solid var(--pink); outline-offset: -3px; }

/* итоговая панель */
.order-summary {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 20px 18px; background: #fff; box-shadow: var(--shadow);
}
.order-summary__rows { display: grid; gap: 9px; margin-bottom: 12px; }
.order-summary__rows > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.order-summary__rows span { color: var(--ink-60); }
.order-summary__total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding-top: 13px; border-top: 1px solid var(--line); margin-bottom: 16px;
}
.order-summary__total span { color: var(--ink-60); font-size: 14.5px; }
.order-summary__total b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; color: var(--pink); letter-spacing: -.03em; }

/* страница оформления */
.checkout { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 6px; }
.checkout__order, .checkout__form {
    border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px; background: #fff;
}
.order-line { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-line img { width: 72px; height: 54px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 auto; }
.order-line div { flex: 1; min-width: 0; }
.order-line b { display: block; font-size: 15px; line-height: 1.25; }
.order-line span { font-size: 12.5px; color: var(--ink-40); }
.order-line__price { font-weight: 600; white-space: nowrap; }

.order-addons { display: grid; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-addons__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.order-addons__row span { color: var(--ink-60); }

.order-change { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--pink); font-weight: 600; }

@media (min-width: 900px) {
    .checkout { grid-template-columns: 1fr 1fr; align-items: start; }
    .order-summary { max-width: 460px; margin-left: auto; }
}

.quick-form summary {
    cursor: pointer; font-size: 14px; color: var(--ink-60);
    list-style: none; padding: 10px 0; border-top: 1px solid var(--line);
}
.quick-form summary::-webkit-details-marker { display: none; }
.quick-form summary::before { content: '+ '; color: var(--pink); font-weight: 700; }
.quick-form[open] summary::before { content: '− '; }
