﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
    --bg-black: #05060c;
    --bg-panel: rgba(8, 14, 27, 0.82);
    --bg-panel-strong: rgba(7, 10, 20, 0.94);
    --accent-pink: #ff00d4;
    --accent-purple: #7c3aed;
    --accent-cyan: #00e5ff;
    --accent-blue: #4f8cff;
    --text-primary: #f8fbff;
    --text-gray: rgba(220, 231, 255, 0.78);
    --text-muted: rgba(178, 190, 216, 0.56);
    --border: rgba(0, 229, 255, 0.14);
    --border-strong: rgba(255, 0, 212, 0.26);
    --font-title: 'Oxanium', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --glow: 0 0 22px rgba(255, 0, 212, 0.28), 0 0 46px rgba(0, 229, 255, 0.18);
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 0, 212, 0.16), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(0, 229, 255, 0.14), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.16), transparent 36%),
        #05060c;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.age-gate-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 88%);
    pointer-events: none;
    z-index: -3;
}

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

button,
a {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}

.container {
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}

.glow-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 28%, rgba(255, 0, 212, 0.12), transparent 32%),
        radial-gradient(circle at 80% 12%, rgba(0, 229, 255, 0.12), transparent 26%),
        radial-gradient(circle at 72% 80%, rgba(124, 58, 237, 0.12), transparent 34%);
    pointer-events: none;
    z-index: -2;
}

.age-gate {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 2000;
    isolation: isolate;
}

.age-gate[hidden] {
    display: none !important;
}

.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 6, 12, 0.78), rgba(3, 6, 12, 0.84)),
        radial-gradient(circle at 20% 20%, rgba(255, 0, 212, 0.12), transparent 34%),
        radial-gradient(circle at 80% 12%, rgba(0, 229, 255, 0.12), transparent 30%);
    backdrop-filter: blur(10px);
}

.age-gate__dialog {
    position: relative;
    width: min(680px, 100%);
    padding: 34px 38px;
    background: rgba(255, 255, 255, 0.98);
    color: #111827;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.age-gate__dialog::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 0, 212, 0.18), rgba(79, 140, 255, 0.14));
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.age-gate__title {
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 2.35rem);
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.age-gate__copy {
    color: #283244;
    font-size: 1rem;
    line-height: 1.7;
}

.age-gate__copy strong {
    color: #ff4d8d;
}

.age-gate__list {
    margin: 12px 0 0;
    padding-left: 24px;
}

.age-gate__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.age-gate__links a {
    color: #7a8092;
    font-size: 0.98rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.age-gate__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.age-gate__button {
    min-height: 62px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.age-gate__button:hover {
    transform: translateY(-1px);
}

.age-gate__button--secondary {
    background: #f3f4f6;
    color: #111827;
    border-color: rgba(15, 23, 42, 0.06);
}

.age-gate__button--secondary:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.age-gate__button--primary {
    background: linear-gradient(135deg, #4f8cff, #5865f2);
    color: #fff;
    box-shadow: 0 14px 34px rgba(79, 140, 255, 0.28);
}

.age-gate__button--primary:hover {
    box-shadow: 0 18px 40px rgba(79, 140, 255, 0.34);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 5, 12, 0.84);
    backdrop-filter: blur(14px);
    z-index: 1200;
}

.modal-content,
.auth-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 16, 30, 0.92), rgba(6, 10, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 32px;
    box-shadow: 0 24px 80px rgba(2, 6, 16, 0.72), var(--glow);
    backdrop-filter: blur(18px);
}

.modal-content::before,
.auth-card::before,
.hero-panel::before,
.product-card::before,
.catalog-sidebar::before,
.catalog-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%);
    pointer-events: none;
}

.modal-content {
    width: min(440px, 100%);
    padding: 46px 38px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--accent-cyan);
    transform: scale(1.08);
}

.modal-title {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.modal-subtitle {
    margin: 0 0 30px;
    color: var(--text-gray);
}

.auth-helper-text {
    margin-top: 25px;
    color: var(--text-gray);
}

.auth-helper-link {
    color: var(--accent-pink);
    font-weight: 700;
    text-decoration: none;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.94);
    color: #0b1020;
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.08);
}

.auth-btn img {
    width: 20px;
    height: 20px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 255, 255, 0.12);
}

.divider-text {
    margin: 26px 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.input-field {
    width: 100%;
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    background: rgba(4, 8, 18, 0.78);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.input-field::placeholder {
    color: rgba(173, 185, 210, 0.46);
}

.input-field:focus {
    border-color: rgba(0, 229, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08), 0 0 18px rgba(0, 229, 255, 0.12);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(4, 7, 16, 0.74);
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-title);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.14);
}

.logo::before {
    content: "⚡";
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    background: radial-gradient(circle at 30% 30%, rgba(79, 140, 255, 0.95), rgba(255, 0, 212, 0.65));
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.28), 0 0 36px rgba(255, 0, 212, 0.22);
}

.logo span,
.section-title span,
.hero-title em {
    color: var(--accent-pink);
    text-shadow: 0 0 14px rgba(255, 0, 212, 0.48), 0 0 34px rgba(255, 0, 212, 0.26);
}

.hero-title span {
    color: var(--accent-cyan);
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.48), 0 0 34px rgba(0, 229, 255, 0.24);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: rgba(244, 250, 255, 0.9);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links a:hover,
.catalog-shortcuts a:hover,
.catalog-detail-link:hover {
    color: var(--accent-cyan);
}

.nav-profile {
    color: var(--accent-pink) !important;
}

.nav-secondary {
    color: var(--text-muted) !important;
    font-size: 0.72rem !important;
}

.nav-logout-form {
    margin: 0;
}

.nav-logout-form .nav-secondary {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    min-height: 46px;
}

.btn-primary,
.btn-ghost,
.nav-cta,
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    min-height: 54px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 800;
}

.btn-primary,
.nav-cta {
    background: linear-gradient(90deg, rgba(255, 0, 212, 0.96), rgba(124, 58, 237, 0.96));
    color: #fff;
    box-shadow: 0 14px 36px rgba(255, 0, 212, 0.22), 0 0 22px rgba(124, 58, 237, 0.18);
}

.btn-primary:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(255, 0, 212, 0.28), 0 0 28px rgba(124, 58, 237, 0.22);
}

.btn-ghost,
.btn-logout {
    border-color: rgba(0, 229, 255, 0.22);
    color: var(--accent-cyan);
    background: rgba(7, 12, 22, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover,
.btn-logout:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.42);
    box-shadow: 0 12px 28px rgba(0, 229, 255, 0.12);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.cart-wrapper {
    position: relative;
}

.cart-trigger {
    white-space: nowrap;
    gap: 6px;
}

.cart-trigger__label,
#cart-count {
    display: inline-flex;
    align-items: center;
}

.mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(360px, 92vw);
    margin: 0 !important;
    padding: 22px;
    border-radius: 28px;
    display: none;
    background: linear-gradient(180deg, rgba(9, 14, 27, 0.96), rgba(6, 8, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56), var(--glow);
    transform: none !important;
    z-index: 1001;
}

.cart-wrapper:hover .mini-cart,
.cart-wrapper:focus-within .mini-cart {
    display: block;
}

.mini-cart-items {
    display: grid;
    gap: 14px;
    max-height: 320px;
    overflow: auto;
    padding-right: 4px;
}

.mini-cart-items::-webkit-scrollbar,
.np-results::-webkit-scrollbar {
    width: 6px;
}

.mini-cart-items::-webkit-scrollbar-thumb,
.np-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 999px;
}

.input-group--np.is-open .input-field {
    border-color: rgba(0, 229, 255, 0.34);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08), 0 0 24px rgba(0, 229, 255, 0.16);
}

.input-group--np.is-loading .input-field {
    border-color: rgba(255, 0, 212, 0.24);
}

.input-group--np.is-selected .input-field {
    border-color: rgba(255, 0, 212, 0.28);
    background: linear-gradient(180deg, rgba(7, 12, 26, 0.92), rgba(5, 9, 17, 0.94));
    box-shadow: 0 0 0 4px rgba(255, 0, 212, 0.06), 0 0 18px rgba(255, 0, 212, 0.12);
}

.mini-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.mini-info {
    display: grid;
    gap: 4px;
}

.mini-name,
.mini-meta,
.mini-footer p {
    margin: 0;
}

.mini-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.mini-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.mini-footer {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mini-footer p {
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
}

.hero-catalog {
    display: grid;
    width: min(1240px, calc(100% - 32px));
    max-width: 1240px;
    margin: 28px auto 42px;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
}

.hero {
    order: 2;
    padding: 0;
    min-height: auto;
    text-align: left;
    min-width: 0;
    width: auto;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(24px, 3.2vw, 40px);
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 0, 212, 0.22), transparent 26%),
        radial-gradient(circle at 84% 12%, rgba(0, 229, 255, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(7, 12, 26, 0.9), rgba(5, 7, 15, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.18);
    box-shadow: 0 32px 100px rgba(2, 4, 10, 0.8), var(--glow);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% 52%;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%);
    transform: rotate(-8deg);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--accent-cyan);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.34em;
}

.hero-title {
    margin: 0 0 18px;
    font-family: var(--font-title);
    font-size: clamp(2.6rem, 5.2vw, 4.9rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title em,
.hero-title span {
    font-style: normal;
}

.hero-subtitle {
    margin: 0;
    max-width: 100%;
    color: var(--text-gray);
    font-size: clamp(0.94rem, 1.25vw, 1.08rem);
}

.hero-subtitle strong {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 100%;
    margin-top: 26px;
}

.hero-stat {
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    background: rgba(8, 12, 24, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-stat span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-stat strong {
    font-size: 1rem;
    font-weight: 800;
}

.marquee-strip {
    padding: 18px 0;
    margin-bottom: 64px;
    border-block: 1px solid rgba(0, 229, 255, 0.08);
    background: rgba(7, 11, 18, 0.42);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 34px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.36em;
    color: rgba(211, 223, 248, 0.56);
    text-transform: uppercase;
}

.dot {
    color: var(--accent-cyan);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section {
    padding: 84px 0;
}

.section-header {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.section-kicker {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-copy {
    margin: 0;
    max-width: 760px;
    color: var(--text-gray);
    font-size: 1rem;
}

.section-title--compact {
    margin-bottom: 10px;
}

.section-copy--compact {
    margin-bottom: 20px;
}

.section-kicker--compact {
    margin-bottom: 10px;
}

.section-header--compact {
    margin-bottom: 22px;
}

.features-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-item,
.product-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.9), rgba(7, 10, 18, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.feature-item:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 212, 0.28);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.56), var(--glow);
}

.feature-item {
    padding: 34px 28px;
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 22px;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.08);
}

.feature-item h3 {
    margin: 0 0 14px;
    font-family: var(--font-title);
    font-size: 1.36rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feature-item p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.94rem;
}

.card-image {
    height: 300px;
    margin-bottom: 18px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 229, 255, 0.12), transparent 34%),
        radial-gradient(circle at 20% 80%, rgba(255, 0, 212, 0.14), transparent 30%),
        rgba(6, 10, 18, 0.92);
    border: 1px solid rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    padding: 22px;
    object-fit: contain;
    transition: transform 280ms ease;
}

.product-card:hover .card-image img {
    transform: scale(1.06);
}

.card-body {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.card-category {
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.card-name {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.4;
}

.price-tag {
    display: block;
    font-size: 1.52rem;
    font-weight: 800;
}

.product-card--discount {
    border-color: rgba(255, 0, 212, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.52), 0 0 28px rgba(255, 0, 212, 0.12);
}

.discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 0, 212, 0.96), rgba(124, 58, 237, 0.96));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(255, 0, 212, 0.28);
}

.discount-badge--inline {
    position: static;
    margin-bottom: 14px;
}

.discount-badge--mini {
    position: static;
    min-height: 24px;
    padding: 4px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.price-stack {
    display: grid;
    gap: 4px;
}

.price-stack--detail {
    gap: 8px;
    margin-bottom: 8px;
}

.price-old {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 0, 212, 0.46);
}

.price-current {
    color: #fff;
    font-size: 1.52rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(255, 0, 212, 0.18);
}

.discount-caption {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 700;
}

.discount-caption--detail {
    margin-bottom: 18px;
}

.product-pricing-block {
    display: grid;
    justify-items: start;
    margin-bottom: 18px;
}

.cart-item-price-block {
    display: grid;
    gap: 4px;
    margin-top: 2px;
}

.cart-item-price-old,
.checkout-item-summary__prices .cart-item-price-old {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 0, 212, 0.42);
}

.cart-item-price-current {
    margin: 0;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 800;
}

.cart-item-discount-label {
    margin: 0;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-item-summary {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.checkout-item-summary__label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
}

.checkout-item-summary__prices {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

.card-footer {
    margin-top: auto;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-link--block {
    display: block;
}

.hero-scroll {
    margin-top: 60px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
}

.animate-fade {
    animation: fade 0.8s ease forwards;
    opacity: 0;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 56px 0;
}

.auth-page.cart-page {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
}

.auth-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card {
    width: min(100%, 520px);
    padding: 38px 32px;
    text-align: center;
}

.signup-form {
    display: grid;
    gap: 14px;
}

.input-group {
    width: 100%;
    text-align: left;
    display: grid;
    gap: 8px;
}

.input-group--np {
    position: relative;
    gap: 10px;
    overflow: visible;
}

.input-group--np.is-open,
.input-group--np.is-selected {
    z-index: 24;
}

.np-autocomplete-shell {
    position: relative;
}

.np-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    max-height: min(320px, 44vh);
    padding: 10px;
    overflow: auto;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(10, 16, 31, 0.98), rgba(5, 8, 17, 0.98)),
        radial-gradient(circle at 14% 16%, rgba(255, 0, 212, 0.14), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(0, 229, 255, 0.12), transparent 24%);
    box-shadow: 0 28px 64px rgba(1, 4, 12, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.03), var(--glow);
    backdrop-filter: blur(18px);
    z-index: 60;
}

.np-results.is-open {
    display: grid;
    gap: 8px;
}

.np-results__status {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.5;
}

.np-item {
    position: relative;
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.np-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 212, 0.12), rgba(0, 229, 255, 0.08));
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.np-item:hover,
.np-item.is-active {
    border-color: rgba(0, 229, 255, 0.32);
    background: rgba(9, 15, 29, 0.88);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 229, 255, 0.14), 0 0 0 1px rgba(255, 0, 212, 0.1);
    transform: translateY(-1px);
}

.np-item:hover::after,
.np-item.is-active::after {
    opacity: 1;
}

.np-item__title,
.np-item__meta {
    display: block;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.np-item__title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: pretty;
}

.np-item__meta {
    color: var(--text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.np-selection {
    display: none;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 0, 212, 0.18);
    background: linear-gradient(135deg, rgba(255, 0, 212, 0.1), rgba(0, 229, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.np-selection.is-visible {
    display: grid;
}

.np-selection__label {
    color: var(--accent-cyan);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.np-selection strong {
    font-size: 0.94rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.np-selection span:last-child {
    color: var(--text-gray);
    font-size: 0.78rem;
}

.np-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.input-group label {
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.input-group--np label {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.error-msg {
    background: rgba(255, 0, 128, 0.12);
    color: #ffd5ef;
    border: 1px solid rgba(255, 0, 128, 0.22);
    padding: 12px 14px;
    border-radius: 16px;
    margin-bottom: 14px;
    font-size: 0.84rem;
}

.catalog-showcase {
    order: 1;
    position: relative;
    z-index: 50;
    min-width: 0;
    width: min(320px, 100%);
}

.catalog-panel {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.catalog-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 18px;
    height: 100%;
    transform: translateX(-8px);
    z-index: 3;
}

.catalog-sidebar {
    position: relative;
    width: 100%;
    max-width: 320px;
    flex: 0 0 auto;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.96), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56), var(--glow);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.catalog-header {
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(90deg, rgba(79, 140, 255, 0.88), rgba(255, 0, 212, 0.72));
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-transform: uppercase;
}

.catalog-header-label {
    margin-right: auto;
}

.catalog-header-badge {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    gap: 5px;
    flex: 0 0 auto;
}

.catalog-header-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
}

.catalog-header-arrow,
.catalog-category-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.catalog-header-arrow {
    color: rgba(255, 255, 255, 0.94);
    transition: transform var(--transition);
}

.catalog-panel.is-expanded .catalog-header-arrow,
.catalog-panel.is-mobile-open .catalog-header-arrow {
    transform: rotate(180deg);
}

.catalog-category-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.catalog-category-item {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.catalog-category-item:hover,
.catalog-category-item.is-active {
    background: linear-gradient(90deg, rgba(255, 0, 212, 0.12), rgba(0, 229, 255, 0.08));
}

.catalog-category-item.is-active {
    box-shadow: inset 3px 0 0 var(--accent-cyan);
}

.catalog-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.catalog-category-icon svg {
    width: 26px;
    height: 26px;
}

.catalog-category-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
}

.catalog-category-arrow {
    color: rgba(255, 255, 255, 0.34);
}

.catalog-detail {
    position: absolute;
    top: 0;
    left: calc(100% - 8px);
    right: auto;
    width: min(34vw, 560px);
    max-width: none;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    padding: 0;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(9, 13, 24, 0.96), rgba(6, 9, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56), var(--glow);
    transform: translateY(8px);
    transition: opacity 0.2s ease, padding 0.28s ease, transform 0.28s ease;
}

.catalog-panel.is-expanded .catalog-detail {
    opacity: 1;
    pointer-events: auto;
    padding: 24px 28px 28px;
    transform: translateY(0);
}

.catalog-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-shortcuts a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.catalog-detail-pane {
    display: none;
}

.catalog-detail-pane.is-active {
    display: block;
}

.catalog-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
}

.catalog-column-eyebrow {
    margin: 0 0 10px;
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.catalog-column-title {
    margin: 0 0 14px;
    font-family: var(--font-title);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.catalog-detail-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-detail-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.45;
}

.catalog-detail-link:hover {
    transform: translateX(2px);
}

.catalog-detail-column--actions {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
}

.catalog-action-link {
    display: block;
    flex: 1 1 220px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 0, 212, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 0, 212, 0.06));
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.catalog-action-link:hover {
    color: #fff;
    border-color: rgba(255, 0, 212, 0.34);
    transform: translateY(-1px);
}

.site-footer {
    padding: 86px 0 60px;
}

.footer-shell {
    display: grid;
    gap: 24px;
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-brand p {
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--text-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
}

.footer-card {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.88), rgba(6, 9, 18, 0.95));
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.footer-label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.footer-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-card p,
.footer-copy {
    margin: 0;
    color: var(--text-gray);
}

.footer-copy {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.info-grid,
.order-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.9), rgba(7, 10, 18, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.info-card > strong {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.info-card p {
    margin: 0;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-card p strong {
    display: inline;
    margin: 0;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    color: var(--text-white);
}

.summary-list {
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-gray);
}

.summary-row strong {
    color: #fff;
    text-align: right;
}

.summary-row--total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 1.06rem;
}

.summary-row--total strong {
    color: var(--accent-pink);
}

.summary-note {
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.catalog-pagination__status {
    color: var(--text-gray);
    font-size: 0.92rem;
}

.notice-box {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: rgba(8, 12, 24, 0.66);
    border: 1px solid rgba(0, 229, 255, 0.12);
}

.notice-box strong,
.notice-box span {
    color: #fff;
}

.notice-box p {
    margin: 0;
    color: var(--text-gray);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 212, 0.14);
    background: rgba(255, 0, 212, 0.05);
    cursor: pointer;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-pink);
    flex: 0 0 auto;
}

.checkbox-row span {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.55;
}

.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 1140px) {
    .hero-catalog {
        width: min(1240px, calc(100% - 32px));
        margin: 28px auto 42px;
        grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
        column-gap: 8px;
    }

    .catalog-showcase,
    .hero {
        width: auto;
    }

    .catalog-detail {
        left: calc(100% - 8px);
        width: min(520px, 52vw);
    }

    .catalog-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-detail-column--actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .catalog-action-link {
        flex: 1 1 240px;
    }
}

@media (max-width: 980px) {
    .hero-catalog {
        width: min(100%, calc(100% - 20px));
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 20px auto 30px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .catalog-panel {
        display: block;
    }

    .catalog-sidebar {
        width: 100%;
        flex-basis: auto;
    }

    .catalog-category-list {
        display: none;
    }

    .catalog-panel.is-mobile-open .catalog-category-list {
        display: block;
    }

    .catalog-detail {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        max-width: none;
        width: 100%;
        transform: none;
    }

    .catalog-panel.is-expanded .catalog-detail {
        max-width: none;
        padding: 18px 18px 20px;
    }

    .catalog-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .catalog-detail-column--actions {
        grid-column: auto;
        flex-direction: column;
        gap: 14px;
    }

    .hero {
        order: 1;
        width: auto;
    }

    .catalog-showcase {
        order: 2;
        width: auto;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 4.8rem);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100%, calc(100% - 20px));
    }

    .logo {
        gap: 12px;
        font-size: 1.4rem;
    }

    .logo::before {
        width: 42px;
        height: 42px;
    }

    .nav-links {
        gap: 10px;
    }

    .btn-primary,
    .btn-ghost,
    .nav-cta,
    .btn-logout {
        width: 100%;
    }

    .hero-panel,
    .auth-card,
    .modal-content,
    .catalog-sidebar,
    .catalog-detail,
    .product-card,
    .footer-card {
        border-radius: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .card-image {
        height: 260px;
    }
}

.password-field {
    position: relative;
}

.password-field .input-field {
    padding-right: 56px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    border-radius: 12px;
    background: rgba(10, 14, 24, 0.72);
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.password-toggle:hover {
    border-color: rgba(0, 229, 255, 0.28);
    color: var(--accent-cyan);
}

.messages-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.messages-stack--spaced {
    margin-bottom: 24px;
}

.message-chip {
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    background: rgba(8, 12, 24, 0.78);
    color: var(--text-primary);
    font-size: 0.92rem;
}

.included-addon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(8, 12, 22, 0.78);
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 0, 212, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: var(--text-gray);
    opacity: 0.82;
    cursor: default;
    user-select: none;
}

.included-addon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}

.support-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
}

.support-toggle {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 212, 0.96), rgba(0, 229, 255, 0.92));
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 14px 34px rgba(255, 0, 212, 0.28), 0 0 28px rgba(0, 229, 255, 0.22);
    cursor: pointer;
}

.support-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(320px, calc(100vw - 32px));
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.96), rgba(6, 10, 18, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), var(--glow);
    display: none;
}

.support-widget.is-open .support-panel {
    display: block;
}

.support-panel h3 {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.support-panel p {
    margin: 0 0 14px;
    color: var(--text-gray);
    font-size: 0.92rem;
}

.support-actions {
    display: grid;
    gap: 10px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.support-link:hover {
    transform: translateY(-2px);
}

.support-link--telegram {
    background: linear-gradient(90deg, rgba(255, 0, 212, 0.96), rgba(124, 58, 237, 0.96));
    border-color: rgba(255, 0, 212, 0.32);
    color: #fff;
    box-shadow: 0 14px 32px rgba(255, 0, 212, 0.24), 0 0 24px rgba(124, 58, 237, 0.16);
}

.support-link--telegram:hover {
    box-shadow: 0 18px 38px rgba(255, 0, 212, 0.3), 0 0 28px rgba(124, 58, 237, 0.22);
}

.support-link--instagram {
    background:
        linear-gradient(180deg, rgba(9, 14, 26, 0.92), rgba(7, 11, 21, 0.96)),
        linear-gradient(135deg, rgba(131, 58, 180, 0.6), rgba(225, 48, 108, 0.52), rgba(252, 175, 69, 0.44));
    border-color: rgba(225, 48, 108, 0.28);
    color: #f7d3e6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 10px 24px rgba(225, 48, 108, 0.12);
}

.support-link--instagram:hover {
    border-color: rgba(252, 175, 69, 0.42);
    box-shadow: 0 16px 34px rgba(225, 48, 108, 0.18), 0 0 20px rgba(252, 175, 69, 0.12);
    color: #fff3fa;
}

.support-phone {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.84rem;
}

.support-handle {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
}

.support-handle:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.28);
}

.review-section {
    margin-top: 72px;
}

.review-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.review-average {
    font-family: var(--font-title);
    font-size: 2rem;
    color: #fff;
}

.review-stars {
    color: var(--accent-cyan);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
}

.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 24px;
}

.review-list {
    display: grid;
    gap: 16px;
}

.review-card {
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    background: rgba(8, 12, 24, 0.7);
}

.review-card p {
    margin: 0;
    color: var(--text-gray);
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 800;
    color: #fff;
}

.review-empty {
    color: var(--text-muted);
}

.review-empty--spaced {
    margin-top: 10px;
}

.review-form-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 0, 212, 0.14);
    background: rgba(255, 0, 212, 0.04);
}

.review-form-card--wide {
    grid-column: 1 / -1;
}

.flush-title {
    margin-top: 0;
}

.review-form-card form {
    display: grid;
    gap: 14px;
}

@media (max-width: 980px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .support-widget {
        right: 14px;
        bottom: 14px;
    }

    .support-toggle {
        width: 56px;
        height: 56px;
    }
}

.logo::before {
    content: "⚡";
}

.navbar .container {
    flex-wrap: wrap;
}

.nav-search-shell {
    flex: 1 1 360px;
    max-width: 420px;
}

.search-widget {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background: rgba(7, 12, 22, 0.82);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.search-input::placeholder {
    color: rgba(173, 185, 210, 0.58);
}

.search-input:focus,
.search-widget.is-open .search-input {
    border-color: rgba(0, 229, 255, 0.34);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.12);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.98), rgba(6, 10, 18, 0.99));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), var(--glow);
    z-index: 1005;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown[hidden] {
    display: none !important;
}

.search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 999px;
}

.search-result {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.search-result:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 229, 255, 0.18);
    background: linear-gradient(90deg, rgba(255, 0, 212, 0.08), rgba(0, 229, 255, 0.08));
}

.search-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.search-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.search-copy strong {
    font-size: 0.92rem;
    line-height: 1.35;
}

.search-price {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-empty {
    padding: 14px;
    border-radius: 16px;
    color: var(--text-gray);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.mini-cart {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    margin: 0 !important;
    transform: none !important;
}

.hero-home {
    padding: 20px 0 12px;
}

.hero-home .hero-panel {
    min-height: min(68vh, 620px);
    display: flex;
    align-items: center;
}

.popular-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.category-spotlight {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 30px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
    text-decoration: none;
}

.category-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(4, 8, 18, 0.05) 28%, rgba(4, 8, 18, 0.78) 100%);
    backdrop-filter: blur(2px);
}

.category-spotlight:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.56), var(--glow);
}

.category-spotlight-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-height: 260px;
    padding: 18px 22px 14px;
}

.category-spotlight h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-spotlight-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-gray);
    display: grid;
    gap: 4px;
}

.category-spotlight-list li::marker {
    color: var(--accent-cyan);
}

.category-spotlight-kicker {
    margin-bottom: 10px;
}

.catalog-page-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-sidebar-page,
.catalog-products-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.9), rgba(7, 10, 18, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.catalog-sidebar-page {
    padding: 22px;
    position: sticky;
    top: 108px;
}

.catalog-sidebar-head h2 {
    margin: 6px 0 0;
    font-family: var(--font-title);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.catalog-sidebar-links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.catalog-sidebar-link {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.catalog-sidebar-link:hover,
.catalog-sidebar-link.is-active {
    border-color: rgba(0, 229, 255, 0.16);
    background: linear-gradient(90deg, rgba(255, 0, 212, 0.1), rgba(0, 229, 255, 0.08));
}

.catalog-sidebar-children {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 8px 8px 8px;
}

.catalog-sidebar-children span {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.catalog-products-panel {
    padding: 26px;
}

.catalog-products-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.catalog-filter-note {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(7, 12, 22, 0.72);
    white-space: nowrap;
}

.btn-block {
    width: 100%;
}

.btn-link-block {
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.logo-centered {
    justify-content: center;
}

.order-layout--top {
    align-items: start;
}

.auth-card--full {
    max-width: 100%;
}

.auth-card--left {
    text-align: left;
}

.card-image--detail {
    min-height: 420px;
}

.product-detail-image {
    max-height: 420px;
    object-fit: contain;
}

.variant-block {
    margin: 18px 0;
}

.variant-block-title {
    display: block;
    margin-bottom: 12px;
}

.variant-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.summary-note--spaced {
    margin-bottom: 18px;
}

.stack-actions {
    display: grid;
    gap: 14px;
}

@media (max-width: 980px) {
    .nav-search-shell {
        order: 3;
        max-width: none;
        width: 100%;
    }

    .popular-categories-grid,
    .catalog-page-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar-page {
        position: static;
    }

    .catalog-products-head {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .popular-categories-grid {
        gap: 16px;
    }

    .category-spotlight,
    .category-spotlight-body {
        min-height: 230px;
    }

    .mini-cart,
    .search-dropdown {
        width: min(300px, calc(100vw - 24px));
    }
}


/* Header refresh */
.site-header {
    padding: 0;
    background: rgba(4, 7, 16, 0.86);
    margin: 0 !important;
}

/* Force-remove any leftover top spacing so only the header sits at the top */
.navbar,
.site-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar .container,
.site-header__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.hero-home,
.section,
.section.container,
body > .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.site-header__inner {
    padding-top: 0;
    padding-bottom: 0;
}

.site-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-header__brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 0 1 390px;
    min-width: 0;
}

.site-header .logo {
    gap: 12px;
    line-height: 1;
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: transform 220ms ease;
}

.site-header__logo-link::before {
    display: none;
}

.site-header__logo-link:hover {
    transform: translateY(-1px);
}

.site-header__logo-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(7, 12, 22, 0.98)),
        radial-gradient(circle at 28% 24%, rgba(0, 229, 255, 0.18), transparent 36%),
        radial-gradient(circle at 78% 78%, rgba(255, 0, 212, 0.24), transparent 42%);
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.34),
        0 0 22px rgba(0, 229, 255, 0.14),
        0 0 38px rgba(255, 0, 212, 0.14);
    overflow: hidden;
}

.site-header__logo-badge::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 23px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 229, 255, 0.18), rgba(255, 0, 212, 0.18));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.site-header__logo-glow {
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 0, 212, 0.22), transparent 48%),
        radial-gradient(circle at 50% 70%, rgba(0, 229, 255, 0.18), transparent 52%);
    filter: blur(8px);
    opacity: 0.9;
    pointer-events: none;
}

.site-header__logo-image {
    position: relative;
    z-index: 1;
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    transform: scale(1.03);
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.14));
}

.site-header__logo-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.site-header__logo-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-title);
    font-size: clamp(1.85rem, 2.35vw, 2.55rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.08),
        0 0 24px rgba(255, 255, 255, 0.06);
}

.site-header__logo-wordmark span {
    color: var(--accent-pink);
    text-shadow: 0 0 14px rgba(255, 0, 212, 0.44), 0 0 28px rgba(255, 0, 212, 0.2);
}

.site-header__logo-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 232, 240, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.site-header__logo-caption::before {
    content: "";
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), rgba(255, 0, 212, 0.42));
}

.site-header .logo::before {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.site-header .nav-search-shell {
    width: min(100%, 380px);
    max-width: 380px;
    flex: 0 0 auto;
}

.site-header .search-widget {
    position: relative;
    width: 100%;
}

.site-header .search-input {
    min-height: 50px;
    padding: 13px 54px 13px 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(7, 11, 22, 0.94), rgba(10, 15, 28, 0.88));
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(255, 0, 212, 0.04);
}

.site-header .search-input:focus {
    border-color: rgba(0, 229, 255, 0.44);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08), 0 0 22px rgba(0, 229, 255, 0.14), 0 0 28px rgba(255, 0, 212, 0.08);
}

.search-widget-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.32));
}

.search-widget-icon svg {
    width: 100%;
    height: 100%;
}

.site-header__actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    align-self: center;
    gap: 10px 12px;
    flex-wrap: nowrap;
}

.site-header__actions li {
    flex: 0 0 auto;
}

.profile-dropdown-item {
    position: relative;
}

.site-header__actions > li > a,
.site-header__actions > li > button,
.site-header__actions > li > form > button,
.site-header__actions > li > .profile-dropdown > button {
    min-height: 46px;
}

.site-header .nav-logout-form {
    margin: 0;
}

.site-header .nav-btn,
.site-header .btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    font-weight: 700;
}

.site-header .nav-btn:hover {
    border-color: #00ffff;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.65);
    transform: translateY(-1px);
}

.site-header .cart-btn {
    border-color: rgba(255, 0, 255, 0.28);
}

.site-header .cart-btn:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.68);
}

.site-header .nav-profile {
    color: var(--accent-pink);
}

.site-header .nav-profile:hover {
    border-color: rgba(255, 0, 212, 0.5);
    box-shadow: 0 0 12px rgba(255, 0, 212, 0.35);
    color: #fff;
}

.btn-logout {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #aaa;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    color: #ff4d6d;
    border-color: #ff4d6d;
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
    transform: translateY(-1px);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.profile-btn:hover,
.profile-dropdown.is-open .profile-btn {
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
}

.profile-btn__arrow {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.profile-dropdown.is-open .profile-btn__arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 190px;
    padding: 10px;
    display: none;
    background: rgba(10, 10, 20, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    z-index: 1000;
    backdrop-filter: blur(14px);
}

.dropdown-menu[hidden] {
    display: none !important;
}

.profile-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-menu a,
.dropdown-logout-form .logout {
    display: block;
    width: 100%;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #ccc;
    border-radius: 8px;
    text-decoration: none;
    text-align: left;
    transition: 0.2s;
    font-size: 0.94rem;
    cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-logout-form .logout:hover {
    background: rgba(255, 0, 255, 0.1);
    color: #fff;
    box-shadow: none;
    transform: none;
}

.dropdown-logout-form {
    margin: 0;
}

.dropdown-menu .logout {
    color: #ff4d6d;
}

.order-history-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    background: rgba(7, 11, 22, 0.8);
    box-shadow: 0 20px 46px rgba(3, 8, 18, 0.26);
}

.order-history-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.order-history-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-history-items {
    display: grid;
    gap: 6px;
}

.site-header .btn-ghost,
.site-header__actions > li > a,
.site-header__actions > li > button,
.site-header__actions > li > form > button,
.site-header__actions > li > .profile-dropdown > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header .cart-trigger {
    padding-inline: 20px;
}

.site-header .mini-cart {
    top: 100%;
}

/* Keep hero tight but preserve readable spacing for sections */
.hero-home {
    margin-top: 0;
}

body > .site-header + .hero-home {
    padding-top: 12px;
    margin-top: 0;
}

body > .site-header + .hero-home .hero-panel {
    margin-top: 0;
}

.section {
    padding: clamp(40px, 6vw, 84px) 0;
}

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

@media (max-width: 980px) {
    .site-header__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .site-header__brand-column,
    .site-header .nav-search-shell {
        width: 100%;
        max-width: none;
    }

    .site-header__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .order-layout,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .age-gate {
        padding: 14px;
    }

    .age-gate__dialog {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .age-gate__title {
        font-size: 1.8rem;
    }

    .age-gate__links {
        gap: 12px;
        flex-direction: column;
    }

    .age-gate__actions {
        grid-template-columns: 1fr;
    }

    .age-gate__button {
        min-height: 58px;
        font-size: 1rem;
    }

    .site-header {
        padding: 0 0 8px;
    }

    .site-header__brand-column {
        gap: 10px;
    }

    .site-header__actions {
        gap: 8px;
    }

    .site-header__actions li {
        flex: 1 1 calc(50% - 8px);
    }

    .site-header__actions li.cart-wrapper {
        flex-basis: 100%;
    }

    .profile-dropdown-item {
        flex-basis: 100%;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        width: 100%;
        font-size: 0.78rem;
        letter-spacing: 0.06em;
    }

    .dropdown-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .order-history-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-history-card__meta {
        align-items: flex-start;
    }

    .site-header .search-input {
        min-height: 48px;
    }

    .site-header__logo-badge {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    .site-header__logo-image {
        height: 48px;
    }

    .site-header__logo-copy {
        gap: 4px;
    }

    .site-header__logo-wordmark {
        gap: 6px;
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

    .site-header__logo-caption {
        font-size: 0.62rem;
        letter-spacing: 0.2em;
    }
}

/* Production polish layer */

:root {
    --page-gap: clamp(18px, 3vw, 34px);
    --shell-gap: clamp(18px, 2.8vw, 28px);
    --card-radius-lg: 30px;
    --card-radius-md: 22px;
    --panel-shadow: 0 26px 80px rgba(2, 6, 16, 0.64), 0 0 32px rgba(0, 229, 255, 0.08);
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    text-wrap: pretty;
}

main,
section,
div,
article,
aside,
header,
footer {
    min-width: 0;
}

a {
    color: inherit;
}

.site-page {
    min-height: 100vh;
}

.container {
    width: min(1280px, calc(100% - 32px));
}

.page-shell {
    padding: var(--page-gap) 0 clamp(68px, 9vw, 104px);
}

.page-head {
    display: grid;
    gap: 14px;
    margin-bottom: clamp(24px, 4vw, 38px);
}

.page-head--compact {
    margin-bottom: clamp(20px, 3vw, 30px);
}

.page-head .section-copy {
    max-width: 720px;
}

.messages-stack--spaced {
    margin-bottom: 18px;
}

.auth-card--surface {
    width: 100%;
    max-width: none;
    padding: clamp(24px, 3vw, 34px);
    text-align: left;
}

.inline-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.inline-link:hover {
    color: #fff;
}

.btn-link-block,
.btn-block {
    width: 100%;
}

.btn-link-block {
    text-decoration: none;
    text-align: center;
}

.btn-danger {
    border-color: rgba(255, 0, 212, 0.24);
    color: #ffd6f7;
}

.btn-danger:hover {
    border-color: rgba(255, 0, 212, 0.5);
    box-shadow: 0 0 18px rgba(255, 0, 212, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.94), rgba(6, 10, 18, 0.86)),
        radial-gradient(circle at 15% 20%, rgba(255, 0, 212, 0.12), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(0, 229, 255, 0.08), transparent 24%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(1, 4, 10, 0.34);
}

.site-header__inner,
.navbar .container {
    align-items: center;
    gap: 20px 28px;
    padding: 18px 0 16px !important;
}

.site-header__brand-column {
    flex: 1 1 430px;
    gap: 14px;
}

.site-header .nav-search-shell {
    width: min(100%, 460px);
    max-width: 460px;
}

.site-header__actions {
    flex: 1 1 auto;
    gap: 10px 12px;
    margin: 0;
    padding: 0;
}

.site-header__actions li {
    list-style: none;
}

.site-header__actions > li > a,
.site-header__actions > li > button,
.site-header__actions > li > form > button,
.site-header__actions > li > .profile-dropdown > button {
    min-height: 48px;
    border-radius: 16px;
}

.site-header__mini-empty {
    margin: 0;
    padding: 6px 0;
    color: var(--text-gray);
    text-align: center;
    font-size: 0.92rem;
}

.mini-cart {
    width: min(400px, calc(100vw - 24px));
    padding: 20px;
    border-radius: 26px;
}

.mini-item {
    align-items: flex-start;
    gap: 12px;
}

.mini-item img {
    width: 68px;
    height: 68px;
    padding: 10px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 229, 255, 0.12), transparent 48%),
        radial-gradient(circle at 65% 80%, rgba(255, 0, 212, 0.16), transparent 56%),
        rgba(5, 8, 18, 0.9);
}

.mini-info {
    min-width: 0;
    gap: 5px;
}

.mini-name {
    font-size: 0.92rem;
    line-height: 1.4;
    word-break: break-word;
}

.mini-meta {
    line-height: 1.45;
}

.mini-meta--alert {
    color: var(--accent-pink);
}

.mini-footer__cta {
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.hero-home {
    margin-top: 0;
    padding-top: 18px;
}

.hero-panel {
    min-height: clamp(460px, 60vw, 620px);
    display: grid;
    align-items: center;
}

.hero-copy {
    max-width: 920px;
}

.hero-subtitle {
    max-width: 760px;
}

.hero-actions {
    margin-top: 28px;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
    min-width: min(100%, 240px);
}

.hero-stat {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 34px);
    border-radius: var(--card-radius-lg);
    border: 1px solid rgba(0, 229, 255, 0.14);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 0, 212, 0.16), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(0, 229, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(8, 12, 24, 0.96), rgba(5, 8, 16, 0.98));
    box-shadow: var(--panel-shadow);
}

.home-cta-banner__actions {
    display: grid;
    gap: 12px;
}

.popular-categories-grid,
.product-grid,
.review-grid,
.footer-top,
.footer-grid--rich,
.catalog-page-layout,
.order-layout--commerce,
.checkout-profile-grid,
.profile-grid,
.profile-actions,
.info-grid {
    gap: clamp(16px, 2.2vw, 24px);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--card-radius-lg);
}

.product-card-link--block {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: clamp(240px, 28vw, 320px);
    margin-bottom: 16px;
}

.card-image img {
    padding: 24px;
}

.card-body {
    flex: 1 1 auto;
    align-content: start;
}

.card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.3em;
}

.card-footer {
    display: grid;
    gap: 10px;
}

.catalog-page-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    align-items: start;
}

.catalog-sidebar-page {
    position: sticky;
    top: 104px;
    padding: 24px 20px;
    border-radius: 28px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    background: linear-gradient(180deg, rgba(9, 14, 27, 0.96), rgba(6, 9, 18, 0.98));
    box-shadow: var(--panel-shadow);
}

.catalog-sidebar-head {
    margin-bottom: 16px;
}

.catalog-sidebar-head h2 {
    margin: 8px 0 0;
    font-family: var(--font-title);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.catalog-sidebar-links {
    display: grid;
    gap: 10px;
}

.catalog-sidebar-link {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    font-weight: 700;
    color: var(--text-gray);
}

.catalog-sidebar-link:hover,
.catalog-sidebar-link.is-active {
    color: #fff;
    border-color: rgba(0, 229, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.08), 0 0 18px rgba(0, 229, 255, 0.08);
}

.catalog-sidebar-children {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 2px;
    padding: 0 4px 2px;
}

.catalog-sidebar-children span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.76rem;
}

.catalog-products-panel {
    min-width: 0;
}

.catalog-filter-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background: rgba(8, 12, 24, 0.72);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.order-layout--commerce {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    align-items: start;
}

.summary-card {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
}

.summary-card__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.summary-actions {
    display: grid;
    gap: 12px;
}

.summary-actions--inline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cart-items-card,
.checkout-card {
    display: grid;
    gap: 18px;
}

.cart-item,
.checkout-item {
    display: grid;
    gap: 18px;
    align-items: start;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item:last-child,
.checkout-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-item {
    grid-template-columns: minmax(0, 1fr) auto;
}

.cart-item-main,
.checkout-item-main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.cart-item-thumb {
    width: 96px;
    height: 96px;
    padding: 10px;
    object-fit: contain;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 30%, rgba(0, 229, 255, 0.1), transparent 42%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 212, 0.12), transparent 52%),
        rgba(5, 8, 18, 0.92);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.cart-item-copy,
.checkout-item-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.cart-item-title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--text-gray);
    font-size: 0.88rem;
}

.cart-item-warning {
    margin: 0;
    color: #ff89db;
    font-size: 0.84rem;
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.cart-qty-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}

.cart-qty-form__label {
    display: none;
}

.cart-qty-input {
    width: 88px;
    min-height: 48px;
}

.cart-line-total {
    min-width: 94px;
    padding-top: 6px;
    text-align: right;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--accent-pink);
    white-space: nowrap;
}

.cart-empty {
    display: grid;
    gap: 18px;
    justify-items: start;
    max-width: 760px;
}

.cart-empty h2,
.orders-empty h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    text-transform: uppercase;
}

.cart-empty p {
    margin: 0;
    color: var(--text-gray);
}

.cart-summary-note {
    margin-top: -4px;
}

.checkout-section {
    display: grid;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-section__title {
    margin: 0;
    color: var(--accent-pink);
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-items {
    display: grid;
    gap: 16px;
}

.checkout-item-copy strong {
    font-size: 0.98rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.checkout-item-copy span {
    color: var(--text-gray);
    font-size: 0.84rem;
}

.checkout-submit {
    margin-top: 20px;
}

.checkout-bonus-row.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.profile-card {
    max-width: 860px;
    margin: 0 auto;
    overflow: visible;
}

.profile-card__user {
    margin: 0 0 22px;
    color: var(--text-gray);
    text-align: center;
}

.profile-errors {
    text-align: left;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
    margin-top: 28px;
}

.np-delivery-preview {
    display: grid;
    gap: 12px;
    margin: 18px 0 14px;
}

.np-delivery-preview__item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    background: rgba(7, 12, 24, 0.78);
}

.np-delivery-preview__item span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.np-delivery-preview__item strong {
    font-size: 0.96rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.profile-actions form {
    margin: 0;
}

.profile-actions > * {
    width: 100%;
}

.profile-logout-form {
    margin-top: 14px;
}

.page-head > div,
.product-hero__media,
.product-hero__content,
.product-hero__headline,
.summary-card,
.summary-card__title,
.checkout-section__title {
    min-width: 0;
}

.summary-card__title,
.checkout-section__title {
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.orders-list {
    display: grid;
    gap: 18px;
}

.orders-empty {
    max-width: 760px;
    display: grid;
    gap: 14px;
}

.order-history-card {
    display: grid;
    gap: 18px;
}

.order-history-row {
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-comment-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.12);
}

.order-comment-card .section-kicker,
.order-comment-card .summary-note {
    margin: 0;
}

.site-footer--global {
    padding: 78px 0 36px;
}

.footer-shell--global {
    padding-top: 0;
    text-align: left;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    align-items: start;
    padding-top: 34px;
}

.footer-brand-block {
    display: grid;
    gap: 18px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.16);
    background: linear-gradient(180deg, rgba(11, 16, 30, 0.96), rgba(7, 10, 18, 0.98));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 18px rgba(255, 0, 212, 0.12);
}

.footer-logo-badge img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-logo-copy {
    display: grid;
    gap: 6px;
}

.footer-logo-copy strong {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 2vw, 2rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-logo-copy span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.footer-brand-copy {
    max-width: 560px;
    margin: 0;
    color: var(--text-gray);
}

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

.footer-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid--rich {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-card {
    height: 100%;
}

.footer-card a {
    color: #fff;
    text-decoration: none;
}

.footer-card a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: #fff;
}

.support-widget {
    right: 18px;
    bottom: 18px;
}

.support-toggle {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
}

.support-panel {
    width: min(340px, calc(100vw - 24px));
    padding: 22px;
}

.support-panel__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent-cyan);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.support-panel h3 {
    margin-bottom: 10px;
}

.support-panel p {
    margin-bottom: 16px;
}

@media (max-width: 1140px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-grid--rich {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-stats,
    .footer-grid--rich {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-page-layout,
    .order-layout--commerce {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar-page,
    .summary-card {
        position: static;
        top: auto;
    }

    .catalog-sidebar-page {
        padding: 20px;
    }
}

@media (max-width: 980px) {
    .site-header__inner,
    .navbar .container {
        align-items: stretch;
    }

    .site-header__actions {
        justify-content: flex-start;
    }

    .hero-panel {
        min-height: auto;
    }

    .home-cta-banner,
    .review-grid,
    .checkout-profile-grid,
    .profile-grid,
    .profile-actions,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .site-header .mini-cart {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(1280px, calc(100% - 24px));
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar-links {
        gap: 8px;
    }

    .cart-item,
    .checkout-item {
        grid-template-columns: 1fr;
    }

    .cart-line-total,
    .checkout-item-summary__prices {
        justify-items: start;
        text-align: left;
        min-width: 0;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 16px 0 72px;
    }

    .site-header__actions {
        gap: 8px;
    }

    .site-header__actions li {
        flex: 1 1 calc(50% - 8px);
    }

    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        flex-basis: 100%;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        width: 100%;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-thumb {
        width: 78px;
        height: 78px;
        border-radius: 20px;
    }

    .cart-item-actions,
    .cart-qty-form,
    .summary-actions--inline,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item-actions {
        display: grid;
    }

    .summary-actions--inline {
        display: grid;
    }

    .footer-grid--rich {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(1280px, calc(100% - 20px));
    }

    .auth-card--surface,
    .review-form-card,
    .order-history-card,
    .info-card {
        padding: 20px;
        border-radius: 24px;
    }

    .product-card,
    .category-spotlight {
        border-radius: 24px;
    }

    .card-image {
        height: 220px;
    }

    .site-header__logo-wordmark {
        font-size: 1.4rem;
    }

    .site-header__logo-caption {
        letter-spacing: 0.16em;
    }

    .support-widget {
        right: 12px;
        bottom: 12px;
    }

.support-toggle {
    width: 56px;
    height: 56px;
}
}

@media (max-width: 390px) {
    .site-header__actions li {
        flex-basis: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        min-width: 0;
        width: 100%;
    }
}

/* Product detail, info pages, and success screens */
.page-shell--product {
    padding-top: 18px;
}

.page-shell--info,
.success-shell {
    padding-top: 18px;
}

.product-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(18px, 2.6vw, 34px);
}

.product-hero__media,
.product-hero__content {
    position: relative;
    overflow: hidden;
}

.product-hero__content {
    display: grid;
    gap: 18px;
    align-content: start;
}

.product-hero__image-frame {
    min-height: clamp(360px, 42vw, 640px);
    padding: clamp(22px, 3vw, 34px);
}

.product-detail-image {
    width: 100%;
    max-width: min(100%, 560px);
    max-height: clamp(320px, 42vw, 560px);
    object-fit: contain;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.36));
}

.product-hero__headline {
    display: grid;
    gap: 14px;
}

.product-hero__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.18);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-detail-title {
    margin: 0;
    max-width: 14ch;
    font-family: var(--font-title);
    font-size: clamp(2.35rem, 4.8vw, 4.9rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.product-title-line {
    display: inline;
}

.product-title-line + .product-title-line {
    margin-left: 0.35ch;
}

.product-detail-description {
    margin: 0;
    max-width: 60ch;
    color: rgba(232, 236, 244, 0.76);
    font-size: 1.04rem;
    line-height: 1.78;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.product-meta-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 12, 24, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-meta-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-white);
}

.product-meta-label {
    color: rgba(232, 236, 244, 0.48);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.product-stock-note {
    max-width: 46ch;
}

.product-cta-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.product-cta-stack .btn-primary,
.product-cta-stack .btn-ghost {
    width: 100%;
}

.variant-block {
    display: grid;
    gap: 12px;
}

.variant-block-title {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.variant-block-list {
    gap: 12px;
}

.product-variant-btn {
    min-height: 54px;
    padding: 14px 18px;
    text-align: center;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.success-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(18px, 2.4vw, 30px);
    align-items: start;
}

.success-hero,
.success-summary {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.92), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.14);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
}

.success-hero::before,
.success-summary::before,
.legal-hero::before,
.legal-card::before,
.responsible-card::before,
.responsible-side-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
    pointer-events: none;
}

.success-hero > *,
.success-summary > *,
.legal-hero > *,
.legal-card > *,
.responsible-card > *,
.responsible-side-card > * {
    position: relative;
    z-index: 1;
}

.success-checkmark {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    box-shadow: 0 0 32px rgba(217, 70, 239, 0.36);
}

.success-title {
    max-width: 11ch;
    letter-spacing: -0.03em;
}

.success-title span {
    color: var(--accent-pink);
    text-shadow: 0 0 18px rgba(255, 0, 212, 0.4);
}

.success-copy {
    max-width: 54ch;
    margin: 0;
    color: rgba(232, 236, 244, 0.76);
    font-size: 1.04rem;
    line-height: 1.78;
}

.success-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.success-meta-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 12, 24, 0.74);
    border: 1px solid rgba(255, 0, 212, 0.12);
}

.success-meta-label,
.success-summary__label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-cyan);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.success-meta-card strong {
    display: block;
    color: var(--text-white);
    font-size: 1.08rem;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.success-summary {
    display: grid;
    gap: 22px;
}

.success-summary__section {
    padding: 22px;
    border-radius: 24px;
    background: rgba(6, 12, 24, 0.72);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.success-summary__section h2,
.success-summary__section p {
    margin: 0;
}

.success-summary__section h2 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    line-height: 1.08;
}

.success-summary__section p + p {
    margin-top: 8px;
}

.success-items {
    display: grid;
    gap: 12px;
}

.success-item,
.success-total-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.success-item strong,
.success-total-row strong {
    color: var(--text-white);
}

.success-item p {
    margin-top: 6px;
    color: rgba(232, 236, 244, 0.7);
}

.success-summary__section--totals {
    display: grid;
    gap: 14px;
}

.success-total-row--grand {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.success-total-row--grand strong {
    color: var(--accent-pink);
    text-shadow: 0 0 18px rgba(255, 0, 212, 0.28);
}

.success-summary__note {
    margin: 0;
    color: rgba(232, 236, 244, 0.66);
    line-height: 1.7;
}

.legal-shell {
    display: grid;
    gap: 26px;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 44px);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(16, 24, 46, 0.94), rgba(6, 11, 22, 0.98)),
        radial-gradient(circle at 18% 18%, rgba(255, 0, 212, 0.14), transparent 34%),
        radial-gradient(circle at 82% 14%, rgba(0, 229, 255, 0.12), transparent 30%);
    border: 1px solid rgba(0, 229, 255, 0.16);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44), 0 0 30px rgba(0, 229, 255, 0.08);
}

.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(4, 10, 20, 0.52);
    border: 1px solid rgba(0, 229, 255, 0.18);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.legal-title {
    margin: 0 0 16px;
    max-width: 11ch;
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-wrap: balance;
}

.legal-title span {
    color: var(--accent-pink);
    text-shadow: 0 0 16px rgba(255, 0, 212, 0.45);
}

.legal-subtitle {
    max-width: 74ch;
    margin: 0;
    color: var(--text-gray);
    font-size: 1.06rem;
    line-height: 1.82;
}

.legal-grid,
.responsible-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 24px;
    align-items: start;
}

.legal-card,
.responsible-card,
.responsible-side-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.92), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(0, 229, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.legal-label,
.responsible-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.legal-card h2,
.legal-card h3,
.responsible-card h2,
.responsible-side-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-title);
    color: var(--text-white);
    line-height: 1.08;
}

.legal-card h2,
.responsible-card h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.legal-card h3,
.responsible-side-card h3 {
    font-size: 1.26rem;
}

.legal-card p,
.legal-card li,
.responsible-card p,
.responsible-side-card p,
.responsible-side-card li {
    color: var(--text-gray);
    font-size: 1.02rem;
    line-height: 1.8;
}

.legal-card p,
.responsible-card p,
.responsible-side-card p {
    margin: 0 0 14px;
}

.legal-card p:last-child,
.responsible-card p:last-child,
.responsible-side-card p:last-child {
    margin-bottom: 0;
}

.legal-list {
    margin: 0;
    padding-left: 20px;
}

.legal-list li + li {
    margin-top: 10px;
}

.legal-note,
.responsible-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 0, 212, 0.08);
    border: 1px solid rgba(255, 0, 212, 0.14);
    color: var(--text-white);
    line-height: 1.7;
}

.legal-stack,
.responsible-side-stack {
    display: grid;
    gap: 24px;
}

.responsible-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.responsible-list li {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
    align-items: start;
}

.responsible-list li::before {
    content: "";
    width: 9px;
    height: 9px;
    margin-top: 0.72em;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
    box-shadow: 0 0 12px rgba(255, 0, 212, 0.34);
}

.responsible-highlight {
    color: var(--text-white);
    font-weight: 700;
}

@media (max-width: 1140px) {
    .success-panel {
        grid-template-columns: 1fr;
    }

    .product-detail-title {
        max-width: 100%;
    }

    .product-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .product-hero,
    .legal-grid,
    .responsible-grid {
        grid-template-columns: 1fr;
    }

    .product-hero__image-frame {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .product-meta-grid,
    .success-meta {
        grid-template-columns: 1fr;
    }

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

    .success-item,
    .success-total-row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .success-hero,
    .success-summary,
    .legal-hero,
    .legal-card,
    .responsible-card,
    .responsible-side-card {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .product-detail-title,
    .legal-title {
        font-size: clamp(2.1rem, 11vw, 3.3rem);
    }

.product-detail-description,
.success-copy,
.legal-subtitle {
    font-size: 0.98rem;
}
}

/* Final QA pass */
.mini-name,
.card-name,
.order-history-row strong,
.order-history-card__head strong,
.checkout-item-copy strong,
.cart-item-title {
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.auth-card--auth {
    width: min(100%, 580px);
    padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 34px);
    text-align: left;
}

.auth-card__logo {
    display: inline-flex;
    margin-bottom: 24px;
}

.auth-title {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
}

.auth-title span {
    color: var(--accent-pink);
    text-shadow: 0 0 16px rgba(255, 0, 212, 0.38);
}

.auth-subtitle {
    margin: 14px 0 0;
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.75;
}

.auth-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.auth-google-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.auth-divider {
    margin: 18px 0;
}

.auth-links-row {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.auth-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
}

.auth-link--cyan {
    color: var(--accent-cyan);
}

.auth-link--pink {
    color: var(--accent-pink);
}

.auth-inline-note {
    color: var(--text-gray);
    font-size: 0.92rem;
}

.auth-action-stack {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.auth-readonly {
    opacity: 0.72;
}

@media (max-width: 640px) {
    .auth-page {
        align-items: flex-start;
        padding: 24px 0 48px;
    }

    .auth-card--auth {
        border-radius: 24px;
        padding: 24px 18px;
    }

    .auth-title {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }
}

@media (max-width: 390px) {
    .site-header__inner {
        gap: 12px 16px;
    }

    .site-header__brand-column {
        gap: 8px;
    }

    .site-header__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: stretch;
    }

    .site-header__actions li {
        min-width: 0;
        flex: initial;
    }

    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        grid-column: auto;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        min-width: 0;
        padding-inline: 14px;
        font-size: 0.74rem;
        letter-spacing: 0.04em;
    }

    .site-header .nav-btn,
    .site-header .btn-logout,
    .site-header .nav-cta,
    .site-header .profile-btn {
        width: 100%;
    }

    .section-title {
        font-size: clamp(1.52rem, 10vw, 2rem);
        line-height: 0.96;
        letter-spacing: 0.03em;
        overflow-wrap: anywhere;
        text-wrap: pretty;
    }

    .page-head {
        gap: 10px;
    }

    .page-head .section-title,
    .auth-title {
        max-width: 11ch;
    }

    .page-head .section-title span,
    .auth-title span {
        display: block;
    }

    .section-copy {
        font-size: 0.92rem;
        line-height: 1.56;
    }

    .page-head .section-copy,
    .auth-subtitle {
        max-width: 100%;
    }

    .auth-card--auth {
        padding: 22px 16px;
    }

    .auth-title {
        font-size: clamp(1.5rem, 8.8vw, 1.92rem);
        line-height: 0.94;
    }

    .summary-card__title {
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .summary-row strong {
        text-align: left;
    }

    .summary-row span,
    .summary-row strong,
    .order-history-card__head strong,
    .profile-card__user {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .cart-item,
    .checkout-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-thumb {
        width: 72px;
        height: 72px;
        padding: 8px;
        border-radius: 18px;
    }

    .cart-item-title,
    .checkout-item-copy strong {
        font-size: 1rem;
        line-height: 1.3;
    }

    .cart-item-meta,
    .checkout-item-copy span {
        font-size: 0.8rem;
    }

    .cart-line-total,
    .checkout-item-summary__prices {
        min-width: 0;
        padding-top: 0;
        text-align: left;
        justify-items: start;
    }

    .cart-item-actions,
    .cart-qty-form {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cart-qty-input {
        width: 100%;
    }

    .checkout-section__title {
        font-size: 0.88rem;
        line-height: 1.22;
    }

    .product-hero__headline {
        gap: 10px;
    }

    .product-hero__category {
        min-height: 34px;
        padding: 8px 13px;
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .product-hero__image-frame {
        min-height: 220px;
        padding: 16px;
    }

    .product-detail-image {
        max-height: 210px;
    }

    .product-detail-title {
        max-width: 100%;
        font-size: clamp(1.02rem, 6.8vw, 1.28rem);
        line-height: 1.05;
        word-break: break-word;
        text-wrap: pretty;
    }

    .product-title-line {
        display: block;
    }

    .product-title-line + .product-title-line {
        margin-left: 0;
    }

    .product-detail-description {
        font-size: 0.9rem;
        line-height: 1.54;
    }

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

    .product-meta-card {
        padding: 16px;
    }

    .product-variant-btn {
        min-width: 0;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        white-space: normal;
    }
}

@media (max-width: 340px) {
    .site-header__logo-wordmark {
        font-size: 1.32rem;
        letter-spacing: 0.08em;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        font-size: 0.7rem;
        padding-inline: 12px;
    }

    .section-title {
        font-size: clamp(1.38rem, 11vw, 1.82rem);
    }

    .page-head .section-title,
    .auth-title {
        max-width: 9.5ch;
    }

    .summary-card__title {
        font-size: 0.94rem;
    }

    .product-detail-title {
        font-size: clamp(0.98rem, 6.2vw, 1.12rem);
    }

    .auth-title {
        font-size: clamp(1.36rem, 9vw, 1.68rem);
    }
}

/* Responsive deploy pass */
.site-header,
.site-header__inner,
.site-header__brand-column,
.site-header__actions,
.site-header__actions li,
.footer-top,
.footer-grid--rich,
.footer-card,
.order-history-card,
.order-history-row,
.order-history-row > div,
.summary-row,
.product-hero,
.product-meta-grid,
.product-cta-stack,
.variant-block-list,
.catalog-products-panel,
.catalog-sidebar-page {
    min-width: 0;
}

@media (max-width: 1024px) {
    .site-header__inner,
    .navbar .container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 14px !important;
        flex-wrap: nowrap !important;
        padding: 14px 0 !important;
    }

    .site-header__brand-column {
        display: grid;
        gap: 12px !important;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .site-header__logo-link {
        width: fit-content;
        max-width: 100%;
    }

    .site-header .nav-search-shell {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .site-header__actions {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100% !important;
        flex: none !important;
        align-self: stretch !important;
        justify-content: stretch !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .site-header__actions li {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        grid-column: span 2;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        width: 100%;
        min-width: 0;
    }

    .page-shell,
    .page-shell--product,
    .page-shell--info,
    .success-shell {
        padding-top: 14px;
    }

    .footer-top,
    .home-cta-banner,
    .catalog-page-layout,
    .order-layout--commerce,
    .success-panel,
    .legal-grid,
    .responsible-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        gap: 20px;
    }

    .footer-grid--rich {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel {
        min-height: auto;
        padding: 30px 24px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-title {
        max-width: 9ch;
    }

    .catalog-sidebar-page,
    .summary-card {
        position: static;
        top: auto;
    }

    .catalog-sidebar-page {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .site-header__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        grid-column: 1 / -1;
    }

    .hero-panel {
        padding: 26px 20px;
    }

    .hero-title {
        max-width: 8ch;
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 0.9;
    }

    .hero-subtitle,
    .section-copy,
    .product-detail-description,
    .summary-note,
    .legal-subtitle,
    .success-copy,
    .auth-subtitle {
        font-size: 0.95rem;
        line-height: 1.62;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        min-width: 0;
        width: 100%;
    }

    .product-hero {
        gap: 18px;
    }

    .product-hero__image-frame {
        min-height: 260px;
        padding: 18px;
    }

    .product-detail-image {
        max-height: 240px;
    }

    .product-meta-grid,
    .success-meta,
    .checkout-profile-grid,
    .profile-grid,
    .profile-actions {
        grid-template-columns: 1fr;
    }

    .product-cta-stack,
    .summary-actions,
    .summary-actions--inline {
        grid-template-columns: 1fr;
    }

    .variant-block-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-variant-btn {
        width: 100%;
    }

    .cart-item,
    .checkout-item,
    .order-history-row,
    .success-item,
    .success-total-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-item-thumb {
        width: 74px;
        height: 74px;
        padding: 8px;
        border-radius: 18px;
    }

    .cart-item-actions,
    .cart-qty-form {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cart-qty-input {
        width: 100%;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .summary-row strong,
    .cart-line-total,
    .checkout-item-summary__prices {
        text-align: left;
        justify-items: start;
        min-width: 0;
        padding-top: 0;
    }

    .order-history-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-history-card__meta {
        align-items: flex-start;
    }

    .footer-grid--rich {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100%, calc(100% - 20px));
    }

    .site-header {
        padding-bottom: 4px;
    }

    .site-header__inner,
    .navbar .container {
        gap: 10px !important;
        padding: 12px 0 !important;
    }

    .site-header__logo-link {
        gap: 12px;
    }

    .site-header__logo-badge {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .site-header__logo-image {
        height: 44px;
    }

    .site-header__logo-wordmark {
        gap: 4px;
        font-size: 1.28rem;
        letter-spacing: 0.08em;
    }

    .site-header__logo-caption {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .site-header__actions {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: none !important;
        gap: 8px !important;
    }

    .site-header__actions li,
    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        width: 100%;
        grid-column: auto;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        min-height: 44px;
        padding-inline: 12px;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    .page-head {
        gap: 8px;
        margin-bottom: 18px;
    }

    .section-title,
    .auth-title {
        max-width: none;
        font-size: clamp(1.65rem, 10vw, 2rem);
        line-height: 0.96;
    }

    .page-head .section-title span,
    .auth-title span {
        display: block;
    }

    .hero-panel {
        padding: 24px 18px;
    }

    .hero-title {
        max-width: 8ch;
        font-size: clamp(1.9rem, 11vw, 2.8rem);
        line-height: 0.9;
    }

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

    .product-card {
        padding: 14px;
    }

    .card-image {
        height: 190px;
    }

    .card-image img {
        padding: 18px;
    }

    .card-name {
        min-height: auto;
        -webkit-line-clamp: 3;
        font-size: 1rem;
    }

    .catalog-pagination {
        gap: 10px;
    }

    .product-hero__image-frame {
        min-height: 200px;
        padding: 14px;
    }

    .product-detail-image {
        max-height: 180px;
    }

    .product-detail-title {
        max-width: 100%;
        font-size: clamp(1.26rem, 8vw, 1.7rem);
        line-height: 0.94;
    }

    .product-title-line {
        display: block;
    }

    .product-title-line + .product-title-line {
        margin-left: 0;
    }

    .product-meta-card,
    .auth-card--surface,
    .checkout-card,
    .cart-items-card,
    .summary-card,
    .success-hero,
    .success-summary,
    .legal-hero,
    .legal-card,
    .responsible-card,
    .responsible-side-card,
    .order-history-card,
    .info-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .product-variant-btn {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        white-space: normal;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 10px;
    }

    .cart-item-thumb {
        width: 70px;
        height: 70px;
    }

    .cart-item-title,
    .checkout-item-copy strong {
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .cart-item-meta,
    .checkout-item-copy span,
    .catalog-pagination__status {
        font-size: 0.8rem;
    }

    .cart-item-copy,
    .checkout-item-copy,
    .order-history-items,
    .order-history-row > div,
    .footer-brand-block,
    .footer-top,
    .footer-grid--rich,
    .footer-bottom,
    .footer-nav,
    .summary-list {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .order-history-row strong,
    .order-history-card__head strong,
    .order-history-row .summary-note,
    .summary-row span,
    .summary-row strong,
    .footer-brand-copy,
    .footer-card strong,
    .footer-card p {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-brand-copy {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .footer-tag {
        min-height: 30px;
        font-size: 0.74rem;
    }

    .footer-card {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
    }

    .footer-card strong {
        font-size: 1rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .footer-bottom,
    .footer-nav {
        gap: 12px;
    }

    .support-widget {
        right: 12px;
        bottom: 12px;
    }

    .support-toggle {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .np-results {
        max-height: min(260px, 38vh);
    }

    .np-item {
        padding: 13px 14px;
    }

    .np-item__title {
        font-size: 0.9rem;
    }

    .np-delivery-preview__item {
        padding: 12px 14px;
    }
}

@media (max-width: 360px) {
    .container {
        width: min(100%, calc(100% - 16px));
    }

    .site-header__logo-wordmark {
        font-size: 1.16rem;
        letter-spacing: 0.06em;
    }

    .site-header__logo-caption {
        font-size: 0.54rem;
        letter-spacing: 0.14em;
    }

    .section-title,
    .auth-title {
        font-size: clamp(1.46rem, 10vw, 1.82rem);
    }

    .product-detail-title {
        font-size: clamp(1.08rem, 7.4vw, 1.32rem);
        line-height: 0.92;
    }

    .product-variant-btn {
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding-bottom: 0;
    }

    .site-header__inner,
    .navbar .container {
        gap: 8px !important;
        padding: 8px 0 10px !important;
    }

    .site-header__brand-column {
        gap: 8px;
    }

    .site-header__logo-link {
        gap: 10px;
    }

    .site-header__logo-badge {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .site-header__logo-badge::before {
        border-radius: 14px;
    }

    .site-header__logo-glow {
        inset: 9px;
        border-radius: 12px;
        filter: blur(6px);
    }

    .site-header__logo-image {
        height: 33px;
    }

    .site-header__logo-copy {
        gap: 3px;
    }

    .site-header__logo-wordmark {
        gap: 6px;
        font-size: clamp(1.02rem, 5.2vw, 1.18rem);
        letter-spacing: 0.08em;
    }

    .site-header__logo-caption {
        gap: 6px;
        font-size: 0.48rem;
        letter-spacing: 0.14em;
    }

    .site-header__logo-caption::before {
        width: 12px;
    }

    .site-header .nav-search-shell {
        width: 100%;
        max-width: none;
    }

    .site-header .search-input {
        min-height: 40px;
        padding: 9px 42px 9px 14px;
        border-radius: 20px;
        font-size: 0.82rem;
    }

    .search-widget-icon {
        right: 14px;
        width: 16px;
        height: 16px;
    }

    .site-header__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch;
        gap: 6px !important;
    }

    .site-header__actions li,
    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        width: 100%;
        grid-column: auto;
    }

    .site-header__actions li.profile-dropdown-item {
        grid-column: 1 / -1;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        min-height: 38px;
        padding-inline: 10px;
        border-radius: 12px;
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }

    .site-header .cart-trigger {
        gap: 4px;
        padding-inline: 10px;
    }

    .profile-btn {
        gap: 6px;
    }

    body > .site-header + .hero-home {
        padding-top: 2px !important;
    }

    .hero-home {
        padding-bottom: 6px !important;
    }

    .hero-home .hero-panel {
        min-height: min(44vh, 338px);
        padding: 14px 14px 12px;
        border-radius: 24px;
    }

    .hero-home .hero-copy {
        gap: 0;
    }

    .hero-home .hero-eyebrow {
        margin-bottom: 8px;
        font-size: 0.56rem;
        letter-spacing: 0.16em;
    }

    .hero-home .hero-title {
        max-width: 6.4ch;
        margin-bottom: 8px;
        font-size: clamp(1.46rem, 9vw, 1.88rem);
        line-height: 0.86;
    }

    .hero-home .hero-subtitle {
        max-width: 30ch;
        font-size: 0.76rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .hero-home .hero-actions {
        gap: 6px;
        margin-top: 10px;
    }

    .hero-home .hero-actions .btn-primary,
    .hero-home .hero-actions .btn-ghost {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 0.68rem;
        letter-spacing: 0.07em;
    }

    .hero-home .hero-actions .btn-ghost {
        min-height: auto;
        padding: 0;
        justify-content: flex-start;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: var(--accent-cyan);
    }

    .hero-home .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 10px;
    }

    .hero-home .hero-stat {
        padding: 8px 10px;
        border-radius: 16px;
    }

    .hero-home .hero-stat span {
        margin-bottom: 4px;
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .hero-home .hero-stat strong {
        font-size: 0.78rem;
        line-height: 1.16;
    }

    .hero-home .hero-stat:last-child {
        display: none;
    }
}

@media (max-width: 360px) {
    .site-header__inner,
    .navbar .container {
        gap: 7px !important;
        padding: 7px 0 9px !important;
    }

    .site-header__logo-badge {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .site-header__logo-image {
        height: 30px;
    }

    .site-header__logo-wordmark {
        font-size: 0.96rem;
        letter-spacing: 0.06em;
    }

    .site-header__logo-caption {
        font-size: 0.44rem;
        letter-spacing: 0.12em;
    }

    .site-header .search-input {
        min-height: 38px;
        padding: 8px 38px 8px 12px;
        font-size: 0.78rem;
    }

    .site-header__actions {
        gap: 5px !important;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button {
        min-height: 36px;
        padding-inline: 9px;
        font-size: 0.66rem;
    }

    .hero-home .hero-panel {
        min-height: min(42vh, 320px);
        padding: 13px 12px 11px;
    }

    .hero-home .hero-title {
        max-width: 6.1ch;
        font-size: clamp(1.34rem, 8.8vw, 1.7rem);
    }

    .hero-home .hero-subtitle {
        font-size: 0.72rem;
        line-height: 1.34;
    }

    .hero-home .hero-actions .btn-primary,
    .hero-home .hero-actions .btn-ghost {
        min-height: 38px;
        font-size: 0.64rem;
    }

    .hero-home .hero-stat {
        padding: 7px 9px;
    }

    .hero-home .hero-stat strong {
        font-size: 0.72rem;
    }
}

/* Mobile header UX pass */
@media (max-width: 430px) {
    .site-header {
        padding-bottom: 0;
    }

    .site-header__inner,
    .navbar .container {
        gap: 6px !important;
        padding: 7px 0 8px !important;
    }

    .site-header__brand-column {
        gap: 6px !important;
    }

    .site-header__logo-link {
        gap: 8px;
        min-height: 40px;
    }

    .site-header__logo-badge {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        box-shadow:
            0 10px 22px rgba(0, 0, 0, 0.3),
            0 0 14px rgba(0, 229, 255, 0.12),
            0 0 22px rgba(255, 0, 212, 0.12);
    }

    .site-header__logo-badge::before {
        border-radius: 12px;
    }

    .site-header__logo-glow {
        inset: 8px;
        border-radius: 10px;
        filter: blur(5px);
    }

    .site-header__logo-image {
        height: 28px;
        transform: none;
    }

    .site-header__logo-copy {
        gap: 1px;
    }

    .site-header__logo-wordmark {
        gap: 4px;
        font-size: clamp(0.92rem, 4.8vw, 1.02rem);
        letter-spacing: 0.05em;
    }

    .site-header__logo-caption {
        gap: 4px;
        font-size: 0.42rem;
        letter-spacing: 0.1em;
        color: rgba(226, 232, 240, 0.54);
    }

    .site-header__logo-caption::before {
        width: 10px;
    }

    .site-header .nav-search-shell {
        width: 100% !important;
        max-width: none !important;
        margin: 0;
    }

    .site-header .search-input {
        min-height: 36px;
        padding: 7px 38px 7px 12px;
        border-radius: 18px;
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .search-widget-icon {
        right: 12px;
        width: 14px;
        height: 14px;
    }

    .site-header__actions {
        display: grid !important;
        grid-template-columns: 1.12fr 1fr 1fr !important;
        align-items: stretch;
        gap: 5px !important;
        margin-top: 0 !important;
    }

    .site-header__actions li,
    .site-header__actions li.cart-wrapper,
    .site-header__actions li.profile-dropdown-item {
        width: 100%;
        min-width: 0;
        grid-column: auto;
    }

    .site-header__actions li:last-child {
        grid-column: 1 / -1;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button,
    .site-header .nav-btn,
    .site-header .btn-logout,
    .site-header .nav-cta,
    .site-header .profile-btn {
        min-height: 37px;
        padding: 8px 10px;
        border-radius: 11px;
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .site-header .cart-trigger {
        justify-content: space-between;
        gap: 6px;
        padding-inline: 10px;
        background: linear-gradient(180deg, rgba(20, 8, 31, 0.96), rgba(10, 12, 24, 0.96));
        border-color: rgba(255, 0, 212, 0.26);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 18px rgba(255, 0, 212, 0.08);
    }

    .cart-trigger__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #cart-count {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        justify-content: center;
        background: rgba(255, 0, 212, 0.12);
        border: 1px solid rgba(255, 0, 212, 0.18);
        color: #fff;
        font-size: 0.6rem;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 0 12px rgba(255, 0, 212, 0.14);
    }

    .profile-btn {
        gap: 6px;
    }

    .profile-btn__arrow {
        font-size: 0.58rem;
    }

    .site-header .mini-cart {
        display: none !important;
        pointer-events: none;
    }
}

@media (max-width: 360px) {
    .site-header__inner,
    .navbar .container {
        gap: 5px !important;
        padding: 6px 0 7px !important;
    }

    .site-header__brand-column {
        gap: 5px !important;
    }

    .site-header__logo-badge {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .site-header__logo-image {
        height: 25px;
    }

    .site-header__logo-wordmark {
        font-size: 0.86rem;
        letter-spacing: 0.045em;
    }

    .site-header__logo-caption {
        display: none;
    }

    .site-header .search-input {
        min-height: 34px;
        padding: 7px 34px 7px 11px;
        border-radius: 17px;
        font-size: 0.72rem;
    }

    .search-widget-icon {
        right: 11px;
        width: 13px;
        height: 13px;
    }

    .site-header__actions {
        gap: 4px !important;
    }

    .site-header__actions > li > a,
    .site-header__actions > li > button,
    .site-header__actions > li > form > button,
    .site-header__actions > li > .profile-dropdown > button,
    .site-header .nav-btn,
    .site-header .btn-logout,
    .site-header .nav-cta,
    .site-header .profile-btn {
        min-height: 35px;
        padding: 7px 9px;
        font-size: 0.6rem;
    }

    #cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.56rem;
    }
}

/* Mobile catalog / product cards pass */
@media (max-width: 430px) {
    .page-head--compact {
        margin-bottom: 12px;
    }

    .catalog-page-layout {
        gap: 12px;
    }

    .catalog-sidebar-page,
    .catalog-products-panel {
        border-radius: 20px;
    }

    .catalog-sidebar-page {
        padding: 14px;
    }

    .catalog-sidebar-head {
        margin-bottom: 10px;
    }

    .catalog-sidebar-head h2 {
        font-size: 1.04rem;
        letter-spacing: 0.04em;
    }

    .catalog-sidebar-links {
        gap: 8px;
        margin-top: 12px;
    }

    .catalog-sidebar-link {
        padding: 11px 12px;
        border-radius: 14px;
        font-size: 0.78rem;
    }

    .catalog-sidebar-children {
        gap: 6px;
        padding: 0 4px 4px;
    }

    .catalog-sidebar-children span {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 0.66rem;
    }

    .catalog-products-panel {
        padding: 14px 12px;
    }

    .catalog-filter-note {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .popular-categories-grid,
    .product-grid,
    .catalog-products-panel .product-grid,
    .section .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-card,
    .category-spotlight,
    .catalog-products-panel .product-card,
    .section .product-card {
        border-radius: 18px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    }

    .product-card,
    .catalog-products-panel .product-card,
    .section .product-card {
        padding: 10px !important;
    }

    .product-card-link--block {
        gap: 0;
    }

    .card-image,
    .catalog-products-panel .card-image,
    .section .card-image {
        height: 118px !important;
        margin-bottom: 10px !important;
        border-radius: 14px !important;
    }

    .card-image img,
    .catalog-products-panel .card-image img,
    .section .card-image img {
        padding: 10px !important;
    }

    .discount-badge {
        top: 8px;
        left: 8px;
        min-height: 22px;
        padding: 4px 8px;
        border-radius: 999px;
        font-size: 0.5rem;
        letter-spacing: 0.08em;
        box-shadow: 0 8px 18px rgba(255, 0, 212, 0.2);
    }

    .card-body,
    .catalog-products-panel .card-body,
    .section .card-body {
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .card-category {
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .card-name,
    .catalog-products-panel .card-name,
    .section .card-name {
        min-height: 2.5em !important;
        font-size: 0.84rem !important;
        line-height: 1.24 !important;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .price-tag,
    .price-current {
        font-size: 1rem;
        line-height: 1.04;
    }

    .price-old {
        font-size: 0.66rem;
        line-height: 1.1;
    }

    .discount-caption {
        font-size: 0.62rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .card-footer,
    .catalog-products-panel .card-footer,
    .section .card-footer {
        gap: 8px !important;
        margin-top: auto !important;
    }

    .product-card .btn-primary,
    .product-card .btn-ghost,
    .product-card .btn-link-block,
    .product-card .btn-block,
    .catalog-products-panel .product-card .btn-primary,
    .catalog-products-panel .product-card .btn-ghost,
    .catalog-products-panel .product-card .btn-link-block,
    .catalog-products-panel .product-card .btn-block,
    .section .product-card .btn-primary,
    .section .product-card .btn-ghost,
    .section .product-card .btn-link-block,
    .section .product-card .btn-block {
        min-height: 34px !important;
        padding: 7px 8px !important;
        border-radius: 12px !important;
        font-size: 0.58rem !important;
        letter-spacing: 0.05em !important;
        line-height: 1.15 !important;
    }

    .category-spotlight,
    .category-spotlight-body {
        min-height: 136px;
    }

    .category-spotlight-body {
        justify-content: flex-end;
        gap: 6px;
        padding: 12px 12px 10px;
    }

    .category-spotlight-kicker,
    .category-spotlight-list {
        display: none;
    }

    .category-spotlight h3 {
        font-size: 0.92rem;
        line-height: 1.08;
        letter-spacing: 0.04em;
        overflow-wrap: anywhere;
    }

    .marquee-strip {
        margin-bottom: 24px;
    }
}

@media (max-width: 360px) {
    .popular-categories-grid,
    .product-grid,
    .catalog-products-panel .product-grid,
    .section .product-grid {
        gap: 8px !important;
    }

    .catalog-products-panel {
        padding: 12px 10px;
    }

    .product-card,
    .catalog-products-panel .product-card,
    .section .product-card {
        padding: 9px !important;
        border-radius: 16px !important;
    }

    .card-image,
    .catalog-products-panel .card-image,
    .section .card-image {
        height: 108px !important;
        margin-bottom: 8px !important;
        border-radius: 13px !important;
    }

    .card-image img,
    .catalog-products-panel .card-image img,
    .section .card-image img {
        padding: 8px !important;
    }

    .card-name,
    .catalog-products-panel .card-name,
    .section .card-name {
        min-height: 2.4em !important;
        font-size: 0.78rem !important;
    }

    .price-tag,
    .price-current {
        font-size: 0.92rem;
    }

    .discount-caption {
        font-size: 0.58rem;
    }

    .product-card .btn-primary,
    .product-card .btn-ghost,
    .product-card .btn-link-block,
    .product-card .btn-block,
    .catalog-products-panel .product-card .btn-primary,
    .catalog-products-panel .product-card .btn-ghost,
    .catalog-products-panel .product-card .btn-link-block,
    .catalog-products-panel .product-card .btn-block,
    .section .product-card .btn-primary,
    .section .product-card .btn-ghost,
    .section .product-card .btn-link-block,
    .section .product-card .btn-block {
        min-height: 32px !important;
        padding: 6px 7px !important;
        font-size: 0.54rem !important;
    }

    .category-spotlight,
    .category-spotlight-body {
        min-height: 122px;
    }

    .category-spotlight-body {
        padding: 10px 10px 9px;
    }

    .category-spotlight h3 {
        font-size: 0.82rem;
    }
}

/* Final mobile polish pass */
@media (max-width: 390px) {
    .auth-page {
        min-height: auto;
        align-items: flex-start;
        padding: 18px 0 26px;
    }

    .auth-container {
        align-items: flex-start;
    }

    .auth-card--auth {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px 18px;
        border-radius: 22px;
    }

    .auth-card__logo {
        margin-bottom: 16px;
    }

    .auth-title {
        font-size: clamp(1.56rem, 9vw, 1.94rem);
        line-height: 0.92;
    }

    .auth-subtitle {
        margin-top: 10px;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .auth-google-btn {
        min-height: 46px;
        margin-top: 16px;
        padding: 9px 12px;
        gap: 9px;
        font-size: 0.76rem;
    }

    .auth-google-btn img {
        width: 18px;
        height: 18px;
    }

    .auth-divider {
        margin: 14px 0;
    }

    .signup-form {
        gap: 10px;
    }

    .input-field {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 0.84rem;
    }

    .password-toggle {
        width: 40px;
        min-width: 40px;
    }

    .auth-links-row {
        gap: 10px;
        margin-top: 14px;
    }

    .auth-inline-note,
    .auth-link {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .page-shell--product {
        padding-top: 8px;
    }

    .product-hero {
        gap: 12px;
    }

    .product-hero__media,
    .product-hero__content {
        padding: 16px 14px !important;
    }

    .product-hero__image-frame {
        min-height: 196px;
        padding: 12px;
    }

    .product-detail-image {
        max-height: 168px;
    }

    .product-hero__headline {
        gap: 8px;
    }

    .product-hero__category {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
    }

    .product-detail-title {
        max-width: 10ch;
        font-size: clamp(1.28rem, 8vw, 1.56rem);
        line-height: 0.9;
    }

    .product-detail-description {
        margin-top: 8px;
        font-size: 0.76rem;
        line-height: 1.42;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .product-pricing-block,
    .price-tag--inline {
        margin-top: 10px;
    }

    .product-meta-grid {
        gap: 8px;
    }

    .product-meta-card {
        padding: 12px;
    }

    .variant-block-list {
        gap: 8px;
    }

    .product-variant-btn {
        min-height: 40px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 0.62rem;
        letter-spacing: 0.045em;
    }

    .product-stock-note {
        margin-top: 10px;
        font-size: 0.74rem;
        line-height: 1.42;
    }

    .product-cta-stack .btn-primary,
    .product-cta-stack .btn-ghost {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.66rem;
        letter-spacing: 0.05em;
    }

    .cart-items-card,
    .checkout-card,
    .summary-card,
    .success-hero,
    .success-summary {
        padding: 16px 14px;
        border-radius: 20px;
    }

    .cart-item,
    .checkout-item {
        gap: 10px;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 8px;
    }

    .cart-item-thumb {
        width: 62px;
        height: 62px;
        padding: 6px;
        border-radius: 16px;
    }

    .cart-item-title,
    .checkout-item-copy strong {
        font-size: 0.88rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .cart-item-meta,
    .checkout-item-copy span,
    .cart-item-warning {
        font-size: 0.74rem;
        line-height: 1.36;
    }

    .cart-item-price-old,
    .checkout-item-summary__prices .cart-item-price-old {
        font-size: 0.66rem;
    }

    .cart-item-price-current,
    .cart-line-total {
        font-size: 0.92rem;
    }

    .cart-item-actions,
    .cart-qty-form,
    .summary-actions,
    .summary-actions--inline,
    .success-actions {
        gap: 8px;
    }

    .cart-qty-input,
    .summary-actions .btn-primary,
    .summary-actions .btn-ghost,
    .summary-actions .btn-block,
    .success-actions .btn-primary,
    .success-actions .btn-ghost,
    .cart-item-actions .btn-primary,
    .cart-item-actions .btn-ghost,
    .checkout-submit {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.66rem;
        letter-spacing: 0.05em;
    }

    .summary-card__title,
    .checkout-step-title,
    .success-summary__section h2 {
        font-size: 1rem;
        line-height: 1.12;
    }

    .summary-row {
        gap: 6px;
    }

    .summary-row span,
    .summary-row strong {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .summary-row--total strong {
        font-size: 0.98rem;
    }

    .success-panel {
        gap: 12px;
    }

    .success-title {
        font-size: clamp(1.36rem, 8vw, 1.74rem);
    }

    .success-copy {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .success-meta {
        gap: 8px;
    }

    .success-meta-card {
        padding: 10px 12px;
    }
}

@media (max-width: 360px) {
    .auth-card--auth,
    .product-hero__media,
    .product-hero__content,
    .cart-items-card,
    .checkout-card,
    .summary-card,
    .success-hero,
    .success-summary {
        padding: 14px 12px !important;
        border-radius: 18px !important;
    }

    .auth-title {
        font-size: clamp(1.44rem, 8.8vw, 1.74rem);
    }

    .auth-subtitle,
    .product-detail-description,
    .success-copy {
        font-size: 0.72rem;
        line-height: 1.38;
    }

    .auth-google-btn,
    .input-field,
    .product-cta-stack .btn-primary,
    .product-cta-stack .btn-ghost,
    .summary-actions .btn-primary,
    .summary-actions .btn-ghost,
    .summary-actions .btn-block,
    .success-actions .btn-primary,
    .success-actions .btn-ghost,
    .cart-item-actions .btn-primary,
    .cart-item-actions .btn-ghost,
    .checkout-submit {
        min-height: 38px;
        font-size: 0.62rem;
    }

    .product-hero__image-frame {
        min-height: 180px;
        padding: 10px;
    }

    .product-detail-image {
        max-height: 152px;
    }

    .product-detail-title {
        font-size: clamp(1.16rem, 7.7vw, 1.38rem);
    }

    .product-variant-btn {
        min-height: 38px;
        padding: 9px 10px;
        font-size: 0.58rem;
    }

    .cart-item-main,
    .checkout-item-main {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 7px;
    }

    .cart-item-thumb {
        width: 58px;
        height: 58px;
    }

    .cart-item-title,
    .checkout-item-copy strong {
        font-size: 0.82rem;
    }

    .cart-item-meta,
    .checkout-item-copy span,
    .summary-row span,
    .summary-row strong {
        font-size: 0.72rem;
    }

    .success-title {
        font-size: clamp(1.28rem, 8vw, 1.58rem);
    }

    .np-results {
        top: calc(100% + 8px);
        padding: 8px;
        border-radius: 18px;
    }

    .np-item {
        padding: 12px;
        border-radius: 14px;
    }

    .np-item__title {
        font-size: 0.86rem;
    }

    .input-group--np label,
    .np-selection__label {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    .np-item__meta,
    .np-selection span:last-child,
    .np-hint {
        font-size: 0.72rem;
    }

    .np-selection {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .np-selection strong,
    .np-delivery-preview__item strong {
        font-size: 0.88rem;
    }
}
