:root {
    --bg: #050812;
    --bg-soft: #11162b;
    --panel: linear-gradient(180deg, rgba(20, 24, 40, 0.98), rgba(9, 12, 21, 0.98));
    --panel-alt: rgba(17, 21, 34, 0.96);
    --card: #13182a;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f7f4eb;
    --muted: #adb5d0;
    --accent: #4d63ff;
    --accent-2: #8a5cff;
    --success: #56d275;
    --danger: #ff5d5d;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    --radius: 28px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(77, 99, 255, 0.28), transparent 26%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, 0.18), transparent 22%),
        linear-gradient(180deg, #090d19 0%, #03050a 100%);
    color: var(--text);
    overflow-x: hidden;
}

html {
    width: 100%;
}

body.theme-admin {
    background:
        radial-gradient(circle at top left, rgba(77, 99, 255, 0.18), transparent 25%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, 0.16), transparent 22%),
        #060816;
}

body {
    --surface-glow-opacity: calc(0.16 * var(--surface-glow-strength, 1));
}

html.telegram-webapp,
html.telegram-webapp body {
    background: var(--telegram-bg, #090a12);
}

html.telegram-webapp body {
    padding: 0;
}

body.bg-effect-none,
body.theme-admin.bg-effect-none {
    background: #060816;
}

body.bg-effect-grid {
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        radial-gradient(circle at top, rgba(77, 99, 255, 0.22), transparent 25%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, 0.14), transparent 20%),
        linear-gradient(180deg, #090d19 0%, #03050a 100%);
    background-size: 26px 26px, 26px 26px, auto, auto;
}

body.bg-effect-soft {
    background:
        radial-gradient(circle at top, rgba(77, 99, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, 0.16), transparent 18%),
        linear-gradient(180deg, #090d19 0%, #03050a 100%);
}

body.bg-effect-aurora {
    background:
        radial-gradient(circle at 18% 0%, rgba(77, 99, 255, 0.34), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(138, 92, 255, 0.24), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(97, 86, 255, 0.16), transparent 20%),
        linear-gradient(180deg, #070b16 0%, #02040a 100%);
}

body.bg-effect-velvet {
    background:
        radial-gradient(circle at top left, rgba(92, 82, 255, 0.2), transparent 24%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #080b14 0%, #020309 100%);
}

body.bg-effect-mesh {
    background:
        radial-gradient(circle at 18% 12%, rgba(77, 99, 255, 0.26), transparent 22%),
        radial-gradient(circle at 78% 14%, rgba(138, 92, 255, 0.22), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, transparent 18%, rgba(255, 255, 255, 0.02) 36%, transparent 54%, rgba(255, 255, 255, 0.025) 72%, transparent 100%),
        linear-gradient(180deg, #080b15 0%, #020309 100%);
}

body.bg-effect-spotlight {
    background:
        radial-gradient(circle at 50% -6%, rgba(77, 99, 255, 0.34), transparent 26%),
        radial-gradient(circle at 52% 8%, rgba(138, 92, 255, 0.2), transparent 18%),
        radial-gradient(circle at bottom right, rgba(117, 94, 255, 0.12), transparent 20%),
        linear-gradient(180deg, #070a13 0%, #010207 100%);
}

a {
    color: inherit;
    text-decoration: none;
    touch-action: manipulation;
}

button,
input,
textarea,
select {
    font: inherit;
    touch-action: manipulation;
}

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

.device-frame {
    width: min(100%, 520px);
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(77, 99, 255, var(--surface-glow-opacity)), transparent 24%),
        radial-gradient(circle at bottom right, rgba(138, 92, 255, calc(var(--surface-glow-opacity) * 0.9)), transparent 26%),
        linear-gradient(180deg, rgba(8, 11, 20, 0.98), rgba(3, 4, 8, 1));
    position: relative;
    padding-bottom: 102px;
    overflow-x: clip;
}

html.telegram-webapp .device-frame {
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

html.telegram-webapp .topbar {
    top: 0;
    border-radius: 0 0 24px 24px;
}

html.telegram-webapp .bottom-nav {
    bottom: calc(10px + env(safe-area-inset-bottom));
}

.topbar {
    position: sticky;
    top: 8px;
    z-index: 30;
    background: rgba(23, 23, 27, 0.72);
    color: var(--text);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 10px 10px 0;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--topbar-blur, 18px));
    -webkit-backdrop-filter: blur(var(--topbar-blur, 18px));
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
}

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

.topbar-slot,
.topbar-actions {
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-brand {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    overflow: hidden;
    max-width: 100%;
}

.topbar-brand-logo-shell {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, white), color-mix(in srgb, var(--accent-2) 74%, var(--accent)));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent);
    display: grid;
    place-items: center;
    position: relative;
}

.topbar-brand-logo-has-image {
    background: #050509 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.topbar-brand-logo-has-image.topbar-brand-logo-neon {
    box-shadow: none !important;
}

.topbar-brand-logo-neon::after {
    content: none;
}

.topbar-brand-logo-neon {
    border-radius: 50%;
    box-shadow: none !important;
}

.topbar-brand-logo-neon .topbar-brand-logo,
.topbar-brand-logo-neon .topbar-brand-fallback {
    border-radius: 50%;
}

.topbar-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    position: relative;
    z-index: 1;
}

.topbar-brand-fallback {
    font-size: 18px;
    font-weight: 900;
    color: #101010;
}

.topbar-brand-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.topbar-brand-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-brand-copy span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-counter-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.icon-btn,
.ghost-btn,
.primary-btn,
.danger-btn,
.chip,
.nav-cart-btn,
.link-btn {
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover,
.danger-btn:hover,
.chip:hover,
.nav-cart-btn:hover,
.link-btn:hover {
    transform: translateY(-1px);
}

.icon-btn {
    color: var(--accent);
    font-weight: 700;
}

.topbar-cart-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-counter-badge {
    position: absolute;
    right: -4px;
    top: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #181300;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flash {
    margin: 14px 18px 0;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.flash-success {
    background: rgba(86, 210, 117, 0.12);
    border: 1px solid rgba(86, 210, 117, 0.28);
}

.flash-error {
    background: rgba(255, 93, 93, 0.12);
    border: 1px solid rgba(255, 93, 93, 0.28);
}

.section-head-admin {
    position: relative;
    padding-right: 54px;
}

.admin-inline-edit {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    z-index: 3;
}

.admin-inline-edit-static {
    position: static;
    margin-top: 8px;
}

.admin-card-shell {
    position: relative;
}

.admin-card-edit {
    top: 12px;
    right: 12px;
}

.toast-stack {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    width: min(calc(100% - 30px), 360px);
    display: grid;
    gap: 10px;
    z-index: 80;
    pointer-events: none;
}

.toast {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(17, 17, 21, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    color: var(--text);
    font-weight: 700;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-color: rgba(86, 210, 117, 0.24);
}

.toast-error {
    border-color: rgba(255, 93, 93, 0.24);
}

.app-preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 26%, transparent), transparent 34%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 36%),
        rgba(4, 6, 14, 0.98);
    transition: opacity 0.42s ease, transform 0.42s ease;
}

.app-preloader.preloader-hide {
    opacity: 0;
    transform: scale(1.015);
    pointer-events: none;
}

.preloader-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(86vw, 320px);
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    border: 1px solid color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.12));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52), 0 0 36px color-mix(in srgb, var(--accent-2) 18%, transparent);
    text-align: center;
}

.preloader-card-video {
    width: min(78vw, 260px);
    padding: 14px;
}

.preloader-media {
    width: 118px;
    height: 118px;
    overflow: hidden;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.preloader-media-video {
    width: min(68vw, 190px);
    height: min(68vw, 190px);
    border-radius: 20px;
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--accent) 12%, transparent), transparent 44%),
        rgba(0, 0, 0, 0.42);
}

.preloader-media img,
.preloader-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preloader-media-video video {
    object-fit: contain;
    background: #000;
}

.preloader-media span {
    font-size: 42px;
    font-weight: 900;
}

.preloader-card strong {
    font-size: 18px;
}

.preloader-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 36px;
    padding: 9px 16px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 78%, #ffffff), color-mix(in srgb, var(--accent-2) 82%, var(--accent)));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 12px 30px color-mix(in srgb, var(--accent) 24%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preloader-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.preloader-bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.preloader-bar span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    animation: preloaderBar 1s ease-in-out infinite;
}

.preloader-ring {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    animation: preloaderSpin 0.8s linear infinite;
}

.preloader-effect-ring .preloader-bar,
.preloader-effect-none .preloader-bar,
.preloader-effect-pulse .preloader-bar {
    display: none;
}

.preloader-effect-ring .preloader-ring {
    display: block;
}

.preloader-effect-pulse .preloader-media {
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.marquee-wrap {
    padding: 10px 14px 0;
}

.marquee-pill {
    display: block;
    overflow: hidden;
    padding: 12px 16px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-2) 22%, transparent);
    color: var(--accent);
    font-weight: 800;
    white-space: nowrap;
}

.marquee-pill span {
    display: inline-block;
    width: max-content;
    min-width: max-content;
    padding-left: 100%;
    animation: marquee-slide 14s linear infinite;
    will-change: transform;
}

.marquee-pill span[data-marquee-text] {
    padding-left: 0;
    animation: none !important;
    transform: translate3d(var(--marquee-x, 100%), 0, 0);
}

.app-content {
    padding: 20px 18px 30px;
    max-width: 100%;
    overflow-x: clip;
}

.access-screen,
.store-shell,
.wheel-page,
.profile-page,
.content-page {
    display: grid;
    gap: 18px;
    max-width: 100%;
    min-width: 0;
}

.access-screen {
    max-width: 560px;
    margin: 0 auto;
    padding-top: 28px;
}

.access-brand {
    text-align: center;
    margin-bottom: 4px;
}

.access-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 28px;
    font-weight: 900;
}

.access-bio-card,
.access-hint-card {
    padding: 20px 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 28%),
        rgba(18, 18, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.access-bio-card {
    display: grid;
    gap: 10px;
    animation: access-float 4.6s ease-in-out infinite;
}

.access-form-compact {
    display: grid;
    gap: 12px;
}

.access-hint-card p {
    margin: 0;
    color: var(--muted);
}

.demo-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-2) 24%, transparent);
}

.demo-tip strong {
    color: var(--muted);
}

.demo-tip span {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero-card,
.store-header-card,
.wheel-card,
.panel-card,
.page-card,
.page-media-card,
.admin-panel,
.metric-card,
.admin-login-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card,
.store-header-card,
.wheel-card,
.panel-card,
.page-card,
.page-media-card,
.admin-panel,
.admin-login-card {
    padding: 22px;
}

.status-pill,
.live-dot,
.promo-badge,
.product-badge,
.tag-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.badge-style-promo {
    background: linear-gradient(135deg, #ff1f3d, #b7001d);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 22px rgba(255, 31, 61, 0.42);
    animation: badgeAlertPulse 1.35s ease-in-out infinite;
}

.badge-style-news {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #18d7ff, #6f7bff 52%, #ffffff);
    color: #07101f;
    box-shadow: 0 10px 22px rgba(64, 211, 255, 0.34);
}

.badge-style-news::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -70%;
    width: 44%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
    animation: badgeShine 2.6s ease-in-out infinite;
}

.badge-style-flash {
    background: linear-gradient(135deg, #ff7a7a, #ff9356);
    color: #fff7f7;
    box-shadow: 0 0 18px rgba(255, 122, 122, 0.28);
}

.badge-style-luxe {
    background: linear-gradient(135deg, #6f58ff, #bc76ff);
    color: #fff8ff;
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent-2) 24%, transparent);
}

@keyframes badgeAlertPulse {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(-5deg) scale(1.055); }
}

@keyframes badgeShine {
    0%, 35% { left: -70%; }
    70%, 100% { left: 125%; }
}

.store-header-card {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 24%, transparent), transparent 30%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 34%),
        var(--panel);
}

.hero-motion-float .store-header-card,
.hero-motion-float .hero-card {
    animation: premiumFloat 6.5s ease-in-out infinite;
}

.hero-motion-pulse .store-header-card,
.hero-motion-pulse .hero-card {
    animation: premiumPulse 3.6s ease-in-out infinite;
}

.card-motion-drift .product-card,
.card-motion-drift .promo-card {
    animation: premiumDrift 7s ease-in-out infinite;
}

.card-motion-tilt .product-card,
.card-motion-tilt .promo-card {
    transform-origin: center center;
    animation: premiumTilt 5.5s ease-in-out infinite;
}

.modal-motion-lift .modal.active .modal-card {
    animation: modalLift 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modal-motion-zoom .modal.active .modal-card {
    animation: modalZoom 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modal-motion-soft .modal.active .modal-card {
    animation: modalSoft 0.44s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.marquee-style-glow .marquee-pill {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 20px color-mix(in srgb, var(--accent) 22%, transparent);
}

.marquee-style-ticker .marquee-pill span {
    display: inline-block;
    animation: marquee-slide 10.5s linear infinite;
    will-change: transform;
}

.marquee-style-pulse .marquee-pill {
    animation: premiumPulse 3.4s ease-in-out infinite;
}

.marquee-style-none .marquee-pill span {
    animation: marquee-slide 14s linear infinite;
}

.store-header-main {
    display: block;
}

.hero-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.store-logo-panel {
    width: 64px;
    min-width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-logo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-header-card h1,
.hero-card h1,
.content-page h1,
.profile-page h1,
.wheel-page h1 {
    margin: 10px 0 8px;
    font-size: clamp(34px, 7vw, 56px);
    line-height: 0.95;
}

.font-display-space .store-header-card h1,
.font-display-space .hero-card h1,
.font-display-space .content-page h1,
.font-display-space .profile-page h1,
.font-display-space .wheel-page h1 {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    letter-spacing: -0.04em;
}

.font-display-luxe .store-header-card h1,
.font-display-luxe .hero-card h1,
.font-display-luxe .content-page h1,
.font-display-luxe .profile-page h1,
.font-display-luxe .wheel-page h1 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.03em;
}

.font-display-editorial .store-header-card h1,
.font-display-editorial .hero-card h1,
.font-display-editorial .content-page h1,
.font-display-editorial .profile-page h1,
.font-display-editorial .wheel-page h1 {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
    letter-spacing: -0.045em;
}

.font-display-modern .store-header-card h1,
.font-display-modern .hero-card h1,
.font-display-modern .content-page h1,
.font-display-modern .profile-page h1,
.font-display-modern .wheel-page h1 {
    font-family: Arial, "Segoe UI", sans-serif;
    letter-spacing: -0.05em;
}

.font-display-tech .store-header-card h1,
.font-display-tech .hero-card h1,
.font-display-tech .content-page h1,
.font-display-tech .profile-page h1,
.font-display-tech .wheel-page h1 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    letter-spacing: -0.035em;
}

.font-display-soft .store-header-card h1,
.font-display-soft .hero-card h1,
.font-display-soft .content-page h1,
.font-display-soft .profile-page h1,
.font-display-soft .wheel-page h1 {
    font-family: "Gill Sans", "Trebuchet MS", sans-serif;
    letter-spacing: -0.03em;
}

.font-display-mono .store-header-card h1,
.font-display-mono .hero-card h1,
.font-display-mono .content-page h1,
.font-display-mono .profile-page h1,
.font-display-mono .wheel-page h1 {
    font-family: "Lucida Console", "Courier New", monospace;
    letter-spacing: -0.02em;
}

.font-display-classic .store-header-card h1,
.font-display-classic .hero-card h1,
.font-display-classic .content-page h1,
.font-display-classic .profile-page h1,
.font-display-classic .wheel-page h1 {
    font-family: Cambria, Georgia, serif;
    letter-spacing: -0.03em;
}

.font-display-cinema .store-header-card h1,
.font-display-cinema .hero-card h1,
.font-display-cinema .content-page h1,
.font-display-cinema .profile-page h1,
.font-display-cinema .wheel-page h1 {
    font-family: "Bookman Old Style", Georgia, serif;
    letter-spacing: -0.045em;
}

.font-display-sharp .store-header-card h1,
.font-display-sharp .hero-card h1,
.font-display-sharp .content-page h1,
.font-display-sharp .profile-page h1,
.font-display-sharp .wheel-page h1 {
    font-family: "Arial Black", Impact, sans-serif;
    letter-spacing: -0.03em;
}

.font-display-elegant .store-header-card h1,
.font-display-elegant .hero-card h1,
.font-display-elegant .content-page h1,
.font-display-elegant .profile-page h1,
.font-display-elegant .wheel-page h1 {
    font-family: Garamond, "Times New Roman", serif;
    letter-spacing: -0.045em;
}

.font-display-display .store-header-card h1,
.font-display-display .hero-card h1,
.font-display-display .content-page h1,
.font-display-display .profile-page h1,
.font-display-display .wheel-page h1 {
    font-family: Verdana, "Segoe UI", sans-serif;
    letter-spacing: -0.035em;
}

.font-display-zushi .store-header-card h1,
.font-display-zushi .hero-card h1,
.font-display-zushi .content-page h1,
.font-display-zushi .profile-page h1,
.font-display-zushi .wheel-page h1 {
    font-family: "Arial Black", Arial, "Segoe UI", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-display-urban .store-header-card h1,
.font-display-urban .hero-card h1,
.font-display-urban .content-page h1,
.font-display-urban .profile-page h1,
.font-display-urban .wheel-page h1 {
    font-family: "Arial Black", "Segoe UI Black", Impact, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-display-condensed .store-header-card h1,
.font-display-condensed .hero-card h1,
.font-display-condensed .content-page h1,
.font-display-condensed .profile-page h1,
.font-display-condensed .wheel-page h1 {
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-display-slab .store-header-card h1,
.font-display-slab .hero-card h1,
.font-display-slab .content-page h1,
.font-display-slab .profile-page h1,
.font-display-slab .wheel-page h1 {
    font-family: Rockwell, "Courier New", Georgia, serif;
    font-weight: 900;
    letter-spacing: 0;
}

.font-display-rounded .store-header-card h1,
.font-display-rounded .hero-card h1,
.font-display-rounded .content-page h1,
.font-display-rounded .profile-page h1,
.font-display-rounded .wheel-page h1 {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.font-display-signature .store-header-card h1,
.font-display-signature .hero-card h1,
.font-display-signature .content-page h1,
.font-display-signature .profile-page h1,
.font-display-signature .wheel-page h1 {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.font-display-poster .store-header-card h1,
.font-display-poster .hero-card h1,
.font-display-poster .content-page h1,
.font-display-poster .profile-page h1,
.font-display-poster .wheel-page h1 {
    font-family: Impact, "Arial Black", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-display-minimal .store-header-card h1,
.font-display-minimal .hero-card h1,
.font-display-minimal .content-page h1,
.font-display-minimal .profile-page h1,
.font-display-minimal .wheel-page h1 {
    font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.font-display-market .store-header-card h1,
.font-display-market .hero-card h1,
.font-display-market .content-page h1,
.font-display-market .profile-page h1,
.font-display-market .wheel-page h1 {
    font-family: "Franklin Gothic Medium", "Arial Black", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-text-font-zushi,
.text-font-zushi {
    font-family: "Arial Black", Arial, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.home-text-font-zushi h1,
.home-text-font-zushi h2,
.home-text-font-zushi h3,
.home-text-font-zushi .live-dot,
.home-text-font-zushi .product-price-chip,
.home-text-font-zushi .product-open-label {
    font-weight: 900;
    text-transform: uppercase;
}

.home-text-font-space {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.home-text-font-luxe {
    font-family: Georgia, "Times New Roman", serif;
}

.home-text-font-editorial {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
}

.home-text-font-modern {
    font-family: Arial, "Segoe UI", sans-serif;
}

.home-text-font-tech {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.home-text-font-soft {
    font-family: "Gill Sans", "Trebuchet MS", sans-serif;
}

.home-text-font-mono {
    font-family: "Lucida Console", "Courier New", monospace;
}

.home-text-font-classic {
    font-family: Cambria, Georgia, serif;
}

.home-text-font-cinema {
    font-family: "Bookman Old Style", Georgia, serif;
}

.home-text-font-sharp {
    font-family: "Arial Black", Impact, sans-serif;
}

.home-text-font-elegant {
    font-family: Garamond, "Times New Roman", serif;
}

.home-text-font-display {
    font-family: Verdana, "Segoe UI", sans-serif;
}

.home-text-font-urban,
.text-font-urban {
    font-family: "Arial Black", "Segoe UI Black", Impact, sans-serif;
}

.home-text-font-condensed,
.text-font-condensed {
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

.home-text-font-slab,
.text-font-slab {
    font-family: Rockwell, "Courier New", Georgia, serif;
}

.home-text-font-rounded,
.text-font-rounded {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.home-text-font-signature,
.text-font-signature {
    font-family: "Brush Script MT", "Segoe Script", cursive;
}

.home-text-font-poster,
.text-font-poster {
    font-family: Impact, "Arial Black", sans-serif;
}

.home-text-font-minimal,
.text-font-minimal {
    font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
}

.home-text-font-market,
.text-font-market {
    font-family: "Franklin Gothic Medium", "Arial Black", Arial, sans-serif;
}

.text-font-zushi,
.text-font-urban,
.text-font-condensed,
.text-font-poster,
.text-font-market {
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy.hero-subtitle-muted p {
    color: color-mix(in srgb, var(--muted) 82%, #ffffff);
    filter: grayscale(1);
    opacity: 0.74;
}

.text-font-space {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.text-font-luxe {
    font-family: Georgia, "Times New Roman", serif;
}

.text-font-editorial {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
}

.text-font-modern {
    font-family: Arial, "Segoe UI", sans-serif;
}

.text-font-tech {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.text-font-soft {
    font-family: "Gill Sans", "Trebuchet MS", sans-serif;
}

.text-font-mono {
    font-family: "Lucida Console", "Courier New", monospace;
}

.text-font-classic {
    font-family: Cambria, Georgia, serif;
}

.text-font-cinema {
    font-family: "Bookman Old Style", Georgia, serif;
}

.text-font-sharp {
    font-family: "Arial Black", Impact, sans-serif;
}

.text-font-elegant {
    font-family: Garamond, "Times New Roman", serif;
}

.text-font-display {
    font-family: Verdana, "Segoe UI", sans-serif;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.stats-row div,
.metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 16px;
}

.stats-row strong,
.metric-card strong {
    display: block;
    font-size: 30px;
    margin-bottom: 6px;
}

.toolbar {
    display: grid;
    gap: 14px;
    min-width: 0;
    overflow: visible;
}

.search-input,
input,
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(235, 238, 255, 0.42);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    min-width: 0;
    scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
    display: none;
}

.filter-pair {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.filter-dropdown {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.filter-dropdown summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
    list-style: none;
}

.filter-dropdown summary::-webkit-details-marker {
    display: none;
}

.filter-dropdown summary span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.filter-dropdown summary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.filter-dropdown[open] summary {
    border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
}

.filter-scroll {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 18;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    max-height: 220px;
    min-width: 0;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    border-radius: 18px;
    background: rgba(14, 12, 18, 0.98);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.chip {
    white-space: nowrap;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.chip.active {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    color: #161100;
    font-weight: 800;
}

.filter-scroll .chip,
.filter-scroll .chip.active {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 38px;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 14px;
    text-align: left;
    white-space: normal;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-overflow: clip;
    font-size: 12px;
    line-height: 1.22;
}

.filter-scroll .chip:hover {
    transform: none;
}

.section-head {
    margin-bottom: 8px;
}

.section-head h2,
.section-head h1 {
    margin: 0 0 6px;
}

.font-section-space .section-head h2,
.font-section-space .section-head h1,
.font-section-space .panel-card h2,
.font-section-space .page-card h2,
.font-section-space .modal-heading h3,
.font-section-space .modal-section-title h3 {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.font-section-luxe .section-head h2,
.font-section-luxe .section-head h1,
.font-section-luxe .panel-card h2,
.font-section-luxe .page-card h2,
.font-section-luxe .modal-heading h3,
.font-section-luxe .modal-section-title h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.font-section-editorial .section-head h2,
.font-section-editorial .section-head h1,
.font-section-editorial .panel-card h2,
.font-section-editorial .page-card h2,
.font-section-editorial .modal-heading h3,
.font-section-editorial .modal-section-title h3 {
    font-family: "Palatino Linotype", "Book Antiqua", serif;
}

.font-section-modern .section-head h2,
.font-section-modern .section-head h1,
.font-section-modern .panel-card h2,
.font-section-modern .page-card h2,
.font-section-modern .modal-heading h3,
.font-section-modern .modal-section-title h3 {
    font-family: Arial, "Segoe UI", sans-serif;
}

.font-section-tech .section-head h2,
.font-section-tech .section-head h1,
.font-section-tech .panel-card h2,
.font-section-tech .page-card h2,
.font-section-tech .modal-heading h3,
.font-section-tech .modal-section-title h3 {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.font-section-soft .section-head h2,
.font-section-soft .section-head h1,
.font-section-soft .panel-card h2,
.font-section-soft .page-card h2,
.font-section-soft .modal-heading h3,
.font-section-soft .modal-section-title h3 {
    font-family: "Gill Sans", "Trebuchet MS", sans-serif;
}

.font-section-mono .section-head h2,
.font-section-mono .section-head h1,
.font-section-mono .panel-card h2,
.font-section-mono .page-card h2,
.font-section-mono .modal-heading h3,
.font-section-mono .modal-section-title h3 {
    font-family: "Lucida Console", "Courier New", monospace;
}

.font-section-classic .section-head h2,
.font-section-classic .section-head h1,
.font-section-classic .panel-card h2,
.font-section-classic .page-card h2,
.font-section-classic .modal-heading h3,
.font-section-classic .modal-section-title h3 {
    font-family: Cambria, Georgia, serif;
}

.font-section-cinema .section-head h2,
.font-section-cinema .panel-card h2,
.font-section-cinema .page-card h2,
.font-section-cinema .modal-heading h3,
.font-section-cinema .modal-section-title h3 {
    font-family: "Bookman Old Style", Georgia, serif;
}

.font-section-sharp .section-head h2,
.font-section-sharp .panel-card h2,
.font-section-sharp .page-card h2,
.font-section-sharp .modal-heading h3,
.font-section-sharp .modal-section-title h3 {
    font-family: "Arial Black", Impact, sans-serif;
}

.font-section-elegant .section-head h2,
.font-section-elegant .panel-card h2,
.font-section-elegant .page-card h2,
.font-section-elegant .modal-heading h3,
.font-section-elegant .modal-section-title h3 {
    font-family: Garamond, "Times New Roman", serif;
}

.font-section-display .section-head h2,
.font-section-display .panel-card h2,
.font-section-display .page-card h2,
.font-section-display .modal-heading h3,
.font-section-display .modal-section-title h3 {
    font-family: Verdana, "Segoe UI", sans-serif;
}

.font-section-zushi .section-head h2,
.font-section-zushi .section-head h1,
.font-section-zushi .panel-card h2,
.font-section-zushi .page-card h2,
.font-section-zushi .modal-heading h3,
.font-section-zushi .modal-section-title h3 {
    font-family: "Arial Black", Arial, "Segoe UI", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-section-urban .section-head h2,
.font-section-urban .section-head h1,
.font-section-urban .panel-card h2,
.font-section-urban .page-card h2,
.font-section-urban .modal-heading h3,
.font-section-urban .modal-section-title h3,
.font-section-poster .section-head h2,
.font-section-poster .section-head h1,
.font-section-poster .panel-card h2,
.font-section-poster .page-card h2,
.font-section-poster .modal-heading h3,
.font-section-poster .modal-section-title h3,
.font-section-market .section-head h2,
.font-section-market .section-head h1,
.font-section-market .panel-card h2,
.font-section-market .page-card h2,
.font-section-market .modal-heading h3,
.font-section-market .modal-section-title h3 {
    font-family: "Arial Black", Impact, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-section-condensed .section-head h2,
.font-section-condensed .section-head h1,
.font-section-condensed .panel-card h2,
.font-section-condensed .page-card h2,
.font-section-condensed .modal-heading h3,
.font-section-condensed .modal-section-title h3 {
    font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.font-section-slab .section-head h2,
.font-section-slab .section-head h1,
.font-section-slab .panel-card h2,
.font-section-slab .page-card h2,
.font-section-slab .modal-heading h3,
.font-section-slab .modal-section-title h3 {
    font-family: Rockwell, "Courier New", Georgia, serif;
    font-weight: 900;
    letter-spacing: 0;
}

.font-section-rounded .section-head h2,
.font-section-rounded .section-head h1,
.font-section-rounded .panel-card h2,
.font-section-rounded .page-card h2,
.font-section-rounded .modal-heading h3,
.font-section-rounded .modal-section-title h3 {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.font-section-signature .section-head h2,
.font-section-signature .section-head h1,
.font-section-signature .panel-card h2,
.font-section-signature .page-card h2,
.font-section-signature .modal-heading h3,
.font-section-signature .modal-section-title h3 {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.font-section-minimal .section-head h2,
.font-section-minimal .section-head h1,
.font-section-minimal .panel-card h2,
.font-section-minimal .page-card h2,
.font-section-minimal .modal-heading h3,
.font-section-minimal .modal-section-title h3 {
    font-family: "Segoe UI Light", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.heading-fill-gradient .store-header-card h1,
.heading-fill-gradient .hero-card h1,
.heading-fill-gradient .content-page h1,
.heading-fill-gradient .profile-page h1,
.heading-fill-gradient .wheel-page h1,
.heading-fill-gradient .section-head h2,
.heading-fill-gradient .panel-card h2,
.heading-fill-gradient .page-card h2,
.heading-fill-gradient .modal-heading h3,
.heading-fill-gradient .modal-section-title h3 {
    background: linear-gradient(135deg, var(--heading-grad-start), var(--heading-grad-mid), var(--heading-grad-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heading-fill-glow .store-header-card h1,
.heading-fill-glow .hero-card h1,
.heading-fill-glow .content-page h1,
.heading-fill-glow .profile-page h1,
.heading-fill-glow .wheel-page h1,
.heading-fill-glow .section-head h2,
.heading-fill-glow .panel-card h2,
.heading-fill-glow .page-card h2,
.heading-fill-glow .modal-heading h3,
.heading-fill-glow .modal-section-title h3 {
    color: #f6f7ff;
    text-shadow: 0 0 14px color-mix(in srgb, var(--heading-grad-start) 42%, transparent), 0 0 24px color-mix(in srgb, var(--heading-grad-end) 28%, transparent);
}

.heading-fill-solid .store-header-card h1,
.heading-fill-solid .hero-card h1,
.heading-fill-solid .content-page h1,
.heading-fill-solid .profile-page h1,
.heading-fill-solid .wheel-page h1,
.heading-fill-solid .section-head h2,
.heading-fill-solid .panel-card h2,
.heading-fill-solid .page-card h2,
.heading-fill-solid .modal-heading h3,
.heading-fill-solid .modal-section-title h3 {
    color: #f6f7ff;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 48ch;
    line-height: 1.55;
}

.promo-grid {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.promo-card {
    position: relative;
    text-align: left;
    min-height: 220px;
    padding: 22px;
    border-radius: 30px;
    color: #fffdf7;
    background:
        linear-gradient(180deg, rgba(18, 18, 24, 0.06), rgba(3, 3, 4, 0.3)),
        url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=80") center/cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.promo-card.has-image {
    background-position: center;
    background-size: cover;
}

.promo-card strong {
    display: block;
    margin-top: 28px;
    font-size: clamp(26px, 7vw, 46px);
}

.promo-card p {
    max-width: 72%;
    color: rgba(255, 255, 255, 0.82);
}

.card-effect-shine {
    position: relative;
    isolation: isolate;
}

.card-effect-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(116deg, transparent 14%, rgba(255, 255, 255, calc(0.018 * var(--card-shine-strength, 0.58))) 34%, rgba(255, 255, 255, calc(0.105 * var(--card-shine-strength, 0.58))) 47%, rgba(255, 255, 255, calc(0.038 * var(--card-shine-strength, 0.58))) 58%, transparent 74%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 36%);
    transform: translateX(-170%) skewX(-11deg);
    animation: card-shine var(--card-shine-duration, 7.6s) cubic-bezier(0.3, 0.7, 0.24, 1) infinite;
    pointer-events: none;
    will-change: transform, opacity;
    opacity: 0;
    mix-blend-mode: screen;
}

.product-grid .admin-card-shell:nth-child(2n) .card-effect-shine::after,
.product-grid .product-card:nth-child(2n).card-effect-shine::after {
    animation-delay: -3.2s;
}

.promo-grid .admin-card-shell:nth-child(2n) .card-effect-shine::after,
.promo-grid .promo-card:nth-child(2n).card-effect-shine::after {
    animation-delay: -1.9s;
}

.product-video-pill {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(6, 10, 20, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-modal-video {
    display: block;
    width: 100%;
    border-radius: inherit;
    background: #05070d;
}

.product-modal-media {
    display: grid;
    gap: 8px;
}

.product-modal-video-secondary {
    max-height: 260px;
    object-fit: cover;
    border-radius: 18px;
}

.card-effect-none::after {
    display: none;
}

.promo-discount {
    position: absolute;
    left: 22px;
    bottom: 22px;
    background: var(--accent);
    color: #111;
    padding: 14px 18px;
    border-radius: 18px;
    font-weight: 900;
}

.product-timer-badge,
.product-timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 93, 93, 0.16);
    border: 1px solid rgba(255, 93, 93, 0.28);
    color: #ffdede;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.03em;
}

.product-timer-badge {
    position: absolute;
    right: 12px;
    top: 12px;
}

.product-timer-chip.expired,
.product-timer-badge.expired {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

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

.product-card {
    display: grid;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(30, 16, 34, 0.98), rgba(13, 8, 17, 0.98));
    border: 1px solid color-mix(in srgb, var(--accent-2) 26%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.card-style-glossy .product-card,
.card-style-glossy .promo-card,
.card-style-glossy .page-card,
.card-style-glossy .admin-panel,
.card-style-glossy .hero-card,
.card-style-glossy .store-header-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28%),
        radial-gradient(circle at bottom left, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 24%),
        var(--panel);
}

.card-style-frost .product-card,
.card-style-frost .promo-card,
.card-style-frost .page-card,
.card-style-frost .admin-panel,
.card-style-frost .hero-card,
.card-style-frost .store-header-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.024)),
        var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.card-style-velvet .product-card,
.card-style-velvet .promo-card,
.card-style-velvet .page-card,
.card-style-velvet .admin-panel,
.card-style-velvet .hero-card,
.card-style-velvet .store-header-card {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 26%),
        linear-gradient(180deg, rgba(21, 16, 36, 0.98), rgba(9, 10, 20, 0.98));
}

.card-style-clean .product-card,
.card-style-clean .promo-card,
.card-style-clean .page-card,
.card-style-clean .admin-panel,
.card-style-clean .hero-card,
.card-style-clean .store-header-card {
    background: linear-gradient(180deg, rgba(16, 19, 30, 0.98), rgba(8, 10, 18, 0.98));
}

.product-grid .product-card {
    background: linear-gradient(180deg, rgba(30, 16, 34, 0.98), rgba(13, 8, 17, 0.98));
}

.product-visual {
    position: relative;
    aspect-ratio: 1 / 0.92;
    min-height: 0;
    background: #100d13;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.product-badge-floating {
    position: absolute;
    bottom: 7px;
    left: 7px;
    z-index: 2;
    max-width: calc(100% - 14px);
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.08em;
    transform: rotate(-5deg);
    transform-origin: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.product-badge-bottom-right {
    left: auto;
    right: 7px;
}

.product-top-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    max-width: calc(100% - 14px);
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(9, 8, 12, 0.72);
    border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255, 255, 255, 0.16));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-card .product-video-pill {
    right: 7px;
    top: 7px;
    bottom: auto;
    padding: 5px 8px;
    font-size: 8px;
}

.product-card .product-timer-badge {
    right: 7px;
    top: 7px;
    max-width: calc(100% - 14px);
    padding: 4px 8px;
    font-size: 8px;
}

.image-fallback {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--accent);
    color: #141414;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
}

.product-price {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(11, 11, 11, 0.85);
    color: var(--accent);
    padding: 10px 14px;
    border-radius: 16px;
    font-weight: 900;
}

.product-copy {
    padding: 8px;
    display: grid;
    gap: 6px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(18, 10, 22, 0.98), rgba(10, 7, 13, 0.98));
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-copy h3 {
    margin: 0;
    min-height: 28px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.product-copy p,
.muted,
small {
    color: var(--muted);
}

.link-btn {
    background: transparent;
    color: var(--accent);
    font-weight: 800;
    padding: 0;
    justify-self: end;
}

.review-inline-summary {
    display: inline-grid;
    gap: 2px;
    color: var(--muted);
}

.review-inline-summary strong {
    color: var(--text);
    font-size: 14px;
}

.review-inline-summary.empty strong {
    color: rgba(255, 255, 255, 0.72);
}

.product-card-subline {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-card-subline span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent);
}

.product-card-logo {
    display: block;
    object-fit: cover;
    object-position: center;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.product-price-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.product-price-chip {
    min-width: 0;
    min-height: 22px;
    padding: 6px 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #ff7edb), color-mix(in srgb, var(--accent-2) 90%, #6b3cff));
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price-chip-wide {
    grid-column: 1 / -1;
}

.product-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px;
}

.product-open-label {
    color: color-mix(in srgb, var(--accent) 80%, white);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.modal,
.overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.modal {
    z-index: 62;
}

.overlay {
    z-index: 48;
    background: rgba(4, 7, 14, var(--overlay-opacity, 0.10));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.modal.active,
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 84px 14px 120px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.modal-card {
    width: min(100%, 500px);
    max-width: 100%;
    max-height: calc(100vh - 144px);
    overflow-y: auto;
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 26%),
        linear-gradient(180deg, rgba(22, 24, 36, 0.98), rgba(12, 14, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    color: var(--text);
}

.product-modal,
.promo-modal {
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--accent) 16%, transparent), transparent 26%),
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 24%),
        linear-gradient(180deg, rgba(18, 22, 37, 0.988), rgba(9, 11, 21, 0.992));
    border: 1px solid color-mix(in srgb, var(--accent) 14%, rgba(255,255,255,0.08));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48), 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 0 0 1px rgba(255, 255, 255, 0.025);
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
}

.product-modal::before,
.promo-modal::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 88px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
}

.modal-style-glass .modal-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.modal-style-velvet .modal-card {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 28%),
        linear-gradient(180deg, rgba(22, 18, 38, 0.98), rgba(10, 11, 22, 0.99));
}

.modal-style-obsidian .modal-card {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 24%),
        linear-gradient(180deg, rgba(15, 16, 20, 0.99), rgba(6, 7, 10, 1));
}

.modal-style-neon .modal-card {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 22%, transparent), transparent 24%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 26%),
        linear-gradient(180deg, rgba(18, 21, 35, 0.98), rgba(8, 10, 18, 1));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04), 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent);
}

.modal-heading,
.variant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 26%, transparent), color-mix(in srgb, var(--accent-2) 22%, transparent));
    color: #f7f7ff;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 26px;
    z-index: 2;
}

.modal-media {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-radius: 26px;
    overflow: hidden;
    margin-top: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 10%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.modal-media img {
    width: 100%;
    height: 286px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.04);
}

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.modal-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.promo-lead {
    margin: 0;
    color: #eef1ff;
    font-size: 15px;
    line-height: 1.58;
}

.promo-info-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.promo-footer {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.promo-footer span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, white), color-mix(in srgb, var(--accent-2) 84%, var(--accent)));
    color: #fafcff;
    font-weight: 900;
}

@keyframes premiumFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes premiumPulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow); }
    50% { transform: scale(1.01); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), 0 0 28px color-mix(in srgb, var(--accent) 14%, transparent); }
}

@keyframes premiumDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -4px, 0); }
}

@keyframes premiumTilt {
    0%, 100% { transform: perspective(900px) rotateX(0deg) rotateY(0deg); }
    50% { transform: perspective(900px) rotateX(0.8deg) rotateY(-1.2deg); }
}

@keyframes modalLift {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modalZoom {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes modalSoft {
    from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes marqueeTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes preloaderBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(240%); }
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { transform: scale(1.04); box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 24%, transparent); }
}

.variants-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.quick-variant-grid {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-variant-grid strong {
    color: var(--text);
}

.quick-variant-grid small {
    color: var(--muted);
    font-size: 12px;
}

.quick-order-card {
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-order-card summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--text);
}

.quick-order-card form {
    margin-top: 12px;
}

.quick-variant-head {
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.8fr 1fr;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quick-variant-row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 0.8fr 1fr;
    gap: 10px;
}

.admin-helper-note {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-2) 18%, transparent);
}

.admin-helper-note strong {
    color: var(--accent);
    font-size: 13px;
}

.admin-helper-note p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.variant-card {
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
}

.variant-head small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.modal-section-title {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.promo-info-stack,
.product-review-section,
.review-list {
    display: grid;
    gap: 14px;
}

.promo-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.promo-footer span {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    color: #151100;
    font-weight: 900;
}

.review-summary-card,
.review-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-summary-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-top: 16px;
}

.review-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.review-card-head small {
    display: block;
    margin-top: 4px;
}

.review-stars-readonly {
    color: var(--accent);
    font-size: 18px;
    letter-spacing: 0.06em;
}

.review-stars-readonly span {
    color: rgba(255, 255, 255, 0.22);
}

.review-card-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
}

.review-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-rating-picker {
    display: grid;
    gap: 10px;
}

.review-rating-picker > span {
    font-weight: 700;
}

.review-stars-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.review-stars-picker input {
    display: none;
}

.review-stars-picker label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    line-height: 1;
    transition: color 0.18s ease, transform 0.18s ease;
}

.review-stars-picker label:hover,
.review-stars-picker label:hover ~ label,
.review-stars-picker input:checked ~ label {
    color: var(--accent);
    transform: translateY(-1px);
}

.primary-btn,
.danger-btn,
.ghost-btn,
.ghost-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    font-weight: 800;
}

.primary-btn {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    color: #151100;
}

.ghost-btn,
.ghost-link,
.nav-cart-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.danger-btn {
    background: rgba(255, 93, 93, 0.13);
    color: #ffd3d3;
}

.full {
    width: 100%;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(calc(100% - 30px), 420px);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    padding: 6px;
    border-radius: 20px;
    background: rgba(12, 12, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    z-index: 40;
}

.footer-socials {
    display: grid;
    gap: 12px;
    padding: 8px 18px 110px;
}

.footer-socials p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.footer-social-links::-webkit-scrollbar {
    display: none;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.footer-social-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav a,
.nav-cart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 2px;
    border-radius: 12px;
    text-align: center;
    font-size: 9px;
    color: var(--muted);
}

.bottom-nav .active,
.nav-cart-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.nav-icon-svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav .active .nav-icon-svg,
.nav-cart-btn:hover .nav-icon-svg {
    stroke: #fff;
}

.nav-label {
    display: block;
    white-space: nowrap;
    line-height: 1.1;
}

.cart-drawer {
    position: fixed;
    left: 50%;
    bottom: 86px;
    transform: translateX(-50%) translateY(12px);
    width: min(calc(100% - 18px), 420px);
    max-height: calc(100vh - 154px);
    display: grid;
    gap: 14px;
    padding: 16px 16px 18px;
    border-radius: 28px 28px 24px 24px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 24%),
        linear-gradient(180deg, rgba(27, 27, 31, 0.98), rgba(14, 14, 16, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    z-index: 56;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.cart-style-studio .cart-drawer {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 26%),
        linear-gradient(180deg, rgba(16, 20, 34, 0.985), rgba(7, 9, 18, 0.995));
}

.cart-style-glass .cart-drawer {
    background: linear-gradient(180deg, rgba(20, 24, 36, 0.78), rgba(8, 10, 18, 0.88));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cart-style-velvet .cart-drawer {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 28%),
        linear-gradient(180deg, rgba(24, 16, 42, 0.98), rgba(9, 10, 21, 1));
}

.cart-style-obsidian .cart-drawer {
    background: linear-gradient(180deg, rgba(14, 15, 18, 0.98), rgba(5, 6, 9, 1));
}

.cart-drawer.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cart-sheet-grab {
    width: 52px;
    height: 5px;
    border-radius: 999px;
    margin: 0 auto 2px;
    background: rgba(255, 255, 255, 0.18);
}

.cart-head,
.list-row,
.cart-row,
.admin-topbar,
.cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-items,
.admin-form-stack,
.auth-grid,
.profile-summary,
.profile-kpi-grid,
.profile-feature-grid,
.admin-grid,
.security-grid {
    display: grid;
    gap: 14px;
}

.page-media-card {
    padding: 0;
    overflow: hidden;
}

.page-media-card img,
.page-media-card video {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    background: #050812;
}

.page-showcase {
    position: relative;
    display: grid;
    gap: 12px;
    isolation: isolate;
    width: min(100%, 680px);
    margin: 8px auto 20px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(125, 141, 255, 0.48);
    border: 1px solid color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.12));
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(145deg, rgba(20, 24, 48, 0.98), rgba(6, 8, 18, 0.96));
    background:
        radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 32%),
        radial-gradient(circle at 88% 92%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 36%),
        linear-gradient(145deg, rgba(20, 24, 48, 0.98), rgba(6, 8, 18, 0.96));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 42px rgba(138, 92, 255, 0.18);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.045) inset,
        0 0 42px color-mix(in srgb, var(--accent-2) 18%, transparent);
}

.page-showcase::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: calc(var(--radius) + 2px);
    pointer-events: none;
    z-index: -1;
}

.page-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.08) 34%, transparent 58%);
    opacity: 0.35;
    z-index: -1;
}

.page-showcase-edit {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
}

.page-showcase.has-media {
    grid-template-columns: 1fr;
    align-items: start;
}

.page-showcase-media {
    position: relative;
    aspect-ratio: 16 / 11;
    min-height: 0;
    max-height: 360px;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    margin-top: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
        #050812;
    border: 1px solid rgba(125, 141, 255, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
}

.page-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.48)),
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 16%, transparent), transparent 36%);
}

.page-showcase-media img,
.page-showcase-media video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    background: #050812;
}

.page-showcase-media video {
    border-radius: inherit;
}

.page-showcase-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
    padding: clamp(16px, 4vw, 24px);
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 38%),
        linear-gradient(180deg, rgba(17, 20, 42, 0.94), rgba(7, 9, 20, 0.9));
    border: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.1));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.page-showcase-copy h2 {
    margin: 0;
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1;
}

.page-showcase-copy .wysiwyg {
    color: color-mix(in srgb, var(--text) 90%, var(--muted));
    font-size: 16px;
    line-height: 1.6;
}

.page-showcase-kicker {
    align-self: flex-start;
}

.page-showcase-about {
    gap: 12px;
    padding: 14px;
    border-color: color-mix(in srgb, var(--accent-2) 44%, rgba(255, 255, 255, 0.12));
    border-radius: 30px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%),
        linear-gradient(145deg, rgba(35, 14, 45, 0.96), rgba(7, 7, 20, 0.98));
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.48),
        0 0 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.page-showcase-about .page-showcase-media {
    aspect-ratio: 4 / 5;
    max-height: min(62vh, 430px);
    border-radius: 24px;
    border-color: color-mix(in srgb, var(--accent) 44%, rgba(255, 255, 255, 0.12));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        #050812;
}

.page-showcase-about .page-showcase-media img,
.page-showcase-about .page-showcase-media video {
    object-fit: contain;
}

.page-showcase-about .page-showcase-media::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24)),
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 14%, transparent), transparent 36%);
}

.page-showcase-about .page-showcase-copy {
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 38%),
        linear-gradient(180deg, rgba(20, 17, 49, 0.96), rgba(9, 8, 24, 0.96));
    border-color: color-mix(in srgb, var(--accent) 36%, rgba(255, 255, 255, 0.1));
}

.page-showcase-about .page-showcase-copy h2 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 0.94;
}

.page-showcase-about .page-showcase-copy .wysiwyg {
    color: #f7f4eb;
    font-size: 16px;
    line-height: 1.62;
}

.page-font-grid {
    gap: 10px;
    padding: 14px;
}

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

.profile-kpi-grid article,
.profile-code-card,
.profile-feature-card {
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
        rgba(255, 255, 255, 0.035);
    border-radius: 22px;
}

.profile-kpi-grid article {
    padding: 16px;
}

.profile-kpi-grid strong {
    display: block;
    font-size: 26px;
}

.profile-kpi-grid span,
.profile-code-card span {
    color: var(--muted);
    font-size: 12px;
}

.profile-code-card {
    display: grid;
    gap: 6px;
    margin: 12px 0;
    padding: 14px;
}

.profile-code-card strong {
    word-break: break-all;
    letter-spacing: 0.08em;
}

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

.referral-card > p:nth-of-type(2) {
    display: none;
}

.referral-code-box {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 12%, rgba(255, 255, 255, 0.04));
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
}

.referral-code-box span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.referral-code-box strong {
    color: var(--text);
    font-size: 24px;
    letter-spacing: 0.12em;
}

.referral-actions,
.referral-apply-form {
    display: grid;
    gap: 10px;
}

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

.profile-feature-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.profile-feature-card h2 {
    margin: 0;
    font-size: clamp(24px, 7vw, 38px);
}

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

.profile-feature-grid span {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
    font-weight: 700;
}

.profile-order-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-order-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.order-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
    font-weight: 900;
    font-size: 11px;
    white-space: nowrap;
}

.status-ready,
.status-completed,
.status-paid {
    background: rgba(86, 210, 117, 0.14);
    color: #8cf0a8;
}

.status-cancelled {
    background: rgba(255, 93, 93, 0.14);
    color: #ffb0b0;
}

.order-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.order-progress span {
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
}

.order-progress span.done {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent-2) 18%, transparent));
    color: var(--text);
}

.order-items-mini {
    display: grid;
    gap: 8px;
}

.order-admin-note {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(125, 141, 255, 0.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(77, 99, 255, 0.14), rgba(176, 108, 255, 0.12));
}

.order-admin-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
}

.order-admin-note p {
    margin: 0;
    color: var(--text);
}

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

.cart-items {
    max-height: 34vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    touch-action: pan-y;
}

.cart-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cart-summary-card {
    display: grid;
    gap: 4px;
    padding: 12px 12px 13px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-summary-card strong {
    font-size: 14px;
    line-height: 1.2;
}

.cart-summary-card span {
    font-size: 11px;
    color: var(--muted);
}

.cart-line {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-line-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cart-line-copy strong,
.cart-line-copy small {
    display: block;
}

.cart-line-media {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
}

.cart-line-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-fallback {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.cart-line-price,
.cart-line-total {
    font-size: 12px;
    color: var(--muted);
}

.cart-line-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cart-line-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: #f8f9ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cart-line-tag-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.cart-line-desc {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.cart-line-total {
    color: var(--text);
    font-weight: 700;
}

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

.checkout-address-field {
    display: grid;
    gap: 8px;
}

.checkout-address-field[hidden] {
    display: none !important;
}

.checkout-address-field textarea {
    width: 100%;
    min-height: 92px;
    resize: vertical;
}

.checkout-address-hint {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.checkout-place-type {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.place-type-btn {
    min-width: 0;
    min-height: 38px;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.place-type-btn.active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 76%, #ffffff), color-mix(in srgb, var(--accent-2) 82%, var(--accent)));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent);
}

.address-suggestions {
    display: grid;
    gap: 7px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(7, 7, 11, 0.78);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.1));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.address-suggestions[hidden] {
    display: none !important;
}

.address-suggestion-btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
}

.address-suggestion-btn:active,
.address-suggestion-btn:hover {
    background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.07));
}

.cart-helper-card {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 28%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-helper-card strong {
    color: var(--text);
}

.cart-helper-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.checkout-select {
    display: grid;
    gap: 8px;
}

.checkout-select span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.checkout-hint {
    padding: 12px 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-2) 20%, transparent);
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

.profile-admin-link {
    width: 100%;
    margin: 10px 0 12px;
}

.wheel-disc {
    --wheel-rotation: 0deg;
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 6px solid color-mix(in srgb, var(--accent) 70%, #ffffff);
    background:
        repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.22) 0deg 1.4deg, transparent 1.4deg 60deg),
        radial-gradient(circle at 48% 34%, rgba(255, 255, 255, 0.28), transparent 30%),
        radial-gradient(circle at 50% 52%, transparent 0 39%, rgba(0, 0, 0, 0.2) 40% 42%, transparent 44%),
        var(--wheel-surface, conic-gradient(#61d975 0deg 60deg, #b68c51 60deg 120deg, #d8d8d8 120deg 180deg, #f7d328 180deg 240deg, #2f87ff 240deg 300deg, #f0b033 300deg 360deg));
    box-shadow:
        inset 0 12px 28px rgba(255, 255, 255, 0.18),
        inset 0 -26px 42px rgba(0, 0, 0, 0.42),
        inset 0 0 0 13px rgba(255, 255, 255, 0.05),
        0 30px 54px rgba(0, 0, 0, 0.48),
        0 0 34px color-mix(in srgb, var(--accent-2) 20%, transparent);
    transform: rotate(var(--wheel-rotation)) rotateX(7deg);
    transform-style: preserve-3d;
}

.wheel-disc::before,
.wheel-disc::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.wheel-disc::before {
    inset: 10px;
    background: radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.24), transparent 28%);
    mix-blend-mode: screen;
}

.wheel-disc::after {
    left: 18px;
    right: 18px;
    bottom: 14px;
    height: 32px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.35), transparent 72%);
    filter: blur(10px);
}

.wheel-disc.is-spinning {
    transition: transform 6.2s cubic-bezier(0.08, 0.82, 0.12, 1);
    filter: saturate(1.12) contrast(1.05);
}

.wheel-stage {
    position: relative;
    width: min(100%, 360px);
    margin: 0 auto 18px;
    padding-top: 4px;
    perspective: 900px;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.34));
}

.wheel-stage.is-spinning .wheel-pointer {
    animation: pointer-tick 0.16s linear infinite;
}

.wheel-pointer {
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    width: 36px;
    height: 40px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--accent) 55%, #ffffff) 30%, var(--accent-2));
    z-index: 3;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.34));
}

.wheel-sector-label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 110px;
    text-align: center;
    transform-origin: center -126px;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.15;
}

.wheel-sector-label {
    transform: translate(-50%, -50%) rotate(calc((360deg / var(--sector-count)) * var(--sector-index))) translateY(-126px) rotate(calc((360deg / var(--sector-count)) * var(--sector-index) * -1));
}

.wheel-center-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 40% 28%, rgba(255, 255, 255, 0.9), transparent 22%),
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, white), color-mix(in srgb, var(--accent-2) 82%, #0b0d18));
    color: #f9fbff;
    font-weight: 900;
    border: 4px solid rgba(26, 20, 3, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.admin-guide-panel {
    grid-column: 1 / -1;
}

.admin-checklist {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-checklist a {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    color: var(--text);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 12%, transparent), transparent 32%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-checklist a:hover {
    border-color: color-mix(in srgb, var(--accent) 35%, rgba(255, 255, 255, 0.08));
    transform: translateY(-1px);
}

.admin-checklist span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.admin-mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    margin-left: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
}

.admin-review-preview {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-review-preview p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.wheel-legend {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.wheel-legend-item {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wheel-legend-item strong,
.wheel-legend-item small {
    grid-column: 2;
}

.wheel-legend-item strong {
    color: var(--text);
}

.wheel-legend-item small {
    color: var(--muted);
}

.wheel-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.wheel-result {
    min-height: 24px;
    margin-top: 10px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    position: relative;
    overflow-x: clip;
}

.admin-sidebar {
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.86);
    display: grid;
    gap: 18px;
    align-content: start;
    z-index: 20;
}

.admin-sidebar-backdrop {
    display: none;
}

.sidebar-brand strong {
    display: block;
    font-size: 28px;
}

.sidebar-brand span {
    color: var(--muted);
}

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.sidebar-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--muted);
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--text);
}

.admin-content {
    padding: 24px;
    display: grid;
    gap: 18px;
    min-width: 0;
    overflow-x: clip;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.admin-panel,
.admin-item,
.admin-form-columns,
.admin-form-group,
.admin-grid,
.admin-form-stack,
.inline-form,
.admin-sidebar {
    min-width: 0;
}

.admin-panel,
.admin-item[open],
.admin-form-group {
    overflow: visible;
}

.admin-topbar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-quick-nav a {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.admin-quick-nav a.active,
.admin-quick-nav a:hover {
    background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.04));
    border-color: color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.08));
}

.admin-quick-nav strong {
    font-size: 14px;
}

.admin-quick-nav span {
    color: var(--muted);
    font-size: 12px;
}

.admin-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex: 0 0 auto;
}

.admin-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--text);
}

.admin-hero-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 28%),
        linear-gradient(180deg, rgba(25, 25, 28, 0.98), rgba(12, 12, 14, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.admin-hero-card h2 {
    margin: 12px 0 8px;
    font-size: 38px;
}

.admin-hero-card p {
    max-width: 640px;
    color: var(--muted);
}

.admin-hero-meta {
    min-width: 240px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-hero-meta div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-hero-meta strong {
    display: block;
    font-size: 26px;
}

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

.admin-form-group {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.admin-form-group h3 {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-form-group p {
    margin: -4px 0 4px;
    color: var(--muted);
}

.file-field {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.file-field span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.file-field input[type="file"] {
    padding: 12px;
}

.upload-progress {
    display: block;
    min-height: 28px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.upload-progress[data-upload-state="loading"] {
    color: #ffffff;
    border-color: color-mix(in srgb, var(--accent) 32%, rgba(255, 255, 255, 0.08));
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
        rgba(255, 255, 255, 0.045);
}

.upload-progress[data-upload-state="ready"] {
    color: #dfffe8;
    border-color: rgba(86, 210, 117, 0.34);
    background: rgba(86, 210, 117, 0.1);
}

.upload-progress[data-upload-state="error"] {
    color: #ffe2e2;
    border-color: rgba(255, 93, 93, 0.34);
    background: rgba(255, 93, 93, 0.1);
}

form.is-uploading {
    position: relative;
}

form.is-uploading::after {
    content: "Upload media en cours";
    position: sticky;
    bottom: 10px;
    z-index: 5;
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(7, 7, 10, 0.88);
    border: 1px solid color-mix(in srgb, var(--accent) 36%, rgba(255, 255, 255, 0.12));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    font-size: 12px;
    font-weight: 900;
}

.inline-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 800;
}

.inline-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.admin-image-preview {
    margin: 12px 0 14px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.admin-image-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.admin-image-preview.compact {
    max-width: 180px;
}

.admin-order-readable {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-cards-highlight .metric-card {
    min-height: 112px;
}

.metric-card-accent strong {
    font-size: 22px;
    word-break: break-all;
}

.admin-grid {
    grid-template-columns: 1.1fr 1fr;
}

.wide {
    max-width: 860px;
}

.admin-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-item summary {
    cursor: pointer;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.admin-form-stack,
.inline-form {
    margin-top: 12px;
}

.json-box {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid var(--line);
    padding: 14px;
    white-space: pre-wrap;
    border-radius: 16px;
    color: #d9d4c7;
}

.admin-login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-login-card {
    width: min(100%, 460px);
    display: grid;
    gap: 14px;
}

.admin-flash {
    margin: 18px auto 0;
    width: min(calc(100% - 32px), 860px);
}

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

.security-grid article {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

@keyframes marquee-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes access-float {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes card-shine {
    0% {
        transform: translateX(-170%) skewX(-11deg);
        opacity: 0;
    }
    10% {
        opacity: 0.08;
    }
    24% {
        transform: translateX(12%) skewX(-11deg);
        opacity: 0.48;
    }
    38% {
        transform: translateX(170%) skewX(-11deg);
        opacity: 0.12;
    }
    100% {
        transform: translateX(170%) skewX(-11deg);
        opacity: 0;
    }
}

@keyframes pointer-tick {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
    .card-effect-shine::after,
    .hero-motion-float .store-header-card,
    .hero-motion-float .hero-card,
    .hero-motion-pulse .store-header-card,
    .hero-motion-pulse .hero-card,
    .card-motion-drift .product-card,
    .card-motion-drift .promo-card,
    .card-motion-tilt .product-card,
    .card-motion-tilt .promo-card,
    .preloader-bar span,
    .preloader-ring,
    .preloader-effect-pulse .preloader-media,
    .access-bio-card {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .admin-quick-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-showcase.has-media {
        grid-template-columns: 1fr;
    }

    .page-showcase-copy {
        margin-top: 0;
        width: 100%;
        justify-self: stretch;
        background:
            radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 38%),
            linear-gradient(180deg, rgba(18, 20, 46, 0.94), rgba(8, 9, 22, 0.92));
        border-color: color-mix(in srgb, var(--accent) 34%, rgba(255, 255, 255, 0.12));
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .admin-grid,
    .admin-cards,
    .security-grid,
    .admin-form-columns,
    .admin-checklist,
    .admin-hero-card,
    .admin-hero-meta {
        grid-template-columns: 1fr;
    }

    .admin-hero-card {
        display: grid;
    }

    .admin-content {
        padding: 18px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 18;
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100dvh;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-shell.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-shell.sidebar-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-menu-btn {
        display: inline-block;
    }
}

@media (max-width: 560px) {
    .admin-quick-nav {
        grid-template-columns: 1fr;
    }

    .device-frame {
        width: 100%;
    }

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

    .filter-pair {
        gap: 8px;
    }

    .filter-dropdown summary {
        min-height: 44px;
        padding: 8px 10px;
        border-radius: 14px;
    }

    .filter-dropdown summary span {
        font-size: 8px;
    }

    .filter-dropdown summary strong {
        font-size: 11px;
    }

    .filter-scroll {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: 48vh;
        padding: 8px;
        border-radius: 16px;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .filter-scroll .chip,
    .filter-scroll .chip.active {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 38px;
        box-sizing: border-box;
        padding: 9px 10px;
        font-size: 11px;
        line-height: 1.18;
        white-space: normal;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-overflow: clip;
    }

    .quick-variant-head {
        display: none;
    }

    .quick-variant-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .referral-actions {
        grid-template-columns: 1fr;
    }

    .profile-kpi-grid,
    .profile-feature-grid {
        grid-template-columns: 1fr;
    }

    .page-showcase {
        padding: 12px;
        border-radius: 28px;
        gap: 10px;
    }

    .page-showcase-media {
        aspect-ratio: auto;
        max-height: none;
        display: block;
    }

    .page-showcase-media img,
    .page-showcase-media video {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: min(62vh, 390px);
        object-fit: contain;
    }

    .page-showcase-copy {
        padding: 18px;
        border-radius: 24px;
    }

    .page-showcase-copy h2 {
        font-size: clamp(28px, 10vw, 42px);
    }

    .bottom-nav {
        width: calc(100% - 14px);
        gap: 2px;
        left: 7px;
        right: 7px;
        transform: none;
    }

    .bottom-nav a,
    .nav-cart-btn {
        font-size: 8px;
        padding: 6px 1px;
    }

    .product-copy h3 {
        font-size: 20px;
    }

    .store-header-main {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-logo-panel {
        width: 58px;
        height: 58px;
    }

    .topbar {
        padding: 10px 10px;
        gap: 8px;
    }

    .topbar-brand-copy strong {
        font-size: 15px;
    }

    .topbar-brand-copy span {
        font-size: 10px;
    }

    .modal {
        padding: 74px 10px 110px;
    }

    .modal-card {
        padding: 16px;
        border-radius: 28px;
        max-height: calc(100vh - 124px);
    }

    .modal-media img {
        height: 220px;
    }

    .page-showcase .page-showcase-media img,
    .page-showcase .page-showcase-media video {
        height: auto;
        min-height: 0;
        max-height: min(62vh, 390px);
    }

    .cart-drawer {
        bottom: 78px;
        width: calc(100% - 10px);
        max-height: calc(100vh - 134px);
    }

    .review-summary-card,
    .review-card-head,
    .product-meta-row {
        grid-template-columns: 1fr;
        display: grid;
    }
}
