/* ============ VARIABLES ============ */
:root {
    --purple: #7C3AED;
    --purple-dark: #5B21B6;
    --purple-deep: #3B0764;
    --purple-light: #A78BFA;
    --tint: #F4EEFF;
    --tint-2: #EDE6FB;
    --yellow: #FBD24E;
    --ink: #1E1633;
    --muted: #7A7291;
    --white: #ffffff;
    --border: #EAE3F7;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 18px 40px -18px rgba(91, 33, 182, .35);
    --shadow-sm: 0 8px 24px -12px rgba(91, 33, 182, .28);
    --container: 1200px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 10px;
}
.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -.02em;
}
.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.section__head--center { justify-content: center; text-align: center; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 100px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: #fff; color: var(--purple); border-color: var(--border); }
.btn--outline:hover { border-color: var(--purple); background: var(--tint); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--purple); font-weight: 800; font-size: 15px;
    transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 10px; }
.link-underline { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.link-underline:hover { color: var(--purple); }

/* ============ PROMO BAR ============ */
.promo-bar {
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
}
.promo-code {
    display: inline-block;
    background: var(--yellow);
    color: var(--purple-deep);
    padding: 2px 12px;
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: .05em;
    margin-left: 4px;
}

/* ============ HEADER ============ */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--purple); }
.logo__mark {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    background: var(--purple); color: #fff;
    border-radius: 14px;
}
.logo__text { font-weight: 900; font-size: 18px; line-height: .95; color: var(--ink); letter-spacing: -.02em; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__mark { background: #fff; color: var(--purple); }

.nav { display: flex; gap: 4px; }
.nav__link {
    font-weight: 800; font-size: 16px; color: var(--ink);
    padding: 8px 16px; border-radius: 100px;
    transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--purple); }
.nav__link--active { color: var(--purple); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ink); font-weight: 800; font-size: 15px;
    padding: 9px 14px; border-radius: 12px;
    transition: background .2s, color .2s;
}
.header__phone:hover { background: var(--tint); color: var(--purple); }
.header__phone svg { color: var(--purple); flex: none; }
.icon-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ink); padding: 9px; border-radius: 12px;
    transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--tint); color: var(--purple); }
.login-btn { padding: 9px 14px; }
.login-btn__text { font-weight: 800; font-size: 15px; }
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--purple); color: #fff;
    font-size: 11px; font-weight: 800;
    border-radius: 100px;
    display: grid; place-items: center;
    border: 2px solid #fff;
}

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 4px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    background: radial-gradient(120% 120% at 100% 0%, var(--tint-2) 0%, var(--tint) 45%, #fff 100%);
    overflow: hidden;
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 48px;
    padding: 56px 24px 72px;
}
.hero__media { position: relative; }
.hero__media img {
    width: 100%; border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover; aspect-ratio: 4/3;
}
.hero__title {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -.03em; margin-bottom: 18px;
}
.hero__title span { color: var(--purple); }
.hero__text { font-size: 18px; color: var(--muted); max-width: 480px; margin-bottom: 28px; }

/* ============ PRODUCTS ============ */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__img { display: block; overflow: hidden; background: var(--tint); aspect-ratio: 1/1; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
    display: inline-flex; align-items: center;
    font-size: 12.5px; font-weight: 800;
    padding: 4px 12px; border-radius: 100px;
    line-height: 1.4;
}
.tag--boy { background: #E3F0FF; color: #2563EB; }
.tag--girl { background: #FCE7F3; color: #DB2777; }
.tag--age { background: var(--tint); color: var(--purple); }
.product__title { font-size: 21px; font-weight: 900; letter-spacing: -.01em; margin-bottom: 4px; }
.product__sub { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-size: 14px; color: var(--muted); font-weight: 700; }
.product__price b { display: block; font-size: 20px; color: var(--ink); font-weight: 900; }

/* ============ GENDER ============ */
.gender { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gender__card {
    position: relative; border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 16/10;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease);
}
.gender__card:hover { transform: translateY(-4px); }
.gender__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gender__card:hover img { transform: scale(1.06); }
.gender__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-end;
    gap: 14px; padding: 32px;
    background: linear-gradient(180deg, transparent 30%, rgba(59,7,100,.75) 100%);
    color: #fff;
}
.gender__overlay h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; }
.pill {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--purple);
    font-weight: 800; font-size: 14px;
    padding: 10px 20px; border-radius: 100px;
    transition: background .2s, color .2s;
}
.gender__card:hover .pill { background: var(--yellow); color: var(--purple-deep); }

/* ============ AGES ============ */
.ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.age-card {
    position: relative; border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 4/5;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease);
}
.age-card:hover { transform: translateY(-4px); }
.age-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.age-card:hover img { transform: scale(1.06); }
.age-card__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 26px; text-align: center; color: #fff;
    background: linear-gradient(180deg, rgba(59,7,100,.35) 0%, transparent 40%, rgba(59,7,100,.35) 100%);
}
.age-card__label { font-size: 18px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.age-card__num { font-size: 34px; font-weight: 900; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.age-card__link {
    margin-top: auto; margin-bottom: 22px;
    background: rgba(255,255,255,.92); color: var(--purple);
    font-weight: 800; font-size: 14px;
    padding: 8px 20px; border-radius: 100px;
    transition: background .2s, color .2s;
}
.age-card:hover .age-card__link { background: var(--yellow); color: var(--purple-deep); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 4px;
    font-size: clamp(17px, 2.2vw, 20px); font-weight: 800;
    color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; flex: none;
    width: 12px; height: 12px;
    border-right: 2.5px solid var(--purple);
    border-bottom: 2.5px solid var(--purple);
    transform: rotate(45deg);
    transition: transform .25s var(--ease);
    margin-right: 6px;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 4px 24px; }
.faq__body p { color: var(--muted); font-size: 16px; font-weight: 600; max-width: 720px; }
.faq__more { text-align: center; margin-top: 36px; }

/* ============ FOOTER ============ */
.footer { background: var(--purple-deep); color: #E9DEFB; padding-top: 64px; }
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px; padding-bottom: 48px;
}
.footer__about { color: #C9B8E8; font-size: 15px; margin: 18px 0 22px; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 16px; font-weight: 900; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: #C9B8E8; font-weight: 600; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.social {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 12px;
    color: #fff;
    transition: transform .2s var(--ease), filter .2s;
}
.social:hover { transform: translateY(-3px); filter: brightness(1.08); }
.social--instagram { background: radial-gradient(circle at 30% 110%, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%); }
.social--facebook { background: #1877F2; }
.social--telegram { background: linear-gradient(180deg, #37BBFE, #007DBB); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { color: #B7A5D8; font-size: 14px; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: #B7A5D8; font-size: 14px; }
.footer__legal a:hover { color: #fff; }

/* ============ CATALOG ============ */
.catalog-head {
    background: radial-gradient(120% 140% at 100% 0%, var(--tint-2) 0%, var(--tint) 50%, #fff 100%);
    padding: 48px 0 40px; text-align: center;
}
.catalog-head__title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -.02em; margin: 6px 0 12px; }
.catalog-head__text { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

.filters {
    display: flex; flex-wrap: wrap; gap: 28px;
    padding: 20px 22px; margin-bottom: 20px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.chip {
    font-family: inherit; font-size: 14.5px; font-weight: 800; color: var(--ink);
    padding: 8px 18px; border-radius: 100px;
    background: var(--tint); border: 1.5px solid transparent;
    transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--purple-light); }
.chip.is-active { background: var(--purple); color: #fff; }

.catalog-count { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 24px; }
.catalog-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 17px; font-weight: 700; }

/* ============ PRODUCT PAGE ============ */
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 22px 0 4px; font-size: 14px; font-weight: 700; color: var(--muted);
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb span { color: var(--border); }
.breadcrumb__current { color: var(--ink); }

.product-page { padding: 32px 0 72px; }
.product-page__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: flex-start;
}

/* gallery */
.gallery { position: sticky; top: 96px; }
.gallery__main {
    border-radius: var(--radius); overflow: hidden;
    background: var(--tint); box-shadow: var(--shadow-sm);
    aspect-ratio: 1/1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery__thumb {
    width: 84px; height: 84px; border-radius: 14px; overflow: hidden;
    border: 2px solid var(--border); background: var(--tint);
    padding: 0; transition: border-color .2s, transform .2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--purple); }

/* info */
.product-info__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.product-info__title {
    font-size: clamp(30px, 4vw, 44px); font-weight: 900;
    letter-spacing: -.02em; line-height: 1.08; margin-bottom: 18px;
}
.product-info__desc { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }

.specs {
    margin: 26px 0; border: 1px solid var(--border);
    border-radius: var(--radius-sm); overflow: hidden;
}
.specs__row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 13px 18px; font-size: 15px;
}
.specs__row:nth-child(odd) { background: var(--tint); }
.specs__key { color: var(--muted); font-weight: 700; }
.specs__val { font-weight: 800; color: var(--ink); }

.buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.buy__price { font-size: 34px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.buy__btn { flex: 1; min-width: 200px; }
.buy__note { margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 700; }

/* order form */
.order-form { display: flex; flex-direction: column; gap: 24px; }
.order-form__group {
    border: 1px solid var(--border); border-radius: var(--radius);
    background: #fff; padding: 28px;
}
.order-form__legend {
    display: flex; align-items: center; gap: 12px;
    font-size: 20px; font-weight: 900; color: var(--ink);
    padding: 0; margin-bottom: 22px;
}
.order-form__step {
    display: grid; place-items: center; flex: none;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--purple); color: #fff; font-size: 16px; font-weight: 900;
}
.order-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.order-form__row {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1.4fr) 90px;
    gap: 18px; align-items: start;
}
.field--age input { text-align: center; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 800; color: var(--ink); }
.field__label b { color: var(--purple); }
.field input, .field select {
    font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
    padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px;
    background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus {
    outline: none; border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}

.choice { display: flex; gap: 12px; }
.choice__opt { flex: 1; position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__opt span {
    display: flex; align-items: center; justify-content: center;
    padding: 13px; border: 1.5px solid var(--border); border-radius: 12px;
    font-weight: 800; font-size: 15px; color: var(--muted);
    transition: all .2s;
}
.choice__opt input:checked + span {
    border-color: var(--purple); background: var(--tint); color: var(--purple);
}
.choice__opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(124,58,237,.12); }

.upload__box {
    position: relative; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 6px; padding: 30px 20px;
    border: 2px dashed var(--purple-light); border-radius: 14px;
    background: var(--tint); color: var(--purple);
    transition: background .2s, border-color .2s;
}
.upload__box:hover { background: var(--tint-2); border-color: var(--purple); }
.upload__box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.upload__placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.upload__text { font-weight: 800; font-size: 15px; color: var(--ink); }
.upload__hint { font-size: 13px; color: var(--muted); font-weight: 600; }

.upload__result { display: none; flex-direction: column; align-items: center; gap: 8px; }
.upload__preview {
    width: 130px; height: 130px; object-fit: cover;
    border-radius: 14px; border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}
.upload__name { font-size: 13.5px; font-weight: 800; color: var(--ink); word-break: break-all; }
.upload__change { font-size: 12.5px; font-weight: 700; color: var(--purple); }

/* when a file is selected */
.upload__box.has-file { border-style: solid; border-color: var(--purple); }
.upload__box.has-file .upload__placeholder { display: none; }
.upload__box.has-file .upload__result { display: flex; }
.order-form__submit { align-self: center; min-width: 260px; }

/* ============ CHECKOUT ============ */
.checkout { padding: 24px 0 72px; }
.checkout__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: flex-start; margin-top: 8px;
}
.checkout__preview { position: sticky; top: 96px; }
.checkout__preview-note { text-align: center; margin-top: 16px; color: var(--muted); font-weight: 700; font-size: 14px; }

/* cover stage */
.cover-stage {
    position: relative; aspect-ratio: 1/1;
    border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(135deg, var(--tint-2), var(--tint));
    box-shadow: var(--shadow);
}
.cover-loader {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 24px; text-align: center;
}
.cover-loader__text { font-size: 19px; font-weight: 900; color: var(--purple-deep); }
.cover-loader__sub { font-size: 14px; font-weight: 700; color: var(--muted); }
.spinner {
    width: 54px; height: 54px; border-radius: 50%;
    border: 5px solid rgba(124,58,237,.2); border-top-color: var(--purple);
    animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cover-result {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(1.03);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    pointer-events: none;
}
.cover-stage.is-ready .cover-loader { display: none; }
.cover-stage.is-ready .cover-result { opacity: 1; transform: scale(1); pointer-events: auto; }
.cover-result__base { width: 100%; height: 100%; object-fit: cover; }

/* order cards */
.checkout__details { display: flex; flex-direction: column; gap: 16px; }
.order-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    background: #fff; padding: 22px 24px;
}
.order-card__title { font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.order-line {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 8px 0; font-size: 15px; border-top: 1px solid var(--border);
}
.order-line:first-of-type { border-top: none; }
.order-line__key { color: var(--muted); font-weight: 700; flex: none; }
.order-line__val { font-weight: 800; color: var(--ink); text-align: right; word-break: break-word; }
.order-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.order-total {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-radius: var(--radius);
    background: var(--tint); font-size: 17px; font-weight: 800;
}
.order-total__price { font-size: 26px; font-weight: 900; color: var(--purple); }
.checkout__pay { width: 100%; }
.checkout__pay.is-paid { background: #16A34A; }
.checkout__secure { text-align: center; font-size: 13.5px; color: var(--muted); font-weight: 700; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .products { grid-template-columns: repeat(2, 1fr); }
    .ages { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .hero__text { margin-left: auto; margin-right: auto; }
    .hero__media { order: -1; max-width: 560px; margin: 0 auto; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .product-page__inner { grid-template-columns: 1fr; gap: 32px; }
    .gallery { position: static; max-width: 520px; }
    .checkout__inner { grid-template-columns: 1fr; gap: 32px; }
    .checkout__preview { position: static; max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .nav {
        position: fixed; inset: 0 0 0 auto;
        width: min(80vw, 320px);
        background: #fff; flex-direction: column;
        padding: 100px 24px 24px; gap: 8px;
        transform: translateX(100%);
        transition: transform .3s var(--ease);
        box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
        z-index: 90;
    }
    .nav.is-open { transform: translateX(0); }
    .nav__link { font-size: 18px; padding: 12px 16px; }
    .burger { display: flex; z-index: 95; }
    .login-btn__text { display: none; }
    .header__phone { padding: 9px; }
    .header__phone-text { display: none; }
    .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section__head--center { align-items: center; }
}

@media (max-width: 560px) {
    .products { grid-template-columns: 1fr; }
    .gender { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .product__foot { flex-direction: column; align-items: stretch; }
    .product__foot .btn { width: 100%; }
    .order-form__grid { grid-template-columns: 1fr; }
    .order-form__row { grid-template-columns: 1fr; }
    .order-form__group { padding: 22px 18px; }
    .buy { flex-direction: column; align-items: stretch; }
    .buy__btn { width: 100%; }
    .order-form__submit { width: 100%; min-width: 0; }
}

/* backdrop for mobile menu */
.nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(30,22,51,.4);
    opacity: 0; visibility: hidden;
    transition: opacity .3s;
    z-index: 85;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
