/* ================================================
   НикОптом — Адаптивный CSS
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800&family=Golos+Text:wght@400;500;600;700&display=swap');

/* ================================================
   ПЕРЕМЕННЫЕ — ТЁМНАЯ ТЕМА
   ================================================ */
:root,
[data-theme="dark"] {
    --logo-dark: block;
    --logo-light: none;
    --bg: #090d18;
    --bg2: #0d1222;
    --surface: #111827;
    --surface2: #182032;
    --surface3: #1e2a40;
    --border: rgba(255, 255, 255, 0.07);
    --border2: rgba(255, 255, 255, 0.12);
    --accent: #00c8f0;
    --accent2: #0055e0;
    --accent-glow: rgba(0, 200, 240, 0.13);
    --text: #eef2ff;
    --text2: #b0bdd8;
    --muted: #6b7a99;
    --green: #22c55e;
    --green-bg: rgba(34, 197, 94, 0.12);
    --green-border: rgba(34, 197, 94, 0.25);
    --orange: #f59e0b;
    --orange-bg: rgba(245, 158, 11, 0.12);
    --orange-border: rgba(245, 158, 11, 0.25);
    --red: #ef4444;
    --red-bg: rgba(239, 68, 68, 0.12);
    --red-border: rgba(239, 68, 68, 0.25);
    --card-bg: #111827;
    --card-img-bg: radial-gradient(ellipse at center, #182a4a 0%, #0d1222 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 200, 240, 0.07);
    --topbar-grad: linear-gradient(90deg, #0055e0, #6d28d9);
    --hero-grad: linear-gradient(135deg, #0d1829 0%, #090d18 60%, #0d1224 100%);
    --btn-grad: linear-gradient(135deg, #0055e0, #00c8f0);
    --price-grad: linear-gradient(135deg, #eef2ff, #00c8f0);
    --radius: 14px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --header-h: 68px;
    --topbar-h: 36px;
    --row-h: 72px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   ПЕРЕМЕННЫЕ — СВЕТЛАЯ ТЕМА
   ================================================ */
[data-theme="light"] {
    --logo-dark: none;
    --logo-light: block;
    --bg: #f0f4fc;
    --bg2: #e8eef8;
    --surface: #ffffff;
    --surface2: #f5f8ff;
    --surface3: #eaf0fc;
    --border: rgba(0, 0, 0, 0.08);
    --border2: rgba(0, 0, 0, 0.14);
    --accent: #0066cc;
    --accent2: #0044aa;
    --accent-glow: rgba(0, 102, 204, 0.1);
    --text: #0f1629;
    --text2: #374060;
    --muted: #7a8aaa;
    --green: #16a34a;
    --green-bg: rgba(22, 163, 74, 0.1);
    --green-border: rgba(22, 163, 74, 0.22);
    --orange: #d97706;
    --orange-bg: rgba(217, 119, 6, 0.1);
    --orange-border: rgba(217, 119, 6, 0.22);
    --red: #dc2626;
    --red-bg: rgba(220, 38, 38, 0.1);
    --red-border: rgba(220, 38, 38, 0.22);
    --card-bg: #ffffff;
    --card-img-bg: radial-gradient(ellipse at center, #dde8f8 0%, #eef4ff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 40, 120, 0.07);
    --shadow-md: 0 8px 24px rgba(0, 40, 120, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 40, 120, 0.13);
    --shadow-card: 0 2px 12px rgba(0, 40, 120, 0.09), 0 0 0 1px rgba(0, 100, 220, 0.06);
    --topbar-grad: linear-gradient(90deg, #0044aa, #5b21b6);
    --hero-grad: linear-gradient(135deg, #dce8fc 0%, #eef4ff 60%, #e0ecfe 100%);
    --btn-grad: linear-gradient(135deg, #0044aa, #0066cc);
    --price-grad: linear-gradient(135deg, #0f1629, #0066cc);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.5)
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@-webkit-keyframes sunWalk {
    from {
        left: -2rem;
    }

    to {
        left: 100%;
    }
}

@keyframes sunWalk {
    from {
        left: -2rem;
    }

    to {
        left: 100%;
    }
}

@-webkit-keyframes lightAngle {

    0%,
    20% {
        transform: skew(40deg);
    }

    80%,
    100% {
        transform: skew(-40deg);
    }
}

@keyframes lightAngle {

    0%,
    20% {
        transform: skew(40deg);
    }

    80%,
    100% {
        transform: skew(-40deg);
    }
}

/* ================================================
   RESET & BASE
   ================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Golos Text', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color .3s, color .3s
}

[data-theme="dark"] body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 55% 35% at 15% 15%, rgba(0, 85, 224, .06) 0%, transparent 65%), radial-gradient(ellipse 40% 55% at 85% 80%, rgba(109, 40, 217, .06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

ul,
ol {
    list-style: none
}

button {
    cursor: pointer;
    font-family: inherit
}

input,
select,
textarea {
    font-family: inherit
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--surface3);
    border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted)
}

.modal {
    position: relative;
    display: none;
    width: 600px;
    height: auto;
    max-width: 100%;
    background: #fff;
    padding: 0;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.modal.fs {
    min-width: 100vw;
    width: 100vw;
    min-height: 100vh;
    height: 100vh
}

.modal.big {
    width: 900px
}

.modal .title {
    color: #005196;
    line-height: 1.1;
    gap: 5px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}

.modal .title h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.modal .contact-form {
    border: none;
    border-radius: 0;
    padding: 30px;
}

.modal p {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.fancybox-close-small {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    padding: 5px !important;
    top: 15px !important;
    right: 15px !important;
}

.fancybox-close-small:hover {
    background: var(--surface3);
    border-color: var(--border2);
    color: var(--text);
}

.fancybox-inner {
    z-index: 1;
}

.fancybox-bg {
    background: transparent;
     !important;
    backdrop-filter: blur(5px);
}

.fancybox-is-open .fancybox-bg {
    opacity: 1 !important;
}

#msCartAside {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 600px;
    height: 100%;
    max-width: 100%;
    z-index: 899;
    transition: .6s;
}

#msCartAside .cartContainer {
    height: 100%;
}

#msCartAside h2.title {
    margin-bottom: 20px
}

#msCartAside.active {
    transform: translateX(0%)
}

#msCartAside .closeCart {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: .5s
}

#msCartAside .closeCart::before,
#msCartAside .closeCart::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 11px;
    width: 20px;
    height: 2px;
    background: black
}

#msCartAside .closeCart::before {
    transform: rotateZ(45deg)
}

#msCartAside .closeCart::after {
    transform: rotateZ(-45deg)
}

#msCartAside .closeCart:hover {
    background: rgba(0, 0, 0, .1)
}

#cartBG {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 890;
    background: rgba(var(--bg), .4);
    backdrop-filter: blur(5px);
    transition: backdrop-filter ease-in-out .6s;
}

#cartBG.active {
    display: block
}

#msOrderModal {
    padding: 40px
}

.ms-minicart__items .draw {
    position: relative;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    margin: 4rem auto 2rem;
    background: var(--border);
    overflow: hidden;
}

.ms-minicart__items .draw .cactus {
    z-index: 1;
    position: absolute;
    width: 1.2rem;
    height: 10rem;
    border-radius: 7px 7px 0 0;
    background: currentColor;
}

.ms-minicart__items .draw .cactus::before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -32px;
    width: 1.2rem;
    height: 2rem;
    transform: skew(40deg);
    transform-origin: top center;
    border-radius: 0 0 6px 6px;
    -webkit-animation: lightAngle 8s linear infinite alternate;
    animation: lightAngle 8s linear infinite alternate;
}

.ms-minicart__items .draw .cactus:nth-child(1) {
    bottom: 0;
    left: 50%;
    transform: transalteX(-50%);
    color: var(--surface2);
}

.ms-minicart__items .draw .cactus:nth-child(2) {
    bottom: 4.5rem;
    left: 2rem;
    transform: scale(0.4);
    color: var(--surface2);
}

.ms-minicart__items .draw .cactus:nth-child(2)::before {
    background: var(--bg2);
}

.ms-minicart__items .draw .cactus:nth-child(3) {
    bottom: 2.5rem;
    right: 2rem;
    transform: scale(0.6);
    color: var(--surface2);
}

.ms-minicart__items .draw .cactus:nth-child(3)::before {
    background: var(--bg2);
}

.ms-minicart__items .draw .cactus .arm {
    position: absolute;
    width: 3rem;
    height: 1rem;
    background: var(--surface2);
}

.ms-minicart__items .draw .cactus .arm::before {
    position: absolute;
    bottom: 0;
    right: 0;
    content: "";
    width: 1rem;
    height: 3rem;
    background: var(--surface2);
    border-radius: 6px 6px 0 0;
}

.ms-minicart__items .draw .cactus .arm:first-of-type {
    top: 35%;
}

.ms-minicart__items .draw .cactus .arm:last-of-type {
    top: 55%;
    left: -1.8rem;
}

.ms-minicart__items .draw .cactus .arm:last-of-type::before {
    right: auto;
    left: 0;
}

.ms-minicart__items .draw .sky {
    position: absolute;
    width: 100%;
    height: 50%;
    background: var(--bg2);
    overflow: hidden;
}

.ms-minicart__items .draw .sky .montain {
    position: absolute;
    left: 42%;
    bottom: -2rem;
    width: 4rem;
    height: 4rem;
    background: var(--surface3);
    transform: rotate(45deg);
    border-radius: 8px 0 0 0;
}

.ms-minicart__items .draw .sky .montain.two {
    left: 27%;
    transform: rotate(45deg) scale(0.6);
    background: var(--surface3);
}

.ms-minicart__items .draw .sky .sun {
    position: absolute;
    top: 20px;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    background: var(--muted);
    border-radius: 50%;
    -webkit-animation: sunWalk 8s linear infinite alternate;
    animation: sunWalk 8s linear infinite alternate;
}

.ms-minicart__items .no-items-text {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9em;
}

/* ═══════════════════════════════════════════
   БОКОВАЯ КОРЗИНА — ms-minicart
   ═══════════════════════════════════════════ */
.ms-minicart-aside {
    height: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.ms-minicart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2)
}

.ms-minicart__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text)
}

.ms-minicart__count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500
}

.ms-minicart__close {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition)
}

.ms-minicart__close:hover {
    background: var(--surface3);
    border-color: var(--border2);
    color: var(--text)
}

.ms-minicart__items {
    flex: 1;
    overflow-y: auto
}

.ms-minicart__items::-webkit-scrollbar {
    width: 4px
}

.ms-minicart__items::-webkit-scrollbar-track {
    background: transparent
}

.ms-minicart__items::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 2px
}

/* Товар в мини-корзине */
.ms-minicart__item {
    display: grid;
    grid-template-columns: 56px 1fr 28px;
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition)
}

.ms-minicart__item:last-child {
    border-bottom: none
}

.ms-minicart__item:hover {
    background: var(--surface2)
}

.ms-minicart__img-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: block;
    flex-shrink: 0
}

.ms-minicart__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ms-minicart__img-placeholder {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted)
}

.ms-minicart__meta-actions {
    display: flex;
    gap: 10px;
}

.ms-minicart__name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    display: block;
    margin-bottom: 6px;
    transition: color var(--transition)
}

.ms-minicart__name:hover {
    color: var(--accent)
}

.ms-minicart__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.ms-minicart__price {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.ms-minicart__price sup {
    font-size: 12px
}

.ms-minicart__qty {
    font-family: 'Unbounded', sans-serif;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ms-minicart__subtotal {
    font-family: 'Unbounded', sans-serif;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 18px;
    font-weight: 700;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ms-minicart__remove {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
    align-self: center
}

.ms-minicart__remove:hover {
    background: var(--red-bg);
    border-color: var(--red-border);
    color: var(--red)
}

/* Пустая мини-корзина */
.ms-minicart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--muted)
}

.ms-minicart__empty p {
    font-size: 14px;
    font-weight: 500
}

/* Итого мини-корзины */
.ms-minicart__footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--surface2)
}

.ms-minicart__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px
}

.ms-minicart__total-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px
}

.ms-minicart__total-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.ms-minicart__total-count {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 14px
}

.ms-minicart__min-order {
    font-size: 11px;
    color: var(--red);
    padding: 7px 12px;
    border-radius: var(--radius-xs);
    background: var(--red-bg);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center
}

.ms-minicart__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Golos Text', sans-serif;
    text-decoration: none;
    transition: box-shadow var(--transition), transform var(--transition)
}

.ms-minicart__btn:hover {
    box-shadow: 0 4px 20px rgba(0, 85, 224, .5);
    transform: translateY(-1px)
}

.ms-minicart__btn-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px;
    background: transparent;
    color: var(--text2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Golos Text', sans-serif;
    text-decoration: none;
    transition: all var(--transition);
    margin-top: 8px
}

.ms-minicart__btn-catalog:hover {
    border-color: var(--border2);
    color: var(--text);
    background: var(--surface3)
}


/* Обёртка, управляющая переключением list/grid */
.products-wrap .rows {
    margin-bottom: 20px;
}

.products-wrap .products-list {
    display: flex
}

/* ================================================
   CHECK AGE MODAL
   ================================================ */
#checkOldBlur {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: white;
    filter: blur(10px);
    z-index: 998;
}

#checkOld {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(10px);
}

#checkOld .wrapper {
    position: relative;
    margin: auto;
    background: var(--bg);
    max-width: 800px;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

#checkOld .wrapper h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
}

#checkOld .wrapper>p {
    font-size: 14px;
    margin-bottom: 30px;
}

#checkOld .wrapper .buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto auto 40px;
}

#checkOld .wrapper .buttons button,
#checkOld .wrapper .buttons a {
    border: 2px solid black;
    background: black;
    color: white;
    padding: 10px 30px;
    line-height: 1;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    margin: auto;
    transition: .5s;
    border-radius: 10px;
    min-width: 280px;
}

#checkOld .wrapper .buttons button:hover,
#checkOld .wrapper .buttons a:hover {
    background: white;
    color: black;
}

#checkOld .wrapper .info {
    display: flex;
    align-items: center;
    border-top: 2px dotted #888;
    padding-top: 20px;
}

#checkOld .wrapper .info .age {
    background: var(--muted);
    width: 90px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
}

#checkOld .wrapper .info .age p {
    margin: auto;
    line-height: 1;
    font-size: 25px;
    color: black;
    font-weight: bold;
}

#checkOld .wrapper .info .text {
    text-align: left;
    width: 100%;
    margin: auto auto auto 30px;
}

#checkOld .wrapper .info .text p {
    margin: auto;
    font-size: 14px;
    line-height: 1.4;
}

/* ================================================
   BREADCRUMBS
   ================================================ */
.breadcrumbs {
    padding: 40px 0 0;
}
.bc {
    display: flex;
    /* align-items:center; */
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: var(--muted)
}

.bc a {
    color: var(--muted);
    transition: color var(--t)
}

.bc a:hover,
.bc li.active span {
    color: var(--accent)
}

.bc svg {
    width: 14px;
    height: 14px;
    fill: var(--muted)
}

.bc a:hover svg {
    fill: var(--accent)
}

.bc__sep {
    opacity: .4;
    margin-inline: 2px
}

/* ================================================
   UTILITIES
   ================================================ */
.container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(14px, 3vw, 40px)
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}

/* ================================================
   TOPBAR
   ================================================ */
.topbar {
    height: var(--topbar-h);
    background: var(--topbar-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 200;
    overflow: hidden
}

.topbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0, rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 60px);
    pointer-events: none
}

.topbar__text {
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding-inline: 40px
}

.topbar__text a {
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color var(--transition)
}

.topbar__text a:hover {
    border-color: #fff
}

.topbar__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    transition: color var(--transition)
}

.topbar__close:hover {
    color: #fff
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 150;
    height: var(--header-h);
    background: rgba(9, 13, 24, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background-color .3s, border-color .3s
}

[data-theme="light"] .site-header {
    background: rgba(240, 244, 252, .93)
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 24px)
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.logo__icon {
    width: 38px;
    height: 38px;
    background: var(--btn-grad);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 85, 224, .35)
}

.logo__text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(13px, 1.8vw, 19px);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.3px;
    white-space: nowrap
}

.logo__text span {
    background: var(--btn-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.logo img {
    height: 50px;
    display: none;
}

.logo img.dark {
    display: var(--logo-dark);
}

.logo img.light {
    display: var(--logo-light);
}

.site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px
}

.site-nav__link {
    display: block;
    padding: 7px 11px;
    border-radius: var(--radius-xs);
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 500;
    color: var(--text2);
    white-space: nowrap;
    transition: background var(--transition), color var(--transition)
}

.site-nav__link:hover {
    color: var(--text);
    background: var(--surface2)
}

.site-nav__link--active {
    color: var(--accent);
    background: var(--accent-glow)
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
    margin-right: 10px;
}

.header-phone__num {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap
}

.header-phone__call {
    font-size: 11px;
    color: var(--accent);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition)
}

.header-phone__call:hover {
    border-color: var(--accent)
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all var(--transition);
    flex-shrink: 0
}

.theme-toggle:hover {
    background: var(--surface3);
    border-color: var(--accent);
    color: var(--accent)
}

.theme-toggle .icon-sun {
    display: none
}

.theme-toggle .icon-moon {
    display: block
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none
}

.cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition);
    flex-shrink: 0
}

.cart-btn:hover {
    background: var(--surface3);
    border-color: var(--accent)
}

/* Универсальная кнопка-иконка в шапке (личный кабинет, соцсети) */
.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all var(--transition);
    flex-shrink: 0;
    text-decoration: none
}

.header-icon-btn:hover {
    background: var(--surface3);
    border-color: var(--accent);
    color: var(--accent)
}

/* Канал TG: две иконки — чуть шире */
.header-icon-btn--channel {
    width: auto;
    padding: 0 9px
}

/* TG hover */
.header-icon-btn--tg:hover {
    border-color: #29a8e9;
    color: #29a8e9;
    background: rgba(41, 168, 233, .1)
}

/* WA hover */
.header-icon-btn--wa:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, .1)
}

.cart-btn__count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding-inline: 3px;
    background: var(--btn-grad);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 10px;
    transition: background var(--transition)
}

.burger:hover {
    background: var(--surface3)
}

.burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.burger.open span:nth-child(2) {
    opacity: 0
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* MOBILE MENU */


/* ══════════════════════════════════════════════════
   MOBILE MENU — полноэкранное меню с аккордеоном
   ══════════════════════════════════════════════════ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
    background: var(--bg);
    z-index: 140;
    overflow-y: auto;
    flex-direction: column;
    border-top: 1px solid var(--border);
    animation: slideDown .22s ease;
}

.site-header.is-scrolled + .mobile-menu {
    inset: calc(var(--header-h)) 0 0 0;
}

.mobile-menu.open {
    display: flex;
}

/* Секция каталога */
.mm-section {
    border-bottom: 1px solid var(--border);
}

.mm-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 17px 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    background: none;
    border: none;
    transition: color var(--transition);
}

.mm-section__toggle:active {
    color: var(--accent);
}

.mm-section__arrow {
    transition: transform .25s ease;
    display: flex;
}

.mm-section.open .mm-section__arrow {
    transform: rotate(180deg);
}

/* Тело аккордеона каталога */
.mm-catalog__body {
    display: none;
    padding: 4px 0 10px;
}

.mm-catalog__body.open {
    display: block;
}

/* ── Уровень 1: Категория ── */
.mm-cat {
    border-top: 1px solid var(--border);
}

.mm-cat__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    gap: 10px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text2);
    transition: color var(--transition);
}

.mm-cat__toggle:active {
    color: var(--accent);
}

.mm-cat__name {
    flex: 1;
    text-align: left;
}

.mm-cat__icon {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform .22s ease;
    display: flex;
}

.mm-cat.open>.mm-cat__toggle .mm-cat__icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Маркер-квадратик (как на скриншоте реального сайта) */
.mm-cat__bullet {
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.mm-cat__bullet--2 {
    width: 6px;
    height: 6px;
    background: var(--muted);
}

.mm-cat__bullet--3 {
    width: 5px;
    height: 5px;
    background: var(--muted);
    border-radius: 50%;
}

/* Тело категории */
.mm-cat__body {
    display: none;
    background: var(--surface);
}

.mm-cat__body.open {
    display: block;
}

/* ── Уровень 2: Бренд ── */
.mm-brand {}

.mm-brand__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px 12px 36px;
    gap: 10px;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text2);
    transition: color var(--transition);
}

.mm-brand__toggle:active {
    color: var(--accent);
}

.mm-brand__toggle span:nth-child(2) {
    flex: 1;
    text-align: left;
}

.mm-brand.open>.mm-brand__toggle .mm-cat__icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Тело бренда */
.mm-brand__body {
    display: none;
    background: var(--surface2);
}

.mm-brand__body.open {
    display: block;
}

/* ── Уровень 3: Линейка ── */
.mm-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 36px;
    font-size: 12px;
    color: var(--text2);
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: color var(--transition), background var(--transition);
}

.mm-line:active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* ── Остальные ссылки ── */
.mm-link {
    display: block;
    padding: 16px 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text2);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition), background var(--transition);
}

.mm-link:active {
    color: var(--accent);
}

/* ── Телефон ── */
.mm-divider {
    height: 1px;
    background: var(--border);
}

.mm-phone {
    display: block;
    padding: 18px 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

/* ── Мессенджеры ── */
.mm-socials {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 12px 20px 20px;
}

.mm-social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    margin-bottom: 6px;
}

.mm-social span {
    flex: 1;
}

.mm-social--tg:active {
    background: rgba(41, 168, 233, .12);
    border-color: #29a8e9;
    color: #29a8e9;
}

.mm-social--wa:active {
    background: rgba(37, 211, 102, .12);
    border-color: #25d366;
    color: #25d366;
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 130;
    backdrop-filter: blur(3px)
}

.menu-overlay.is-visible {
    display: block
}

/* ================================================
   HERO
   ================================================ */
.hero {
    background: var(--hero-grad);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
    overflow: hidden
}

.hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: clamp(260px, 36vw, 520px);
    height: clamp(260px, 36vw, 520px);
    background: radial-gradient(circle, rgba(0, 85, 224, .1) 0%, transparent 65%);
    pointer-events: none
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
    padding-block: clamp(22px, 3.5vw, 44px);
    flex-wrap: wrap
}

.hero__content {
    flex: 1 1 300px
}

.hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .2);
    border-radius: 20px
}

.hero__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(17px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero__list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px
}

.hero__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(12px, 1.3vw, 14px);
    color: var(--text2)
}

.hero__item::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--btn-grad)
}

.hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.hero__stats {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    flex-shrink: 0;
    flex-wrap: wrap
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px
}

.stat__num {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800;
    line-height: 1;
    background: var(--btn-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.stat__label {
    font-size: clamp(10px, 1vw, 12px);
    color: var(--muted);
    letter-spacing: .4px
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Golos Text', sans-serif;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1
}

.btn--primary {
    background: var(--btn-grad);
    color: #fff;
    padding: 12px clamp(16px, 2vw, 24px);
    box-shadow: 0 4px 14px rgba(0, 85, 224, .28)
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 85, 224, .42)
}

.btn--primary:active {
    transform: translateY(0)
}

.btn--ghost {
    background: var(--surface2);
    color: var(--text2);
    border: 1px solid var(--border);
    padding: 11px clamp(14px, 2vw, 20px)
}

.btn--ghost:hover {
    background: var(--surface3);
    border-color: var(--accent);
    color: var(--accent)
}

/* ================================================
   CATALOG LAYOUT
   ================================================ */
.catalog-layout {
    position: relative;
    z-index: 1
}

.catalog-layout .container {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: clamp(12px, 2vw, 24px);
    padding-block: clamp(16px, 2.5vw, 28px);
    align-items: start
}

/* ================================================
   SIDEBAR
   ================================================ */
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    display: flex;
    flex-direction: column;
    gap: 4px
}

.sidebar__section {
    display: flex;
    flex-direction: column
}

.sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition);
    width: 100%
}

.sidebar__toggle:hover {
    background: var(--surface2);
    border-color: var(--border2);
    color: var(--text)
}

.sidebar__toggle.is-open {
    background: var(--btn-grad);
    border: none;
    color: #fff;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0
}

.sidebar__toggle.is-open .sidebar__arrow {
    color: #fff
}

.sidebar__arrow {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform .22s, color .2s;
    color: var(--muted)
}

.sidebar__toggle.is-open .sidebar__arrow {
    transform: rotate(180deg)
}

.sidebar__sub {
    display: none;
    flex-direction: column;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 4px;
    gap: 1px
}

.sidebar__section.is-open .sidebar__sub {
    display: flex
}

.sidebar__sub-link {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text2);
    border-radius: var(--radius-xs);
    transition: all var(--transition)
}

.sidebar__sub-link:hover,
.sidebar__sub-link--active {
    color: var(--text);
    background: var(--surface3)
}

.sidebar__sub-link--active {
    color: var(--accent);
    font-weight: 600
}

/* ================================================
   CATALOG CONTENT
   ================================================ */
.catalog-content {
    min-width: 0
}

/* Шапка каталога */
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: clamp(10px, 1.5vw, 16px);
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-wrap: wrap
}

.catalog-count {
    font-size: 14px;
    color: var(--muted)
}

.catalog-count strong {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text)
}

.catalog-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap
}

.sort-select {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 7px 28px 7px 10px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7a99' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--accent)
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface2)
}

.view-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--muted);
    transition: all var(--transition);
    font-size: 14px
}

.view-btn+.view-btn {
    border-left: 1px solid var(--border)
}

.view-btn:hover {
    background: var(--surface3);
    color: var(--text)
}

.view-btn.is-active {
    background: var(--surface);
    color: var(--accent)
}

/* ================================================
   PRODUCTS — LIST VIEW (по умолчанию, как на сайте)
   ================================================ */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 0
}

/* Строка товара */
.product-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: none;
    transition: background var(--transition), border-color var(--transition);
    min-height: var(--row-h);
    position: relative;
}

.product-row:first-child {
    border-top: 1px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) 0 0
}

.product-row:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md)
}

.product-row:only-child {
    border-radius: var(--radius-md)
}

.product-row:hover {
    background: var(--surface2);
    border-color: var(--border2);
    z-index: 1
}

/* Картинка */
.product-row__img {
    width: clamp(54px, 7vw, 72px);
    height: var(--row-h);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--card-img-bg);
    border-right: 1px solid var(--border);
}

.product-row__img img {
    width: clamp(44px, 5.5vw, 58px);
    height: clamp(44px, 5.5vw, 58px);
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
    transition: transform .3s;
}

.product-row:hover .product-row__img img {
    transform: scale(1.08)
}

/* Заглушка-банка (если нет фото) */
.product-row__can {
    width: clamp(44px, 5.5vw, 58px);
    height: clamp(44px, 5.5vw, 58px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .3s;
    flex-shrink: 0;
}

.product-row:hover .product-row__can {
    transform: scale(1.08)
}

.product-row__can-brand {
    font-family: 'Unbounded', sans-serif;
    font-size: 8px;
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .3px;
    text-align: center;
    line-height: 1.2
}

/* Инфо */
.product-row__info {
    flex: 1;
    padding: 0 clamp(10px, 1.5vw, 20px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.product-row__name {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}

.product-row__name a:hover {
    color: var(--accent)
}

.product-row__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-row__price {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.product-row__price sup {
    font-size: 10px;
    font-weight: 600;
    vertical-align: super
}

.product-row__from {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.product-row__badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}

.badge--nicotine {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green)
}

.badge--caffeine {
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
    color: var(--orange)
}

/* Быстрый заказ */
.product-row__quick {
    font-size: 12px;
    color: var(--accent);
    white-space: nowrap;
    padding-right: clamp(8px, 1.5vw, 16px);
    opacity: .85;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.product-row__quick:hover {
    opacity: 1
}

/* Qty + Корзина */
.product-row__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: clamp(10px, 1.5vw, 18px);
    flex-shrink: 0;
}

.qty {
    display: flex;
    align-items: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0
}

.qty__btn {
    width: clamp(26px, 3vw, 30px);
    height: 36px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition)
}

.qty__btn:hover {
    background: var(--surface3);
    color: var(--text)
}

.qty__val {
    width: 28px;
    height: 36px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield
}

.qty__val::-webkit-inner-spin-button,
.qty__val::-webkit-outer-spin-button {
    display: none
}

.add-to-cart {
    height: 36px;
    padding: 0 clamp(12px, 1.8vw, 20px);
    background: var(--btn-grad);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: clamp(12px, 1.1vw, 13px);
    font-weight: 600;
    font-family: 'Golos Text', sans-serif;
    white-space: nowrap;
    transition: box-shadow var(--transition), transform var(--transition), background .22s;
}

.add-to-cart:hover {
    box-shadow: 0 4px 16px rgba(0, 85, 224, .4);
    transform: translateY(-1px)
}

.add-to-cart:active {
    transform: translateY(0)
}

.add-to-cart.is-added {
    background: linear-gradient(135deg, #15803d, #22c55e)
}

/* ================================================
   PRODUCTS — GRID VIEW (по кнопке) — заглушка,
   реальные стили ниже в блоке карточек
   ================================================ */

/* ================================================
   PAGINATION
   ================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-block: clamp(20px, 3vw, 40px);
    flex-wrap: wrap
}

.pagination__btn {
    min-width: 36px;
    height: 36px;
    padding-inline: 7px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
    font-family: 'Golos Text', sans-serif
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent)
}

.pagination__btn.is-active {
    background: var(--btn-grad);
    border-color: transparent;
    color: #fff;
    font-weight: 700
}

.pagination__btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.pagination__dots {
    color: var(--muted);
    font-size: 14px;
    padding: 0 3px
}

/* ================================================
   PRODUCT PAGE
   ================================================ */
.product__page {
    padding-block: clamp(24px, 3.5vw, 44px)
}

/* PRODUCT GRID */
.product__page .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start
}

/* IMAGE AREA */
.product__page .img-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--t);
}

.product__page .img-main:hover {
    border-color: rgba(0, 200, 240, .25)
}

.product__page .img-main a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__page .img-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(0, 200, 240, .06), transparent 65%);
    pointer-events: none;
}

.product__page .img-main svg {
    transition: transform .5s cubic-bezier(.34, 1.2, .64, 1)
}

.product__page .img-main:hover svg {
    transform: scale(1.05) rotate(-1deg)
}

.product__page .img-main img {
    border-radius: 50%;
    max-width: 85%;
}

.product__page .badge-new {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    background: var(--green-bg);
    border: 1px solid var(--green-brd);
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.product__page .badge-new::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite
}

.product__page .badge-hit {
    position: absolute;
    top: 54px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    background: var(--red-bg);
    border: 1px solid var(--red-brd);
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.product__page .badge-hit::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s infinite
}

.product__page .badge-disc {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--btn-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 85, 224, .4);
}

.product__page .img-share {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border2);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
}

.product__page .img-share:hover {
    border-color: var(--accent);
    color: var(--accent)
}

/* BUY AREA */
.product__page .buy-area {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.product__page .product__brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 6px
}

.product__page .product__title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 700;
    line-height: 1.3
}

.product__page .price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap
}

.product__page .price-main {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.product__page .price-sub {
    font-size: 13px;
    color: var(--muted)
}

.product__page .min-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--orange-bg);
    border: 1px solid var(--orange-brd);
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    align-self: flex-start;
}

/* QTY + CART */
.product__page .buy-block {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.product__page .qty-row {
    display: flex;
    gap: 10px;
    align-items: stretch
}

.product__page .qty-ctrl {
    display: flex;
    align-items: center;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color var(--t);
}

.product__page .qty-ctrl:focus-within {
    border-color: rgba(0, 200, 240, .4)
}

.product__page .qbtn {
    width: 44px;
    height: 50px;
    background: transparent;
    border: none;
    color: var(--text2);
    font-size: 22px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
}

.product__page .qbtn:hover {
    background: var(--surface3);
    color: var(--accent)
}

.product__page .qinp {
    width: 54px;
    height: 50px;
    background: transparent;
    border: none;
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    outline: none;
}

.product__page .qinp::-webkit-outer-spin-button,
.product__page .qinp::-webkit-inner-spin-button {
    -webkit-appearance: none
}

.product__page .qinp[type=number] {
    -moz-appearance: textfield
}

.product__page .buy-area .btn-cart {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    transition: box-shadow var(--t), transform var(--t), background var(--t);
    position: relative;
    overflow: hidden;
}

.product__page .buy-area .btn-cart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent);
    pointer-events: none
}

.product__page .buy-area .btn-cart:hover {
    box-shadow: 0 6px 24px rgba(0, 85, 224, .5);
    transform: translateY(-1px)
}

.product__page .buy-area .btn-cart:active {
    transform: translateY(0)
}

.product__page .btn-quick {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--t);
}

.product__page .btn-quick:hover {
    background: var(--accent-glow);
    border-color: rgba(0, 200, 240, .35)
}

/* DIVIDER */
.product__page .div {
    height: 1px;
    background: var(--border)
}

/* SPECS */
.product__page .specs {
    display: flex;
    flex-direction: column
}

.product__page .str-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border)
}

.product__page .str-label {
    font-size: 13px;
    color: var(--muted)
}

.product__page .str-bar {
    display: flex;
    gap: 4px
}

.product__page .pip {
    width: 22px;
    height: 8px;
    border-radius: 3px;
    background: var(--surface3);
    border: 1px solid var(--border)
}

.product__page .pip.on {
    background: var(--accent);
    border-color: rgba(0, 200, 240, .4);
    box-shadow: 0 0 6px rgba(0, 200, 240, .3)
}

.product__page .pip.hot {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-color: rgba(245, 158, 11, .5);
    box-shadow: 0 0 6px rgba(245, 158, 11, .3)
}

.product__page .spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border)
}

.product__page .spec-row:last-child {
    border-bottom: none
}

.product__page .spec-k {
    font-size: 13px;
    color: var(--muted)
}

.product__page .spec-v {
    font-size: 13px;
    font-weight: 700;
    color: var(--text2);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 6px;
}

/* CONTACT */
.product__page .cblock {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.product__page .cblock__ico {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.product__page .cblock__sub {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 2px
}

.product__page .cblock__link {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    display: block
}

.product__page .cblock__link:hover {
    opacity: .75
}

/* BELOW */
.product__page .below {
    margin-top: clamp(36px, 5vw, 60px)
}

.product__page .sh {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: clamp(14px, 2vw, 22px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product__page .sh::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* RECENTLY VIEWED SLIDER */
.product__page .slider-wrap {
    position: relative;
    margin-bottom: clamp(28px, 4vw, 48px)
}

/* fade edges */
.product__page .slider-wrap::before,
.product__page .slider-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    transition: opacity .2s;
}

.product__page .slider-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent)
}

.product__page .slider-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg), transparent)
}

/* track */
.product__page .slider-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    cursor: grab;
}

.product__page .slider-track::-webkit-scrollbar {
    display: none
}

.product__page .slider-track.grabbing {
    cursor: grabbing
}

/* arrows */
.product__page .sl-arr {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 50%;
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.product__page .sl-arr:hover {
    background: var(--surface3);
    border-color: var(--accent);
    color: var(--accent)
}

.product__page .sl-arr.sl-prev {
    left: -10px
}

.product__page .sl-arr.sl-next {
    right: -10px
}

.product__page .sl-arr.hidden {
    opacity: 0;
    pointer-events: none
}

[data-theme="light"] .product__page .sl-arr {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
}

/* dots */
.product__page .sl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px
}

.product__page .sl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border2);
    border: none;
    padding: 0;
    transition: all var(--t);
    cursor: pointer
}

.product__page .sl-dot.on {
    width: 20px;
    border-radius: 3px;
    background: var(--accent)
}

/* TAGS */
.product__page .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.product__page .tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    transition: all var(--t)
}

.product__page .tag:hover {
    border-color: rgba(0, 200, 240, .3);
    color: var(--accent);
    background: var(--accent-glow)
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-top: clamp(28px, 4.5vw, 50px);
    padding-bottom: clamp(16px, 2.5vw, 28px);
    margin-top: clamp(24px, 4vw, 56px);
    position: relative;
    z-index: 1
}

.footer__grid {
    display: grid;
    grid-template-columns: 3fr repeat(2, 1fr);
    gap: clamp(20px, 3.5vw, 44px);
    margin-bottom: clamp(22px, 3vw, 40px)
}

.footer__col-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: clamp(10px, 1.5vw, 16px)
}

.footer__logo {
    margin-bottom: 12px
}

.footer__desc {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 330px
}

.footer__socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.footer__social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap
}

.footer__social-btn svg {
    flex-shrink: 0
}

.footer__social-btn:hover {
    color: var(--text);
    border-color: var(--border2);
    background: var(--surface3)
}

.footer__social-btn--tg:hover {
    background: rgba(41, 168, 233, .1);
    border-color: #29a8e9;
    color: #29a8e9
}

.footer__social-btn--wa:hover {
    background: rgba(37, 211, 102, .1);
    border-color: #25d366;
    color: #25d366
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.footer__link {
    font-size: 13px;
    color: var(--text2);
    transition: color var(--transition);
    padding: 2px 0
}

.footer__link:hover {
    color: var(--text)
}

.footer__phone {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 700;
    color: var(--text);
    display: block;
    margin-bottom: 8px
}

.footer__contact-item {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.footer__contact-label {
    font-size: 11px;
    color: var(--muted)
}

.footer__bottom {
    padding-top: clamp(14px, 2vw, 20px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.footer__copy {
    font-size: 12px;
    color: var(--muted)
}

.footer__policy {
    font-size: 12px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    transition: all var(--transition)
}

.footer__policy:hover {
    color: var(--text2);
    border-color: var(--text2)
}

/* ================================================
   TOAST
   ================================================ */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 290px;
    transform: translateY(60px);
    opacity: 0;
    transition: all .28s cubic-bezier(.25, .8, .25, 1);
    pointer-events: none
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
}

.toast--success {
    border-left: 3px solid var(--green)
}

.toast--error {
    border-left: 3px solid var(--red)
}

.toast--info {
    border-left: 3px solid var(--accent)
}

/* ================================================
   GRID VIEW — КАРТОЧКИ ТОВАРОВ
   (из nikoptom-dual-theme, адаптированы под v2)
   ================================================ */

/* Дополнительные переменные для карточек */
:root,
[data-theme="dark"] {
    --card-bd: rgba(255, 255, 255, 0.06);
    --img-zone: radial-gradient(ellipse at 50% 60%, rgba(20, 50, 100, .7) 0%, rgba(9, 13, 25, .4) 100%);
    --img-fade: var(--card-bg);
    --amber: var(--orange);
    --amber-bg: var(--orange-bg);
    --amber-bd: var(--orange-border);
    --green-bd: var(--green-border);
    --shadow-card-hover: 0 14px 48px rgba(0, 0, 0, .50), 0 0 0 1px rgba(0, 200, 240, .12);
}

[data-theme="light"] {
    --card-bd: rgba(0, 0, 0, 0.07);
    --img-zone: radial-gradient(ellipse at 50% 60%, rgba(190, 215, 255, .55) 0%, rgba(240, 244, 252, .25) 100%);
    --img-fade: var(--card-bg);
    --amber: var(--orange);
    --amber-bg: var(--orange-bg);
    --amber-bd: var(--orange-border);
    --green-bd: var(--green-border);
    --shadow-card-hover: 0 10px 38px rgba(0, 40, 120, .14), 0 0 0 1px rgba(0, 111, 204, .20);
}

/* Сетка плиток — адаптивная от 350px до 2560px */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: clamp(10px, 1.8vw, 18px);
}

/* Карточка */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-bd);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition),
        box-shadow var(--transition), background .38s ease;
/*    animation: fadeUp .45s ease both;*/
}

/*.product-card:nth-child(1) {
    animation-delay: .04s;
}

.product-card:nth-child(2) {
    animation-delay: .08s;
}

.product-card:nth-child(3) {
    animation-delay: .12s;
}

.product-card:nth-child(4) {
    animation-delay: .16s;
}

.product-card:nth-child(5) {
    animation-delay: .20s;
}

.product-card:nth-child(6) {
    animation-delay: .24s;
}

.product-card:nth-child(7) {
    animation-delay: .28s;
}

.product-card:nth-child(8) {
    animation-delay: .32s;
}*/

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 200, 240, 0.28);
    box-shadow: var(--shadow-card-hover);
}

.product-card.swiper-slide {
    width: 100%;
}

/* Зона изображения */
.product-card__image {
    position: relative;
    background: var(--img-zone);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 24px 16px 0;
    overflow: hidden;
    transition: background .38s ease;
}

.product-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, var(--img-fade), transparent);
    pointer-events: none;
}

.product-card__image img {
    border-radius: 50%;
    width: 90%;
    z-index: 5;
}

/* Свечение за банкой */
.product-card__glow {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    filter: blur(36px);
    opacity: .22;
    transition: opacity var(--transition);
    pointer-events: none;
}

[data-theme="light"] .product-card__glow {
    opacity: .12;
}

.product-card:hover .product-card__glow {
    opacity: .42;
}

[data-theme="light"] .product-card:hover .product-card__glow {
    opacity: .24;
}

/* Бейдж концентрации */
.product-badge {
    position: absolute;
    top: clamp(8px, 1.2vw, 12px);
    left: clamp(8px, 1.2vw, 12px);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 99px;
    font-size: clamp(9px, 1vw, 11px);
    font-weight: 700;
    letter-spacing: .3px;
    transition: background .38s ease, border-color .38s ease, color .38s ease;
}

.product-badge--green {
    background: var(--green-bg);
    border: 1px solid var(--green-bd);
    color: var(--green);
}

.product-badge--amber {
    background: var(--amber-bg);
    border: 1px solid var(--amber-bd);
    color: var(--amber);
}

/* Кнопка избранного */
.product-fav {
    position: absolute;
    top: clamp(8px, 1.2vw, 12px);
    right: clamp(8px, 1.2vw, 12px);
    z-index: 10;
    width: 30px;
    height: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted);
    opacity: 0;
    transition: all var(--transition);
}

.product-card:hover .product-fav {
    opacity: 1;
}

.product-fav:hover {
    background: rgba(220, 38, 38, .10);
    border-color: rgba(220, 38, 38, .28);
    color: var(--red);
}

.product-fav.active {
    opacity: 1;
    color: var(--red);
    border-color: rgba(220, 38, 38, .35);
}

/* Тело карточки */
.product-card__body {
    padding: clamp(10px, 1.5vw, 16px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-card__body .product-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-brand {
    /*font-size: clamp(9px, .9vw, 10px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    transition: color .38s ease;*/
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin-top: 2px;
    transition: color .38s ease;
}

.product-category {
    font-size: clamp(9px, .9vw, 10px);
    color: var(--muted);
    margin-top: -2px;
    transition: color .38s ease;
}

.product-name {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(12px, 1.3vw, 14px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin-top: 2px;
    transition: color .38s ease;
}

.slider-track .product-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 35px;
    min-height: auto;
}

.product-name a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

.product-name a:hover {
    color: var(--accent);
}

.below .product-name,
.products-wrap.show-grid .product-name {
    display: none;
}

.product-flavor {
    font-size: clamp(12px, 1.1vw, 14px);
    color: var(--muted);
    transition: color .38s ease;
    line-height: 1.4;
    min-height: 40px;
}

/* Мета-строка: цена + формат */
.product-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-top: 6px;
    gap: 6px;
    transition: border-color .38s ease;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.product-price__val {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    transition: color .38s ease;
}

.product-price__val sup {
    font-size: .6em;
    font-weight: 600;
}

.product-price__from {
    font-size: clamp(10px, .9vw, 12px);
    color: var(--muted);
    transition: color .38s ease;
}

.product-meta .product-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: self-end;
}

.product-meta .product-specs .product-format {
    font-size: clamp(11px, 1vw, 13px);
    color: var(--muted);
    background: var(--surface2);
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    transition: background .38s ease, color .38s ease;
    width: fit-content;
}

.product-meta .product-specs .product-strength {
    font-size: clamp(11px, 1vw, 13px);
    color: var(--green);
    background: var(--green-bd);
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    transition: background .38s ease, color .38s ease;
    width: fit-content;
}

/* Футер карточки */
.product-card__footer {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-actions {
    display: flex;
    gap: 6px;
    overflow: hidden;
}

/* Кнопка "В корзину" */
.btn-cart {
    flex: 1;
    min-width: 0;
    height: 36px;
    background: var(--btn-grad);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Golos Text', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: box-shadow var(--transition), transform var(--transition);
}

.btn-cart:hover {
    box-shadow: 0 4px 18px rgba(0, 85, 224, .4);
    transform: translateY(-1px);
}

.btn-cart:active {
    transform: translateY(0);
}

.btn-cart.added {
    background: linear-gradient(135deg, #166534, #22c55e);
}

/* Быстрый заказ */
.quick-order {
    font-size: clamp(10px, .95vw, 11px);
    color: var(--accent);
    text-decoration: none;
    display: block;
    transition: opacity var(--transition), color .38s ease;
}

.quick-order:hover {
    opacity: .65;
}

/* ══════════════════════════════
   CONTACT FORM
══════════════════════════════ */
.contact-form-section {
    margin-top: clamp(32px, 5vw, 56px)
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    margin-bottom: 8px
}

.section-subtitle {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: clamp(20px, 3vw, 36px);
    max-width: 600px;
    line-height: 1.6
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3.5vw, 44px)
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 28px)
}

.modal .form-grid {
    display: flex;
    flex-direction: column;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted)
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none
}

.form-control::placeholder {
    color: var(--muted)
}

.form-control:focus {
    border-color: rgba(0, 200, 240, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 200, 240, 0.08)
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6
}

.form-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    cursor: pointer
}

.form-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border2);
    background: var(--surface2);
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative
}

.form-agreement input[type="checkbox"]:checked {
    background: var(--btn-grad);
    border-color: transparent
}

.form-agreement input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.form-agreement__text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5
}

.form-agreement__text a {
    color: var(--accent);
    transition: opacity var(--transition)
}

.form-agreement__text a:hover {
    opacity: .8
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border)
}

.form-button {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:8px;
    flex-shrink:0
}

.modal .form-button {
    width: 100%;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow var(--transition), transform var(--transition)
}

.form-submit:hover {
    box-shadow: 0 4px 20px rgba(0, 85, 224, .5);
    transform: translateY(-1px)
}

.form-submit:active {
    transform: translateY(0)
}

.modal .form-submit {
    width: 100%;
    justify-content: center;
}

.form-note {
    font-size: 12px;
    color: var(--muted)
}

.modal .form-note {
    width: 100%;
}

/* ── Success state ── */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    text-align: center
}

.form-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-bg);
    border: 2px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 28px
}

.form-success__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 700
}

.form-success__text {
    font-size: 14px;
    color: var(--text2);
    max-width: 360px
}

/* ══════════════════════════════
   PAGE TITLE
══════════════════════════════ */
.page-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: clamp(18px, 4vw, 38px);
    line-height: 1.2
}

.page-title span {
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* ══════════════════════════════
   CONTACTS GRID
══════════════════════════════ */
.contacts-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    margin-bottom: clamp(32px, 5vw, 64px)
}

/* ── Карточки контактов ── */
.contacts-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.contacts-panel__section {
    padding: clamp(16px, 2.5vw, 28px);
    border-bottom: 1px solid var(--border)
}

.contacts-panel__section:last-child {
    border-bottom: none
}

.contacts-panel__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

.contacts-panel__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* Контактная строка */
.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px
}

.contact-row:last-child {
    margin-bottom: 0
}

.contact-row__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all var(--transition)
}

.contact-row:hover .contact-row__icon {
    background: var(--accent-glow);
    border-color: rgba(0, 200, 240, 0.3)
}

.contact-row__body {}

.contact-row__title {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px
}

.contact-row__value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    transition: color var(--transition)
}

.contact-row__value:hover {
    color: var(--accent)
}

.contact-row__value.email {
    font-size: 14px;
    font-weight: 600
}

/* Соцсети */
.social-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition)
}

.social-btn:hover {
    color: var(--text);
    border-color: var(--border2);
    background: var(--surface3)
}

.social-btn--tg:hover {
    background: rgba(41, 168, 233, .1);
    border-color: #29a8e9;
    color: #29a8e9
}

.social-btn--wa:hover {
    background: rgba(37, 211, 102, .1);
    border-color: #25d366;
    color: #25d366
}

/* Режим работы */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 20px;
    align-items: center
}

.schedule-grid__day {
    font-size: 13px;
    color: var(--text2);
    font-weight: 500
}

.schedule-grid__time {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-align: right
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px
}

.schedule-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite
}

/* ── Карта ── */
.map-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.map-card__header {
    padding: clamp(16px, 2vw, 24px) clamp(16px, 2.5vw, 28px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.map-card__address {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.map-card__address-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px
}

.map-card__address-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 4px
}

.map-card__address-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text)
}

.map-card__address-sub {
    font-size: 12px;
    color: var(--text2);
    margin-top: 2px
}

.map-card__open-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
    flex-shrink: 0
}

.map-card__open-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow)
}

.map-card__embed {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    filter: grayscale(30%) contrast(1.1)
}

[data-theme="dark"] .map-card__embed {
    filter: grayscale(60%) invert(92%) hue-rotate(180deg) brightness(0.85) contrast(1.1)
}

/* Hero */
.page-wrap .hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px,4vw,44px);
    margin-bottom: clamp(20px,3vw,32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden
}

.page-wrap .hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(0,200,240,.06),transparent 70%);
    pointer-events: none
}

.page-wrap .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px
}

.page-wrap .hero__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite
}

.page-wrap .hero__title {
    font-family: "Unbounded",sans-serif;
    font-size: clamp(15px,1.8vw,19px);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    position: relative
}

.page-wrap .hero__desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
    max-width: 540px;
    position: relative
}

.stats {
    display: flex;
    gap: clamp(20px,3vw,40px);
    flex-shrink: 0
}

.stat__n {
    font-family: "Unbounded",sans-serif;
    font-size: clamp(26px,3.5vw,38px);
    font-weight: 800;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px
}

.stat__l {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: clamp(10px,1.8vw,16px);
    margin-bottom: clamp(20px,3.5vw,40px)
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(18px,2.5vw,26px);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color var(--transition),transform var(--transition)
}

.card:hover {
    border-color: rgba(0,200,240,.2);
    transform: translateY(-2px)
}

.card__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid rgba(0,200,240,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0
}

.card__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3
}

.card__text {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6
}

/* CTA */
.cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(22px,3.5vw,40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(0,85,224,.06),transparent 60%);
    pointer-events: none
}

.cta__title {
    font-family: "Unbounded",sans-serif;
    font-size: clamp(15px,1.8vw,18px);
    font-weight: 700;
    margin-bottom: 5px;
    position: relative
}

.cta__text {
    font-size: 13px;
    color: var(--text2);
    position: relative
}

/* ── LAYOUT ── */
.layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(24px, 4vw, 56px);
    align-items: start
}

/* ── STEPS ── */
.steps {
    display: flex;
    flex-direction: column
}

.step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 18px;
    position: relative
}

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 52px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 200, 240, .25), rgba(0, 200, 240, .03))
}

.step__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--surface2);
    border: 2px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Unbounded", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    align-self: start;
    margin-top: 4px;
    transition: all var(--transition)
}

.step:hover .step__num {
    background: var(--accent-glow);
    border-color: rgba(0, 200, 240, .4)
}

.step__body {
    padding-bottom: clamp(22px, 3.5vw, 40px);
    padding-top: 6px
}

.step__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3
}

.step__text {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7
}

.step__text a {
    color: var(--accent)
}

.step__text a:hover {
    opacity: .8
}

.step__text strong {
    color: var(--text)
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 10px
}

.tag-g {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green)
}

.tag-b {
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .2);
    color: var(--accent)
}

/* ── SIDEBAR ── */
.aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: calc(68px + 20px)
}

.conditions {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.conditions__head {
    padding: 13px 18px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border)
}

.conditions__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 2px
}

.conditions__title {
    font-size: 14px;
    font-weight: 700
}

.conditions__body {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.cond {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.cond__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px
}

.cond__val {
    font-size: 14px;
    font-weight: 700
}

.cond__sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px
}

.alert {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55
}

.alert-o {
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
    color: var(--orange)
}

.alert-r {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    color: var(--red)
}

.alert-b {
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .2);
    color: var(--accent)
}

.alert strong {
    font-weight: 700
}

/* ── Moscow ── */
.moscow {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 32px);
    margin-top: clamp(24px, 4vw, 48px)
}

.moscow__title {
    font-family: "Unbounded", sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px
}

.moscow__sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px
}

.moscow__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px
}

.moscow__item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text2)
}

.moscow__item strong {
    color: var(--text)
}

.mcheck {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px
}

@media(max-width:900px) {
    .layout {
        grid-template-columns: 1fr
    }

    .aside {
        position: static
    }
}

@media(max-width:768px) {
    .hnav {
        display: none
    }

    .logo__s {
        display: none
    }
}

@media(max-width:480px) {
    .tsocs {
        display: none
    }
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 272px;
    gap: clamp(24px, 3.5vw, 52px);
    align-items: start
}

.history-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 20px)
}

/* Intro card */
.intro-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(28px, 4vw, 48px);
    position: relative;
    overflow: hidden
}

.intro-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 0, rgba(0, 200, 240, .05), transparent 60%);
    pointer-events: none
}

.intro-card__text {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    position: relative
}

/* Section titles */
.section-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    margin-bottom: clamp(20px, 2.5vw, 32px);
    display: flex;
    align-items: center;
    gap: 12px
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* ── Timeline ── */
.timeline {
    margin-bottom: clamp(32px, 5vw, 64px)
}

.tl-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0 20px;
    position: relative
}

.tl-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 200, 240, .25) 0%, rgba(0, 200, 240, .04) 100%);
    z-index: 0
}

.tl-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    padding-top: 4px
}

.tl-dot__ring {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 0 6px var(--bg);
    margin-bottom: 6px;
    flex-shrink: 0
}

.tl-dot__ring--green {
    background: var(--green);
    box-shadow: 0 0 0 3px var(--green-bg), 0 0 0 6px var(--bg)
}

.tl-dot__year {
    font-family: "Unbounded", sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .3px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.3
}

.tl-body {
    padding-bottom: clamp(28px, 3.5vw, 48px)
}

.tl-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(16px, 2.5vw, 24px);
    transition: border-color var(--transition)
}

.tl-card:hover {
    border-color: rgba(0, 200, 240, .2)
}

.tl-card__era {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px
}

.tl-card__title {
    font-family: "Unbounded", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4
}

.tl-card__text {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.75
}

.tl-card__text+.tl-card__text {
    margin-top: 10px
}

.tl-card__fact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 13px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text2)
}

.tl-card__fact strong {
    color: var(--accent)
}

/* ── Format cards ── */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(32px, 5vw, 64px)
}

.format-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(18px, 2.5vw, 26px);
    transition: border-color var(--transition), box-shadow var(--transition)
}

.format-card:hover {
    border-color: rgba(0, 200, 240, .25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .3)
}

.format-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px
}

.format-card__badge--blue {
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .2);
    color: var(--accent)
}

.format-card__badge--orange {
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
    color: var(--orange)
}

.format-card__badge--green {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green)
}

.format-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3
}

.format-card__text {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.65;
    margin-bottom: 12px
}

.format-card__specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border)
}

.format-card__spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted)
}

.format-card__spec strong {
    color: var(--text2);
    font-weight: 600
}

/* ── Effects ── */
.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(10px, 1.5vw, 16px);
    margin-bottom: clamp(32px, 5vw, 64px)
}

.effect-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 12px
}

.effect-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 1px
}

.effect-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.effect-card__text {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.55
}

/* ── Compare (benefits) ── */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(10px, 1.5vw, 16px);
    margin-bottom: clamp(32px, 5vw, 64px)
}

.compare-card {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 12px
}

.compare-card__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px
}

.compare-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.compare-card__text {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.55
}

/* ── Conclusion ── */
.conclusion {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 36px);
    margin-bottom: clamp(28px, 4vw, 52px);
    position: relative;
    overflow: hidden
}

.conclusion::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0 100%, rgba(0, 200, 240, .04), transparent 60%);
    pointer-events: none
}

.conclusion__title {
    font-family: "Unbounded", sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative
}

.conclusion__text {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.8;
    position: relative
}

/* ── Sidebar ── */
.toc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.toc-card__head {
    padding: 12px 18px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border)
}

.toc-card__label {
    font-family: "Unbounded", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted)
}

.toc-card__list {
    padding: 8px
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    transition: all var(--transition);
    cursor: pointer
}

.toc-link:hover {
    background: var(--surface2);
    color: var(--text2)
}

.toc-link.active {
    background: var(--accent-glow);
    color: var(--accent);
    font-weight: 600
}

.toc-link__num {
    font-family: "Unbounded", sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: var(--border2);
    transition: color var(--transition);
    flex-shrink: 0
}

.toc-link.active .toc-link__num {
    color: rgba(0, 200, 240, .5)
}

.disclaimer-card {
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
    border-radius: var(--radius);
    padding: 16px 18px
}

.disclaimer-card__title {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.disclaimer-card__text {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.6
}

.facts-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.facts-card__head {
    padding: 12px 18px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border)
}

.facts-card__label {
    font-family: "Unbounded", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted)
}

.facts-card__body {
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.fact-row {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.fact-row__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 5px
}

.fact-row__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px
}

.fact-row__label {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.4
}

.cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center
}

.cta-card__title {
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px
}

.cta-card__text {
    font-size: 12px;
    color: var(--text2);
    margin-bottom: 16px;
    line-height: 1.5
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px 16px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow var(--transition), transform var(--transition)
}

.btn-cta:hover {
    box-shadow: 0 4px 16px rgba(0, 85, 224, .4);
    transform: translateY(-1px)
}

.btn-outline-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    color: var(--text2);
    border: 1px solid var(--border2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px
}

.btn-outline-full:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow)
}

/* ══ CHECKOUT GRID ══ */
.checkout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(20px, 3vw, 40px);
    align-items: start
}

/* ══ SECTION BLOCK ══ */
.sec {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    transition: background .3s, border-color .3s
}

.sec:last-child {
    margin-bottom: 0
}

.sec__head {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color .3s
}

.sec__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--btn-grad);
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.sec__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px
}

.sec__body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

/* ══ INPUTS ══ */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px
}

.field__label span {
    color: var(--red);
    margin-left: 2px
}

.inp,
.textarea-inp {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color var(--t), box-shadow var(--t), background .3s;
    -webkit-appearance: none;
}

.inp::placeholder,
.textarea-inp::placeholder {
    color: var(--muted)
}

.inp:focus,
.textarea-inp:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--input-focus)
}

.inp.err {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-bg)
}

.field__hint {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5
}

.field__hint.warn {
    color: var(--orange)
}

.textarea-inp {
    resize: vertical;
    min-height: 90px
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

/* ══ RADIO CARDS ══ */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--t), background var(--t);
    position: relative;
}

.radio-card:hover {
    border-color: var(--border3)
}

.radio-card.checked {
    border-color: var(--accent);
    background: var(--accent-glow)
}

.radio-card input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

/* custom radio */
.rc-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border3);
    background: var(--input-bg);
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--t), background var(--t);
}

.radio-card.checked .rc-dot {
    border-color: var(--accent);
    background: var(--accent)
}

.radio-card.checked .rc-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff
}

.rc-content {
    flex: 1;
    min-width: 0
}

.rc-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px
}

.rc-desc {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.55
}

.rc-warn {
    font-size: 11px;
    color: var(--orange);
    margin-top: 4px;
    display: flex;
    align-items: flex-start;
    gap: 4px
}

.rc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
}

.rc-badge-g {
    background: var(--green-bg);
    border: 1px solid var(--green-brd);
    color: var(--green)
}

.rc-badge-b {
    background: var(--accent-glow);
    border: 1px solid rgba(0, 200, 240, .2);
    color: var(--accent)
}

/* ══ ORDER SUMMARY ══ */
.summary {
    position: sticky;
    top: calc(68px + 20px)
}

.sum-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
    transition: background .3s, border-color .3s
}

.sum-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color .3s
}

.sum-head__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px
}

.sum-head__count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600
}

.sum-items {
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border3) transparent
}

.sum-items::-webkit-scrollbar {
    width: 3px
}

.sum-items::-webkit-scrollbar-thumb {
    background: var(--border3);
    border-radius: 2px
}

.sum-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    transition: background var(--t), border-color .3s
}

.sum-item:last-child {
    border-bottom: none
}

.sum-item:hover {
    background: var(--surface2)
}

.si-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: background .3s, border-color .3s
}

.si-info {
    flex: 1;
    min-width: 0
}

.si-brand {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    transition: color .3s
}

.si-name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.si-flav {
    font-size: 11px;
    color: var(--muted)
}

.si-right {
    text-align: right;
    flex-shrink: 0
}

.si-qty {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 2px
}

.si-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* Totals */
.sum-totals {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px
}

.sum-row__label {
    color: var(--muted)
}

.sum-row__val {
    font-weight: 600;
    color: var(--text2)
}

.sum-row__val.green {
    color: var(--green)
}

.sum-div {
    height: 1px;
    background: var(--border);
    margin: 2px 0;
    transition: background .3s
}

.sum-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between
}

.sum-total-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700
}

.sum-total-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: var(--price-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1
}

/* Min order warning */
.sum-min {
    padding: 12px 16px;
    background: var(--orange-bg);
    border: 1px solid var(--orange-brd);
    border-radius: var(--radius-sm);
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--orange);
    line-height: 1.5;
    margin-bottom: 14px
}

/* Consent */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    cursor: pointer
}

.consent input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

.cb-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--border3);
    background: var(--input-bg);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
}

.consent:hover .cb-box {
    border-color: var(--accent)
}

.consent.checked .cb-box {
    background: var(--btn-grad);
    border-color: transparent
}

.cb-check {
    opacity: 0;
    transition: opacity var(--t)
}

.consent.checked .cb-check {
    opacity: 1
}

.consent__text {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.55
}

.consent__text a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--t)
}

.consent__text a:hover {
    text-decoration-color: var(--accent)
}

/* Submit */
.btn-submit {
    width: 100%;
    height: 54px;
    background: var(--btn-grad);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: box-shadow var(--t), transform var(--t), opacity var(--t);
}

.btn-submit:hover:not(:disabled) {
    box-shadow: 0 6px 28px rgba(0, 85, 224, .55);
    transform: translateY(-1px)
}

.btn-submit:active {
    transform: none
}

.btn-submit:disabled {
    opacity: .45;
    cursor: not-allowed
}

.sum-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.6
}

/* ══ SUCCESS STATE ══ */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(40px, 8vw, 80px) 24px;
    gap: 20px;
}

.success-screen.show {
    display: flex
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-bg);
    border: 2px solid var(--green-brd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    animation: popIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

.success-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 800
}

.success-text {
    font-size: 15px;
    color: var(--text2);
    max-width: 440px;
    line-height: 1.7
}

.success-order {
    padding: 12px 24px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--muted)
}

.success-order strong {
    color: var(--accent);
    font-size: 18px;
    font-family: 'Unbounded', sans-serif
}

/* ══ FOOTER ══ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-block: clamp(18px, 2.5vw, 28px);
    margin-top: clamp(40px, 6vw, 72px);
    transition: background .3s, border-color .3s
}

.site-footer .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.fcopy {
    font-size: 12px;
    color: var(--muted)
}

.fcopy a {
    color: var(--muted)
}

.fcopy a:hover {
    color: var(--accent)
}

.fsocs {
    display: flex;
    gap: 8px
}

.fsoc {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t)
}

.fsoc-tg:hover {
    background: rgba(41, 168, 233, .1);
    border-color: #29a8e9;
    color: #29a8e9
}

.fsoc-wa:hover {
    background: rgba(37, 211, 102, .1);
    border-color: #25d366;
    color: #25d366
}

/* ══ RESPONSIVE ══ */
@media(max-width:960px) {
    .checkout {
        grid-template-columns: 1fr
    }

    .summary {
        position: static
    }

    /* swap: summary first on mobile */
    .summary {
        order: -1
    }

    .sum-items {
        max-height: 200px
    }
}

@media(max-width:768px) {
    .hnav {
        display: none
    }

    .logo__s {
        display: none
    }

    .row2 {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .tsocs {
        display: none
    }

    .sec__body {
        padding: 16px
    }

    .sec__head {
        padding: 13px 16px
    }

    .sum-totals {
        padding: 12px 14px
    }

    .sum-head,
    .sum-item {
        padding-inline: 14px
    }
}

.sec {
    animation: fadeUp .4s ease both
}

.sec:nth-child(1) {
    animation-delay: .04s
}

.sec:nth-child(2) {
    animation-delay: .10s
}

.sec:nth-child(3) {
    animation-delay: .16s
}

.sum-card {
    animation: fadeUp .4s .08s ease both
}

@media(max-width:1024px) {
    .history-layout {
        grid-template-columns: 1fr
    }

    .history-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))
    }
}

@media(max-width:768px) {

    .formats-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:540px) {
    .history-sidebar {
        grid-template-columns: 1fr
    }

    .effects-grid,
    .compare-grid {
        grid-template-columns: 1fr
    }
}

/* Intro card */
.post__entry {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(28px, 4vw, 48px);
    position: relative;
    overflow: hidden
}

.post__entry::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 0, rgba(0, 200, 240, .05), transparent 60%);
    pointer-events: none
}

.post__text {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.8;
    position: relative
}

/* ================================================
   RESPONSIVE — 1280px
   ================================================ */
@media(max-width:1280px) {
    :root {
        --header-h: 62px
    }

    .site-nav {
        display: none
    }

    .burger {
        display: flex
    }

    .header-phone {
        display: none
    }

    /* Соцсети убираем из шапки — они в мобильном меню */
    .header-icon-btn--tg {
        display: none
    }

    .header-icon-btn--wa {
        display: none
    }

    .products-wrap.show-list .quick-order {
        display: none;
    }

    .catalog-layout .container {
        grid-template-columns: 200px 1fr
    }

    .footer__grid {
        grid-template-columns: 1.5fr repeat(2, 1fr)
    }

    .product-row__quick {
        display: none
    }
}

/* ================================================
   RESPONSIVE — 1024px (планшет)
   ================================================ */
@media(max-width:1024px) {

    .contacts-layout {
        display: block;
    }

    .map-card {
        display: none;
    }

    .form-button {
        width: 100%;
    }

    /* ЛК и корзина остаются всегда */
    .catalog-layout .container {
        grid-template-columns: 180px 1fr;
        gap: 12px
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px
    }
}

/* ================================================
   RESPONSIVE — 768px (крупный телефон / маленький планшет)
   ================================================ */


@media all and (max-width: 768px) {
    :root {
        --header-h: 56px;
        --topbar-h: 30px;
        --row-h: 64px
    }

    #checkOld .wrapper {
        height: 100vh;
        width: 100vw;
        overflow-x: hidden;
        overflow-y: scroll;
        border-radius: 0;
    }

    #checkOld .wrapper .buttons {
        flex-direction: column;
    }

    #checkOld .wrapper .buttons button,
    #checkOld .wrapper .buttons a {
        margin: auto auto 20px;
    }

    #msCartAside {
        width: 100vw
    }

    .grid {
        flex-direction: column;
    }

    .grid .col-sx,
    .grid .col-dx {
        width: 100%;
    }

    .grid .products,
    .grid .cart {
        padding: 0;
    }

    .grid .products {
        padding-bottom: 2rem;
    }

    .grid .cart h2 {
        text-align: left;
    }

    .header-right {
        gap: 5px
    }

    .theme-toggle,
    .cart-btn,
    .burger,
    .header-icon-btn {
        width: 38px;
        height: 38px
    }

    .logo img {
        height: 40px;
    }

    .hero .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .hero__stats {
        width: 100%;
        justify-content: space-around
    }

    .catalog-layout .container {
        grid-template-columns: 1fr;
        padding-block: 8px
    }

    /* Сайдбар скрыт на мобильных — каталог только в бургере */
    .sidebar {
        display: none
    }

    /* List row */
    .product-row {
        min-height: 60px
    }

    .product-row__img {
        width: 58px;
        height: 60px
    }

    .product__page .product {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px
    }

    .footer__col:first-child {
        grid-column: 1/-1
    }

    .footer__desc {
        max-width: 100%
    }

    /* Мобильные соцсети — крупнее кнопки */
    .mobile-social-btn {
        padding: 11px 16px;
        font-size: 14px
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   RESPONSIVE — 600px
   ================================================ */
@media(max-width:600px) {
    :root {
        --row-h: 60px
    }

    .catalog-controls {
        display: none;
    }

    .product-name {
        display: none;
    }

    .qty__btn {
        width: 26px
    }

    .qty__val {
        width: 24px;
        font-size: 13px
    }

    .add-to-cart {
        font-size: 12px;
        padding: 0 12px
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .footer__col:first-child {
        grid-column: 1
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }

    /* Футер соцсети на 600px */
    .footer__socials {
        gap: 6px
    }

    .footer__social-btn {
        padding: 6px 10px;
        font-size: 11px
    }
}

/* ================================================
   RESPONSIVE — 420px (стандартный телефон)
   ================================================ */
@media(max-width:420px) {
    :root {
        --header-h: 52px;
        --topbar-h: 28px;
        --row-h: 58px
    }

    .container {
        padding-inline: 10px
    }

    .logo__icon {
        width: 32px;
        height: 32px;
        font-size: 14px
    }

    .logo__text {
        font-size: 13px
    }

    .header-right {
        gap: 4px
    }

    .theme-toggle,
    .cart-btn,
    .burger,
    .header-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 14px
    }

    .product-card__image {
        min-height: 140px;
        padding: 16px 12px;
    }

    .product-card__body {
        padding: 9px;
    }

    .product-card__footer {
        padding: 0 9px 9px;
    }

    .btn-cart {
        font-size: 11px;
    }

    .add-to-cart {
        font-size: 11px;
        padding: 0 10px;
        height: 32px
    }

    .qty__btn {
        width: 24px;
        height: 32px
    }

    .qty__val {
        height: 32px;
        width: 22px;
        font-size: 12px
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px
    }

    .hero__title {
        font-size: 16px
    }

}

/* ================================================
   RESPONSIVE — 360px (минимум)
   ================================================ */
@media(max-width:360px) {
    :root {
        --header-h: 50px
    }

    .header-right {
        gap: 3px
    }

    .theme-toggle,
    .cart-btn,
    .burger,
    .header-icon-btn {
        width: 34px;
        height: 34px
    }

    .logo__text {
        font-size: 12px
    }

    .product-card__image {
        min-height: 150px;
    }

    .product-name {
        font-size: 11px;
    }

    .product-price__val {
        font-size: 15px;
    }

    .add-to-cart {
        font-size: 10px;
        padding: 0 8px;
        height: 30px
    }

    .qty__btn {
        width: 22px;
        height: 30px;
        font-size: 14px
    }

    .qty__val {
        height: 30px;
        width: 20px;
        font-size: 11px
    }

    .topbar__text {
        font-size: 9px;
        letter-spacing: .6px
    }

    .hero__title {
        font-size: 15px
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 10px
    }
}

/* ================================================
   БОЛЬШИЕ ЭКРАНЫ
   ================================================ */
@media(min-width:600px) {
    .products-wrap.show-list .products-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .products-wrap.show-list .product-card {
        flex-direction: row;
        border-radius: 0;
    }

    .products-wrap.show-list .product-card:hover {
        background: var(--surface2);
    }

    .products-wrap.show-list .product-card:first-child {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .products-wrap.show-list .product-card:last-child {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .products-wrap.show-list .product-card__image {
        padding: 8px;
        min-height: initial;
        background: var(--card-img-bg);
        border-right: 1px solid var(--border);
        flex-shrink: 0;
    }

    .products-wrap.show-list .product-card__image img {
        height: clamp(44px, 5.5vw, 58px);
        width: clamp(44px, 5.5vw, 58px);
    }

    .products-wrap.show-list .product-card__glow {
        display: none;
    }

    .products-wrap.show-list .product-card__image .product-badge {
        display: none;
    }

    .products-wrap.show-list .product-card__body .product-title {
        flex: 0;
    }

    .products-wrap.show-list .product-badge {
        position: relative;
        top: unset;
        left: unset;
        font-size: 10px;
        padding: 2px 8px;
    }

    .products-wrap.show-list .product-fav {
        display: none;
    }

    .products-wrap.show-list .product-card__body {
        padding: 0 clamp(10px, 1.5vw, 20px);
        min-width: 0;
        justify-content: center;
        flex: 1;
        gap: 3px;
    }

    .products-wrap.show-list .product-name {
        display: block;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        transition: color var(--transition);
        margin: 0;
        font-family: 'Golos Text', sans-serif;
        font-weight: normal;
    }

    .products-wrap.show-list .product-brand,
    .products-wrap.show-list .product-category {
        display: none;
    }

    .products-wrap.show-list .product-flavor {
        display: none;
    }

    .products-wrap.show-list .product-meta {
        border: none;
        padding: 0;
        margin: 0;
    }

    .products-wrap.show-list .product-price {
        flex-direction: row;
        gap: 10px;
    }

    .products-wrap.show-list .product-price__val {
        font-size: clamp(13px, 1.4vw, 15px);
        color: var(--accent);
    }

    .products-wrap.show-list .product-price__from {
        font-size: 12px;
    }

    .products-wrap.show-list .product-card__footer {
        padding: 0;
        flex-direction: row;
        align-items: center;
        padding-right: clamp(10px, 1.5vw, 18px);
    }

    .products-wrap.show-list .product-actions {
        order: 2;
    }

    .products-wrap.show-list .btn-cart {
        padding: 0 clamp(12px, 1.8vw, 20px);
    }

    .products-wrap.show-list .quick-order {
        order: 1;
        padding-right: clamp(8px, 1.5vw, 16px);
    }
}

@media(min-width:1600px) {
    .catalog-layout .container {
        grid-template-columns: 250px 1fr;
        gap: 32px
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr))
    }

    :root {
        --row-h: 76px
    }
}

@media(min-width:2000px) {
    html {
        font-size: 17px
    }

    .catalog-layout .container {
        grid-template-columns: 270px 1fr;
        gap: 40px
    }

    :root {
        --row-h: 80px
    }
}

@media(min-width:2400px) {
    html {
        font-size: 18px
    }

    .catalog-layout .container {
        grid-template-columns: 290px 1fr
    }
}