@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 900;
    font-display: block;
    src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 900;
    font-display: block;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --white: #ffffff;
    --onyx: #464646;
    --onyx-900: #1c1c1c;
    --onyx-800: #2a2a2a;
    --red: #c41230; /* Active Volcano */
    --red-deep: #7e0c1f; /* Heavy Heart */
    --stone: #c5c5c5; /* Weathered Stone */
    --stone-100: #f4f3f2;
    --stone-200: #e8e6e4;
    --ink: #1c1c1c;
    --muted: #6b6b6b;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --maxw: 1240px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-sm: 0 2px 10px rgba(28, 28, 28, .06);
    --shadow: 0 18px 50px rgba(28, 28, 28, .12);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: clip
}

body {
    margin: 0;
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: 24px
}

section {
    position: relative
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0;
    text-wrap: balance;
    overflow-wrap: break-word
}

h1 {
    font-size: clamp(2.25rem, 5.6vw, 4.35rem);
    font-weight: 900
}

h2 {
    font-size: clamp(1.7rem, 3.25vw, 2.65rem)
}

h3 {
    font-size: clamp(1.12rem, 1.8vw, 1.42rem)
}

p, li {
    text-wrap: pretty
}

.eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red)
}

.lead {
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    color: var(--muted);
    max-width: 60ch
}

.muted {
    color: var(--muted)
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 700;
    font-size: .92rem;
    padding: .95rem 1.7rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    letter-spacing: .01em;
    font-family: inherit;
    text-align: center;
    line-height: 1.2
}

.btn-primary {
    background: var(--red);
    color: #fff
}

.btn-primary:hover {
    background: var(--red-deep);
    transform: translateY(-2px)
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff
}

.btn-ghost:hover {
    border-color: #fff;
    transform: translateY(-2px)
}

.btn-dark {
    background: var(--onyx-900);
    color: #fff
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-2px)
}

.btn-line {
    background: transparent;
    border-color: var(--onyx-900);
    color: var(--onyx-900)
}

.btn-line:hover {
    background: var(--onyx-900);
    color: #fff
}

.btn svg {
    width: 18px;
    height: 18px
}

/* ---- header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(28, 28, 28, .07);
    transition: background .3s
}

.nav {
    display: flex;
    align-items: center;
    height: 82px
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 900;
    letter-spacing: .04em
}

.brand .mark {
    height: 66px;
    width: auto;
    display: block
}

.site-footer .brand .mark {
    height: 110px;
    filter: invert(1)
}

.brand-name {
    line-height: .95;
    font-size: 1.05rem
}

.brand-name span {
    display: block;
    font-size: .62rem;
    letter-spacing: .34em;
    color: var(--muted);
    font-weight: 600
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    margin-left: 4rem
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--onyx);
    position: relative
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .3s var(--ease)
}

.nav-links a:hover::after {
    width: 100%
}

.nav-dropdown {
    position: relative
}

.nav-catalog-toggle {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--onyx);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: normal;
    letter-spacing: .02em;
    cursor: pointer
}

.nav-catalog-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .2s var(--ease)
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -1rem;
    z-index: 70;
    display: flex;
    min-width: 270px;
    padding: .65rem;
    flex-direction: column;
    gap: .15rem;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(28, 28, 28, .08);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(28, 28, 28, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, visibility .2s, transform .2s var(--ease)
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px
}

.nav-dropdown-menu a {
    padding: .7rem .8rem;
    border-radius: 8px;
    font-size: .86rem;
    white-space: nowrap
}

.nav-dropdown-menu a:hover {
    background: var(--stone-100);
    color: var(--red)
}

.nav-dropdown-menu a::after {
    display: none
}

.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none
}

.nav-dropdown:hover .nav-catalog-toggle svg, .nav-dropdown:focus-within .nav-catalog-toggle svg, .nav-dropdown.open .nav-catalog-toggle svg {
    transform: rotate(180deg)
}

.nav-cta {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin-left: auto
}

.nav-cta > .header-preorder {
    width: 128px;
    flex: 0 0 128px;
    padding-inline: .75rem;
    white-space: nowrap
}

.header-socials {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: .65rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(28, 28, 28, .12)
}

.header-social-link {
    width: 44px;
    height: 44px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--stone-100);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s
}

.header-social-link:hover,
.header-social-link:focus-visible {
    background: #fff;
    border-color: rgba(28, 28, 28, .28);
    outline: none;
    transform: translateY(-1px)
}

.header-action-icon {
    position: relative;
    display: block;
    width: 36px;
    height: 36px
}

.header-action-icon img {
    position: absolute;
    inset: 0;
    width: 36px;
    height: 36px;
    transition: opacity .2s
}

.header-action-icon-hover {
    opacity: 0
}

.header-social-link:hover .header-action-icon-hover,
.header-social-link:focus-visible .header-action-icon-hover,
.cart-btn:hover .header-action-icon-hover,
.cart-btn:focus-visible .header-action-icon-hover {
    opacity: 1
}

.header-social-link:hover .header-action-icon > img:first-child,
.header-social-link:focus-visible .header-action-icon > img:first-child,
.cart-btn:hover .header-action-icon > img:first-child,
.cart-btn:focus-visible .header-action-icon > img:first-child {
    opacity: 0
}

.header-social-link.is-pending {
    opacity: .72
}

.fc-social-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    overflow: hidden
}

.fc-social-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 42px;
    height: 42px
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px auto;
    transition: .3s
}

/* ---- hero ---- */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 20, 20, .15) 0%, rgba(20, 20, 20, .05) 40%, rgba(20, 20, 20, .78) 100%),
    #2a2a2a center/cover no-repeat
}

.hero-inner {
    padding-block: clamp(3rem, 8vh, 7rem);
    width: 100%
}

.hero h1 {
    max-width: 16ch;
    font-size: clamp(2.15rem, 4.8vw, 3.8rem);
    font-weight: 800;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35)
}

.hero .lead {
    color: rgba(255, 255, 255, .9);
    margin-top: 1.2rem;
    max-width: 50ch
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap
}

.hero-badges {
    display: flex;
    gap: 1.6rem;
    margin-top: 2.6rem;
    flex-wrap: wrap;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92)
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--red);
    flex: none
}

/* ---- mascot (hero corner / loader) ---- */
.mascot {
    width: 100%;
    height: auto
}

.mascot .flame {
    transform-origin: center bottom
}

/* ---- section heads ---- */
.sec {
    padding-block: clamp(3.5rem, 8vw, 6.5rem)
}

.sec-head {
    max-width: 58ch;
    margin-bottom: 2.6rem
}

.sec-head h2 {
    margin-top: .6rem
}

.sec-head p {
    margin-top: .9rem
}

/* ---- line story (ИСКРА lineup) ---- */
.line-story .sec-head {
    max-width: 760px
}

.line-story-title {
    width: 100%;
    padding: clamp(1.1rem, 2.4vw, 1.7rem) clamp(1.2rem, 3vw, 2rem);
    background: linear-gradient(100deg, rgba(12, 12, 12, .92), rgba(12, 12, 12, .72));
    border-left: 4px solid var(--red);
    border-radius: 0 18px 18px 0;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .14)
}

.line-story-title .eyebrow {
    margin: 0 0 .7rem;
    color: #fff;
    opacity: 1
}

.line-story-title h2 {
    margin: 0;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .55)
}

.line-story-title + .lead {
    margin-top: 1.25rem
}

.line-story .ls-row {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: clamp(1.8rem, 4vw, 3.4rem);
    align-items: center;
    margin-top: 2.6rem
}

.line-story .ls-rev .ls-media {
    order: 2
}

.line-story .ls-media {
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.line-story .ls-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 4/3;
    padding: clamp(.7rem, 2vw, 1.25rem);
    background: #fff
}

.line-story .ls-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    margin: 0 0 .8rem
}

.line-story .ls-text p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 1.4rem;
    max-width: 48ch
}

/* ---- market comparison (данные анализа 46 карточек WB/Ozon) ---- */
.market-wrap {
    margin-top: 2.4rem;
    overflow-x: auto;
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    -webkit-overflow-scrolling: touch
}

.market-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    font-size: .94rem
}

.market-table th, .market-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--stone-200)
}

.market-table thead th {
    background: var(--stone-100);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap
}

.market-table thead th.mt-us {
    color: var(--red)
}

.market-table tbody th {
    width: 26%;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35
}

.market-table tbody td {
    color: var(--muted);
    line-height: 1.5
}

.market-table td.mt-us {
    background: rgba(196, 18, 48, .045);
    color: var(--ink)
}

.market-table td.mt-us strong {
    font-weight: 800
}

.market-table tbody tr:last-child th, .market-table tbody tr:last-child td {
    border-bottom: 0
}

.mt-note {
    display: block;
    margin-top: .3rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    text-transform: none
}

.market-highlight {
    max-width: 78ch;
    margin: 2rem 0 0;
    padding: 1.25rem 1.5rem;
    background: var(--stone-100);
    border-left: 3px solid var(--red);
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
    line-height: 1.6
}

.market-source {
    margin: 1.2rem 0 0;
    font-size: .78rem;
    color: var(--muted)
}

/* ---- product cards ---- */
.cards {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: stretch
}

.cards > * {
    min-width: 0
}

.card {
    background: var(--white);
    border: 1px solid rgba(28, 28, 28, .08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease)
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.card-media {
    aspect-ratio: 4/3;
    background: #fff;
    position: relative;
    overflow: hidden
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8% 6%;
    transition: transform .5s var(--ease)
}

.card:hover .card-media img {
    transform: scale(1.04)
}

.card-flag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .7rem;
    border-radius: 50px
}

.card-body {
    padding: 1.6rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.card-body h3 {
    margin-bottom: .35rem;
    min-height: 2.4em
}

.card-spec {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: 1rem;
    min-height: 3.2em
}

.card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem
}

.price {
    font-size: 1.55rem;
    font-weight: 900
}

.price small {
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    display: block;
    letter-spacing: .06em
}

/* ---- configurator ---- */
.config {
    background: var(--stone-100)
}

.config-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.4rem;
    align-items: start
}

.config-stage {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 96px
}

.config-stage img {
    aspect-ratio: 4/3;
    object-fit: contain;
    width: 100%;
    background: #fff;
    border-radius: var(--radius)
}

.cfg-color-note {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: .9rem 0 0;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink)
}

.cfg-color-swatch {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .18);
    background: var(--red)
}

.cfg-color-swatch.grey {
    background: #7d7d7d
}

.config-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm)
}

.cfg-step {
    margin-bottom: 1.6rem
}

.cfg-step h4 {
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .7rem
}

.opt-row {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap
}

.opt {
    border: 2px solid rgba(28, 28, 28, .12);
    border-radius: var(--radius-sm);
    padding: .7rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
    transition: .2s;
    background: #fff;
    display: flex;
    align-items: center;
    gap: .55rem
}

.opt:hover {
    border-color: var(--onyx)
}

.opt.active {
    border-color: var(--red);
    background: rgba(196, 18, 48, .05)
}

.swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15)
}

.swatch.red {
    background: var(--red)
}

.swatch.grey {
    background: #7d7d7d
}

.addon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(28, 28, 28, .08)
}

.addon:last-child {
    border-bottom: 0
}

.addon label {
    display: flex;
    align-items: center;
    gap: .7rem;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 500
}

.addon input {
    width: 20px;
    height: 20px;
    accent-color: var(--red);
    cursor: pointer
}

.addon .ap {
    font-weight: 700;
    font-size: .92rem
}

.cfg-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 1.4rem 0;
    padding-top: 1.2rem;
    border-top: 2px solid var(--onyx-900)
}

.cfg-total .t-label {
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.cfg-total .t-val {
    font-size: 2rem;
    font-weight: 900
}

/* ---- catalog configurator ---- */
.catalog-config {
    scroll-margin-top: 76px
}

.catalog-config .config-stage {
    top: 88px
}

.cc-options {
    display: grid;
    gap: .65rem
}

.cc-group {
    border: 1px solid rgba(28, 28, 28, .1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff
}

.cc-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    list-style: none
}

.cc-group summary::-webkit-details-marker {
    display: none
}

.cc-group summary::after {
    content: "+";
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 500;
    margin-left: auto
}

.cc-group[open] summary::after {
    content: "−"
}

.cc-group summary span {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 600;
    background: var(--stone-100);
    border-radius: 999px;
    padding: .15rem .5rem
}

.cc-group-list {
    border-top: 1px solid rgba(28, 28, 28, .08)
}

.cc-option {
    display: grid;
    grid-template-columns:42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(28, 28, 28, .07);
    position: relative
}

.cc-option:last-child {
    border-bottom: 0
}

.cc-option:hover {
    background: rgba(196, 18, 48, .035)
}

.cc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.cc-option img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--stone-100)
}

.cc-option-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .12rem
}

.cc-option-copy strong {
    font-size: .82rem;
    line-height: 1.3
}

.cc-option-copy small {
    font-size: .68rem;
    color: var(--muted)
}

.cc-option-price {
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap
}

.cc-option:has(input:checked) {
    background: rgba(196, 18, 48, .06);
    box-shadow: inset 3px 0 var(--red)
}

.cc-option:has(input:checked) .cc-option-copy strong {
    color: var(--red)
}

.cc-submit {
    width: 100%;
    justify-content: center
}

.product-configurator {
    margin-top: clamp(3rem, 7vw, 6rem);
    scroll-margin-top: 88px
}

.product-configurator .sec-head {
    margin-bottom: 0
}

.product-configurator .config-stage {
    top: 88px
}

.product-configurator .config-panel {
    max-height: none
}

.product-configurator .cc-option-price {
    max-width: 9rem;
    text-align: right
}

.spec-details {
    margin-top: 1.5rem;
    border: 1px solid rgba(28, 28, 28, .12);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden
}

.spec-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .04em;
    list-style: none
}

.spec-details summary::-webkit-details-marker {
    display: none
}

.spec-details summary::after {
    content: "+";
    color: var(--red);
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 500
}

.spec-details[open] summary::after {
    content: "−"
}

.spec-details .spec-table {
    margin: 0;
    padding: 0 1.1rem;
    display: table;
    width: calc(100% - 2.2rem);
    margin-inline: 1.1rem
}

/* ---- preorder form ---- */
.form-wrap {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start
}

.form-card {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(28, 28, 28, .08);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-sm)
}

.field {
    margin-bottom: 1.1rem
}

.field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .4rem
}

.field input, .field textarea, .field select {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid rgba(28, 28, 28, .16);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s;
    background: #fff
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--red)
}

.consent {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .82rem;
    color: var(--muted);
    margin: 1rem 0 1.3rem;
    line-height: 1.5
}

.consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    flex: none;
    cursor: pointer
}

.consent > span {
    flex: 1
}

.consent a {
    color: var(--red);
    text-decoration: underline
}

.btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none
}

.form-ok {
    display: none;
    background: rgba(196, 18, 48, .06);
    border: 1px solid rgba(196, 18, 48, .25);
    border-radius: var(--radius);
    padding: 1.2rem;
    color: var(--ink);
    font-size: .92rem;
    margin-top: 1rem
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: 1rem
}

.offer-list li {
    display: flex;
    gap: .8rem;
    font-weight: 500
}

.offer-list svg {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex: none
}

/* ---- B2B / корпоративные заказы ---- */
.b2b {
    background: var(--onyx-900);
    color: #fff
}

.b2b-list li {
    color: rgba(255, 255, 255, .88)
}

.b2b-note {
    margin: 1.6rem 0 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    max-width: 52ch;
    line-height: 1.55
}

/* ---- footer ---- */
.site-footer {
    background: var(--onyx-900);
    color: rgba(255, 255, 255, .7);
    padding-block: 3.5rem 2rem;
    margin-top: 0
}

.foot-grid {
    display: grid;
    grid-template-columns:minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 2rem
}

.foot-grid h5 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 1rem
}

.foot-grid a {
    display: block;
    font-size: .9rem;
    padding: .25rem 0;
    color: rgba(255, 255, 255, .7)
}

.foot-grid a:hover {
    color: #fff
}

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: rgba(255, 255, 255, .5)
}

.slogan {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 600;
    margin: 1rem 0;
    max-width: 30ch
}

/* ---- column alignment / overflow guards ---- */
.info-grid, .cat-grid {
    align-items: stretch
}

.info-grid > *, .cat-grid > *, .pdp > *, .form-wrap > *, .config-grid > * {
    min-width: 0
}

.info-card {
    display: flex;
    flex-direction: column;
    height: 100%
}

/* ---- configurator 2.0 extras ---- */
.opt.preset {
    background: var(--onyx-900);
    color: #fff;
    border-color: var(--onyx-900)
}

.opt.preset:hover {
    background: #000
}

.opt.preset.active {
    background: var(--red);
    border-color: var(--red)
}

.cfg-hint {
    font-size: .78rem;
    color: var(--muted);
    margin: .9rem 0 0;
    line-height: 1.45
}

.addon.disabled {
    opacity: .4;
    pointer-events: none
}

.cfg-receipt {
    margin-top: 1.2rem;
    border-top: 1px dashed rgba(28, 28, 28, .18);
    padding-top: 1rem
}

.cfg-receipt-title {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 .6rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap
}

.cfg-art {
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--ink);
    font-weight: 800;
    text-transform: none
}

.cfg-lines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .4rem
}

.cfg-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .86rem
}

.cfg-lines li span:last-child {
    font-weight: 700;
    white-space: nowrap
}

.cfg-lines li.cfg-line-total {
    border-top: 1px solid rgba(28, 28, 28, .14);
    margin-top: .4rem;
    padding-top: .5rem;
    font-weight: 800
}

/* ---- voices ---- */
.voices {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.4rem;
    align-items: stretch
}

.voice {
    margin: 0;
    background: #222;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 1.8rem;
    display: flex;
    flex-direction: column
}

.voice-stars {
    color: var(--red);
    letter-spacing: .15em;
    font-size: 1rem;
    margin-bottom: .9rem
}

.voice blockquote {
    margin: 0;
    font-size: .96rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92)
}

.voice figcaption {
    margin-top: auto;
    padding-top: 1.3rem;
    display: flex;
    flex-direction: column
}

.voice-name {
    font-weight: 700;
    color: #fff;
    font-size: .92rem
}

.voice-role {
    font-size: .78rem;
    color: var(--stone)
}

/* ---- FAQ ---- */
.faq {
    max-width: 820px;
    margin-top: .5rem
}

.faq-item {
    border-bottom: 1px solid rgba(28, 28, 28, .12)
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 2.4rem 1.2rem 0;
    font-weight: 700;
    font-size: 1.02rem;
    position: relative;
    transition: color .2s
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: .2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--red);
    transition: transform .3s var(--ease)
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg)
}

.faq-item summary:hover {
    color: var(--red)
}

.faq-a {
    padding: 0 2.4rem 1.3rem 0
}

.faq-a p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.65
}

.faq-a a {
    color: var(--red);
    text-decoration: underline
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media (min-width: 901px) and (max-width: 960px) {
    .nav-links {
        gap: 1.2rem;
        margin-left: 1.5rem
    }

    .nav-links > a,
    .nav-catalog-toggle {
        font-size: .88rem
    }

    .header-socials {
        margin-left: .2rem;
        padding-left: .5rem
    }
}

@media (max-width: 900px) {
    .nav-links, .nav-cta .header-preorder {
        display: none
    }

    .burger {
        display: block
    }

    .cards, .config-grid, .form-wrap, .voices {
        grid-template-columns:1fr
    }

    .line-story .ls-row {
        grid-template-columns:1fr;
        gap: 1.4rem
    }

    .line-story .ls-rev .ls-media {
        order: 0
    }

    .config-stage {
        position: static
    }

    .foot-grid {
        grid-template-columns:1fr 1fr
    }

    .mobile-open .nav-links {
        display: flex;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 1.4rem 24px;
        gap: 1rem;
        margin-left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .08)
    }

    .mobile-open .nav-links {
        align-items: stretch
    }

    .nav-dropdown {
        width: 100%
    }

    .nav-catalog-toggle {
        width: 100%;
        justify-content: space-between
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: .7rem;
        padding: .35rem 0 0 .8rem;
        border: 0;
        border-left: 2px solid var(--stone-200);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: flex
    }

    .nav-dropdown:hover:not(.open) .nav-dropdown-menu {
        display: none
    }
}

@media (max-width: 560px) {
    .container {
        padding-inline: 18px
    }

    .foot-grid {
        grid-template-columns:1fr
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

    .card-body h3, .card-spec {
        min-height: 0
    }

    /* На узких экранах цена и кнопки карточки грилей ставятся в столбик,
     чтобы цена не переносилась по буквам, а вторая кнопка не обрезалась */
    .card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: .8rem
    }

    .card-foot .price {
        white-space: nowrap
    }

    .card-foot > div[style] {
        display: flex;
        gap: .6rem
    }

    .cc-option {
        grid-template-columns:38px minmax(0, 1fr);
        padding: .65rem .75rem
    }

    .cc-option img {
        width: 38px;
        height: 38px
    }

    .cc-option-price {
        grid-column: 2
    }

    .card-foot > div[style] > .btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center
    }

    .card-foot .btn {
        padding: .78rem .85rem;
        font-size: .78rem
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .mascot .flame {
        animation: none !important
    }

    * {
        scroll-behavior: auto
    }
}

/* ===== Cart icon in header (all pages) ===== */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 3px;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    color: var(--onyx-900);
    border-radius: var(--radius-sm);
    transition: background .2s, border-color .2s, transform .2s
}

.cart-btn:hover,
.cart-btn:focus-visible {
    background: #fff;
    border-color: rgba(28, 28, 28, .28);
    outline: none;
    transform: translateY(-1px)
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1
}

.cart-count.show {
    display: flex
}

/* ===== Catalog: clickable product cards (accessories/boards) ===== */
.prod-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.4rem
}

.prod-grid.cols2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
}

.prod-grid.cols4 {
    grid-template-columns:repeat(4, minmax(0, 1fr))
}

.prod-grid.cols3 {
    grid-template-columns:repeat(3, minmax(0, 1fr))
}

.prod-grid > * {
    min-width: 0
}

.prod-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(28, 28, 28, .08);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    padding: 0;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.prod-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(196, 18, 48, .3)
}

.prod-card:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px
}

.prod-card .pm {
    aspect-ratio: 1/1;
    background: #fff;
    overflow: hidden;
    position: relative
}

.prod-card .pm img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7%;
    transition: transform .45s var(--ease)
}

.prod-card:hover .pm img {
    transform: scale(1.05)
}

.prod-card .pflag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--onyx-900);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border-radius: 50px
}

.prod-card .pb {
    padding: 1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.prod-card h4 {
    font-size: .96rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: .3rem;
    line-height: 1.25
}

.prod-card .pdesc {
    font-size: .82rem;
    color: var(--muted);
    margin: 0 0 .9rem;
    line-height: 1.5;
    flex: 1
}

.prod-card .pfoot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .6rem;
    margin-top: auto
}

.prod-card .pprice {
    font-weight: 900;
    font-size: 1.12rem;
    line-height: 1.1
}

.prod-card .part {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .05em;
    margin-top: .2rem
}

.prod-card .padd {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--red);
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: background .2s, transform .2s
}

.prod-card .padd:hover {
    background: var(--red-deep);
    transform: scale(1.06)
}

.prod-card .padd svg {
    width: 20px;
    height: 20px
}

.cat-subhead {
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
    margin: 2.2rem 0 .2rem
}

.cat-subnote {
    font-size: .86rem;
    color: var(--muted);
    margin: .3rem 0 0
}

.series-label {
    font-size: .84rem;
    text-transform: none;
    letter-spacing: .02em;
    font-weight: 700;
    margin: 1.6rem 0 .2rem;
    color: var(--onyx)
}

/* ===== Generic modal / overlay (product details + cart) ===== */
.fc-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 20, 20, .55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), visibility .28s
}

.fc-overlay.open {
    opacity: 1;
    visibility: visible
}

body.modal-lock {
    overflow: hidden
}

/* Product modal (centered) */
.pmodal {
    position: fixed;
    z-index: 210;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), visibility .28s;
    pointer-events: none
}

.pmodal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.pmodal-box {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    transform: translateY(16px) scale(.98);
    transition: transform .3s var(--ease);
    box-shadow: var(--shadow)
}

.pmodal.open .pmodal-box {
    transform: none
}

.pmodal-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 0
}

.pmodal-media {
    background: #fff;
    display: flex;
    flex-direction: column
}

.pmodal-main {
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    overflow: hidden
}

.pmodal-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9%
}

.pmodal-thumbs {
    display: flex;
    gap: .5rem;
    padding: 0 1rem 1rem;
    flex-wrap: wrap
}

.pmodal-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 4px
}

.pmodal-thumbs img.active {
    border-color: var(--red)
}

.pmodal-info {
    padding: 1.8rem 1.8rem 2rem;
    position: relative
}

.pmodal-close {
    position: absolute;
    top: .9rem;
    right: .9rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--stone-100);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--onyx-900);
    transition: background .2s;
    z-index: 2
}

.pmodal-close:hover {
    background: var(--stone-200)
}

.pmodal-close svg {
    width: 18px;
    height: 18px
}

.pmodal-info .eyebrow {
    margin-bottom: .4rem
}

.pmodal-info h3 {
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: -.01em;
    margin-bottom: .6rem
}

.pmodal-art {
    font-size: .74rem;
    color: var(--muted);
    letter-spacing: .06em;
    margin: 0 0 .9rem
}

.pmodal-desc {
    font-size: .92rem;
    color: var(--ink);
    line-height: 1.6;
    margin: 0 0 1.2rem
}

.pmodal-price {
    font-size: 1.9rem;
    font-weight: 900;
    margin: .2rem 0 1rem
}

.pmodal-price small {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .05em
}

.pmodal-specs {
    width: 100%;
    border-collapse: collapse;
    margin: .4rem 0 1.4rem;
    font-size: .86rem
}

.pmodal-specs td {
    padding: .6rem 0;
    border-bottom: 1px solid rgba(28, 28, 28, .1);
    vertical-align: top
}

.pmodal-specs td:first-child {
    color: var(--muted);
    width: 46%;
    font-weight: 600;
    padding-right: 1rem
}

.pmodal-specs td:last-child {
    font-weight: 600
}

.pmodal-add {
    width: 100%;
    justify-content: center
}

/* ===== Cart drawer (right side) ===== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    width: min(440px, 100%);
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(102%);
    transition: transform .32s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .18)
}

.cart-drawer.open {
    transform: none
}

.cart-head {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid rgba(28, 28, 28, .1)
}

.cart-head h3 {
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: 0
}

.cart-head .cart-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--stone-100);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s
}

.cart-head .cart-close:hover {
    background: var(--stone-200)
}

.cart-head .cart-close svg {
    width: 18px;
    height: 18px
}

.cart-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.2rem 1.5rem
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted)
}

.cart-empty svg {
    width: 54px;
    height: 54px;
    color: var(--stone);
    margin-bottom: 1rem
}

.cart-empty p {
    margin: .4rem 0 1.4rem;
    font-size: .95rem
}

.cart-item {
    display: grid;
    grid-template-columns:62px 1fr auto;
    gap: .9rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(28, 28, 28, .08);
    align-items: start
}

.cart-item .ci-img {
    width: 62px;
    height: 62px;
    background: var(--stone-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: grid;
    place-items: center
}

.cart-item .ci-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px
}

.cart-item .ci-name {
    font-weight: 700;
    font-size: .88rem;
    line-height: 1.3;
    margin: 0 0 .15rem
}

.cart-item .ci-art {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .04em;
    margin: 0 0 .5rem
}

.cart-item .ci-price {
    font-size: .82rem;
    color: var(--muted)
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(28, 28, 28, .16);
    border-radius: 50px;
    overflow: hidden
}

.qty button {
    width: 30px;
    height: 30px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--onyx-900);
    display: grid;
    place-items: center;
    transition: background .15s
}

.qty button:hover {
    background: var(--stone-100)
}

.qty span {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: .9rem
}

.cart-item .ci-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem
}

.cart-item .ci-sum {
    font-weight: 800;
    font-size: .92rem;
    white-space: nowrap
}

.ci-remove {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: .74rem;
    text-decoration: underline;
    padding: 0
}

.ci-remove:hover {
    color: var(--red)
}

.cart-foot {
    flex: 0 0 auto;
    border-top: 1px solid rgba(28, 28, 28, .12);
    padding: 1.3rem 1.5rem;
    background: #fff
}

.cart-drawer.checkout-open .cart-body {
    display: none
}

.cart-drawer.checkout-open .cart-foot {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-top: 0
}

.cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem
}

.cart-total .ct-label {
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted)
}

.cart-total .ct-val {
    font-size: 1.6rem;
    font-weight: 900
}

.cart-foot .btn {
    width: 100%;
    justify-content: center
}

.cart-note {
    font-size: .74rem;
    color: var(--muted);
    text-align: center;
    margin: .8rem 0 0;
    line-height: 1.45
}

/* checkout form inside drawer */
.checkout {
    display: none
}

.checkout.active {
    display: block
}

.checkout .field {
    margin-bottom: .9rem
}

.checkout .field label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .35rem
}

.checkout .field input, .checkout .field textarea {
    width: 100%;
    padding: .75rem .9rem;
    border: 1.5px solid rgba(28, 28, 28, .16);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .92rem;
    transition: border-color .2s
}

.checkout .field input:focus, .checkout .field textarea:focus {
    outline: none;
    border-color: var(--red)
}

.checkout .field input.invalid, .checkout .field textarea.invalid {
    border-color: var(--red);
    background: rgba(196, 18, 48, .04)
}

.checkout .err {
    display: none;
    color: var(--red);
    font-size: .72rem;
    margin-top: .3rem
}

.checkout .err.show {
    display: block
}

.city-field {
    position: relative
}

.city-input-wrap {
    position: relative
}

.field .city-input {
    padding-right: 2.8rem
}

.city-spinner {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: none;
    width: 17px;
    height: 17px;
    margin-top: -8.5px;
    border: 2px solid rgba(28, 28, 28, .18);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: city-spinner-rotate .7s linear infinite;
    pointer-events: none
}

.city-spinner.show {
    display: block
}

@keyframes city-spinner-rotate {
    to {
        transform: rotate(360deg)
    }
}

.city-suggestions {
    position: absolute;
    z-index: 10;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(28, 28, 28, .16);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.city-suggestions.show {
    display: block
}

.city-suggestions-empty {
    padding: .7rem .9rem;
    color: var(--muted);
    font-size: .86rem
}

.city-suggestions button {
    display: block;
    width: 100%;
    padding: .7rem .9rem;
    border: 0;
    border-bottom: 1px solid rgba(28, 28, 28, .08);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .86rem;
    text-align: left;
    cursor: pointer
}

.city-suggestions button:last-child {
    border-bottom: 0
}

.city-suggestions button:hover,
.city-suggestions button:focus {
    outline: none;
    background: var(--stone-100)
}

.sdek-delivery {
    margin-bottom: 1rem
}

.delivery-type {
    margin: 0 0 .8rem;
    padding: 0;
    border: 0
}

.delivery-type legend {
    margin-bottom: .35rem;
    font-size: .78rem;
    font-weight: 600
}

.delivery-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem
}

.delivery-type-options label {
    min-width: 0;
    cursor: pointer
}

.delivery-type-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.delivery-type-options span {
    display: flex;
    min-height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .6rem .7rem;
    border: 1.5px solid rgba(28, 28, 28, .16);
    border-radius: var(--radius-sm);
    background: var(--stone-100);
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
    transition: border-color .2s, background .2s, color .2s
}

.delivery-type-options b {
    font: inherit
}

.delivery-type-options small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    margin-top: .18rem;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap
}

.delivery-type-options small strong {
    color: var(--red-deep);
    font-size: inherit;
    font-weight: 700
}

.delivery-type-options input:checked + span {
    border-color: var(--red);
    background: rgba(196, 18, 48, .05);
    color: var(--red)
}

.delivery-type-options input:focus-visible + span {
    outline: 2px solid var(--red);
    outline-offset: 2px
}

.sdek-address-field[hidden],
.sdek-delivery-total[hidden] {
    display: none !important
}

.sdek-status {
    min-height: 1.2em;
    margin: .45rem 0 0;
    color: var(--muted);
    font-size: .78rem
}

.sdek-address-field {
    margin-top: .8rem
}

.sdek-address-field textarea {
    min-height: 4.8rem;
    resize: vertical
}

.sdek-address-field textarea[readonly] {
    background: var(--stone-100)
}

.checkout-totals {
    margin: 1rem 0
}

.checkout-totals > div:not(.cart-total) {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem 0;
    font-size: .88rem
}

.checkout-totals > div:not(.cart-total) span {
    color: var(--muted)
}

.sdek-pvz-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 15, 15, .58)
}

.sdek-pvz-modal[hidden] {
    display: none
}

.sdek-pvz-dialog {
    display: flex;
    flex-direction: column;
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 2rem));
    padding: 1.25rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow)
}

.sdek-pvz-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem
}

.sdek-pvz-head h3 {
    margin: 0;
    font-size: 1.15rem
}

.sdek-pvz-close {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer
}

.sdek-pvz-search {
    width: 100%;
    margin-bottom: .8rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(28, 28, 28, .16);
    border-radius: var(--radius-sm);
    outline: none;
    font: inherit
}

.sdek-pvz-search:focus {
    border-color: rgba(28, 28, 28, .16);
    box-shadow: none
}

.sdek-pvz-list {
    overflow-y: auto;
    border: 1px solid rgba(28, 28, 28, .1);
    border-radius: var(--radius-sm)
}

.sdek-pvz-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .22rem;
    width: 100%;
    padding: .85rem 7rem .85rem 1rem;
    border: 0;
    border-bottom: 1px solid rgba(28, 28, 28, .08);
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer
}

.sdek-pvz-option:last-child {
    border-bottom: 0
}

.sdek-pvz-option:hover,
.sdek-pvz-option:focus {
    outline: none;
    background: var(--stone-100)
}

.sdek-pvz-option span,
.sdek-pvz-option small {
    color: var(--muted)
}

.sdek-pvz-price {
    position: absolute;
    top: .85rem;
    right: 1rem;
    color: var(--ink);
    font-size: .9rem;
    white-space: nowrap
}

.sdek-pvz-empty {
    margin: 0;
    padding: 1rem;
    color: var(--muted)
}

.cart-ok {
    display: none;
    text-align: center;
    padding: 2.4rem 1.4rem
}

.cart-ok.show {
    display: block
}

.cart-ok svg {
    width: 56px;
    height: 56px;
    color: var(--red);
    margin-bottom: 1rem
}

.cart-ok h3 {
    font-size: 1.2rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: .6rem
}

.cart-ok p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
    margin: 0 0 1.4rem
}

.back-link {
    background: none;
    border: 0;
    color: var(--red);
    cursor: pointer;
    font-size: .82rem;
    text-decoration: underline;
    padding: 0;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: inherit
}

@media (max-width: 900px) {
    .prod-grid.cols4, .prod-grid.cols3, .prod-grid.cols2 {
        grid-template-columns:repeat(2, 1fr)
    }

    .pmodal-grid {
        grid-template-columns:1fr
    }

    .pmodal-main {
        aspect-ratio: 16/10
    }
}

@media (max-width: 560px) {
    .prod-grid.cols4, .prod-grid.cols3, .prod-grid.cols2 {
        grid-template-columns:1fr 1fr
    }

    .nav-cta .cart-btn {
        margin-left: -.2rem
    }
}

@media (max-width: 420px) {
    .prod-grid.cols4, .prod-grid.cols3, .prod-grid.cols2 {
        grid-template-columns:1fr
    }
}

/* ===== Формы: honeypot и сообщение об ошибке отправки ===== */
/* Honeypot — скрытое поле-ловушка для ботов. Убрано из потока и от скринридеров,
   но остаётся в DOM: боты заполняют его, люди — нет. display:none не годится,
   часть ботов такие поля игнорирует. */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
    overflow: hidden
}

.form-err {
    margin-top: .9rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    font-size: .9rem;
    line-height: 1.5;
    background: rgba(196, 18, 48, .10);
    border: 1px solid rgba(196, 18, 48, .35);
    color: var(--red-deep)
}

@media (max-width: 420px) {
    .site-header .brand-name {
        display: none
    }

    .nav-cta {
        gap: .32rem
    }

    .header-socials {
        gap: .25rem;
        margin-left: .2rem;
        padding-left: .45rem
    }
}
